The fastest conversion in computing — no arithmetic needed, just nibble by nibble
Of all the number system conversions you'll learn, hex ↔ binary is by far the fastest — and the one professionals use most. When a security researcher opens a hex dump of a suspicious file, they can mentally convert every two-character hex code to its 8-bit binary pattern in under a second. No calculator, no division. It's pure pattern recognition. The reason this works so cleanly is mathematical elegance: 16 = 2⁴, so each hex digit maps to exactly 4 binary bits, no more, no less, with perfect boundaries. Assembly language programmers, embedded systems engineers, and cryptographers use this relationship dozens of times per day. In your Cambridge exam, this conversion can be done faster and more reliably than any other — if you know the 16 nibble patterns cold.
Because 16 = 2⁴, one hex digit always equals exactly 4 binary bits. This means hex ↔ binary conversion requires no division, no multiplication — just a direct digit-to-nibble lookup. Every hex digit has one and only one 4-bit equivalent.
Take each hex digit one at a time, left to right.
Convert each digit to its 4-bit binary equivalent. Always use exactly 4 bits — pad with leading zeros if needed (e.g. hex 3 → 0011, not 11).
Write the nibbles side by side in order. The result is the full binary number.
If the number of bits is not a multiple of 4, pad with leading zeros on the left until it is.
Split the bits into groups of 4, from the right. Each group is one nibble.
Convert each 4-bit group to its hex digit. Write the digits in order from left to right.
Not padding nibbles to exactly 4 bits — hex digit 3 must become 0011, not 11. Missing the leading zeros shifts all the bits and produces the wrong answer.
Grouping bits from the left instead of the right — when converting binary to hex, always group from the right. If you have 6 bits like 101011, group as (00)10 · 1011, not 1010 · 11.
Mixing up the nibble order — the leftmost hex digit always represents the leftmost nibble (most significant bits). Don't reverse them.
Cambridge often tests both directions in a single question. Work each part before revealing.
Show each nibble separately — never jump straight to the answer without grouping.
Nibble conversions, grouping errors, and the maths behind the method. Complete all 5 to save progress!