QR
What size should a QR code be? Printing rules that make codes scan every time
A QR code that won't scan is worse than no code at all, especially after 500 menus or flyers have been printed. Almost every failure comes down to four things: size, contrast, the white border and how much is packed into the code.
Open the toolThe 10-to-1 rule for size
A practical rule is that the code should be at least one tenth as wide as the distance it will be scanned from. Someone holding a business card scans from about 20 cm, so 2 cm is enough. A poster read from 3 metres needs a code about 30 cm wide.
| Where it's printed | Typical scan distance | Minimum code width |
|---|---|---|
| Business card, label | 15–25 cm | 2–2.5 cm |
| Table card, menu, flyer | 30–50 cm | 3–5 cm |
| A4 poster on a wall | 1 m | 10 cm |
| Shop window, large poster | 2–3 m | 20–30 cm |
Never go below 2 cm (0.8 in). Printers blur fine details, and cheap phone cameras struggle with tiny squares.
Contrast: dark on light
Scanners look for dark squares on a light background. Black on white is ideal; dark navy, green or brown on white or cream also work. Light codes on dark backgrounds ("inverted" codes) fail on many phones, and pale colours like yellow or light grey are a common cause of failed scans. The 315tools generator warns you when contrast is too low.
Keep the white border
The empty margin around the code, called the quiet zone, tells the scanner where the code ends. The standard is four squares wide. Designers often crop it to make the code fit a layout, and that alone can make it unreadable. If space is very tight, use the Thin (2) border, but never none.
Less data means bigger squares
Every character you add makes the pattern denser and each square smaller. A short link such as example.com/menu produces a simple, robust code; a 200-character link full of tracking parameters produces a dense one that needs to be printed much larger.
- Remove tracking parameters you don't need from links.
- Keep text codes under about 300 characters.
- For contact cards, include only the fields people really need.
Logos and error correction
QR codes contain spare information so they can still be read when part of the code is dirty, scratched or covered. There are four levels: Low (7%), Medium (15%), Quartile (25%) and High (30%). A logo in the middle covers part of the code, so the generator switches to High automatically when you add one. Keep the logo small, roughly a fifth of the code's width, and leave a little space around it.
File format for printing
Give printers the SVG file. It is a vector, so the edges stay perfectly sharp at any size. PNG is fine for screens, documents and presentations; download it at a large size if you might print it.
Always test before printing
- Print one copy at the final size on the final paper.
- Scan it with at least two different phones, one older if possible.
- Scan from the real distance and in the real light (a dim restaurant is harder than a bright office).
- Check that the link opens the right page, then print the full run.
Questions
- Can I print a QR code in colour?
- Yes, as long as the code is much darker than its background. Dark colours on white work; light colours or busy photo backgrounds don't.
- Does a QR code on glossy paper scan?
- Usually, but glare from lights can hide part of it. Matte paper or a matte laminate is more reliable for menus and signs.