QR code size and print resolution: the numbers that decide whether it scans
How to pick a QR code size for paper, packaging and signage, what DPI a printer really needs, and why module size matters more than the printed width.
Most QR codes that fail in the wild were never tested — they were sized by eye. This guide gives you the actual numbers: how wide the code must be for a given scanning distance, what resolution your printer needs, and how to check the export before you send it to press.
Start with scanning distance, not with the layout
One rule covers 90 % of cases: the printed code should be at least one tenth of the distance from which people will scan it.
| Scanning distance | Minimum width | Typical use |
|---|---|---|
| 15 cm | 1.5 cm | Packaging back panel |
| 30 cm | 3 cm | Business card, menu, flyer |
| 50 cm | 5 cm | Poster, table tent |
| 1 m | 10 cm | Shop window |
| 3 m | 30 cm | Billboard, station sign |
| 10 m | 1 m | Building signage |
The table assumes error-correction level M and a short URL. A long URL forces a higher version, which means more modules in the same width — and smaller modules. If you cannot make the code bigger, shorten the content.
Module size is the number that actually matters
A QR code is a grid. The width divided by the module count is the module size, and that is what the camera resolves.
- 25 × 25 modules (short URL, level M) on a 3 cm code → 1.2 mm modules. Comfortable.
- 57 × 57 modules (long URL, level H) on the same 3 cm code → 0.53 mm modules. Marginal on textured paper.
As a floor, keep modules at 0.4 mm or larger for offset printing and 0.6 mm for thermal printers, corrugated board and anything that will be handled. Below that, ink spread fills the gaps between modules and the code stops decoding.
Resolution: 300 DPI is the safe default
Print resolution is measured in dots per inch. For a QR code, the printer must be able to resolve each module as a clean square, so the practical requirement is at least 2 printer dots per module.
At 300 DPI, one dot is 0.085 mm. A 0.5 mm module is therefore about 6 dots wide — plenty. At 150 DPI (0.17 mm per dot) the same module is only 3 dots, which is where edges start to blur. At 72 DPI — the resolution of a screenshot — a 0.5 mm module does not exist at all.
That last point explains the most common failure: people export a PNG from a screen preview and scale it up in a design tool. The modules are already blurred; enlarging them enlarges the blur.
Export SVG for print. Vector output has no resolution, so the printer renders each module at its native DPI.
White space around the code
The quiet zone must be at least four modules wide on every side. For a 0.5 mm module that is 2 mm; for a 1 mm module, 4 mm. Keep other artwork, trims and folds outside that margin. A code placed right on a package edge, or wrapped around a corner, loses its quiet zone and often its finder patterns.
Colour and material choices that survive print
- Contrast: dark modules on a light background, at least 3:1, ideally 7:1 or more.
- Paper: uncoated stock absorbs ink and fattens modules; matte coated stock is the most predictable.
- Lamination: glossy film creates a highlight that can wash out a third of the code under shop lighting. Use matte, or leave a varnish-free window.
- Curved surfaces: a code on a bottle or a can needs to be wider than the flat rule suggests, because the viewing angle compresses it.
A five-minute pre-press check
- Export SVG at final size, not a scaled screenshot.
- Print one copy on the real material at the real size.
- Scan from the intended distance with two different phones.
- Scan once in dim light and once under a strong spotlight.
- Confirm the decoded content, not just that the camera reacted.
Sizing real products
- Business card: 2 cm square, level M, short URL.
- A5 flyer: 2.5–3 cm.
- Restaurant table tent: 4 cm, level Q if a logo sits in the middle.
- Product packaging: 1.5–2 cm minimum, but check the module size on the chosen stock.
- Retail shelf edge: use a barcode instead. EAN-13 is what the POS expects — see the EAN-13 generator.