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 4 min read

Why a QR Code with a Logo Still Scans

Reed–Solomon codes rebuild missing data.

QR codes use error correction that can restore up to 30% of damaged data. Even with a logo covering the centre, the code still scans.

Error correction levels

QR codes have four levels: L (7%), M (15%), Q (25%), H (30%). Level H can survive 30% of modules being destroyed.

recoverable=level %×total modules\text{recoverable} = \text{level \%} \times \text{total modules}

Version 5 QR, Level H

  1. 1

    Total modules

    37 × 37 = 1,369

  2. 2

    Recoverable

    30% × 1,369 ≈ 411

Answer

Up to 411 modules can be missing and it still scans

The formula behind it

Percentage

part=p100×whole\text{part} = \frac{p}{100} \times \text{whole}
See the full formula, variables and more examples

The takeaway

QR codes are deliberately overbuilt — that redundancy is why they work even when coffee-stained.

Back to all stories