The 10:1 distance rule
Phone cameras need each module, the small squares in the code, to cover enough pixels to tell black from white. As distance grows, everything shrinks in the camera's view. A widely used rule of thumb is a ratio of about 10:1: scanning distance ÷ 10 = minimum code width.
It is a rule of thumb, not a law of physics. Modern phones with good cameras do better, older phones and poor lighting do worse, and dense codes need more room than simple ones. Treat 10:1 as the minimum and add margin where it matters.
| Where it is used | Typical scan distance | Minimum width |
|---|---|---|
| Business card, label, packaging | 15 to 25 cm (6 to 10 in) | 2 to 2.5 cm (0.8 to 1 in) |
| Flyer, menu, table tent | 25 to 40 cm (10 to 16 in) | 3 to 4 cm (1.2 to 1.6 in) |
| Counter sign, A4 or letter poster | 50 cm to 1 m (1.5 to 3 ft) | 5 to 10 cm (2 to 4 in) |
| Window, wall poster | 1 to 2 m (3 to 6 ft) | 10 to 20 cm (4 to 8 in) |
| Vehicle, large banner | 3 to 5 m (10 to 16 ft) | 30 to 50 cm (12 to 20 in) |
| Billboard, building wrap | 10 m+ (33 ft+) | 1 m+ (3 ft+) |
The width includes the code only, not the quiet zone (the white border) around it.
The absolute minimum
For anything handheld, 2 × 2 cm (0.8 × 0.8 in) is the practical floor. Smaller codes can work for very short content printed at high resolution, but they become unreliable fast, especially for people with older phones or less steady hands. If you are tempted to go below 2 cm on a product label, use a dynamic code: its short link produces fewer, larger modules.
What makes a code need to be bigger
1. More data
QR codes come in 40 sizes, called versions, from 21 × 21 modules (version 1) to 177 × 177 (version 40). More data means a higher version and more, smaller modules at the same print size. A short URL might fit in a 25 × 25 grid. A long URL with tracking parameters might need 45 × 45, and each module is then almost half the size. Dynamic codes always encode a short link, which keeps the grid small no matter how long the destination is.
2. Higher error correction
QR codes include redundant data so they can still be read when partly damaged or covered. There are four levels: L recovers about 7% of the code, M about 15%, Q about 25% and H about 30%. Higher levels are more robust but add modules. A logo in the center needs high error correction (our generator switches to H automatically), so codes with logos should be printed a little larger.
3. Low contrast and fancy styling
Rounded dots, gradients, light brand colors and busy backgrounds all make the camera's job harder. Each one is usually fine on its own; stacked together they add up. If you style heavily, add 20 to 30% to the size and test.
4. Difficult conditions
Dim bars, glossy laminate under spotlights, curved bottles, moving vehicles and windows with reflections all reduce the effective size. Go bigger, use matte finishes, and test in the real location.
Don't forget the quiet zone
The QR specification calls for a blank margin of four modules around the code. Scanners use it to find where the code starts. Text, borders or artwork that crowd the code are a common cause of failure, even on a correctly sized code. Our downloads include a margin by default; keep it when placing the code in your design.
File format and resolution
- SVG (vector) is best for print. It scales to any size with perfectly sharp edges. Send it to your designer or printer.
- PNG is fine for screens and small prints. For print, export at least 300 pixels per inch at final size: a 4 cm code needs a PNG of about 470 pixels or more. Our 1024 px and 2048 px options cover most cases.
- PDF and EPS are what many print shops ask for. Both are available on paid plans.
Test before the full run
- Print one copy at final size on the final material.
- Scan it from the real distance with at least one iPhone and one Android phone, ideally including an older one.
- Try the real lighting: the dim corner of the restaurant, the shop window at noon.
- Only then send the full order.
For contrast, color and placement advice, continue with our print marketing best practices.