QR Code Print Rules, Size, Error Correction and Contrast That Actually Scan
A printed QR code scans when four things hold. The modules, the little squares, are physically big enough, there is a plain light border around the code, the dark-on-light contrast is strong, and the error-correction level matches how rough the placement will be. Get any one wrong and phones refuse it, which is why a screen-perfect code can fail on a poster.
You can build a print-ready code with the browser QR generator, choose the error-correction level and size, download it, then scale it up cleanly with the image upscaler if you need a large poster. The exact numbers for each rule are below, and they follow the QR specification, not guesswork.
Minimum physical size, think in modules, not millimetres
A QR code is a grid of modules. The rule of thumb for reliable phone scanning is a module size of at least 0.25 mm for close-range print and 0.4 mm or more for codes people scan from a distance, plus a quiet zone of at least four clear modules on every side.
The physical size that results depends on how much data you encode, a short URL produces a small grid, 21x21 modules at version 1, while a long vCard or Wi-Fi string pushes the grid much larger, so the same printed width gives you smaller modules and a harder scan.
| Use case | Suggested printed size | Scan distance | Error correction |
|---|---|---|---|
| Business card or flyer | 20 - 25 mm | 10 - 20 cm | M or Q |
| Product label | 25 - 30 mm | 15 - 30 cm | Q |
| Poster or A4 sign | 60 - 100 mm | 0.5 - 1.5 m | M |
| Window or storefront | 150 - 250 mm | 1 - 3 m | L or M |
| Billboard | 400 mm+ | several metres | L |
The pattern is honest. The further away the viewer stands, the bigger the code must be, and the less data you should pack into it. A long URL that forces a dense grid is the most common reason a large poster still scans badly.
Error-correction levels, L, M, Q and H
QR codes deliberately waste some capacity to store redundancy so a damaged code still reads. The generator exposes the four standard levels: Low, 7%, , Medium, 15%, , Quartile, 25%, and High, 30%, recovery of codewords.
Pick by how rough the code's life will be. M is the sensible default. Use Q or H when the code may be scratched, folded, printed small, or partly covered, and crucially when you plan to put a logo in the middle, because the logo destroys modules that only higher error correction can survive.
The trade-off is density. Higher error correction means a larger grid for the same data, so a long payload at level H can get big fast. Do not default to H out of caution. Raise it deliberately when redundancy buys you something real.
Contrast, colour and the quiet zone
Scanners read the difference between dark modules and light background. Keep it high. Near-black on white is safest. Reversing it, white on black, works on many cameras but not all, and coloured codes fail when the two colours are too close in brightness, a red-on-green code is unreadable to most phones even though you can see it.
If you tint a code, tint the modules and keep the background light, and check that a greyscale version still shows clear separation. The four-module quiet zone is not decoration. It is the border the decoder uses to find where the code starts, and cropping it against an edge or pattern is a top cause of no-scan.
Print quality and finish, DPI and matte vs gloss
Print at 300 DPI or better so module edges stay crisp. A blurry or dithered print softens the squares and defeats detection. For a code you will enlarge a lot, generate a large PNG and upscale it with the image upscaler rather than stretching a small file in a document editor, which produces jagged edges.
Choose a matte finish where the code will be lit from the front or photographed under lights. Gloss creates specular glare that washes out modules on camera. Gloss is fine for controlled indoor posters viewed at an angle. If the printed piece will get handled, laminating under matte film protects contrast without adding shine.
The test routine before you print a run
Never trust a single on-screen check. Scan the actual printed proof, at the real distance, with more than one phone, iOS Camera and at least one Android scanner, because camera quality and decode libraries differ. Test in the lighting where it will live, a storefront code at dusk is a different code at noon.
Verify the payload too. A short link is easier to carry than a long raw URL, so route a dense vCard through a clean short link built with the URL shortener before you print, then re-encode. For product codes rather than URLs, the barcode generator covers the linear formats that QR is not meant to replace.
When you must hand the file to a print shop, convert the PNG to a crisp JPEG with PNG to JPG only if they ask for it. Otherwise keep the lossless PNG so edges do not degrade.
Frequently Asked Questions
What is the smallest a QR code can be and still scan?
For close-range phone scanning, about 20 mm printed with a four-module quiet zone, keeping each module at roughly 0.25 mm or larger. Below that, or with a dense payload that shrinks the modules, reliability drops fast, so keep the encoded data short if the code must be small.
Which error-correction level should I choose for print?
Medium is the reliable default. Step up to Quartile or High for codes that will be handled, printed very small, placed outdoors, or covered with a centre logo, because higher levels rebuild more damaged modules at the cost of a denser grid.
Can a QR code be any colour?
It needs strong contrast between modules and background, so dark-on-light is the rule. Colours are fine if they differ enough in brightness. Same-lightness pairs like red and green usually fail. Pure white-on-black inverts work on some cameras but not all, so test the exact combination.
Why does my printed QR code not scan when the screen version did?
Almost always the quiet zone was cropped, the print is low-resolution so modules blurred, gloss glare is washing out the code, or contrast dropped. Re-check the border, print at 300 DPI, switch to matte, and scan the physical proof at the real distance.
How much space do I leave around a QR code?
At least four modules of plain, light quiet zone on every side. It does not have to be huge, but it must be clear of text, borders and artwork, because the scanner uses that margin to locate the start of the grid.
Do I need a special generator to print QR codes?
No. The browser generator lets you set the level and size and downloads an image you can print. Nothing is uploaded. For large formats, generate a big file and upscale it so edges stay sharp instead of stretching a small image.