Scan distance · module math · DPI check

QR Code Size Calculator

Plan a finished QR from the distance people will scan it, the symbol’s module count, your printer resolution and the physical space available in the layout.

Plan the printed QR

QR versions run from 21×21 to 177×177 modules, increasing in steps of four.
Use this when you already know the physical size of one QR module.
This width includes the four-module quiet zone on every side.
Used for the common 1:10 planning heuristic: QR width ≈ scan distance ÷ 10. This is a starting point, not a QR standard or scan guarantee.
Used to estimate pixels or printer dots per QR module.
Compare an exact integer-dot grid with your target physical width.

Worked example: reconcile scan distance with the printer grid

Suppose a 29×29 QR will be scanned from 20 cm away. The 1:10 heuristic gives a starting finished width of 20 mm. Add four quiet-zone modules on each side to get a 37-module footprint. If you enter a target module size of 0.50 mm, the module-size result is 37 × 0.50 = 18.5 mm. That is smaller than the distance starting width, so start with 20 mm instead.

Now check the printer grid. At 203 dpi, a 20 mm footprint gives 20 × 203 ÷ (37 × 25.4) ≈ 4.32 dots per module. Four whole dots per module produce a width of about 18.52 mm, below the distance starting point; five produce about 23.15 mm. Select 5 dots/module to compare that grid in the calculator. If 23.15 mm will not fit, reconsider the layout or scanning distance. Print at the intended size and test the physical sample; neither calculation guarantees a scan.

Three constraints matter at the same time

A printable QR has to satisfy the symbol grid, the printer and the person scanning it. Module count determines how many black-and-white cells must fit inside the code. Printer DPI determines how cleanly those cells can be reproduced. Viewing distance determines how large the whole code should appear to a phone camera.

There is no universal guaranteed minimum QR size. The widely used 1:10 distance rule is only a planning heuristic: a code scanned from 100 cm starts around 10 cm wide. Density, camera, lighting, contrast, surface and motion can require more space.

How the scan-distance result works

The calculator converts your planned distance into the common one-tenth starting width. Forty centimetres of scan distance therefore produces a 40 mm starting width; one metre produces 100 mm. The result is deliberately labeled as a heuristic because ISO/IEC 18004 defines QR symbol structure, not a universal smartphone viewing-distance guarantee.

Module size can force a larger result

A higher QR version contains more modules. If the same physical square has to hold more modules, each one becomes smaller. That is why a dense URL or contact card may need more space than a very short link even when people scan both from the same distance. If you do not know the module count yet, use the QR capacity calculator with your actual payload first.

The quiet zone is part of the finished footprint

A 29×29 symbol does not occupy only 29 module widths in print. QR Code requires a clear four-module margin on every side, so the complete footprint is 37×37 module widths. Do not treat that white area as spare design space or crop it away to make a layout fit.

Why printer DPI matters

A physical module eventually has to be reproduced by printer dots or raster pixels. The calculator shows how many pixels each module receives at your selected DPI and also gives an exact integer-dot grid. DENSO WAVE recommends four or more printer dots per module for stable printing operations. Falling below that is a useful warning that the artwork is asking for very fine detail.

Planning questionUse this fieldRead this result
How large should this be from across a table or room?Planned scan distance1:10 starting width + distance check
I know my QR module count and preferred module size.Module count + target module sizeWidth from module size
I only know how wide the QR can be in the layout.Desired finished QR widthModule at desired width + pixels per module
I want an integer printer-dot grid.Printer DPI + dots/moduleModule and width on exact printer grid

Use the result as a starting plan, then prove the real print

Printer resolution is only one constraint. Phone camera resolution, focus, viewing angle, surface, glare, motion and contrast can all move the practical threshold. Print one sample at final size on representative material and scan it from the real distance under similar lighting. When possible, test more than one phone.

Shorter payloads can reduce density

Long destinations often need a higher QR version. If you control the link, remove unnecessary session parameters and prefer a short stable path. The capacity calculator shows how the same payload changes across L, M, Q and H error correction before you decide how much space to reserve.

Official QR reference points

DENSO WAVE documents the four-module quiet zone, the version range from 21×21 through 177×177 modules and the relationship between module size and printer/scanner resolution. The scan-distance ratio in this tool is a practical industry heuristic layered on top of those symbol constraints, not part of the QR specification.