Converting hexadecimal numbers to binary numbers


  • Since F is equivalent to a binary number11112 the hexadecimal number are therefore represented using4 digits as shown in the table below

Hexadecimal digit

Decimal equivalent

Binary equivalent

00

00

0000

01

01

0001

02

02

0010

03

03

0011

04

04

0100

05

05

0101

06

06

0110

07

07

0111

08

08

1000

09

09

1001

A

10

1010

B

11

1011

C

12

1100

D

13

1101

E

14

1110

F

15

1111

The simplest method of converting a hexadecimal number to binary is to express each hexadecimal digit as a four bit binary digit number and then arranging the group according to their corresponding positions as shown in example

Example 1

Convert 32116

Hexadecimal digit

3

2

1

Binary equivalent

0011

0010

0001

Combining the three sets of bits, we get 0011001000012

32116 = 0011001000012

Example 2

Convert 5E616 into binary

Hexadecimal digit

5

E

6

Binary equivalent

0101

1110

0110

5E616 = 0101111001102

Peda.net käyttää vain välttämättömiä evästeitä istunnon ylläpitämiseen ja anonyymiin tekniseen tilastointiin. Peda.net ei koskaan käytä evästeitä markkinointiin tai kerää yksilöityjä tilastoja. Lisää tietoa evästeistä