# 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.

Source: https://useqr.app/docs/scanning/scanning-distance-limits · Last reviewed 2026-08-21 · UseQR is free forever, no signup.

---

## 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](/docs/troubleshooting/qr-code-too-small-to-scan)), and very large
codes scanned so close they overflow the frame: the decoder needs the whole code plus
[quiet zone](/glossary/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](/docs/print/the-10-to-1-distance-rule), and the full
size-by-distance grid is in the
[reference table](/docs/reference/qr-code-size-by-distance-table). The
[size calculator](/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](/docs/spec/qr-code-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](/docs/scanning/qr-scanning-at-an-angle)).
- **Light**: dim scenes add noise and blur, effectively raising the pixels-per-module
  the decoder needs ([details](/docs/scanning/qr-scanning-in-low-light)).
- **Motion**: anyone scanning while moving needs more margin still
  ([details](/docs/scanning/motion-blur-and-qr-scanning)).

The safe habit: size from the table, then verify the artwork decodes with the
[validator](/validate), 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

- https://useqr.app/size-calculator
- https://useqr.app/validate
- https://useqr.app/url
