How to convert Binary to Hexadecimal
Converting a binary number from Binary system to Hexadecimal system we need to groupping four digit sets from right to left of binary number.
If there are not enough digits for a set then fill the zeros to left side to four digits.
Get each group's hexadecimal equivalent.
Binary | Hexadecimal |
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 |
Concatenate the hexadecimal values.
Let's see an example. Binary number is 110110101001 :
- Group the binary digits into sets of four : 1101 1010 1001
- Get each group's hexadecimal equivalent : D A 9
- Concatenate the hexadecimal values : DA9
The binary number 110110101001 is equivalent to the hexadecimal number DA9