**Output:** Binary numbers

Convert Binary number to Hex

View Tool### Hex

Hexadecimal is a numeric system widely used by systems designers and computer programmers. It contains 16 symbols from 0 to 9 and A to F, thus having a base of 16.

### Binary

Binary is the numeric system of computers. Computers are so dumb they only understand 0s and 1s. Binary numbers have a base of 2.

### Conversion from Hex to Binary

A Hex can be converted to Binary using these steps:-

- Break the Hex number into individual digits
- Convert each hex digit into it's binary equivalent.
- Pad with leading zeroes to make each binary number 4 digit long
- Group the binary bits from left to right
- Trim any leading zeroes to form your binary number

#### Example Hex to Binary Conversion

Let's say your Hex value is `1A4`

, and you want to convert it to its binary form.

**Step 1:**Break the Hex number into digits:`1`

`A`

`4`

**Step 2:**Convert each hex digit into binary`1`

becomes`0001`

`A`

becomes`1010`

`4`

becomes`0100`

**Step 3:**Combine the bits:`000110100100`

**Step 4:**Remove leading zeroes:`110100100`

### Converting Hexadecimal to Binary

Binary system might be what computers use, but the hexadecimal number system is the closest one to it that us humans can comprehend. One of the unique properties of a hexadecimal number is that it can be easily converted to binary digits. All you need is the conversion chart shown below that maps all hex digits with their binary equivalents.

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

### Common usages of Hex

Hex is used in HTML to represent colors. For example, FF0000 refers to the color red. Hex editors use it to display binary data stored in files. You can express any byte from 0-255 using two hexadecimal digits. **00** represents the NULL character whose byte value is **0**, and **FF** means 'ÿ' (the Latin small letter y with diaeresis). Thus, a hex digit represents a nibble, and two of them represent a byte.

### Example Hex to Binary Conversion

- (45)
_{16}= (0100 0101)_{2} - (1A4)
_{16}= (0001 1010 0100)_{2}

###### History

- Jan 28, 2018
- Tool Launched

## Comments 0