# Binary to Hex

Enter the value that you want to binary to hexadecimal or *hex to binary*.

### Binary:

A binary number system having to numbers "O", "1" and it is known as Base-2 number system. Base-2 number system used in digital electronics to write instruction for electronic equipment and invented by Gottfried Leibniz. In this zero represents OFF, 1 represents ON cause electronic equipment used gates. Example of a binary number is 10110.

### Hexadecimal:

A hexadecimal number is also called base-16 number system cause it has 16 digits in it form 0 to 9 & A to F. In computer languages coding it makes easy to write large numbers. Example for hexadecimal is 4B6.

### How to convert binary to hexadecimal?

For converting binary to hexadecimal, we need to divide four binary digits and convert into a decimal value.

**Example:**

Convert 110110111001 to hexadecimal?

Divide four binary digits as one unit 1101 1011 1001.

1101 = 13; 1011 = 11; 1001 = 9.

1101 1011 1001 = 13 11 9.

We know that A=10; B=11; C=12; D=13; E=14; F=15 in hexadecimal.

**Answer:**

(110110111001)_{2} = (DB9)_{16}.