Menu

Hexadecimal to Denary Conversion

Converting Hexadecimal to Denary by Place Value

To convert a two-digit hexadecimal number to denary by place value, use the fact that hexadecimal is base 16. The place values are 16 and 1: the left-hand digit is multiplied by 16 and the right-hand digit by 1, then the two results are added together.

Before you multiply or add, change any letter digit into its denary value. Digits 0 to 9 keep their value; A to F stand for 10 to 15.

Hexadecimal digitDenary value
A10
B11
C12
D13
E14
F15

Using place value

  1. Change any letter digit to its denary value.
  2. Multiply the left-hand digit by 16.
  3. Add the value of the right-hand digit.

The hex value 3D over a 16 column and a 1 column: 3 x 16 = 48 and D (13) x 1 = 13, which add up to 61.

The multiplication step matters because the digits sit in different columns and do not have equal worth. For example, in D4, change D to 13, work out 13 × 16 = 208, then add the 4 from the right-hand position: 208 + 4 = 212. So D4 in hexadecimal is 212 in denary.

Here is another example. Change B in 6B to 11. Take the 6, multiply it by 16, then add the 11: 6 × 16 = 96, and 96 + 11 = 107. Write each stage clearly so your working shows the letter changed, the multiplication by 16 and the final addition.

A to F are not alphabet positions: A means 10, not 1, and F means 15, not 6. Because two hexadecimal digits give 256 possible patterns, a two-digit hexadecimal number converts to a denary value from 0 to 255.

Practise this

OCR GCSE Computer Science · Hexadecimal to Denary Conversion