How big a QR code needs to be in print.
Last updated
7 min readIn short
Make a printed QR code about one tenth as wide as the distance it will be scanned from: 2 cm for a namecard at hand distance, 25 cm for a roll-up read from 2.5 m. Encode a short address, keep 4 modules of clear space around the code, and test the printed proof on two phones.
Start from the scanning distance.
The right size for a printed QR code depends on how far away the phone will be, not on how much space you have. A widely used rule of thumb is to make the code's width about one tenth of the scanning distance. At 20 cm that gives 2 cm. At 2.5 m it gives 25 cm.
It is a rule of thumb, not a requirement of the standard, and the reason is optical. Each square in the code, called a module, has to cover several pixels of the phone's camera image to be read cleanly. A camera has a fixed number of pixels, so when the distance doubles, each module covers half as many. To keep the same pixels per module, double the width of the code. A tenth is a comfortable margin for a code of about 33 modules a side, read by a recent phone in decent light.
Three things move the number. A code with more modules needs more width. Poor light, glare or an older camera need extra margin. Someone scanning while walking past needs more again. Round up, and treat the result as a minimum.
Sizes by use, with the arithmetic.
| Use | Scanning distance | Working | Print at |
|---|---|---|---|
| Namecard | About 20 cm | 20 divided by 10 = 2 cm | 2 cm |
| Lanyard badge | 25 to 30 cm | 25 to 30 divided by 10 = 2.5 to 3 cm | 3 cm |
| Leaflet or flyer | 30 to 40 cm | 30 to 40 divided by 10 = 3 to 4 cm | 4 cm |
| A4 poster on a wall | 1.5 m | 150 divided by 10 = 15 cm | 15 cm |
| Roll-up banner | 2 to 3 m | 200 to 300 divided by 10 = 20 to 30 cm | 25 cm or more |
| Booth wall | 5 m | 500 divided by 10 = 50 cm | 50 cm |
| Slide or booth screen | 2 m | 200 divided by 10 = 20 cm | 20 cm on the screen |
Check the sums against the space you have. A 15 cm code on an A4 page, which is 21 cm wide, leaves 3 cm each side, more than the code needs for clear space. A 25 cm code on a roll-up that is 85 cm wide takes under a third of the width. Put it between 100 and 140 cm from the floor, where hands and eyes are, because nobody crouches to scan.
Fewer modules make bigger modules.
A QR code is a square grid. The smallest, version 1, is 21 modules a side. Each version adds 4, up to 177 for version 40. The longer the address you encode, the higher the version, and at a fixed printed width every module gets smaller.
| Address encoded | Characters | Modules a side | Module size at 2 cm |
|---|---|---|---|
https://yourcompany.com/ice27 | 29 | 33 | 0.61 mm |
https://yourcompany.com/ice27-rollup-a | 38 | 37 | 0.54 mm |
https://harbourline.1namecard.com/mia-fischer | 45 | 41 | 0.49 mm |
https://yourcompany.com/events/ice-2027/stand-b12?utm_source=rollup&utm_medium=print&utm_campaign=ice27 | 103 | 57 | 0.35 mm |
To match the 0.61 mm modules of the shortest address, the longest needs a code 3.5 cm wide, which is 57 divided by 33, or 1.7 times as wide. On a namecard that is most of the height of a 55 mm card.
The fix is to encode a short address and let it redirect. A short link such as yourcompany.com/ice27 points to the long address with all its tracking parameters, so the code stays small and sparse, and you can change the destination after the code is printed. Short link best practices covers how to choose keys.
Leave 4 modules of quiet zone.
The quiet zone is the empty margin around the code. The ISO/IEC 18004 standard for QR Code sets it at 4 modules on every side, and Denso Wave, the company that invented the code, gives the same figure. The smaller Micro QR code needs only 2, which is where the 2 module figure you may have seen comes from.
A code with a 2 module margin often still scans, because phone software is good at finding codes. It is still a risk. A dark card edge, a photograph or a line of text within a module or two of the code can make the scan fail on a bad day, and you will not know which day until you are at the show.
The arithmetic is short. For a code of about 37 modules, 4 modules is 4 divided by 37, about a tenth of the code's width. So leave a tenth of the code's width clear on every side. A 2 cm code needs about 2 mm. A 25 cm code needs about 2.7 cm. Keep text, borders, frames and image edges out of that space.
4 modules
of quiet zone on every side, about a tenth of the code's width
1 : 10
code width to scanning distance, as a rule of thumb
Choose an error correction level on purpose.
Every QR code carries extra data that lets a scanner repair damage. There are four levels, and Denso Wave gives the share of the code each can restore as approximate.
| Level | Can restore about | Good for |
|---|---|---|
| L | 7% | A clean, flat print of a long address |
| M | 15% | Everyday print, the usual default |
| Q | 25% | Giveaways, stickers and codes that will be handled |
| H | 30% | Styled codes, rough surfaces, outdoor use |
Higher levels cost modules. For https://yourcompany.com/ice27 the code is 25 modules a side at level L, 29 at M and Q, and 33 at H. Use level H when the code will be handled, scuffed or styled. Level M is enough for a clean print of a short address. Correction is not permission to deface the code: styling uses the same margin that a smudge would.
Contrast, glare and curved surfaces.
- Included: Dark modules on a light ground. Scanners read differences in brightness, not hue. Black on white is about 18 to 1. How to brand a QR code sets out a working contrast rule for colour.
- Included: Avoid light on dark. Many current phone cameras read inverted codes, but not every scanner app does. If you cannot test every phone, print dark on light.
- Included: Matt over gloss. Glossy laminate throws the hall lights straight back into the lens. Use matt laminate, or keep the code on a matt patch.
- Included: Flat beats curved. On a mug, bottle or pen the code bends away at the edges. Keep it on the flattest part, make it larger than the table says and test on the real object.
- Included: Screens: put the code on a plain light panel, at full brightness and still. A code that scrolls or fades cannot be read.
Send the printer a vector file.
An SVG file is made of shapes, so it stays sharp at any size. A PNG is a grid of pixels and stays sharp only up to a size. At 300 dpi, a 1024 px PNG covers 1024 divided by 300, or 3.4 inches, which is 8.7 cm. That is plenty for a namecard, a badge or a leaflet. A 25 cm banner code needs 25 divided by 2.54 times 300, about 2,950 px, so send the SVG instead.
Never save the code as a JPEG, which smears the edges, and never stretch it unevenly: modules must stay square. Keep the file's margin when you place it in a layout.
Test before you print.
Print a proof at actual size on the real stock. A screen preview tells you nothing about ink spread or glare. Then run this list, and keep the result with the artwork.
- Step 1.
Scan with two phones: one iPhone and one Android, at least one of them three years old or more.
- Step 2.
Use the built-in camera app, not a scanner app you installed.
- Step 3.
Scan from the target distance, from 1.5 times that distance and from 30 degrees off to the side.
- Step 4.
Test in the worst light you expect: hall spotlights, a dim corner, daylight with glare.
- Step 5.
Open the result on mobile data, not only on Wi-Fi, and check the page loads in a few seconds.
- Step 6.
Hold the proof against the real surface and check that nothing sits inside the quiet zone.
- Step 7.
Ask someone who has never seen the code to scan it without help.
- Step 8.
Fix what failed, then print the proof again. Only then approve the run.
For what to put on a pre-show list beyond the codes, see the trade show checklist for exhibitors. To give each piece its own address, read QR codes on collateral for source attribution.
Quick answers.
What is the minimum size for a QR code?
There is no single figure. A rule of thumb is a width of one tenth of the scanning distance, so about 2 cm for a namecard held at hand distance. For a short address on a clean print, 2 cm is a practical floor. Longer addresses need more width.
How far away can a QR code be scanned from?
About ten times its width as a rule of thumb. A 5 cm code is comfortable at 50 cm, and a 50 cm code at 5 m. Glare, low light, an older camera or a dense code shorten that distance.
What is the quiet zone of a QR code?
It is the blank margin around the code. The ISO/IEC 18004 standard sets it at 4 modules on each side. A smaller margin often still scans but fails more easily next to dark edges or busy artwork.
Which error correction level should I choose for print?
Level M suits a clean print of a short address. Level Q or H is the safer choice when the code will be handled, printed on rough stock or styled with colour and rounded dots. Higher levels add modules, so the code grows a little.