Why Size Decides Whether a Code Scans
A QR code is read by a camera, and a camera needs each little square — called a module — to cover enough pixels to be told apart from its neighbours. Print the code too small and the modules blur together, especially in poor light or on a moving phone. Print it large enough and almost any modern phone scans it instantly, even at an angle. Almost every "my QR code doesn't work" complaint traces back to size, not to the code itself. The good news is that sizing is predictable: it depends on how far away the scanner will stand, how much data the code holds, and the surface it is printed on.
The Distance Rule: One Tenth of the Scanning Distance
The most useful rule of thumb is simple: a QR code should be at least one tenth of the distance from which it will be scanned. Worked examples make it concrete:
- Table tent or menu scanned from about 40 cm (16 in): 40 ÷ 10 = 4 cm (about 1.6 in) wide.
- Product label or business card scanned from 20 cm (8 in): 2 cm is the floor, and 2.5–3 cm is noticeably more reliable.
- Shop window poster scanned from 1 metre: at least 10 cm (4 in) wide.
- Yard sign or banner scanned from 3 metres: 30 cm (12 in) or more.
For close-up scanning, treat roughly 2 cm (0.8 in) as the absolute minimum for a simple code holding a short link. Below that, even good phones struggle, and older phones give up entirely.
Density Matters as Much as Size
Two codes printed at the same size can behave very differently. A short web address might need a grid of only 25 × 25 modules, while a long address full of tracking parameters can need 60 × 60 or more. More modules in the same space means each module is smaller — and harder to scan. Before shrinking a code, shrink what it holds:
- Use the shortest link you can — a short page address instead of a long one with tracking codes appended.
- Remove anything unnecessary from the encoded text.
- Generate the code at its largest pixel size (1024 px or more) so edges stay sharp when printed.
A dense code often needs to be printed 50–100% larger than a simple one to scan just as reliably. When in doubt, size for the code you have, not the size you wish you had.
Contrast, Quiet Zone, and a Final Test
Size works together with two other factors. Contrast: dark modules on a light, plain background scan best — black on white is the benchmark. Pale colours, metallic foil, busy photos behind the code, and white-on-dark reversed designs all raise the failure rate. Quiet zone: keep a blank border around the code about four modules wide, with no text, logos, or page edges intruding.
Finally, test the real thing, not the screen preview. Print one proof at exactly 100% size, stick it where it will live, and scan it with two different phones from the real distance in the real lighting. Check that it opens the correct page. Two minutes of testing is cheaper than reprinting five hundred flyers.
One last environmental warning: glare defeats size. A generously sized code behind glossy lamination or shop glass can fail under bright lights because the camera sees reflections instead of modules. If a code must live behind a shiny surface, choose a matt finish, angle it away from direct light, and make it larger than the distance rule suggests to compensate.