Hexadecimal Number System
Hexadecimal number are most commonly used in our data recovery or any other type of disk troubleshooting or disk analyzing programming because hexadecimal numbers offer the two features as follows:
- Hexadecimal numbers are very compact.
- And it is easy to convert from hex to binary and binary to hex.
When we shall be calculating many important things like Number of Cylinders, Heads and Sectors of a hard disk or we shall be using hard disk editor programs to analyze different characteristics and problems, we shall need the good knowledge of Hex system. The Hexadecimal system is based on the binary system using a Nibble or 4-bit boundary.
The Hexadecimal Number System uses base 16 and includes only the digits 0 through 9 and the letters A, B, C, D, E, and F. We use H with the number to denote any hexadecimal number. The following table shows the representation of various number systems, differentiating them with each other:
Binary |
Octal |
Decimal |
Hex |
0000B |
00Q |
00 |
00H |
0001B |
01Q |
01 |
01H |
0010B |
02Q |
02 |
02H |
0011B |
03Q |
03 |
03H |
0100B |
04Q |
04 |
04H |
0101B |
05Q |
05 |
05H |
0110B |
06Q |
06 |
06H |
0111B |
07Q |
07 |
07H |
1000B |
10Q |
08 |
08H |
1001B |
11Q |
09 |
09H |
1010B |
12Q |
10 |
0AH |
1011B |
13Q |
11 |
0BH |
1100B |
14Q |
12 |
0CH |
1101B |
15Q |
13 |
0DH |
1110B |
16Q |
14 |
0EH |
1111B |
17Q |
15 |
0FH |
1 0000B |
20Q |
16 |
10H |
This table provides all the information that you may ever need to convert from one number base into another for the decimal values from 0 to 16.
The weighted values for each position for hexadecimal numbers have been shown in the following table:
(Base)power |
163 |
162 |
161 |
160 |
Value |
4096 |
256 |
16 |
1 |
|