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
- The Hexadecimal number system has 16 digits starting from 0 to F, where the largest hexadecimal digit is (F)16.
- 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.
- 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).
- 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:
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