Binary to Hex
The table below shows the relationship between binary and hex numbers. You can see that
four binary digits may be represented by one hex digit. This is because 16 is equal to 24.
Using this relationship, you can easily convert binary numbers to hex. Starting at the
radix point and moving either right or left, break the number into groups of four. The
grouping of binary into four bit groups is called binary-coded hexadecimal (BCH).
Convert 1110100112 to hex:
Add 0s to the left of the MSD of the whole portion of the number and to the right of
the LSD of the fractional part to form a group of four.
Convert .1112 to hex:
In this case, if a 0 had not been added, the conversion would have been .716,
which is incorrect.
Convert the following binary numbers to hex:
Q.71 102.
Q.72 10112.
Q.73 1011112.
Q.74 0.00112.
Q.75 0.1100112.
Q.76 110111.0101012.