Denary → Binary. Use the place-value subtraction method.
Place values for 8 bits: 128 64 32 16 8 4 2 1. Subtract each from your number, largest first; write 1 if you can subtract, 0 if you can't.
Worked example. Convert 217:
- 217 − 128 = 89 → write 1
- 89 − 64 = 25 → write 1
- 25 − 32: can't → write 0
- 25 − 16 = 9 → write 1
- 9 − 8 = 1 → write 1
- 1 − 4: can't → write 0
- 1 − 2: can't → write 0
- 1 − 1 = 0 → write 1
Result: 11011001.
Binary → Denary. Add the place values where there's a 1.
Worked example. 11011001 = 128 + 64 + 16 + 8 + 1 = 217.
Binary → Hex. Group the bits into nibbles (4 at a time) FROM THE RIGHT, then convert each nibble.
Worked example. 11010110 → 1101 0110 → D 6 → D6.
Hex → Binary. Convert each hex digit to a 4-bit nibble.
Worked example. 4F → 4 = 0100, F = 1111 → 01001111.
Hex → Denary. Multiply each digit by its place value (16⁰, 16¹, 16², ...).
Worked example. 4F = 4 × 16 + 15 × 1 = 64 + 15 = 79.
Denary → Hex. Two methods:
- Convert via binary (denary → binary → hex).
- Direct: divide by 16 repeatedly, the remainders read bottom-up are the hex digits.
Cambridge tip. Mark schemes ALWAYS expect working shown. Even if you can convert mentally, write the place-value row, the subtractions, and the final answer. The method marks are awarded separately.