Conversion of Hexadecimal to Decimal

by SmartCareer
Conversion of Hexadecimal to Decimal

Conversion of Hexadecimal to Decimal: The base number of Hexadecimal is 16. Therefore, for conversion from hexadecimal to decimal, in the case of integers, the decimal value is obtained by multiplying the unit number by 160, the decimal number by 161, the hundredth digit by 162, and multiplying the product by the power of 16. In the case of fractions 16-1, 16-2, 16-3… .. etc.

Conversion of Hexadecimal to Decimal

Conversion of Hexadecimal to Decimal

In the case of integers:

(B5D) = B × 162 + 5 × 161 + D × 160
           = 11 × 256 + 5 × 16 + 13 × 1
           = 2816 + 80 + 13
           = 2909
           = (2909)10

In the case of fractions:

(.48)16 = 4 × 16-1 + 8 × 16-2
             = 4/16 + 8/256
             = 0.25 + 0.03125
             = (0.28125)10

Example: 1.
(6F.3C) Convert 16 to decimal:
(6F.3C)16 = 6 × 161 + F × 16° + 3 × 16-l + C × 16-2
                  = 6 × 16 + 15 × 1 + 3/16 + 12/256
                  = 96 + 15 + 0.1875 + 0.046875
                  = (111.234375)10
So (6F.3 C)16 = (111.234375)10 (Answer).

You may also like

Leave a Comment