Angular Resolution and Module Density: The Physics of QR Code Scannability at Distance
The 10:1 distance rule, the module-size math behind it, a sizing table for common uses, and why denser codes must be bigger.
Updated September 2026
QR code size is not about aesthetics — it is about physics. A phone camera has to resolve each tiny square in the pattern. The further away the scanner, the larger each square (and therefore the whole code) must be.
The 10:1 rule of thumb
A widely used guideline: a QR code is comfortably scannable from a distance about 10 times its width. So a 5 cm code works up to roughly 50 cm; a 10 cm code up to about 1 metre. Use the Size Calculator to compute this for your exact distance.
Where the rule comes from
A camera resolves detail based on angular size — how much of the view a module occupies. At the 10:1 ratio, each module of a version-3 code spans roughly 0.2 degrees of view, which sits comfortably above what a phone camera resolves at typical focus distances. Push beyond the ratio and modules blur into each other; the code may still scan in bright light with a steady hand, but you are gambling with every phone model you have not tested.
Worked examples
- •A table tent scanned from 50 cm across the table: 50 ÷ 10 = 5 cm minimum. Round up to 6 cm to leave margin for dim restaurant lighting.
- •A window poster scanned from the sidewalk, about 2 m away: 2 m ÷ 10 = 20 cm. Print at least 20 cm and mount it at eye level.
- •A business card held in the hand at 20 cm: 20 ÷ 10 = 2 cm. Use 2.5 cm so the code survives being slightly defocused.
- •A banner above a trade-show booth, scanned from 4 m: 4 m ÷ 10 = 40 cm.
| Use case | Scanning distance | Recommended size |
|---|---|---|
| Business card | 20 cm (handheld) | 2.5 cm |
| Table tent / menu card | 50 cm | 6 cm |
| Poster on a wall | 1 m | 12 cm |
| Window display | 2 m | 20 cm |
| Banner | 3 m | 30 cm |
| Billboard | 5 m+ | 50 cm+ |
Why denser codes need more room
A short URL produces a code with around 21×21 modules. A vCard with many fields can need 45×45 or more. More modules in the same physical space means each square is smaller and harder to resolve — so dense codes must be printed larger to scan from the same distance.
| Same 5 cm printed code, holding… | Module grid | Module size | Verdict at 50 cm |
|---|---|---|---|
| Short URL (~25 chars) | 29×29 | ~1.7 mm | Comfortable |
| Long URL (~90 chars) | 41×41 | ~1.2 mm | Fine |
| Full vCard | 53×53 | ~0.9 mm | Borderline — print larger |
| vCard + high error correction | 61×61 | ~0.8 mm | Too small — enlarge or slim the data |
Two levers fix a code that is too dense for its size: shorten the data (a shorter URL, a leaner vCard) or print the code larger. Shortening the data is usually free; reprinting is not.
The Nyquist limit and module sampling
A camera sensor samples the code at a finite pixel pitch, and the sampling theorem sets a hard floor on what can be resolved. To distinguish a dark module from a light one, the camera needs at least two sensor pixels across each module — the Nyquist rate — or the module aliases into its neighbour and the decoder reads the wrong bit. At the 10:1 ratio a typical phone places roughly 4–6 sensor pixels per module, leaving margin for autofocus error and motion blur. Push beyond the ratio and you fall toward the 2-pixel floor, where any defocus or hand tremor collapses the signal. This is the engineering reason the rule is 10:1 and not 5:1: the margin is not luxury, it is what keeps the code inside the resolvable band under real-world capture conditions.
| Distance:width ratio | Sensor pixels per module | Scan reliability |
|---|---|---|
| 5:1 | ~2–3 | Fails on motion or defocus |
| 7:1 | ~3–4 | Reliable only when held steady |
| 10:1 | ~4–6 | Comfortable default |
| 15:1 | ~7–9 | Forgiving in poor light |
Why distance is really about angular size
The 10:1 rule is a convenient shorthand, but the physics underneath is angular resolution. A phone camera resolves detail based on how much of its field of view each module occupies. Move twice as far away and every module covers a quarter of the angular area — which is why doubling the distance requires roughly doubling the code width, not adding a fixed amount. The same logic explains why a dense 57-module vCard must be larger than a sparse 21-module URL to scan from the same spot: more modules in the same width means each one is smaller, so the whole code must grow to keep each module above the camera's resolution threshold.
Lighting and motion: the two variables people forget
Size alone does not guarantee a scan. Two real-world factors erode the margin a correctly sized code should have. The first is lighting: a code that scans perfectly in office light can fail in a dim restaurant or under sodium street lamps, because low light forces the camera to a longer exposure and a higher ISO, softening module edges. The second is motion: a handheld phone held by a walking passer-by is moving, and that motion blur eats the same edge sharpness that low light does. The practical fix for both is the same — round the calculated size up by 20–30% so the code has margin to spare.
| Environment | Lighting | Motion | Size adjustment |
|---|---|---|---|
| Reception desk, seated | Bright, static | None | Use the calculated minimum |
| Restaurant table | Dim, warm | Slight | +20% |
| Storefront window | Variable | Walking pace | +25–30% |
| Outdoor signage | Day/night | Walking pace | +30%, use High error correction |
| Billboard | All conditions | Driving | +50% or more, consult a pro |
A code sized for the 10:1 rule in ideal light is the floor, not the target. Adding margin for the real lighting and motion of the install site is what separates a code that scans on the first try from one that frustrates every third visitor.
When in doubt, go bigger. A code that is slightly too large still scans; one that is slightly too small does not.