Conversion from the Natural Binary Code system to the Hexadecimal System



The conversion from the NBC to the Hexadecimal format can be performed directly, by dividing the binary number into groups of 4 bits starting from the right side. If the most left group does not consist of 4 bits, the empty bits are filled with zeros. Once the binary number is divided into groups, each group is replaced by the hexadecimal value.

Example:

11110011101111
0011 1100 1110 1111
3 C E F

11110011101111 = 3CEF in Hexadecimal