Real World Maths Busters

The Maths Behind Everyday Life

The story, the formula and a worked example — see exactly where this maths shows up in the world around you.

Back to all stories
Technology 3 min read

Why Damaged QR Codes Still Work

QR codes can lose up to 30% and still scan perfectly.

QR codes use Reed-Solomon error correction to add redundant data. Even if part is torn, stained, or covered, the maths can reconstruct the missing pieces.

Error Correction Levels

QR codes have four correction levels: L (7%), M (15%), Q (25%), H (30%). At level H, up to 30% of the code can be damaged and it still reads. The trade-off: more correction = more data = a denser (bigger) code.

A QR code with 1000 data modules at level H

  1. 1

    Correction capacity

    1000×0.30=300 modules1000 \times 0.30 = 300 \text{ modules}
Answer

Up to 300 modules can be damaged and the code still scans

The takeaway

Error correction is why QR codes are so resilient — maths fills in what damage takes out.

Back to all stories