The 10:1 rule
Divide the scanning distance by 10 to get the code's width.
| Where it goes | Scanning distance | Width |
|---|---|---|
| Business card, product label | 15–25 cm | 2–2.5 cm (about 1 in) |
| Flyer, menu, table tent | 25–40 cm | 3–4 cm (about 1.5 in) |
| Counter sign, door sticker | 50 cm–1 m | 5–10 cm (2–4 in) |
| Poster on a wall | 1–2 m | 10–20 cm (4–8 in) |
| Shop window, banner | 2–5 m | 20–50 cm (8–20 in) |
Nobody standardised this rule. The QR standard (ISO/IEC 18004) sets no minimum print size, and Denso Wave works from the other direction: it derives module size from the printer's resolution, with an example of 0.254 mm per module on a 400 dpi printer (Denso Wave). The 10:1 figure is a print-industry habit that holds up for short links.
The rule is really about modules
A camera has to resolve each module, the small squares, not the code as a whole. Our size calculator reads the 10:1 rule as describing a 25-module code, which works out to each module being at least 1/250 of the scanning distance. Here is what that means for real payloads, run through our encoder at its default level M:
| What's in the code | Grid | Width to scan from 30 cm |
|---|---|---|
https://example.com | 25 × 25 | 3.0 cm |
WIFI:T:WPA;S:Cafe Guest;P:espresso-2024;; | 29 × 29 | 3.5 cm |
upi://pay?pa=cafe@okaxis&pn=Cafe&cu=INR | 29 × 29 | 3.5 cm |
| A 90-character link with three UTM tags | 41 × 41 | 4.9 cm |
| A full contact card (name, company, title, phone, email, website, address) | 61 × 61 | 7.3 cm |
The contact card is the one that catches people out. At business-card distance (about 20 cm) it needs a code close to 5 cm wide, which doesn't fit on a card. Cutting it down to name, phone and email still leaves a 49 × 49 grid that wants about 4 cm. Put a link to an online profile in the code instead.
Shortening a link is the cheapest fix for a dense code. Dropping the tracking tags from that 90-character link takes it from 41 to 29 modules across. The versions and capacity page shows how grid size grows with data.
When to go bigger
- Dim light, glare, or a code people see at an angle. The calculator adds 25% for these and 50% for outdoor or moving scans.
- A logo, which switches our generator to error correction level H and adds modules.
- Low-contrast colors. See colors and contrast.
- Glossy or curved surfaces that reflect light or bend the grid.
The calculator never goes below 2 cm, however close people stand, and it warns when a module would be under 0.4 mm, where ordinary printers start to smudge the dots.
There's no upper limit. A code can cover a building, as long as the camera can fit the whole thing, margin included, in its view.
The margin comes on top
All these widths are for the code itself. Around it you need a blank margin four modules wide; the quiet zone page shows how to measure it on your design.
For print, download the SVG so the code stays sharp at whatever width you choose. If you have to use a PNG, the file format guide lists the pixel size for each print width.
Then print one copy at the real size, put it where it will live, and scan it from where people will stand. A wrong guess costs a reprint.