It is a very simple way to use this conversion tool. All you need to do is provide binary number like 110101 into the left textbox and then click on Convert button to obtain hexadecimal value in the right textbox.
Incorrect Binary Value
You might need: Binary to Decimal conversion
Machines use binary number system to perform computations. This number has a base of 2. Hence, there are 2 digits in this system - 0 and 1. Each digit in binary number system represents a power of the base (2).
The base of the hexadecimal number system is 16. Hence, there are 16 symbols or digits in this system. The first ten digits are similar to that of decimal number system - 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9. The rest six digits are represented by the symbols A, B, C, D, E, and F, representing decimal numbers 10, 11, 12, 13, 14, and 15 respectively. The largest single digit is F (1 less than the base 16). Each digit in hexadecimal number system represents a power of the base (16). This number system is used to represent colors in HTML programming; FF0000 represents Red, 00FF00 represents Green, 0000FF represents Blue, etc.
Let's understand the conversion by following these steps-
The steps mentioned above will become clearer when we apply them in an example. Suppose we have a binary number 10111010 that we want to convert into hexadecimal number.
Step 1) Divide the binary digits into groups of 4, starting from the right (LSD).
Step 2) Convert each group to hexadecimal digit.
1011 = 1x23 + 0x22 + 1x21 + 1x20 = 8 + 0 + 2 + 1 = 1110 = B16 1010 = 1x23 + 0x22 + 1x21 + 0x20 = 8 + 0 + 2 + 0 = 1010 = A16
Hence, 101110102 = BA16
The following table provides a list of few binary numbers and their corresponding hexadecimal numbers-
|Binary Numbers||Hexadecimal Numbers|