QRX Codes · Blog

Printing a QR Code That Actually Scans: Size, Quiet Zone, Error Correction

Guides · 2026-11-08 · 6 min read

Most failed QR codes fail at the printer, not in the camera. The sizing rule, the margin everyone crops off, which error correction level to use, and why you should send SVG rather than a screenshot.

Failures happen before the camera ever sees it

A QR code that won't scan is usually a production problem. Someone pasted a 180 pixel PNG into a layout, the designer cropped the white margin to make it fit, and the printer put it on a fold. The code was fine when it was generated.

Five rules cover nearly all of it.

1. Size it from the scanning distance

The working rule is that the code's width should be about one tenth of the distance it'll be scanned from. A code read at 30 cm wants roughly 3 cm. A code on a pull-up banner read from 2 metres wants 20 cm, which is far bigger than most people draw it.

Practical minimums worth keeping:

When in doubt, go bigger. Nobody has ever complained that a code was too easy to scan.

2. Keep the quiet zone

The quiet zone is the blank margin around the pattern, and the spec wants four modules of it on every side. In practice, leave at least the width of four of the little squares, which is roughly a tenth of the code's width.

This is the rule designers break most often, because the margin looks like wasted space in a tight layout. Crop it and the camera loses the edge of the pattern. Printing the code on a dark background without a white margin does the same thing.

3. Pick the right error correction level

QR codes carry redundancy, graded L, M, Q and H, as described in the QR code specification. Level L recovers about 7% of the pattern, H about 30%.

For print, don't use L. Ink spread, folds, scuffs and hands all eat the pattern. M is a sensible default, Q if the code will live somewhere rough, H if you're putting a logo in the middle, because that logo is damage as far as the scanner is concerned.

Higher correction means a denser pattern, so a level H code needs slightly more physical size for the same reliability. That's the trade.

4. Send vector, not a screenshot

Give the printer an SVG or an EPS. A PNG scaled up in a layout turns the module edges to mush, and a screenshot of a code on a screen is worse still because it carries the screen's own compression.

Contrast matters as much as resolution. Dark code on a light background, always. Inverted codes, light pattern on dark, fail on many phone cameras even when they look fine on screen. If brand colours demand it, test on five phones before committing to 10,000 copies.

5. Print the short link underneath

Put the short URL below the code in 7pt or larger, outside the quiet zone. It gives people without a working camera a way in, and it's a trust signal: someone can read where the code goes before they scan it, which matters now that QR phishing is common.

The test everyone skips

Print one proof. Tape it where it will actually live. Scan it with an old Android, a current iPhone, and in bad lighting, standing where the reader will stand.

That ten minute test catches the fold problem, the glare problem on gloss lamination, and the one where the code sits behind a shelf rail. All three are cheap to fix on a proof and very expensive to fix on a pallet of printed boxes.

One more reason to use a dynamic code on anything printed at volume: if the destination turns out wrong after the run, you change the destination rather than the run.


Generate print-ready codes in PNG, SVG and WebP, with the destination under your control. Start free with QRX Codes.

Related reading

About · Terms · Privacy