It is a very simple way to use this conversion tool. All you need to do is provide binary number like 110101 into the left textbox and then click on Convert button to obtain hexadecimal value in the right textbox.

Incorrect Binary Value

You might need: Binary to Decimal conversion

## Binary Number System

Machines use binary number system to perform computations. This number has a base of 2. Hence, there are 2 digits in this system - 0 and 1. Each digit in binary number system represents a power of the base (2).

The base of the hexadecimal number system is 16. Hence, there are 16 symbols or digits in this system. The first ten digits are similar to that of decimal number system - 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9. The rest six digits are represented by the symbols A, B, C, D, E, and F, representing decimal numbers 10, 11, 12, 13, 14, and 15 respectively. The largest single digit is F (1 less than the base 16). Each digit in hexadecimal number system represents a power of the base (16). This number system is used to represent colors in HTML programming; FF0000 represents Red, 00FF00 represents Green, 0000FF represents Blue, etc.

## How to convert Binary to Hexadecimal

Let's understand the conversion by following these steps-

1. Start from the right-hand side by dividing the given binary digits into groups of four.
2. Convert each group into the hexadecimal number by applying binary to decimal conversion methods and then represent decimal value to their corresponding hexadecimal value.

The steps mentioned above will become clearer when we apply them in an example. Suppose we have a binary number 10111010 that we want to convert into hexadecimal number.

Step 1) Divide the binary digits into groups of 4, starting from the right (LSD).

1011  1010

Step 2) Convert each group to hexadecimal digit.

```1011 = 1x23 + 0x22 + 1x21 + 1x20
= 8 + 0 + 2 + 1
= 1110
= B16
1010 = 1x23 + 0x22 + 1x21 + 0x20
= 8 + 0 + 2 + 0
= 1010
= A16```

Hence, 101110102 = BA16

## Binary to Hexadecimal Conversion Table

The following table provides a list of few binary numbers and their corresponding hexadecimal numbers-

0000 0
0001 1
0010 2
0011 3
0100 4
0101 5
0110 6
0111 7
1000 8
1001 9
1010 A
1011 B
1100 C
1101 D
1110 E
1111 F