How the calculator chooses a size
There is no single official “QR code must be X centimetres” rule in the QR Code symbology specification. ISO/IEC 18004 defines how a QR symbol is built — versions, modules, error correction and print quality — not a required width for a given scanning distance.
What this calculator uses instead is a documented planning rule for smartphone scanning, then a quiet-zone allowance from the inventor of the QR Code.
The 10:1 distance rule
The Czech Banking Association’s QR Platba standard, version 1.2 (issued 1 June 2021), Annex 1, states that for most smartphones the ratio between the reading distance and the side length of the QR code is roughly 10:1. In other words, a code should be about one-tenth as wide as the distance from which someone will scan it.
The same annex gives this formula:
Minimum side length = (reading distance / distance factor) × data-density factor
- Reading distance is how far the phone is from the code.
- The distance factor is 10, from the 10:1 ratio above.
- The data-density factor is the number of modules (the small squares) along one side of the code, divided by 25. Version 2, which has 25 modules per side, is the baseline, so its density factor is 1. A denser symbol — more modules on the same paper — needs to be printed larger so each module stays readable.
QR Code versions run from 1 to 40. Modules per side = 21 + 4 × (version − 1). So Version 1 has 21 modules, Version 2 has 25, Version 5 has 37, and Version 10 has 57.
Worked example: a poster scanned from 10 feet, encoding a short URL planned as Version 2.
- Distance = 10 ft
- Density factor = 25 / 25 = 1
- Minimum symbol size = (10 / 10) × 1 = 1 ft, or 12 in (30.5 cm)
If the same poster encoded a denser vCard planned as Version 10, the density factor would be 57 / 25 = 2.28, and the suggested symbol size would be 22.8 in (57.9 cm). Shorter destinations print smaller. That is one reason a short link is often a better choice than a long URL on a sign.
The quiet zone
The 10:1 result is the symbol itself — the black-and-white matrix. Around that matrix you still need a quiet zone: a clear margin with nothing printed in it. DENSO WAVE, the company that invented the QR Code, requires a margin four modules wide on all four sides of the symbol.
For the 12 in Version 2 example:
- One module is 12 in / 25 = 0.48 in
- Quiet zone on each side = 4 × 0.48 in = 1.92 in
- Total printed footprint = 12 in × (25 + 8) / 25 = 15.84 in
If you crowd text, a logo, a frame or a cut edge into that margin, many cameras will fail to lock onto the code even when the matrix itself is large enough.
A practical floor for close-up scans
The formula can return a very small size when the scan distance is short. A Version 2 code planned for a 12 in (30 cm) business-card scan would be only 1.2 in (3 cm) by the 10:1 rule, and a closer scan would come out smaller still. In practice, typical smartphone cameras struggle with tiny modules, especially with worn print, low light or a shaky hand.
QRZen’s size guide therefore uses a practical minimum of about 0.8 in (2 cm) for close-up scanning, such as a business card. This calculator uses the same floor. It is a practical recommendation for phone scanning, not a figure from ISO/IEC 18004 or from DENSO WAVE. DENSO WAVE notes that the smallest printable module depends on the printer and the reader; with a common laser printer it cites a module of about 0.17 mm, which is a production limit, not a scan-distance rule.
What this does not guarantee
Treat the result as a starting size, then test. Camera quality, motion, lighting, glare, curved or dirty surfaces, contrast, and the true version of your encoded content all affect whether a code scans. The Czech standard describes the 10:1 ratio as holding for most smartphones and recommends error-correction level M. It is not a substitute for a proof scan with two or three phones, at the real printed size, from the real standing distance.
When in doubt, print larger. An oversized code almost always scans. An undersized one is a reprint.
For placement examples by use — cards, flyers, table tents, posters and billboards — see the QR code size guide. To put a finished code on a “Scan to review,” “Scan for menu” or “Scan for Wi-Fi” sign, use the printable QR sign tool.
Sources
- Czech Banking Association, Standard for sharing payment details in domestic CZK payments via QR codes (QR Platba), version 1.2, issued 1 June 2021, Annex 1 (size of the QR code). https://qr-platba.cz/wp-content/uploads/1645-standard-qr-v1-2-cerven-2021.pdf
- DENSO WAVE, “Point for determining the code area” (four-module quiet zone, and a worked example of total area including the margin). https://www.qrcode.com/en/howto/code.html
- DENSO WAVE, QR Code FAQ, “How large is QR Code?” and “How small can a QR Code be printed?” (module size depends on printer and reader; about 0.17 mm per module is cited for a common laser printer). https://www.qrcode.com/en/faq.html
- ISO/IEC 18004:2024, Information technology — Automatic identification and data capture techniques — QR code bar code symbology specification (defines the symbology; it does not set the 10:1 distance rule used here). https://www.iso.org/standard/83389.html