Hexadecimal to 8-Bit Binary Converter
To convert a 2-digit hexadecimal number to its 8-bit binary representation:
- Identify each hexadecimal digit.
- Convert each hexadecimal digit to its 4-bit binary equivalent (nibble).
- Concatenate the two 4-bit binary representations to form the 8-bit binary number.
Correspondence between Hexadecimal Digits and Denary (Decimal) Numbers
Hexadecimal |
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
A |
B |
C |
D |
E |
F |
Denary |
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
Example: Convert Hexadecimal 3F to 8-Bit Binary
Hexadecimal number: 3F
- Identify each hexadecimal digit:
- The first digit is 3.
- The second digit is F.
- Convert each hexadecimal digit to its 4-bit binary equivalent (nibble):
- For the first digit (3), its 4-bit binary equivalent is 0011.
- For the second digit (F), its 4-bit binary equivalent is 1111.
- Concatenate the two 4-bit binary representations to form the 8-bit binary number:
- Concatenate 0011 and 1111 to get 00111111.
So, the 8-bit binary representation of the hexadecimal number 3F is 00111111.