QR code print size and the quiet zone nobody respects

Size a QR code from the distance it will be scanned at, not from the space left on the layout. The working rule is that the printed symbol should be about one tenth of the expected scan distance, with a floor of roughly 0.4 mm per module for ordinary offset or digital printing. And the four-module white border — the quiet zone — is part of the code, not decoration: crop it and scanners may never find the symbol at all.

Both numbers are heuristics rather than clauses in the standard, but they hold up well in practice. Here is how to apply them without guesswork.

Start from the scan distance

People do not hold a phone at a fixed distance. They scan a table tent from 20–30 cm, a poster from a metre, a sign above a doorway from three or four metres. Multiply the realistic distance by 0.1 and you have the smallest sensible symbol width including its quiet zone:

Where it is scannedTypical distanceMinimum symbol width
Menu, table tent, business card0.2–0.3 m20–30 mm
Poster at eye level, shop window1 m100 mm
Product packaging, shelf label0.5 m50 mm
Door sign, wayfinding panel3 m300 mm
Billboard, vehicle livery8–10 m800–1000 mm

These are minimums for a well-lit, high-contrast code with a good camera. Add margin when the code sits behind glass, under a dim ceiling, or on a surface that will pick up scuffs. A code that is merely "technically large enough" is the one that gets reported as broken.

The module is the real unit

A QR symbol is a grid, and what the camera actually needs to resolve is one module — one black or white square. Symbol width divided by module count gives the module size, and module count depends on the version: 21 modules per side at version 1, plus four for each version after that.

A version 3 symbol is 29 modules across. Printed 30 mm wide, each module is just over 1 mm — comfortable. The same 30 mm width at version 10 is 57 modules, so each module is about 0.53 mm, which is near the edge of what a cheap phone camera resolves at close range. At version 20 (97 modules) the same 30 mm print gives 0.31 mm modules, and the code will look fine to your eye and fail on most phones.

This is why payload length has a physical cost. Every extra hundred characters pushes the version up, which shrinks every module for a given printed width. The maths of that trade-off is in the capacity guide; the practical consequence is that a long URL printed small is a design failure, not a camera failure.

Why the quiet zone is four modules

The specification requires a clear margin of four modules around the symbol, in the light colour of the code. Scanners locate a QR code by hunting for the three square finder patterns in the corners, and they do it by looking for a dark-light-dark-dark-dark-light-dark run of pixels with empty space around it. Without that empty space, the run cannot be detected reliably — especially at an angle, where the phone sees the code as a trapezoid.

Designers break this in three predictable ways:

  • Cropping to the symbol's edge to make the code look tidy in a card layout. The finder patterns then touch the artwork border and detection drops off sharply.
  • Placing the code on a dark or busy background with no white plate behind it. The quiet zone becomes part of a photograph.
  • Drawing a decorative frame in the same dark colour as the modules, tight against the code. From the scanner's point of view, the frame merges with the symbol.

If a border is needed for the design, make it part of a white plate that extends at least four modules beyond the symbol, and keep the dark frame outside that plate. The generator exports the quiet zone automatically, so what you download is already correct — the risk is what happens to it in the layout tool afterwards.

Resolution, formats, and resampling

Send the printer a vector file whenever the artwork will be scaled. The SVG export here is pure paths on a white rectangle, so it scales to any size with no loss and no aliasing. Raster exports are for screens and documents.

If you must use a raster image in print, three rules apply:

  1. Render it at the final physical size at 300 ppi or better, not at 300 px and scaled up.
  2. Make every module an integer number of pixels. A module of 3.7 px forces anti-aliasing, which blurs the edges the decoder depends on.
  3. Never resample after the fact. Rotating, scaling or "enhancing" a QR image in an editor is how a perfectly valid symbol becomes a fuzzy one.

This is also why the generator gives you integer cell sizes and tells you the exact pixel dimensions it produced. A 320 px request for a 29-module symbol leaves a slightly wider quiet zone rather than a fractional cell.

Contrast, colour and substrate

Dark modules on a light background is the assumption baked into every scanner. Inverting it — light modules on a dark background — works on some phones and fails on others, because the finder-pattern detector looks for dark squares. If a design demands an inverted code, test it on at least three devices before committing to a print run.

Contrast is measured as a ratio between the two colours. Below about 3:1, decoding becomes unreliable in poor light; the usual black-on-white pair is around 21:1, which is why it keeps working when everything else fails. Deep navy on white, dark green on cream and black on yellow all hold up. Mid-grey on light grey, or brand pink on brand orange, do not.

On the substrate side: matte stock scatters light evenly and scans well; gloss laminate creates a mirror that can throw a reflection straight into the lens, which is a common cause of "it works on my desk but not on the wall". Metallised and transparent materials need a white printed plate behind the code, or the contrast collapses.

Curved and awkward surfaces

A code wrapped around a bottle or a pillar is seen at an angle from every position except one. Curvature compresses modules near the edges, so the effective module size at the extremes is smaller than the flat measurement suggests. Two practical mitigations: make the symbol larger than the flat-surface calculation says, and keep it away from the seam or the sharpest part of the curve. A cylinder of 60 mm diameter with a 30 mm code is already steeply curved at the edges.

The checklist before you send files

CheckTarget
Symbol widthAt least 1/10 of the scan distance
Module size0.4 mm or more for litho and digital print
Quiet zoneFour modules, light colour, no artwork inside it
Contrast3:1 minimum; aim for far higher on print
File type for printSVG or 300 ppi raster at final size
ProofScan the printed proof with two phones in the real lighting

Frequently asked questions

What is the smallest a QR code can be printed?

Practically, about 15 mm across with its quiet zone, and only for a short payload at a low version. That gives modules around 0.4–0.5 mm. Anything smaller and you are relying on the specific phone, the specific lens and the specific lighting at the moment of scanning.

Can I put a logo in the middle?

Yes, if you leave the three corner finder patterns untouched and use level Q or H so the damaged modules can be reconstructed. Keep the logo well under a quarter of the symbol area, and test the actual artwork rather than assuming the error budget covers it.

How wide is the quiet zone in millimetres?

Four modules on each side. For a 30 mm symbol at version 3, one module is about 1.03 mm, so the quiet zone is roughly 4 mm on every side — 8 mm added to the overall width. For denser symbols the absolute width shrinks, which is exactly why dense codes fail on tight layouts.

Generate a code at the size you need and check the module count in the readout before you place it in the layout. For the failure modes that show up after printing, see why QR codes stop working.

Written by the QRQuick team. Last updated November 19, 2026.