Hexadecimal to Binary – Hex to Binary Converter

Hex to Binary Converter



In this post, we will learn the basic steps to convert a hexadecimal to binary number.

There are two methods to convert hexadecimal to binary, one is the short method and another is long method or the traditional method of hex to binary conversion. Here we will discuss only the steps relating to the short method and the long method of conversion will be covered in later post.

How to Convert Hexadecimal to Binary

  1. The Hexadecimal number system has 16 digits starting from 0 to F, where the largest hexadecimal digit is (F)16.
  2. Referring to the hexadecimal to binary conversion table, we see that the binary equivalent of the largest hexadecimal digit (F)16 is (1111)2 and minimum of four binary digits(bits) are required to represent the largest hexadecimal digit in the binary system.
  3. In order to convert the given hexadecimal number to binary number, we convert each hexadecimal digit into four-bit binary number beginning from the right most hexadecimal digit towards the leftmost digit (MSD).
  4. At the end, the four-bit binary numbers are combined to form the single binary number equivalent to the given hexadecimal number.

The above steps are explained with an example for better understanding:

Hex to Binary Examples

Example 1 : Convert (FA98)16 Hexadecimal to binary number (?)2

Step 1 : Each digit from the given hexadecimal number is written down leaving small space between each digit as shown below

Hexadecimal Number → F A 9 8

Step 2 : Referring to the conversion table to find the binary equivalents of each hexadecimal digit.

The binary equivalents are:

F-1111
A-1010
9-1001
8-1000

Step 3: Write down the four-bit binary numbers below each hexadecimal digit as shown below:

   Hexadecimal Number ->   F     A     9     8
                           ↓     ↓     ↓     ↓
        Binary Number ->  1111 1010  1001  1000

Hence, the binary equivalent of the given hexadecimal number is (1111101010011000)2

Hex to Binary Table

HexadecimalBinary
00000
10001
20010
30011
40100
50101
60110
70111
81000
91001
A1010
B1011
C1100
D1101
E1110
F1111