The one rule that matters: distance divided by ten
Printed width should be roughly one tenth of the scanning distance. A menu held at 30 cm needs about 3 cm. A poster read from 3 m needs about 30 cm. A billboard read from 30 m needs around 3 m. The rule is approximate, but it is close enough for every practical case, and it is easy to explain to a designer who wants to make the code smaller.
It works because a phone camera needs a few pixels per module to resolve the pattern. If you halve the code size, you roughly double the scanning distance it can no longer handle.
| Scan distance | Minimum printed code | Where you see it |
|---|---|---|
| 20 cm / 8 in | 2 cm / 0.8 in | Business card, small sticker |
| 30 cm / 12 in | 3 cm / 1.2 in | Table tent, product label |
| 60 cm / 24 in | 6 cm / 2.4 in | Counter card, flyer |
| 2 m / 6.5 ft | 20 cm / 8 in | Poster in a doorway |
| 5 m / 16 ft | 50 cm / 20 in | Shop window, menu board |
| 10 m / 33 ft | 100 cm / 1 m | Street poster, vehicle panel |
| 30 m / 100 ft | 300 cm / 3 m | Large format signage |
Every row in that table is the rule itself, rounded up to a number a printer can quote: 2 m gives 20 cm, 5 m gives 50 cm, 10 m gives 100 cm. Read the table when you want a finished size, and use the division when you are standing in front of a wall with a tape measure.
Two corrections to the rule. First, a dense code — a long URL or a full vCard — needs more size than a short one at the same distance. Second, poor lighting, glossy materials and older phones all push the required size up. When in doubt, print 30% larger than the table says.
Pixels, dpi and the file you send
Print resolution is measured in dots per inch. At 300 dpi, a 5 cm code is about 591 pixels wide; at 600 dpi it is about 1,181. Below 300 dpi, module edges start to blur, and a blurred edge is a module a camera may misread. Above 600 dpi you are adding file size without adding reliability.
| Printed width | Pixels at 300 dpi | Pixels at 600 dpi |
|---|---|---|
| 2 cm / 0.8 in | 236 px | 472 px |
| 3 cm / 1.2 in | 354 px | 709 px |
| 5 cm / 2 in | 591 px | 1181 px |
| 8 cm / 3.1 in | 945 px | 1890 px |
| 10 cm / 3.9 in | 1181 px | 2362 px |
| 20 cm / 7.9 in | 2362 px | 4724 px |
| 50 cm / 19.7 in | 5906 px | 11811 px |
| 100 cm / 39.4 in | 11811 px | 23622 px |
A raster PNG is bound to its pixel size: enlarge it in a layout tool and the modules blur. A vector SVG has no pixel size at all and is the right file for anything a professional prints. If the printer asks for a PDF, send one that is already set to the physical size you want, so nobody has to guess at scaling.
The quiet zone is part of the size
The quiet zone is the empty margin around the code, and the specification asks for at least four modules on every side. It is not decoration: the scanner uses the white space to find where the code starts. A code cropped tight to a coloured panel, or surrounded by text and graphics, fails even at a generous size.
In practice, add at least one module width of white for every module in the code's edge — that is what four modules means — and keep that area free of other content, borders and background patterns. If the design cannot give you white space, print a white panel behind the code.
Contrast, colour and the inverted trap
Keep the code dark and the background light. Aim for a contrast ratio of at least 4.5:1, and remember that scanners look for dark modules on a light ground: a white code on a black panel looks striking and fails on many cameras. If brand colours are mandatory, choose the darkest brand colour for the dots and white or near-white for the background.
Mid-tone colours are the quiet killer. A pale grey code on a white card can measure fine on screen and print as a smudge. Convert to greyscale before you approve a proof: if the two tones are still clearly different, the print will work.
Materials and finish
- Matte lamination scans better than gloss, which reflects a phone flash straight into the lens.
- Uncoated stock lets ink spread; increase the size slightly or use coated stock.
- Spot UV, foil and embossing over the code area make it unreadable. Keep them away.
- Vinyl on a vehicle needs a larger code than paper at the same distance, because it is read through a windscreen in motion.
- Laminate anything that lives outdoors or near water; a scuffed module is a lost module.
The test that replaces guessing
Print one copy at the final size on the final material, put it where it will live, and scan it with two phones — one iPhone, one Android — in the lighting that will actually be there. Try it at the furthest distance a real person would stand. If it takes more than a second or two, or needs a second attempt, it is too small.
This test costs ten minutes and catches the failures that no amount of file inspection finds: glare, a colour that looked fine on screen, a code printed at 80% by a print shop that auto-scaled the artwork. Do it before the run, not after.
Quick answers by medium
| Medium | Typical size | Note |
|---|---|---|
| Business card back | 2 to 3 cm | Read at 20 to 30 cm, matte finish, white panel |
| Table tent | 4 to 6 cm | Read at 40 to 60 cm, laminated, words above the code |
| A5 flyer | 4 to 5 cm | Held at arm's length, keep it on a plain panel |
| A4 poster | 10 to 20 cm | Read at 1 to 2 m, larger if it is pinned high |
| Shop window | 30 to 50 cm | Read from 3 to 5 m on the pavement, matte vinyl |
| Vehicle panel | 50 to 100 cm | Read at 5 to 10 m through a windscreen, high contrast |