Printing a QR code: size, contrast and testing
On your screen almost every QR code scans. On a business card, a window sticker or a banner that is less obvious. With these rules you avoid printed matter you have to order again.
How large should a QR code be?
For printed matter that people hold in their hand, such as a business card or flyer, 2 by 2 centimetres is a safe minimum for a code with a short link. If the code holds a lot of data, the blocks get smaller and you need more room.
For codes that are scanned from a distance, a practical rule of thumb applies: the code is about a tenth of the scanning distance wide. A poster that people read from 2 metres therefore gets a code of about 20 centimetres. It remains a rule of thumb: always test at the real distance.
Leave a white margin
Around the code there should be an empty margin, the so-called quiet zone. Denso Wave, the company that developed the QR code, prescribes a margin of four blocks (modules) on each side. So do not put text, a frame or a photo right up against the code.
Make sure there is contrast
- Choose a dark code on a light background. The other way round (light on dark) is not read equally well by all scanners.
- Avoid light colours such as yellow or pastel for the blocks themselves.
- Do not print on a busy photo or a glossy, reflective material.
Logo in the code? Raise the error correction
A QR code contains spare data that keeps it readable when a part is damaged or covered. There are four levels (L, M, Q and H), which can restore roughly 7, 15, 25 and 30 percent of the code. If you put a logo in the middle, choose a higher level and keep the logo small.
The right file
For printed matter a vector file such as SVG or PDF is best: it stays sharp at any size. If you use a PNG, download it large enough and do not enlarge it afterwards in your layout program, because then the edges become blurry.
Test before you print
- Print the code at actual size on an ordinary printer.
- Scan with at least two devices, for example an iPhone and an Android phone.
- Scan at the distance and in the light where the code will hang.
- Check that the destination is right and reads well on a phone.
Sources
Last checked: December 2026.