In short
As a rule of thumb, a QR code should be at least one tenth of the scanning distance wide: scanning from 30 cm needs about 3 cm. Whether that is enough depends on the amount of data, error correction, quiet zone, contrast and camera. Short links and clean printing allow smaller codes.
The rule of thumb: scan distance divided by 10
The best known rule for QR code size says: edge length equals scanning distance divided by 10. It is not a standard but a practical value that usually holds for codes with little content and good print quality. With lots of content or difficult conditions, add a margin.
Scanning distance means how far away people realistically hold their phone. For a device you pick up, that is 10 to 30 cm. For a sign on a corridor wall, a fence or a poster it can be several metres.
- 15 cm distance (label on a device): about 1.5 cm, in practice rather 2 cm
- 30 cm distance (sticker on a machine): about 3 cm
- 1 m distance (sign on a door): about 10 cm
- 3 m distance (poster, warehouse sign): about 30 cm
What is the minimum size of a QR code?
For close-range scans, about 2 cm edge length (not counting the quiet zone) is the practical lower limit. Going smaller only works with very short content, sharp printing and phones that can focus up close. Many phone cameras no longer focus at a few centimetres, and then even perfect printing does not help.
What really matters is not the edge length but the size of a single module, one of the small black or white squares. If a module is too small, neighbouring modules blur together in the camera image or in print. As a rough guide for labels scanned up close, a module should not be much smaller than half a millimetre.
Data amount and version set the module size
A QR code is a grid. Version 1 has 21 by 21 modules, each higher version adds 4 modules per side, up to version 40 with 177 by 177 modules. The more characters the code holds, the higher the version and the finer the grid at the same edge length.
A worked example
A short link often fits into version 3 with 29 by 29 modules. At 2 cm edge length each module is about 0.7 mm. A long link with parameters quickly ends up in version 7 with 45 by 45 modules. On the same 2 cm a module shrinks to about 0.44 mm, and the code becomes more fragile.
Short links keep the code small
The shorter the content, the coarser the grid. That is why a dynamic QR code pays off: it only holds a short link, and the actual destination lives on the server. You can change the destination later without reprinting, and the code stays small and robust.
Avoid long URLs with tracking parameters, full contact details or free text inside the code. All of it pushes the version up.
Error correction: a reserve against dirt and scratches
QR codes store their data with redundancy. The error correction level says how much of the code can be damaged before it becomes unreadable. More correction means more modules for the same content, so a finer code or a larger area.
- L: about 7 percent recoverable, for clean environments
- M: about 15 percent, a good default for labels
- Q: about 25 percent, for workshops, outdoor use and logos inside the code
- H: about 30 percent, where heavy wear is expected
When a higher level is worth it
On equipment that is handled, cleaned or kept outdoors, Q or H makes sense. If you place a logo in the centre of the code, it covers modules and error correction has to make up for them. Plan a slightly larger size in that case.
The quiet zone is part of the size
Every QR code needs a blank margin around it, the quiet zone. The standard specifies four modules. Without it, the camera has a harder time finding the three position markers in the corners, especially when text, lines or patterns sit right next to the code.
For planning this means: a code with 2 cm edge length and 29 modules needs about 0.3 cm margin on every side, so roughly 2.6 cm in total. Forget the quiet zone and you will plan too tight and crop it in the layout.
Contrast, material and camera
Size is only half the equation. A large code with weak contrast scans worse than a small one in solid black on white.
- Contrast: dark modules on a light background, as close to black on white as possible
- Surface: glossy film reflects light, a matte finish is safer
- Curvature: on pipes and bottles the code distorts, so keep it narrower and plan more reserve
- Light: dark basements and harsh backlight reduce readability
- Camera: older phones and wide-angle lenses need larger modules
How to choose your QR code size step by step
This is how you arrive at a size that works in everyday use.
- Estimate the scan distance: how far away do people really scan?
- Apply the rule of thumb: distance divided by 10 gives the minimum edge
- Shorten the content: a short link instead of a long URL keeps the version low
- Choose the error correction: M indoors, Q or H for rough environments
- Add the quiet zone: four modules on every side
- Print a sample and test it with several phones from the real distance
QR code size calculator
This website offers a free QR code size calculator. Enter the scanning distance and the content, and it suggests an edge length including the quiet zone. It does not replace a test scan, but it saves you the maths.
QR code size in practice: three examples
The maths becomes clearer with real locations. All three examples assume a short link and error correction M or Q.
Label on a fire extinguisher
The inspector stands right in front of it and holds the phone about 20 cm away. On paper, 2 cm is enough. Because the label sits on a curved surface and basements are often dimly lit, 2.5 to 3 cm is the safer choice.
Sticker on a machine
In a workshop people scan from 30 to 50 cm, often wearing safety glasses or gloves. An edge length of 4 to 5 cm and error correction Q can cope with oil, dust and scratches.
Sign at the entrance
A notice at reception is scanned in passing from about a metre away. The code needs at least 10 cm, ideally a bit more, and a calm, light background.
Common QR code size mistakes
Most unreadable codes do not fail for one reason but for several small ones.
- The code was scaled down in the layout until it fit next to the logo
- A long link with parameters made the grid too fine
- The quiet zone is missing because text or a frame sits right against it
- Coloured modules on a coloured background with too little contrast
- It was only tested on screen, not on the printed label
QR code size with interact XR
Every label on the platform gets its own short code. The QR code only contains a short link; you set the destination on the platform and can change it at any time without reprinting. That keeps the grid coarse and the code readable even on small labels.
If you order labels from us, we take care of size, quiet zone and printing. Labels come in 50 by 100 mm, 50 by 100 mm with a tear-off tab and 40 by 80 mm. You can also print QR labels yourself for free. Where a code is hard to reach or should not be visible at all, an NFC tag is the alternative: it is read with a tap, and code size does not matter.
Frequently asked questions
What is the minimum size for a QR code?
For close-range scans from 10 to 20 cm, about 2 cm edge length is the practical lower limit, not counting the quiet zone. Smaller only works with very short content and sharp printing. For longer distances, use the rule of thumb: scan distance divided by 10.
Does the distance divided by 10 rule always apply?
No, it is a rule of thumb. It fits short content, good contrast and good lighting. Long links, logos in the code, curved surfaces or poor light all call for more area. A test scan with real phones has the final say.
How big should the quiet zone around a QR code be?
The standard specifies four modules on every side. For a code with 29 modules and a 2 cm edge, that is about 3 mm of margin. Keep text, lines and patterns out of this area.
Does a logo make a QR code bigger?
The logo covers modules that error correction has to replace. To keep the code reliable you need a higher level such as Q or H, which creates more modules for the same content. So plan a code with a logo a little larger.
Why won't my small QR code scan?
Usually the grid is too fine: too much content on too little area. Other causes are a missing quiet zone, glossy film, weak contrast or a phone that cannot focus that close. Shorten the content with a short link and print larger.
Is there a QR code size calculator?
Yes, this website has a free QR code size calculator. It suggests an edge length including the quiet zone based on scanning distance and content. It does not replace a printed sample and a test scan.
Put it to work with interact XR
Order labels, add your objects and see the first scan. Getting started is free.