This online converter helps you to easily and quickly convert any Binary number to Hexadecimal.
The conversion from Binary to Hex is performed assuming that the input is a binary number.
At the bottom of this page, there is a tutorial on How to Convert Binary to Hexadecimal – read it if you want to learn more about the process of converting binary to hexadecimal.
Binary to hex conversion result in base numbers
ConvertBinary also offers a tool to do the opposite process: convert from Hexadecimal to Binary.
ALPHABET IN BINARY AND HEXADECIMAL, CAPITAL LETTERS
ALPHABET IN BINARY AND HEXADECIMAL, LOWER CASE
How to Convert Binary to Hexadecimal
Binary to hexadecimal conversion might seem like an obscure skill to have. But in reality, there are a lot of things that use the hexadecimal system. Programming languages such as Python, URLs, and Windows PowerShell all employ hexadecimal (hex, for short).
So, how to convert binary to hex? You can utilize the binary to hex converter on this page. Or, read on to learn how to do it yourself.
Unlike the base 2 system of binary, hexadecimal uses a base 16 system. This means that 16 different symbols can be combined to represent decimal and binary figures. The first ten hexadecimal numbers are the same as in decimal; 0-9 in hex are 0-9 in decimal.
But after nine is where things change. From here, hex uses text letters to represent the decimals 10-15.
If you know the hex equivalents of 0-15, you’re already halfway there. To get from binary to hex, we need to know how to convert binary to decimal, which you can learn on our site, by visiting the resource linked in this sentence.
We’ll start with a small binary figure, 1001. We have to assign a power of two to each digit in the binary number, starting with 20 on the right. When indicated by a one, the power of two will be used to determine the decimal. When indicated by a zero, it will not be used. Simply add the powers of two indicated by a one, and we have our decimal – in this case, 9.
Since 0-9 in decimal is the same in hexadecimal, that’s all we need to do to convert to hexadecimal. 1001 in binary is 9 in hex.
Now we can try a longer number. We’ll use 10001011. The first thing we must do is divide our eight bit number into two separate four bit numbers, like this: 1000/1011. We’ll start with converting 1000 into a decimal, which is 8.
Since 8 in decimal is also 8 in hexadecimal, we can stop there, and move onto the next bits.
When we convert 1011 into a decimal, we have 11. But remember in hexadecimal, after 9, we switched over to text letters. Instead, 11 will be represented by the letter B.
Just combine the two, and you have your hexadecimal number: 8B.
Converting binary to hexadecimal just requires finding the decimal first. Once you know the decimal, you can refer to a hexadecimal table and construct your hex number.
The phrase “hexadecimal number” can seem a little misleading, since it’s often a combination of numbers and letters. It’s possible to convert binary to hexadecimal and have an output of only letters. For example, the binary number 110010111010. We’ll break down the number again, and convert to decimal.
Since those bits give us a decimal output of 12, 11 and 10, we know we’ll have to use the letters C, B and A for the binary to hex conversion. So, 110010111010 in binary is CBA in hex.
The base 16 system makes it quite simple once you get the hang of converting binary to hex. But if you have a long string of binary, it can become time consuming. You can always use the binary to hexadecimal converter found on this website to speed things up.