This Binary to Hex Converter lets you convert Binary numbers to Hexadecimal.
Rate this converter
Read (or watch) our tutorial on How to Convert Binary to Hexadecimal to learn more about the process of converting binary to hex.
How to use the Binary to Hex Converter
- Enter a Binary Number in the first field.
- Press the Convert button.
- The Hexadecimal Number output will appear in the second field.
- Optionally, you can Copy the output to clipboard, or Save it as a file on your device.
Try the Hex to Binary Converter too!
|🔟 Binary max. value:||111111111111111111111111111111111111111111111111111111111111111|
|⚡ Conversion Speed:||Instant!|
|➡️ Hex Output:||Display, Copy, Save|
|🎯 Conversion Accuracy:||100%|
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.
ALPHABET IN BINARY AND HEXADECIMAL, CAPITAL LETTERS
ALPHABET IN BINARY AND HEXADECIMAL, LOWER CASE
Questions and Answers about Binary to Hexadecimal numbers conversion
The Binary to Hexadecimal Converter at ConvertBinary.com is really easy to use.
Just follow these steps: enter your binary number in the first field, then push the “Convert” button.
The hexadecimal representation for your binary number will immediately appear in the field below.
To convert binary numbers to their Hexadecimal equivalent, you have two options: you can either use an online converter (like the one provided for free by ConvertBinary.com), or you can do it manually.
If you want to learn how to convert binary to hexadecimal manually, you can read this guide, or watch the associated tutorial.
It converts the input from Binary to ASCII first, then it uses programming functions to convert the decimal number representing each ASCII character to Hexadecimal.
Of course! If you want to convert any hexadecimal number to binary, you can use the Hexadecimal to Binary Converter at ConvertBinary.com.
The binary number 10101010 (one-zero-one-zero-one-zero-one-zero) is AA in Hexadecimal (or 170 in Decimal, as you can verify with the Binary to Decimal Converter).