QR code print size and placement guide
How big to print a QR code for the distance it is scanned from, which file to send to the printer, and where to place the code so people can scan it.
Size depends on distance, not on the paper
There is no single correct size for a printed QR code. What matters is how far the phone is from the code when someone scans it, and how much data the code holds. A code on a business card is scanned from a hand's length away; a code on a shop window is scanned from the pavement. The same 3 centimetre code that works perfectly on the card would be hard to scan across a street.
The rule of thumb used in print is a ratio of about 10 to 1: the code should be at least one tenth as wide as the distance it is scanned from. Scanned from 30 centimetres, a code needs to be about 3 centimetres wide. From one metre, about 10 centimetres. From three metres, about 30 centimetres. Treat these numbers as a minimum rather than a target. Phones with older cameras, dim light, an angle or a shaky hand all eat into the margin, and making the code a little larger costs nothing.
Keep in mind that this width includes only the pattern itself. The blank border around it, the quiet zone, comes on top, and so does any call to action you add below the code.
Why the amount of data matters
A QR code is a grid of small squares called modules. The smallest version is 21 by 21 modules; every larger version adds four modules per side, up to 177 by 177. The more you put into the code, the more modules it needs. A short web address fits into a small grid, while a contact card with every field filled in or a long link with tracking parameters needs a much larger one.
At the same printed width, more modules means each module is smaller. That is what makes a dense code harder to scan: the camera has to resolve finer detail. If a code has 37 modules across, including its quiet zone, and you print it 3 centimetres wide, each module is about 0.8 millimetres. Put three times as much data into the same 3 centimetres and the grid grows to over 50 modules, so each module shrinks to under 0.6 millimetres.
So before you make a code bigger, try making it simpler. Use the shortest address that works, leave out tracking parameters you don't need, and fill in only the contact fields that matter. The error correction level also adds modules: level H, which is switched on automatically while a logo is shown, makes the pattern denser than the default level Q. A simpler code at the same size scans faster and from further away.
Keep the quiet zone
The quiet zone is the empty margin around the code. Scanner software uses it to find where the code starts and ends, so a code without enough empty space around it can fail even when the pattern itself is perfect. The QR code standard asks for four modules on every side, which is also this generator's default. In Settings you can choose two, four or six modules.
Two modules is enough for many phones on a clean background, but four is the safer choice for print, and six helps when the code sits on a busy surface such as a patterned package or a photo. Whatever you choose, nothing should intrude on it: no text, no frame, no cut line, no fold. If your designer places the code in a layout, ask them to keep the white border that comes with the downloaded file rather than cropping it.
Choose the right file for print
The generator downloads PNG, SVG and PDF. For print, use SVG or PDF. Both are vector formats: the code is stored as shapes rather than pixels, so it stays sharp at any size, from a sticker to a banner, and your printer or layout program can scale it without loss. The PDF holds a single page with the code, its quiet zone and your call to action, if you added one.
PNG is a pixel image in one of three sizes: 512, 1024 or 2048 pixels wide. It is the easiest format for screens, documents and email, and it works for print as long as it is not stretched too far. At 300 dots per inch, a common print resolution, a 1024 pixel image covers about 8.7 centimetres and a 2048 pixel image about 17 centimetres. Scaling a PNG beyond that makes the edges of the modules soft, which some scanners tolerate and others don't.
Whichever format you use, scale the code evenly. Stretching it in one direction distorts the grid, and a distorted code may not scan at all. Hold the shift key or lock the aspect ratio when you resize it in a layout program.
Where to place the code
Put the code where people already look and where they can comfortably hold up a phone. On a poster, that is roughly at eye or chest height, not near the floor or above a doorway. On a table stand, the code should face the person sitting down. On a counter, it should not be hidden behind a till or a display.
Think about what is between the phone and the code. Glass in front of a poster is often fine, but reflections from windows and ceiling lights are a common reason codes don't scan. Matte paper and matte laminate cause fewer problems than glossy finishes. On curved surfaces, such as bottles or cups, the code scans best when it is small compared with the curve, so the whole pattern faces the camera at once; when in doubt, place it on a flat part of the object.
Avoid places where the code will be covered, folded or worn down: the fold of a flyer, the bottom edge of a menu that rests on the table, the corner of a box where packing tape goes. Outdoors, sunlight fades inks over months and rain damages paper, so use weather-proof material and check the code from time to time.
Tell people what the code does
A code with a short line of text next to it gets scanned more than a code on its own, because people know what they will get. Under Logo and frame you can add a call to action of up to 32 characters below the code, such as “Scan for the menu” or “Scan to join the Wi-Fi”. It is included in every download, so it travels with the code into your layout.
Keep the text short and concrete. “Scan for opening hours” tells people more than “Scan me”. If the code opens a web page, it can also help to print the address in plain text nearby, so people without a camera app that reads codes can type it.
Test at full size, in the real place
Before printing a large batch, print one copy at the final size on the final material. Put it where it will hang or sit, and scan it from where people will stand, with at least one iPhone and one Android phone, in the light that will be there. A code that scans from your screen at your desk tells you little about a poster by a dim entrance.
If the code fails, work through the usual fixes in order: make the content shorter, make the code larger, give it more quiet zone, use darker colors on a lighter background, and switch to a matte finish. Usually one of those is enough.