binary to hexadecimal Converter
What is a number system?
A number system of base B or radix R is a system in which numbers are represented with R or B symbols. for example, Binary number system is a base-2 system that means in this system all the numbers are represented with 0 and 1.
Similarly, Octal-8, Decimal-10, Hexadecimal-16 are some of the common number systems. The loop begins after base digits. for example, if we talk about the decimal Number system. lets write 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 now all our symbols ended then how to write 10th digit. By repeating the existing one. like10, 11, 12, ....... so on.
Lets apply the same logic with the binary number system. we have two symbols 0 and 1 so for the single binary digit the possible value is 0 and 1.
After that for two binary digits we have 00, 01, 10 and 11 since 00 is 0 and 01 is 1
For three binary digits we have 100, 101, 110, 111 so on.
Why Number conversion is important?
For our daily usage we are relied on Decimal Number System. Physical units such as length-meters, weight-kilograms, temperature-centigrade all are written in the Decimal Number System. But we lives are heavily relied on the digital gadgets and all the electronic gadgets runs on binary number of system.
Inorder to compute our data we need to convert it to the digital form ie,Binary Form
And for some other use like giving codes to the colors we use Hexa-decimal number system because it is easy to remember and write.
Convert 1011012 to hexadecimal Number System.
Answer: (0010 1101)2=(2D)16
See Detailed Conversion Process:
Rearranging all binary number and splititting them in 4bits.
We get (101101)2 = (0010 1101) 2
Look at the corresponding value for each 4bits in the table below.
binary | hexadecimal |
---|---|
0000 | 0 |
0001 | 1 |
0010 | 2 |
0011 | 3 |
0100 | 4 |
0101 | 5 |
0110 | 6 |
0111 | 7 |
1000 | 8 |
1001 | 9 |
1010 | A |
1011 | B |
1100 | C |
1101 | D |
1110 | E |
1111 | F |
Convert 111010012 to hexadecimal Number System.
Answer: (1110 1001)2=(E9)16
See Detailed Conversion Process:
Rearranging all binary number and splititting them in 4bits.
We get (11101001)2 = (1110 1001) 2
Look at the corresponding value for each 4bits in the table below.
binary | hexadecimal |
---|---|
0000 | 0 |
0001 | 1 |
0010 | 2 |
0011 | 3 |
0100 | 4 |
0101 | 5 |
0110 | 6 |
0111 | 7 |
1000 | 8 |
1001 | 9 |
1010 | A |
1011 | B |
1100 | C |
1101 | D |
1110 | E |
1111 | F |
Convert 1000012 to hexadecimal Number System.
Answer: (0010 0001)2=(21)16
See Detailed Conversion Process:
Rearranging all binary number and splititting them in 4bits.
We get (100001)2 = (0010 0001) 2
Look at the corresponding value for each 4bits in the table below.
binary | hexadecimal |
---|---|
0000 | 0 |
0001 | 1 |
0010 | 2 |
0011 | 3 |
0100 | 4 |
0101 | 5 |
0110 | 6 |
0111 | 7 |
1000 | 8 |
1001 | 9 |
1010 | A |
1011 | B |
1100 | C |
1101 | D |
1110 | E |
1111 | F |