Print Size Calculator

Tell the calculator how far away the scanner will be, what the code is printed on, and how bright the room is — get the minimum size, module pitch, and printer DPI you need for a reliable scan. No uploads; everything runs in your browser.

100 cm
How far will the scanner be from the code? Closer = smaller QR is OK.
Surface and finish affect how much contrast the scanner sees.
Bright sun blows out contrast; dim rooms force the camera to open up.
More modules = more data but smaller dots at the same physical size.

How this calculator works

Industry rule of thumb: a QR code needs to be at least one-tenth of the scan distance to decode reliably on a typical phone camera. A 3 cm code decodes at about 30 cm; a 30 cm code decodes at about 3 m. We apply substrate and lighting penalties on top of that baseline.

For each module to be reliably distinguished, the module pitch (size of one black or white square) needs to be at least 0.3 mm on a phone camera and 0.2 mm on a dedicated industrial scanner. We derive the recommended print DPI from that pitch.

The quiet zone is the empty border around the code. ISO/IEC 18004 requires at least 4 modules — cutting this is the single most common reason a printed QR fails to scan.

When to ignore this calculator

Ignore it when: (a) you already know a scan distance that's worked for you before, (b) your scanner is industrial (laser/image reader) and has its own minimum spec, (c) your use case is damage-tolerance rather than distance — then bump ECC to H and print bigger than this recommends.

Client-side. Privacy manifesto · QR Lab · Scanner compatibility · Test vectors