Community resourceWorksheet

J277 1.2.4 Hexadecimal conversion

Part 3 of 5 · J277 1.2.4 · Number systems

Hexadecimal, taught through the exact relationship between one hex digit and one group of four bits.

Students will:

  • explain why hexadecimal is used alongside binary
  • recall the hexadecimal digits A to F
  • convert between 8-bit binary and two hexadecimal digits
  • convert between denary 0 to 255 and hexadecimal
  • complete a table holding all three representations

Inside: 6 explanation cells, 5 number grids, 2 multiple-choice questions, 1 fill-in-the-blanks cell and 2 written answers. 35 marks, about 75 minutes.

Series: J277 1.2.4 · Number systems, part 3 of 5.

Shared by Coding PathwayVerified teacher

  • 16 cells
  • About 75 minutes
  • CC BY-SA 4.0
  • Shared 17 Aug 2026
  • Updated 9 Sept 2026

Preview

The whole resource, exactly as a class sees it. Answers and marking are held back.

Number systems 3: hexadecimal conversion

Hexadecimal is a compact way to write the same values represented by binary. The key relationship is exact: one hexadecimal digit matches one group of four binary bits.

By the end of this worksheet, you should be able to:

  • explain why hexadecimal is used as an alternative representation of binary
  • recall the hexadecimal digits A to F
  • convert 8-bit binary to 2-digit hexadecimal and back
  • convert denary values from 0 to 255 to hexadecimal and back
  • complete a conversion table containing all three representations
  • explain a conversion method clearly

Work through the explanation, checks and applications in order. Use the final challenge to explain the method as well as use it.

1. Base 16

Hexadecimal is a base 16 number system. It needs sixteen single-digit symbols:

Denary valueHex digitDenary valueHex digit
0088
1199
2210A
3311B
4412C
5513D
6614E
7715F

A to F are single hexadecimal digits. For example, F means denary 15. It does not mean the letter F is being stored.

The OCR range for this topic is 00 to FF, matching binary 00000000 to 11111111 and denary 0 to 255.

Fill in the blanks6 marks
Denary 10 is hexadecimal label 1. Denary 11 is label 2. Denary label 3 is hexadecimal C. Denary 13 is label 4. Denary 14 is label 5. Denary 15 is label 6.
  • F
  • B
  • 12
  • A
  • E
  • D
  • C
  • 16
Multiple choice1 mark

Why is hexadecimal often used when people need to read or write binary values?

  • AHexadecimal allows a computer to stop using binary internally
  • BHexadecimal always compresses the stored file
  • CHexadecimal can represent only smaller values than binary
  • DHexadecimal uses fewer digits for the same value, making it easier to read and less likely to be copied incorrectly

2. Binary and hexadecimal, nibble by nibble

One hexadecimal digit maps to exactly four binary bits, called a nibble. An 8-bit number therefore maps to two hexadecimal digits.

Example: convert 10111100 to hexadecimal.

  1. Split it into nibbles: 1011 1100
  2. Convert each nibble separately: 1011 = B and 1100 = C
  3. Keep the order: BC

To reverse the process, replace each hex digit with four bits.

Example: 3D becomes 0011 1101.

Always write four bits for each hex digit. F is 1111, not 1101.

Eight binary bits grouped into two nibbles for hexadecimal conversion The binary number 10101101 is split into 1010 and 1101. The first nibble maps to hexadecimal A and the second maps to hexadecimal D, giving AD. Split eight bits into two groups of four 10101101 one nibbleone nibble AD 10101101 = AD
Number systems3 marks

Convert each 8-bit binary number to 2-digit hexadecimal.

Split the binary number into two 4-bit nibbles and convert each nibble without changing their order.

a)Convert 10111000 to hexadecimal, one nibble at a time.

Binary
1011
1000
Hexadecimal

b)Convert 01001101 to hexadecimal, one nibble at a time.

Binary
0100
1101
Hexadecimal

c)Convert 10011010 to hexadecimal, one nibble at a time.

Binary
1001
1010
Hexadecimal
Number systems3 marks

Convert each 2-digit hexadecimal value to 8-bit binary.

Replace each hexadecimal digit with exactly four bits, including any leading zeros within a nibble.

a)Convert A6 to binary, one nibble at a time.

Hexadecimal
A
6
Binary

b)Convert C0 to binary, one nibble at a time.

Hexadecimal
C
0
Binary

c)Convert FB to binary, one nibble at a time.

Hexadecimal
F
B
Binary
Multiple choice1 mark

A student converts 10110000 to hexadecimal B. What is the error?

  • AB must be replaced with F because every 1 bit is hexadecimal F
  • BThe right-hand nibble 0000 must be written as the second hex digit 0, so the answer is B0
  • CThe binary number should be read as the denary number 10,110,000
  • DThe answer should be 0B because the nibbles must be reversed

3. Hexadecimal and denary

A 2-digit hexadecimal number has place values 16 and 1.

Example: convert B4 to denary.

  • B has value 11
  • (11 × 16) + 4 = 180

To convert denary to 2-digit hexadecimal:

  1. Divide the value into groups of 16.
  2. Write the number of complete sixteens as the left digit.
  3. Write the remainder as the right digit.
  4. Replace values 10 to 15 with A to F.

Example: 126 contains 7 complete sixteens with remainder 14, so it is 7E.

You may also convert through 8-bit binary. Both methods are valid when they are carried out accurately.

Number systems3 marks

Convert each 2-digit hexadecimal value to denary.

Multiply the value of the left digit by 16, then add the value of the right digit.

a)What is 1E in denary?

Hexadecimal
1E
DenaryNot answered

b)What is A2 in denary?

Hexadecimal
A2
DenaryNot answered

c)What is C7 in denary?

Hexadecimal
C7
DenaryNot answered
Number systems3 marks

Convert each denary value to 2-digit hexadecimal.

Find the number of complete sixteens and the remainder. Convert 10 to 15 into A to F.

a)Convert 71 to hexadecimal.

Hexadecimal

b)Convert 154 to hexadecimal.

Hexadecimal

c)Convert 169 to hexadecimal.

Hexadecimal
Written answer3 marks

Use the hexadecimal value C7 as an example to explain how to convert a 2-digit hexadecimal number directly to denary. Show the calculation and final answer.

State the denary value of C, apply the 16 and 1 place values, then add.

Students type their answer here.

4. Bring the three representations together

The next table may give you a denary, binary or hexadecimal value. Complete the two missing representations.

Choose the shortest reliable route:

  • binary and hexadecimal: convert nibble by nibble
  • binary and denary: use the binary place values
  • hexadecimal and denary: use the 16 and 1 place values, or move through binary

Check that every binary answer has 8 bits and every hexadecimal answer has 2 digits.

Number systems8 marks

Complete the missing denary, 8-bit binary and 2-digit hexadecimal representations.

Keep nibble order unchanged and include every leading zero required by the stated width.

a)Hexadecimal CE. Fill in the denary and binary.

Hexadecimal
C
E
DenaryNot answered
Binary

b)Denary 104. Fill in the binary and hexadecimal.

Denary
104
Binary
Hexadecimal

c)Hexadecimal 59. Fill in the denary and binary.

Hexadecimal
5
9
DenaryNot answered
Binary

d)Hexadecimal 31. Fill in the denary and binary.

Hexadecimal
3
1
DenaryNot answered
Binary
Written answer4 marks

Challenge: a student claims that changing 11110000 into F0 compresses the data from eight bits to two bits. Evaluate the claim.

Distinguish the number of written symbols from the value and its binary representation inside the computer.

Students type their answer here.

Closed-book review

From memory, write:

  1. A through F with their denary values.
  2. The four-bit binary form of A, B, C, D, E and F.
  3. One reason hexadecimal is used.
  4. The method for binary to hexadecimal.
  5. The method for hexadecimal to denary.

Then reverse one answer as a check. If a right-hand zero disappears or a nibble has fewer than four bits, correct the width before moving on.