binary to hexadecimal Converter

0

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.

binaryhexadecimal
00000
00011
00102
00113
01004
01015
01106
01117
10008
10019
1010A
1011B
1100C
1101D
1110E
1111F
Answer: (0010 1101)2=(2D)16

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.

binaryhexadecimal
00000
00011
00102
00113
01004
01015
01106
01117
10008
10019
1010A
1011B
1100C
1101D
1110E
1111F
Answer: (1110 1001)2=(E9)16

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.

binaryhexadecimal
00000
00011
00102
00113
01004
01015
01106
01117
10008
10019
1010A
1011B
1100C
1101D
1110E
1111F
Answer: (0010 0001)2=(21)16