How to Convert Binary Into Hexadecimal with Precision

Last Modified:

How to Convert from Binary to Hexadecimal?

We’ll take a binary number and group its digits into sets of four, starting from the binary point. Next, we’ll convert each group to its corresponding hexadecimal value using a standard reference.

We’ll demonstrate how to convert binary numbers to hexadecimal using an example for clarity and practical understanding.

Example: Let’s convert \(\mathsf{1111011.001101_{2}}\) to Hexadecimal (Base-16).

The complete binary number to convert to hexadecimal is \(\mathsf{1111011.001101_{2}}\). Starting from the binary point, we form groups of four digits in both directions, since each set of four binary digits corresponds to a single hexadecimal digit. For the whole number part, we get two groups: starting from the binary point we get \(\mathsf{1011}\) and then \(\mathsf{0111}\) after padding azero to the left of \(\mathsf{111}\). For the fractional part, which has six digits, we form two groups: the first is \(\mathsf{0011}\), and the second becomes \(\mathsf{0100}\) after padding with two zeros to the right. We then replace each group with its hexadecimal equivalent to obtain the final hexadecimal number.

The hexadecimal equivalent for each group of four binary digits is shown first and the chart can be used for future reference.

this chart shows the equivalent of 4 bit binary digits in hexadecimal and vice versa

The actual conversion for this example is shown here

this image shows the binary to hexadecimal conversion process

The reverse of this calculation is performed in hexadecimal to binary conversion. For binary to octal and its reverse, you may click to the conversion between numbers systems in powers of 2.

Number Base Conversion Calculator (Including Fractional Part) Between Binary, Octal, Decimal and Hexadecimal

Below you will find a calculator that can be used to convert numbers between systems.

Quiz: Conversion from Binary (Base-2) to Hexadecimal (Base-16)