Binary To Hexadecimal
Binary To Hexadecimal
Number Systems are a major part of mathematics. The binary number system is a system in
which numbers are expressed in the base 2. Conversion of binary to the hexadecimal number
system. The binary-to-decimal conversion is very easy and is explained further.
Decimal Binary
0 0000
1 0001
2 0010
3 0011
4 0100
5 0101
6 0110
7 0111
8 1000
9 1001
Decimal Binary
10 1010
The hexadecimal number system is a system in which numbers are expressed in the base 16. In
the hexadecimal number system, the numbers are represented in terms of 0-9 and A – F. The
hexadecimal number is written as number H, (number)16, (number)H. Example: (A23F)16,
Decimal Hexadecimal
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
10 A
11
Method 2
Convert Binary to Hexadecimal with Conversion Table or using grouping
Using conversion tables for converting binary to hexadecimal numbers is considered to be one of the
easiest methods. As hexadecimal numbers are also positional number systems and binary numbers
only include the digits 0 and 1, every four bits are equal to one hexadecimal number, which also
includes the letters A to F.
The conversion table used in given as:
Hexa 0 1 2 3 4 5 6 7
Hexa 8 9 A B C D E F
Example-1 − Convert binary number 1010101101001 into hexadecimal number. Since there is
no binary point here and no fractional part. So,
Therefore, Binary to hexadecimal is,
= (1010101101001)2
= (1 0101 0110 1001)2
= (0001 0101 0110 1001)2
= (1 5 6 9)16
= (1569)16
Method 2:- This method requires both multiplication and division of numbers using the respective
base numbers. The hexadecimal base number is 16, the base number of a decimal number is 10, and
the base of a binary number is 2. Let us look at the steps:
Step 1: Write the hexadecimal number and find its equivalent decimal number.
Step 2: To find the decimal equivalent, we multiply each digit with 16 n-1, where the digit is in its
nth position.
Step 3: After multiplying the numbers, add the product of those numbers to obtain the decimal
number.
Step 4: To convert decimal to binary, we divide the decimal number by 2 by keeping the
remainder aside and dividing the quotient by 2 until we arrive at zero.
Step 5: Once the quotient is zero, we arrange the remainder from bottom to top i.e. reverse order
to obtain the binary number.