Skip to content
Print Spec Tool

Quiet Zone Calculator

Work out the quiet-zone margin a QR code needs from its version and printed size, in millimetres and inches, including the total footprint with the margin.

1. Your code

Version 5 = 37 × 37 modules. Higher versions pack more data into the same size, so each module gets smaller.

Formula

Modules per side = 21 + 4 × (version − 1). Module size = printed width ÷ modules per side. Quiet zone per side = 4 × module size (the ISO/IEC 18004 requirement of a 4-module margin). Total footprint = printed width + 8 × module size. The quiet zone must be the background colour, empty of text, logos, and graphics.

Result
Quiet zone per side
4.32 mm
(0.170 inches)
Module size1.081 mm
Code width (no margin)40 mm (1.57 in)
Total footprint incl. quiet zone48.6 mm (1.92 in)

When briefing a designer, give the total footprint, not just the code width — otherwise the margin gets squeezed when the artwork is laid out.

The Quiet Zone: Four Modules That Decide Everything

The quiet zone is the empty margin around a QR code, and it is the single most common reason professionally designed codes fail. The rule is simple: the margin must be at least four modules wide on all four sides, where a module is one square cell of the code. A designer who crops that margin to make a layout look tidy has not improved the design, they have removed the boundary the scanner uses to find the code in the first place. The scanner looks for the finder patterns, the three large squares in the corners, and it can only separate them from their surroundings when a clean margin isolates them.

Why the margin scales with the code

Because the rule is expressed in modules, the quiet zone in millimetres depends on both the version and the printed size. A small, low-version code printed at 30 mm has chunky modules and a generous margin in absolute terms. A high-version code carrying a long URL, printed at the same 30 mm, has tiny modules and therefore a much smaller margin — and much less room for error. That is one reason long payloads are risky in small print: everything, including the margin, shrinks together. Shortening the payload or enlarging the print restores margin and module size at the same time.

What counts as breaking the quiet zone

Anything that is not the background colour counts as breaking it: text, rules, photos, shadows, a neighbouring graphic, or even a fold or a cut edge that runs through the margin. A coloured background is fine as long as the whole quiet zone is that colour and the contrast against the code still passes. A gradient or textured background inside the margin is not fine, because the scanner may read the texture as part of the code. If a code sits on a photograph, place a solid box behind the code and its margin rather than hoping the photo is quiet enough.

Getting it right in production

  • Brief designers with the total footprint including the quiet zone, and show the margin as a visible guide box in proofs.
  • Never let a crop, bleed, or die-cut line pass through the margin. If the code is near a page edge, move it inward.
  • On curved or folded packaging, keep the margin clear of the fold line as well as the code itself.
  • When a code is exported with transparency, confirm the receiving layout keeps a solid background behind the margin.
  • Test-scan the final printed piece, not just the screen proof — cropping happens at print time.

Four modules of nothing is not wasted space. It is the frame that makes the code readable, and it is the cheapest insurance in print production.

Frequently Asked Questions

How wide must the quiet zone be?

At least 4 modules on all four sides, per ISO/IEC 18004. A module is one square cell of the code, so the margin in millimetres depends on the version and the printed size — use this calculator to get the exact number.

Can the quiet zone be a colour other than white?

Yes, as long as the whole margin is a single solid colour with strong contrast against the code, and the code plus margin sit on that colour. Gradients, photos, or textures inside the margin can be misread as part of the code.

What happens if text touches the quiet zone?

The scanner may fail to isolate the code from its surroundings, especially near the corner finder patterns. Even a thin rule or a nearby headline can cause intermittent failures that are hard to reproduce in testing.

Does the quiet zone count as part of the QR code size?

For layout and print, yes — always plan around the total footprint including the margin. If you brief a designer with only the code width, the margin is the first thing that gets squeezed when space runs short.