Vocademy

Converting Hexadecimal Numbers

Hexadecimal numbers are used as shorthand for binary numbers. As you can see in the table below, each four-bit binary number has a hexadecimal equivalent.

 

Converting Hexadecimal to Binary

To convert any binary number to hexadecimal, break the number into groups of four and write the hexadecimal equivalent for each group.

16-bit binary number

 

1011010010101101

Broken into groups of four

 

1011 | 0100 | 1010 | 1101

Hexadecimal for each group

 

B | 4 | A | D

Final hexadecimal number

 

B4AD

 

Vocademy