Year 10 (ages 14–15, Grade 9 in the US) · Computing · GCSE theory · Lesson 2
Hexadecimal
Why hexadecimal is used, the hex digits 0–9 and A–F, and converting between hexadecimal, denary and binary using nibbles.
Exam boards: this lesson matches the AQA and Pearson Edexcel GCSE computing courses. Check which course your school follows.

8-minute video lesson
Teaching, worked examples and 20 practice questions solved step by step.
Watch free for a monthWhat your child will learn
- Explain why hex is used
- Convert hex to denary and back
- Convert hex to binary and back
- Recall the values of A–F
The method
- Hex digits: 0–9 then A=10 … F=15.
- Hex → denary: first digit × 16 + second digit.
- Denary → hex: divide by 16; quotient and remainder.
- Hex ↔ binary: one hex digit = one nibble (4 bits).
Key words: hexadecimal, nibble, base 16, place value, colour code.
Worked examples
Worked examples from the lesson, with every step.
Question 1
Convert hex 2F to denary.
- Step 1: 2 × 16 = 32; F = 15
- Step 2: 32 + 15 = 47
Answer: 47
Question 2
Convert denary 171 to hex.
- Step 1: 171 ÷ 16 = 10 remainder 11
- Step 2: 10 = A, 11 = B → AB
Answer: AB
Question 3
Convert 1110 0011 to hex.
- Step 1: 1110 = 14 = E; 0011 = 3
- Step 2: E3
Answer: E3