QR code size calculator

How big to print a QR code depends on two things: how far away people stand and how much data is inside. Enter both and get the minimum size, the quiet zone and the pixel dimensions for print.

Error correction

Print the code at least

10.0 cm wide

  • 0 × 0 modules · each ≈ 100.00 mm
  • Plus a quiet zone of Infinity cm on every side
  • ∞ px image width at 300 dpi (including margin)

Set by the 10:1 distance rule: 100.0 cm away ÷ 10.

The two limits on size

Distance. A phone camera needs the code to fill enough of the frame. The industry rule of thumb is a 10:1 ratio of scan distance to code width. It's a ratio, so it scales: 30 cm away needs 3 cm, 3 m away needs 30 cm.

Density. The code is a grid of modules, and the grid grows with the data. A 20-character URL at level M makes a 25 × 25 grid; a full vCard can pass 60 × 60. For a camera to resolve each module it needs roughly 0.4 mm or more, so a dense code has a larger minimum even when scanned from close up. Type a longer URL into the calculator and watch the minimum climb.

The cheapest fix for a code that must be small is shorter content: use a short domain or path instead of a long tracking URL. See why in how QR codes work.

Quick reference (short URL, level M)

WhereScan distanceMinimum width
Business card, labelup to 20 cm2 cm (0.8 in)
Flyer, menu, table tent30–50 cm3–5 cm
Poster on a wall1–2 m10–20 cm
Shop window3 m30 cm
Billboard20 m2 m

Questions people ask

What is the minimum size for a QR code?
About 2 × 2 cm (0.8 in) for a short URL scanned from close up, like on a business card. Denser codes (long URLs, vCards) need more, because each module should be at least roughly 0.4 mm for phone cameras.
How big should a QR code be on a poster?
Use the 10:1 rule: width = scan distance ÷ 10. A poster read from 2 m away needs a code about 20 cm wide. Round up if lighting is poor or people scan at an angle.
What resolution should a QR code image be for print?
At least 300 dpi at the printed size, or use SVG so resolution doesn't matter. A 3 cm code with its quiet zone at 300 dpi is about 450 px wide.
Does the quiet zone count towards the size?
No. The sizes here are for the code itself. Add a clear margin of 4 modules on every side on top.

Related tools