A QR code that is too small for the distance simply will not scan. This calculator uses the distance people will scan from, the length of the content and a distance-to-size ratio to give the minimum printed width, the QR version, the modules per side, the size of one module and the farthest distance a code of your chosen width can be read from.
How the calculation works
- Minimum width = scanning distance ÷ ratio (10 is typical)
- Version = the smallest QR version that holds your characters at error-correction level M (byte mode)
- Modules per side = 17 + 4 × version
- Module size = width ÷ (modules per side + 8 for the quiet zone)
- Farthest distance = printed width × ratio
Example
A poster link of 40 characters needs version 3, a grid of 29 × 29 modules. To be scanned from 100 cm, it should be at least 10 cm wide including the quiet zone, so each module is 2.7 mm. A code printed 5 cm wide can be read from about 50 cm.
Why it matters
QR codes on posters, packaging and signs are only useful if people can scan them without effort. Checking the size and the density of the code before printing avoids wasting a print run, and shows when a shorter link would help.
Good to know
Contrast, glossy surfaces, curved packaging and print quality all reduce range. Dark modules on a light background scan best. Test every code with several phones before printing in volume, and never put a logo over the corners of the code. Always print a test copy at the real size first, because paper, ink and lighting change how easily a phone can lock on to the code. A shorter link or a lower error correction level also makes the modules larger for the same width.
Related tools
The photo print size calculator checks resolution, the angle of view calculator relates size to distance, and the aspect ratio calculator scales a layout.