Conversion

DECIMAL

BINARY

OCTAL

HEXADECIMAL

0

0

0

0

1

1

1

1

2

10

2

2

3

11

3

3

4

100

4

4

5

101

5

5

6

110

6

6

7

111

7

7

8

1000

10

8

9

1001

11

9

10

1010

12

A

11

1011

13

B

12

1100

14

C

13

1101

15

D

14

1110

16

E

15

1111

17

F

16

10000

20

10

animated version

The table above shows how numbers in different representations relate to each other.

Conversion Process

To find out decimal equivalent of a number in a different representation do the following:

Interesting Facts

Each octal digit corresponds to three binary digit.
Each hexadecimal digit corresponds to four binary digits.

Return to the main page