Hexadecimal to Binary Conversion



Hexadecimal to Binary Conversion

We can convert a hexadecimal number into its equivalent binary by using the mapping method. In this method, we replace each digit of the given hexadecimal number by its equivalent 4-bit binary group.

The following table shows the equivalent 4-bit binary group of each hexadecimal digit −

HexadecimalBinary
(2)3 = 8(2)2 = 4(2)1 = 2(2)0 = 1
00000
10001
20010
30011
40100
50101
60110
70111
81000
91001
A (10)1010
B (11)1011
C (12)1100
D (13)1101
E (14)1110
F (15)1111

Let us understand the conversion of a hexadecimal number to binary number with the help of examples.

Example 1

Convert (3A94.C5D)16 to binary equivalent.

Solution

The given hexadecimal number can be converted into equivalent binary number as follows −

Hexadecimal Number3A94.C5D
31094.12513
4-bit Binary Equivalent0011101010010100.110001011101

Thus, the binary equivalent of the given hexadecimal number is (0011101010010100.110001011101)2.

Example 2

Convert (ABD.2E)16 to binary equivalent.

Solution

The conversion of given hexadecimal number to its binary is done as follows −

Hexadecimal NumberABD.2E
101113.214
4-bit Binary Equivalent101010111101.00101110

Hence, the equivalent binary of (ABD.2E)16 is (101010111101.00101110)2.