QR Codes That Actually Scan: Size, Contrast and Error Correction
Created on 16 November, 2026 • QR code • 4 views • 5 minutes read
Module size, quiet zones, error correction levels and contrast - the physical constraints that decide whether a QR code works at arm's length or not at all.
A QR code that fails to scan is a complete failure - there is no partial credit, no "most people got it". The failures are nearly always physical rather than digital: the code was too small, the margin was removed, the contrast was inverted, or it was printed on something shiny. All of these are predictable from the specification.
Versions and modules
A QR code is a grid of squares called modules. The grid size is the version: version 1 is 21 x 21 modules, and each version up adds four modules per side, through to version 40 at 177 x 177. More data means a higher version, which means more modules in the same physical area, which means each module is physically smaller and harder for a camera to resolve.
That chain is the whole reason short links and QR codes go together. At maximum capacity a QR code can hold 2,953 bytes of binary data or 4,296 alphanumeric characters, but you do not want to be anywhere near that. A 25-character short link produces a low-version code with chunky, forgiving modules. A 200-character URL with campaign parameters produces a dense one that needs to be physically larger or closer to work at all.
So: shorten the URL before encoding it. This is not an aesthetic preference, it directly changes the scanning distance.
Error correction: pick M and move on
QR codes use Reed-Solomon error correction, at one of four levels, each able to restore a given share of a damaged or obscured symbol:
- L - approximately 7% restorable
- M - approximately 15%
- Q - approximately 25%
- H - approximately 30%
Higher correction is not free: the redundancy is stored in the symbol, so raising the level with the same data pushes you to a higher version, with smaller modules. You can easily make a code harder to scan by maximising error correction.
Sensible defaults: M for screens and clean printed material. Q for anything that will be handled, folded, stuck to a window, or exposed to weather - packaging, outdoor posters, stickers. H only when you are deliberately covering part of the code with a logo. L almost never; the few modules you save are not worth the fragility.
On logos: placing one in the centre works because the centre is not where the critical positioning patterns live, and because high error correction can absorb the loss. Keep it under roughly 20-25% of the area even at level H, leave a small clear gap around it, and test the result on more than one phone. The three large squares in the corners are the finder patterns - cover any part of those and the code is dead.
The quiet zone is not optional
A QR code requires a clear margin around it - four modules on every side for a standard code, two for the smaller Micro QR format. This blank border is how a decoder finds the symbol's edges.
Designers delete it constantly, because it looks like wasted space. A code butted up against a photograph, a coloured block, or the edge of a page will scan unreliably or not at all, and it will do so inconsistently enough that it passes a casual test and fails in the field. Four modules at the code's own module size: if your code is 40 modules wide and printed 40 mm wide, each module is 1 mm and the quiet zone is 4 mm.
Size and distance
The working rule of thumb used in the barcode industry is a 10:1 ratio between scanning distance and code width: a code intended to be scanned from one metre should be about 10 cm across. For a poster read from three metres, think 30 cm.
Treat that as a floor, not a target. It assumes a decent camera, a well-printed code, good light and a cooperative person. In practice:
- Handheld print - flyers, menus, business cards, packaging - works from about 2 cm square, with 2.5-3 cm more comfortable. Below 2 cm you are relying on the user's phone being recent and their hands being steady.
- Table tents and shelf labels - 3-5 cm.
- Posters and window displays - apply the ratio to the distance at which someone will actually stand, which is usually further than you think because of the pavement, the counter, or other people.
- Vehicles and billboards - generally a bad idea. The viewer is moving, the distance is large, and the required code is enormous. A memorable short URL outperforms a QR code here.
Contrast, colour and material
Scanners look for dark modules on a light background. Three rules follow.
Do not invert. Light modules on a dark background break many decoders. Some handle it; enough do not that it is not worth the risk.
Keep contrast high. A dark, saturated colour on white is fine. Mid-grey on light-grey, or two similar colours, is not. If you must colour the code, keep the modules very dark and the background near-white, and verify by converting the artwork to greyscale: if it looks washed out there, a camera will struggle too.
Watch the material. Glossy laminate, foil and metallic inks produce specular glare that blows out part of the code under a phone's flash or a ceiling light. Matte finishes scan far more reliably. Curved surfaces - bottles, cans, cups - distort the grid, so keep the code small enough to sit on a relatively flat section and increase the error correction level.
On screens, brightness and reflections are the equivalent problem. A code shown on a screen for someone else to scan should be displayed at high brightness and without a dark theme inverting it.
Test like a sceptic
Before anything goes to print: scan the final production artwork, not the design file. Use at least one older phone and one newer one, in dim light as well as bright. Scan from the distance and angle a real person would use - across a table, not held six centimetres away. If it is going on packaging, scan it on the curved, wrapped, finished product.
Also confirm what the code actually contains. It is entirely possible to print a code pointing at a staging URL. A QR code reader will decode an image file and show you the exact payload before you commit to 10,000 copies.
And make sure the thing it points at can be changed later, because it will need to be. That is the difference between static and dynamic QR codes.
Popular posts
-
-
Bio link pagesBio link pages • 5,372 views
-
Short URL best way to track your linksShort URL • 5,253 views
-
-