## 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}

_{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

Hexadecimal | Binary |

0 | 0000 |

1 | 0001 |

2 | 0010 |

3 | 0011 |

4 | 0100 |

5 | 0101 |

6 | 0110 |

7 | 0111 |

8 | 1000 |

9 | 1001 |

A | 1010 |

B | 1011 |

C | 1100 |

D | 1101 |

E | 1110 |

F | 1111 |