Binary to hexadecimal converter is used to convert any binary number into a base-16 numeral system.
A binary number system (also known as the 0 & 1 number system) is a system in which numbers are expressed in a base-2 numeral system. This number system is extensively used in computer applications, highlighting its practical relevance and importance.
A hexadecimal number system is a system in which numbers are expressed in a base-16 numeral system. There are 16 digits in a hex number system, such as 0-9 & A-F. Where A, B, C, D, E, & F represent 10, 11, 12, 13, 14, & 15, respectively.
Note: The short form of the Hexadecimal Number System is Hex.
Our binary to hex converter is an easy and efficient tool for converting binary to hexadecimal. Follow the steps below to convert them manually. The conversion process happens in two methods:
Using a binary to hexadecimal conversion table is an easy and time–saving method to convert any binary number to hex. In this method, 4 binary numbers are equivalent to 1 hexadecimal number. Below is a binary to hex table:
Binary to Hex Table | |
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 |
Note: Start making sets of four binary digits from right to left and add zeros with the final set if required.
The binary to hex conversion can also be done without using a conversion table. For this, follow the steps below:
Below are a few examples of binary to hex conversion
Example 1: By Method 1
Convert (1111010110)_{2} to hex number system
Solution
Step 1: Make a set of 4 bits from right to left.
(1111010110)_{2} = 11 1101 0110
Step 2: Add two zeros to complete the final set.
(1111010110)_{2} = 0011 1101 0110 ….(1)
Step 3: Find the equivalent values from the conversion table.
0011 = 3
1101 = D
0110 = 6
Step 4: Place the value in (1).
(1111010110)_{2} = (3D6)16
Example 2: By Method 2
Convert (101101001)_{2} to hex number system
Solution
Step 1: Convert the given binary number to decimal.
(101101001)_{2} = (1 x 2^{8}) + (0 x 2^{7}) + (1 x 2^{6}) + (1 x 2^{5}) + (0 x 2^{4}) + (1 x 2^{3}) + (0 x 2^{2}) + (0 x 2^{1}) + (1 x 2^{0})
(101101001)_{2} = (1 x 256) + (0 x 128) + (1 x 64) + (1 x 32) + (0 x 16) + (1 x 8) + (0 x 4) + (0 x 2) + (1 x 1)
(101101001)_{2} = (256) + (0 + (64) + (32) + (0) + (8) + (0) + (0) + (1)
(101101001)_{2} = 256 + 64 + 32 + 8 + 1
(101101001)_{2} = 361_{10}
Step 2: Now convert the obtained decimal number to a hexadecimal number.
Divide by | Result | Remainder |
16 | 361 | |
16 | 22 | 9 |
1 | 6 |
361_{10} = (169)_{16}
Step 3: Write the above hex number with the given binary number.
(101101001)_{2} = (169)_{16}
To alter the results, you can use our hex to binary converter.