Binary to Hexadecimal Converter
Enter a binary number below to convert it to hex.
Steps to Convert to Hexadecimal
On this page:
How to Convert Binary to Hex
The binary number system is a base 2 number system since it only uses the digits 0 and 1. Hexadecimal is a base 16 number system since it uses sixteen digits, 0 to 9, plus the letters A through F.
Binary and hexadecimal numbers are often used in computing, networking, and software applications, so it’s fairly common to need to convert from one to the other.
You can convert from binary to hex in a few simple steps.
Step One: Split into Groups of Four Digits
The first step is to break the binary number into groups of four digits, starting from the right to the left. The reason for this is that a group of four base 2 numbers, or 24 is equal to 16, which is evenly divisible into the base 16 number system.
For example, the binary number 1110001111011 can be broken into the following groups:
It’s ok if the first group does not have four digits. You can also add additional zeros to precede the digits in the first group so that there are four digits.
Step Two: Convert Each Binary Group to a Hexadecimal Digit
At this point each group of four binary digits can be converted to a hexadecimal digit.
12 = 110 = 116
11002 = 8 + 4 + 0 + 0 = 1210 = c16
01112 = 0 + 4 + 2 + 1 = 710 = 716
10112 = 8 + 0 + 2 + 1 = 1110 = b16
So, 11100011110112 in binary is equal to 1c7b16 in hex.
Binary Nibble Hex Values
The following table shows the hex digits for each possible group, also called a nibble, of four binary digits.
|Binary Nibble||Hexadecimal Digit|
You can also use a tool like our binary converter to convert to decimal or hex.
Binary to Hex Conversion Table
The table below shows binary numbers and the equivalent hexadecimal number values.
|Binary Number||Hexadecimal Number||Decimal Number|
You might also be interested in our binary calculator to add or subtract binary and hexadecimal numbers.