Converting binary to hexadecimal using nibbles
Split the bits into groups of four from the right (nibbles), pad the left group with zeros if needed, then replace each nibble with its hex digit.
Understanding Converting binary to hexadecimal using nibbles in IGCSE Computer Science Paper 1
What it does: Four nibbles of 1010, 1111, 0000 and 0011 become A, F, 0 and 3, giving 4 hex digits. The nibble value 15 is written as F in hex, so 1111 becomes F. A nibble is 4 bits, and you always start grouping from the right (the least significant end). Each nibble then becomes one hex digit. 1100 = 12 = C and 0011 = 3. The left nibble gives the left hex digit, so the answer is C3. Leading zeros on the left do not change the value. Adding zeros on the right would change the number. The snippet shows the nibble-by-nibble replacement, and an 8-bit value always gives two hex digits.
Common mistakes: Bits must be split into groups of four from the right. 11010110 becomes 1101 0110, not 110 10110. 1111 is 15 in denary, which is F in hex. E is 14. It should be 1111 = 15 = F.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 3–17) and word search (Modules 3–27).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
binary to hexFill in the Blanks
Spot the Error
Student with a class code? Join your class →