There is no single answer to “How big should the code be?”; the answer depends on where the code will be scanned from. The good news: the maths is simple.
The basic rule: a tenth of the distance
The code should be about a tenth of the scanning distance. A code scanned from 1 metre should be at least 10 cm; a code scanned from 3 metres at least 30 cm.
| Where | Scanning distance | Minimum code size |
|---|---|---|
| Business card, label | 20–30 cm | 2 × 2 cm |
| Table card, brochure | 30–50 cm | 3 × 3 cm |
| Menu board, poster | 1 m | 10 × 10 cm |
| Shop window, roll-up | 2 m | 20 × 20 cm |
| Building front, large poster | 5 m and more | 50 × 50 cm and more |
The lower limit: 2 centimetres
Even if it is scanned up close, do not go below 2 × 2 cm. Small codes make it harder for the phone to focus, and small flaws in the print grow larger.
The more content, the denser the code
In a static code the content is written straight into the pattern: a long web address or text means more, smaller squares. A dense code printed at the same size is harder to read than a sparse one.
- Print static codes with long content one step larger.
- In a dynamic code the pattern carries only a short link; it stays sparse whatever the content.
- Adding a logo raises error correction and makes the pattern denser; plan a code with a logo one step larger too.
Do not forget the quiet zone
The space around the code lets the reader tell the code apart from the background. Count this space, at least four modules wide, outside the code's size; do not let text, a frame or the trim margin enter it.
Surface and material
- A glossy finish reflects light; prefer matt lamination.
- On curved surfaces such as a bottle or a mug, the code bends with the curve. Keep the code small or print it on a flat label.
- On fabric and textured paper, make the pattern one step larger.
The right file format
Use a vector file for print: SVG, PDF or EPS stay sharp at any size. If you use PNG, download it at at least 300 dpi at print size; for a 3 cm code that means about 355 pixels.
PNG and SVG can be downloaded on every plan, PDF and EPS on the Pro plan and above.
The last step: test
Whatever the maths says, the real print has the last word. Print the code at real size and try it from the real distance with a few phones. We explain how in our testing guide.