A QR code is a physical object, not just an image
On screen, a QR code can be any size — pinch to zoom and it still scans, because the camera adapts. On paper, a QR code has a fixed physical size, and that size decides whether it scans at all. Print a QR code too small and phone cameras cannot resolve its tiny modules; print it without enough quiet zone and scanners mistake nearby text or borders for part of the code. This calculator answers the print question precisely: given a QR code's module count, your print resolution in DPI, and the quiet-zone width, how large will the printed code be in inches and centimetres? It is a print-size calculator, not a QR generator — it sizes the code you already have, so your packaging, posters, business cards, and labels come out scannable the first time.
The stakes are practical and expensive. A batch of packaging printed with an unscannable code cannot be fixed with a software update; it must be reprinted, at full cost, on a deadline. A poster for an event with a code too small to scan from a normal viewing distance is a poster that fails at its one job. And a business card with a code crammed against the edge looks unprofessional even before anyone tries to scan it. Sizing the code before sending artwork to print is a two-minute check that prevents all three failures, and it is the kind of check professionals do routinely and amateurs skip once.
How the calculation works
A QR code is a grid of modules — the small black and white squares. A Version 1 code has 21 modules per side; each higher version adds 4 modules, up to Version 40 with 177 modules. The quiet zone is the mandatory blank margin around the code, specified in modules — the standard requires at least 4 modules on every side, and more is better in busy designs. Total modules per side therefore equal the code's modules plus twice the quiet zone. At a given print resolution, each module prints at one dot per module only in the ideal case; in practice the calculator computes physical size as total modules divided by DPI, giving inches, and converts to centimetres by multiplying by 2.54. The result is the full printed footprint including the quiet zone, which is the size your layout must reserve.
Resolution deserves a careful note. DPI in this calculator means the effective resolution of the placed image in your layout, not the printer's maximum DPI. A 300-DPI printer printing a code placed at half size delivers 600 effective DPI, which is fine; a code placed at double size on the same printer delivers 150 effective DPI, which may be coarse. Always check the effective DPI in your design software at 100 percent scale. For small codes, 300 effective DPI is the safe standard; for large-format posters viewed from metres away, lower DPI is acceptable because the viewing distance, not the print resolution, becomes the limiting factor.
Reading your results
| Code | Modules | Printed size at 300 DPI, 4-module quiet zone | Typical use |
|---|---|---|---|
| Version 1 | 21 | About 0.10 in (0.24 cm) | Too small for most print; use only for short data |
| Version 2 (25 modules) | 25 | 0.11 in (0.28 cm) | Minimum practical size for simple URLs |
| Version 6 (41 modules) | 41 | 0.33 in (0.83 cm) at 150 DPI | Business cards and labels |
| Version 40 | 177 | 0.62 in (1.57 cm) | Large data payloads; needs careful sizing |
Worked example: a 25-module code at 300 DPI with a 4-module quiet zone spans 33 modules in total, printing at 0.11 inches, or 0.28 centimetres — small, and in practice you would print it larger than this minimum for reliable scanning. A maximum-size 177-module code at the same settings spans 185 modules, printing at 0.62 inches or 1.57 centimetres. A mid-size 41-module code at 150 DPI with the same quiet zone spans 49 modules, printing at 0.33 inches or 0.83 centimetres. These are the mathematical footprints; real-world scanning also needs the code printed larger than the bare minimum, as the next section explains.
The scanning-distance rule
The most useful rule in QR printing relates size to scanning distance: the code should be at least one-tenth of the distance from which it will be scanned. A code scanned from 30 centimetres — a business card held in the hand — should be at least 3 centimetres across. A poster scanned from 2 metres needs a code at least 20 centimetres across. A billboard scanned from 10 metres needs a metre-wide code. This rule exists because phone cameras need the code to fill enough of the frame to resolve its modules, and distance shrinks the code in the frame. Calculate the mathematical print size here, then check it against the distance rule, and print whichever is larger. Most print failures come from satisfying the print maths while violating the distance rule.
Print checklist before you send artwork
- Reserve the full footprint including quiet zone — never let text, logos, or borders enter it.
- Print at 300 effective DPI for anything handled at arm's length; accept lower DPI only for distant viewing.
- Keep contrast high: dark modules on a light background, never inverted or low-contrast colours.
- Test with three different phones at the real scanning distance, in real lighting, before approving the run.
- Avoid glossy lamination over small codes — glare defeats cameras more often than size does.
- For curved surfaces such as bottles, keep the code flat enough that no module distorts beyond recognition.
Common print mistakes
Three mistakes account for most failures. The first is scaling the code in layout software without checking effective DPI, producing a code that looks crisp on screen but prints as a blur of merged modules. The second is trimming the quiet zone to fit a tight layout — the scanner then reads surrounding design elements as modules and fails, or misreads entirely. The third is embedding a long URL or large payload, which forces a high-version code with many tiny modules, when a short URL would allow a low-version code with large, easily resolved modules. Shorten the data first — a URL shortener is a legitimate print tool — and the code becomes dramatically easier to print and scan. Size the code, respect the quiet zone, test at real distance, and your printed codes will scan first time, every time.
Colour, logos, and the limits of customisation
Printed QR codes invite branding — brand colours, a logo in the centre, rounded modules — and each customisation trades reliability for style. Colour is the riskiest change: scanners read contrast, not hue, so a dark blue code on white usually scans, but a light grey code on white, a yellow code on white, or an inverted white-on-black code often fails, because the camera cannot distinguish modules from background reliably under varied lighting. The safe rule is to keep modules dark and backgrounds light, with strong luminance contrast, and to test any colour change on multiple phones before committing to print. A brand-coloured code that scans on your phone in the office may fail on a customer's phone in sunlight, and you will never hear about the failures — customers simply move on.
Centre logos are safer than colour changes, because QR error correction can reconstruct the modules hidden beneath a small logo — but only up to a limit. Use the highest error-correction level, keep the logo under about 30 percent of the code's area, and never cover the three finder patterns in the corners, which scanners need to locate and orient the code. Rounded or stylised modules are a similar trade: mild styling usually survives, but heavy styling merges modules and breaks scanning, especially at small sizes. The professional approach is to customise conservatively, generate the code at the highest error-correction level, print a test at final size, and scan it with several devices at the real distance. If it fails even once in testing, simplify the design — a plain code that scans always beats a beautiful code that does not.