QR code size for print: how big should it really be?
Almost every "the code does not work" complaint is one of three things: it is too small for the distance it is read from, it has no white border, or it is printed in colours the camera cannot separate. None of these needs new software. All three need five minutes with a ruler.
The distance rule
A code must be at least one tenth of the distance it is scanned from. That single rule covers most of what people get wrong:
| Where it is read | Typical distance | Minimum width |
|---|---|---|
| Table tent, business card, till display | 30–50 cm | 3–5 cm |
| Counter card, poster at eye level | 1–1.5 m | 10–15 cm |
| Wall poster, shop window | 2–3 m | 20–30 cm |
| Banner, vehicle, building sign | 5–10 m | 50–100 cm |
The rule assumes a short code. A URL with a long campaign string has more modules in the same width, which makes each module smaller; add about a third to the width for every doubling of the text. When in doubt, print bigger — a large code costs nothing extra.
The quiet zone is part of the code
Every QR code needs a clear margin of white around it, four modules wide, so the camera can find where the code starts. The white border in the figure above is that margin: it is written into the pattern, not added by a designer.
It is also the first thing to disappear. A card is tidied up by cropping the code to its outer black squares, a designer puts a thin frame "for balance", a dark background runs right up to the edge. Each of those removes the reference the camera uses.
- Keep four modules of white on all four sides. At 4 cm wide, that is roughly 5 mm each side.
- Place the code on white, or put a white panel behind it if the design is dark.
- Never put a border line against the pattern. A frame outside the white margin is fine; a frame touching the squares is not.
- Watch the bleed. If the card is trimmed, the trim must not eat into the margin.
Contrast: dark code, light background
Cameras look for a difference in brightness, not the colour itself. A code must be clearly darker than the background; roughly a 4:1 brightness ratio is the practical minimum, and plain black on white is about 21:1.
- Dark on light, never the reverse for print. An inverted code (light modules on a dark background) is read by some phones and not others, which is the worst possible outcome.
- Colour is fine if it stays dark. Navy, deep teal, forest green and plum all work. Pale yellow, sky blue and most pastels do not.
- Beware low-contrast combinations such as red on green or orange on white: they look different to a sensor than to your eye.
- Transparent PNGs are a trap. A code with no background shows whatever sits behind it, so on a dark page the modules vanish. Export with a white background.
Surface, light and ink
A perfect file still fails on the wrong material. Matte paper or matte laminate is the safe choice; gloss reflects ceiling lights and windows straight back into the camera. Avoid curved surfaces: a code wrapped round a bottle or a pole distorts, and distortion is what the error correction cannot fix.
Check the ink too. A cheap inkjet print on thin paper can look grey rather than black, and a code printed on kraft card or coloured stock loses contrast even when the file was fine.
How small is too small
The figure below is the same code, shown at about the size it would be if you shrank it to fit a crowded business card layout. Try to scan it from a normal reading distance and you will feel what a customer feels.
A five-minute print check
- Print one copy at the final size on the final material.
- Measure the printed width with a ruler and compare it with the table above.
- Scan from the intended distance, in the room's own lighting, with the sheet taped in place.
- Try it on two phones, and once with the light behind the phone rather than behind the code.
- Look at the margin: is there white on every side, including after trimming?
Mistakes that survive design review
- A logo over the code without switching to high error correction. The generator does this for you; a design program does not.
- The code shrunk to balance the layout. Rearrange the text instead.
- "It scans on my phone." Your phone has a good camera and you know where to point it. Test on an old phone, in poor light.
- Printing on a coloured brand background because it looks better. Add a white panel.
- A screen preview at 300%. Zooming in proves nothing about print size; only the ruler does.
Frequently asked questions
What is the best QR code size for print?
At least 2 x 2 cm for a code read at arm's length, such as a table card, and 3 x 3 cm or more for a wall or window read from a step back. When in doubt, print bigger and keep the white border.
Can a QR code be too large?
Practically no. Very large codes are scanned from further away, where the 10:1 rule still holds. The only real limit is fitting the pattern into the design.
Does a code need to be black and white?
No, but it needs strong brightness contrast. Dark teal on white works well; light grey on white, or any inverted scheme, does not.
Why did my code stop scanning after it was laminated?
Glossy laminate reflects light into the camera. Use matte laminate, or scan from an angle where the reflection is not over the code.
Read next: Are QR codes safe? How to spot a fake or malicious QR code — What a code can and cannot do, and the sticker scam to look for.