QR code size calculator

Work out the minimum QR code size for any scanning distance and any amount of data, for business cards, flyers, posters, shop windows and billboards.

FreeNo accountNo watermarkBuilt in your browser

Minimum code size

12 cm

pattern only, square

Comfortable size
17 cm
With quiet zone
15 cm
One module
4.0 mm
Rule used
distance ÷ 10 × modules ÷ 25

Assumes a normal phone camera in decent light. Glossy, curved or textured surfaces: use the comfortable size.

1

Set how far away people will scan from and how much the code has to hold.

2

The calculator gives the minimum print size and the size of one module.

3

Add a margin and you have the number to give the printer.

Questions

What is the rule of thumb for QR code size?+

Distance divided by ten. A code scanned from 1 m should be at least 10 cm wide. The calculator refines that for the number of modules, since a denser code needs to be bigger.

What is a module and why does it matter?+

A module is one square of the pattern. Cameras need each module to cover a few pixels, so a code with more modules needs more physical size for the same distance. Short links mean fewer modules.

How small can a QR code be printed?+

For a phone at arm's length, 2 cm is a safe floor for a short link on good paper. Below that, use as few modules as possible and test a real print.

Does the quiet zone count in the size?+

No. The sizes here are for the pattern itself. Add a clear margin of at least four modules on every side.

More free tools

All tools

The next step

Make the code the artwork.

These tools make and check classic codes. AriaQR turns your photo, logo or illustration into the code itself, verified on real decoders before you download, with a link you can edit and track.

An AriaQR picture code