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, also known as hex, is a base 16 number system since it uses sixteen digits, 0 to 9 as well as the letters A through F.
Binary and hexadecimal numbers are often used in computing, networking, and software applications, so it is 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 and moving 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 is okay 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 calculator 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 hex calculator to add or subtract hexadecimal numbers.
Frequently Asked Questions
When would you use hex instead of binary?
You would use hex instead of binary when you need to use less storage when computing since hexadecimals are more concise. Hex is also easier for humans (not computers) to use and less prone to error.
Why convert to hex and not decimal?
Hex is more concise and uses less memory. Also, it is more efficient to convert between hex and binary than hex to decimal.
How do you know if a number is in binary or hex?
A binary number only has 0 or 1, while a hex number will have 0-9 and/or A-F.