2. Table of Hexadecimal, Decimal and Binary Numbers
Mukesh N. Tekwani
Hexadecimal
Number
Decimal
Number
Binary
Number
0 0 0000
1 1 0001
2 2 0010
3 3 0011
4 4 0100
5 5 0101
6 6 0110
7 7 0111
Hexadecimal
Number
Decimal
Number
Binary
Number
8 8 1000
9 9 1001
A 10 1010
B 11 1011
C 12 1100
D 13 1101
E 14 1110
F 15 1111
3. Hexadecimal Number To Binary Number Conversion - Example 1
Convert (36C)h to its binary equivalent
Solution:
So, starting from the LSD, we replace each hex digit with its 4-bit binary equivalent.
3 6 C
0011 0110 1100
So, (36C)h = (0011 0110 1100)2
Mukesh N. Tekwani
4. Convert the hexadecimal number (7F.CA5)h to its binary equivalent.
Convert the integral part 7F to binary:
(7F)h = (0111 1111)2
• So, (7F)h = (0111 1111)h
Convert the fractional part (0.CA5)h to
binary:
(0.CA5)h = (0.1100 1010 0101)2
• So, (0.CA5)h = (0.1100 1010 0101)2
Hexadecimal Number to Binary Number Conversion – Example 2
Mukesh N. Tekwani
So, (7F.CA5)h = (0111 1111.1100 1010 0101)2