Scanning
Scanning distance limits for QR codes
A QR code scans between two limits: a near floor of about 5–10 cm, where phone cameras can no longer focus, and a far ceiling of roughly ten times the code's width — the 10:1 rule. A 10 cm code therefore works from about 10 cm to 1 m; optical zoom extends the ceiling.
Two limits, not one
Every QR code has a working band of distances: too close and the camera cannot focus, too far and the modules shrink below what the sensor resolves. Design puts the expected scan distance inside that band with margin on both sides.
The near limit: the focus floor
Phone main cameras focus down to roughly 5–10 cm; inside that, the image is blur no decoder recovers. Some phones switch to a macro lens closer in, but you cannot design around a feature only some phones have. In practice the near limit bites in two places: tiny codes that invite people to lean right in (see too small to scan), and very large codes scanned so close they overflow the frame — the decoder needs the whole code plus quiet zone in view.
Rule of thumb at the near end: below about 2 × 2 cm, print is unreliable for close-range scanning regardless of camera.
The far limit: the 10:1 rule
The ceiling comes from resolution. A decoder wants ~3 pixels per module; work the camera geometry through and you land on the field rule:
minimum code width ≈ scan distance ÷ 10.
| Scan distance | Minimum code width |
|---|---|
| 30 cm (in hand) | 3 cm |
| 1 m (poster in a corridor) | 10 cm |
| 2 m (wall poster) | 20 cm |
| 5 m (shop window from the street) | 50 cm |
| 10 m (banner) | 1 m |
| 50 m (billboard) | 5 m |
The derivation and its assumptions live in the 10:1 distance rule, and the full size-by-distance grid is in the reference table. The size calculator applies it to your own numbers.
The rule assumes a reasonably low-version code. Density spends the same budget: doubling the module count halves the distance the same print width supports, which is why a long tracking URL quietly wrecks a poster — the mechanism is in density and scan distance. Keep the payload short before making the print bigger.
What zoom changes
Optical zoom is the one user behaviour that genuinely moves the far limit. A 2–3× telephoto lens magnifies the code on the sensor by the same factor, so it divides the effective distance: through a 3× lens, a billboard at 30 m presents like 10 m, and a 3 m code becomes scannable where the rule said 30 m needed exactly that.
Two cautions. Digital zoom mostly does not help — it crops and upscales the same pixels rather than adding information. And most people never think to zoom: they point, fail, and walk on. Design for the default lens and treat zoom as rescue, not plan.
Distance interacts with everything else
The band narrows whenever conditions degrade, because they all consume the same pixel margin:
- Angle — off-axis scanning compresses modules; at 60° the code needs to be about twice as wide (details).
- Light — dim scenes add noise and blur, effectively raising the pixels-per-module the decoder needs (details).
- Motion — anyone scanning while moving needs more margin still (details).
The safe habit: size from the table, then verify the artwork decodes with the validator, then test at the real distance with a mid-range phone.
FAQ
How far away can you scan a QR code?
About ten times the code's width, with a decent phone in decent light. A 10 cm code works to roughly 1 m, a 50 cm code to 5 m, and a billboard code needs metres of width. Optical zoom extends this; digital zoom mostly does not.
Is there a minimum distance for scanning a QR code?
Yes — the camera's focus floor, around 5–10 cm on most phone main lenses. Anything closer is out of focus. Very large codes also fail up close when they overflow the frame, since the decoder needs the whole code visible.
Does phone zoom help scan distant QR codes?
Optical zoom does: a 3× telephoto effectively divides the required distance by three. Digital zoom crops and enlarges the same pixels, adding little. Since most users never zoom, size the code for the default lens.
Why does my long URL scan from closer than expected?
Longer payloads produce denser codes with more, smaller modules, and each module needs the same pixels on the sensor. Doubling the module count halves the working distance for the same print size — shorten the URL or enlarge the print.
Try it — free, no signup
Related
- How to scan a QR code on any device — On iPhone and Android, open the camera app and point it at the code — a banner appears with the destination. No separate app is needed on any current…
- QR scanning at an angle — How far off-axis a QR code still scans — about 30–45° — why steeper angles fail, and where to mount codes so nobody has to scan at an angle at all.
- Motion blur and QR scanning — The arithmetic of movement — why drive-by scanning fails, how much handheld shake a scan tolerates, and how industrial imagers freeze motion entirely.
- The 10:1 QR code distance rule, derived — Why printed width ≥ scanning distance ÷ 10 works — camera field of view and module sampling arithmetic — and when to switch to 8:1 instead.
- QR code size by scanning distance — Printed width should be at least the scanning distance divided by ten. This table applies that rule across the distances that occur in practice, from a…