QR Code Size, Contrast and Placement: Best Practices for Print and Screens
The 10:1 size rule with a table by placement, contrast and quiet-zone rules, logo limits, SVG vs PNG export, on-screen tips, and how to test before a print run.

On this page
A QR code that does not scan is worse than no QR code: it costs you the print and the customer's patience. Nearly every failure comes down to five things: size, contrast, quiet zone, placement, and testing. Here are the numbers and rules we use, for print and for screens.
1. Size: the 10:1 rule
A QR code should be at least one tenth of the scanning distance. A code scanned from 30 cm (a table tent) needs to be 3 cm wide; a poster read from 3 m needs a 30 cm code. Add margin for older phones and bad lighting.
| Where | Typical scan distance | Minimum code width |
|---|---|---|
| Business card, label, sticker | 15–25 cm | 2 cm (0.8 in); 2.5 cm is comfortable |
| Flyer, menu, packaging | 25–40 cm | 2.5–4 cm |
| Poster, window, A-board | 1–3 m | 10–30 cm |
| Billboard, vehicle wrap | 5 m+ | 50 cm+ (and expect low scan rates) |
| Screen, slide, website | Viewer's phone to screen | At least 200×200 px at display size |
Dynamic QR codes help here: the short link keeps the pattern sparse (fewer, bigger modules) so it scans at smaller sizes than a static code holding a long URL.
2. Contrast: dark on light
Scanners look for dark modules on a light background. Brand colours are fine as long as the foreground is clearly darker: navy on white, dark green on cream. Avoid yellow or pastel foregrounds, light-on-dark inversions, and gradients that fade toward the background. Our design tool warns you when a colour pair is risky.
3. Quiet zone: leave the margin alone
The blank border around the code is part of the code. Keep at least 4 modules of clear space (roughly 10–15% of the code width) on every side. Text, logos, borders and photo backgrounds inside that margin are the most common reason a well-printed code fails.
4. Logo and style without breaking the code
- Keep a centre logo under about 20% of the code area.
- Give the logo a small white padding so it does not merge with modules.
- Never cover the three large corner squares (finder patterns) or the smaller alignment square.
- Rounded modules and dots are fine; keep the finder patterns high contrast.
Full guide: designing a custom QR code that gets more scans.
5. Placement and the call to action
- Eye level and reachable. Not on the ceiling of a bus, not on the floor of a busy aisle.
- Flat surfaces. Codes wrapped around bottles or cylinders distort; keep them on the label's flattest area.
- Say what happens. "Scan for the menu", "Scan to save our contact", "Scan for 10% off". A CTA can double scan rates compared to a bare code.
- Only where people have signal. Dynamic codes need internet to redirect. For basements and planes, use a static code.
6. Print file: SVG or 300 DPI PNG
Send the printer a vector SVG whenever possible; it is sharp at any size. If they need a raster file, export PNG at 300 DPI for the final printed dimensions. Avoid JPEG: compression artefacts soften module edges. Matte finishes scan better than gloss, which reflects light into the camera.
7. On screens
- Show the code at 200 px or larger and keep it on screen long enough to scan (10 s+ on slides and video).
- Do not animate, rotate or fade it.
- On websites, also give the link as text; desktop visitors cannot scan their own screen.
8. Test like a customer
Before the print run, scan the actual proof (not the file on your monitor) with an iPhone and an Android phone, at the real distance, in the real light. Check that the destination loads fast on mobile data. For dynamic codes, QR Walrus shows a live "scanned" indicator in the dashboard the moment your test scan lands, so you know the redirect works end to end.
Quick reference
| Practice | Do | Avoid |
|---|---|---|
| Size | ≥ 2 cm; 1/10 of scan distance | Squeezing into a corner |
| Contrast | Dark modules, light background | Pastels, inverted, busy photos behind |
| Quiet zone | Clear margin on all sides | Text or borders touching the code |
| Content | Dynamic short link, mobile-ready page | Long static URLs, desktop-only pages |
| Testing | Printed proof, two phones, real distance | Only scanning your monitor |
Build one that passes all of the above in the QR Walrus generator: static codes are free with no sign-up, dynamic codes are free to start.
Frequently asked questions
What size should a QR code be on a poster?
At least one tenth of the viewing distance: 10 cm for 1 m, 30 cm for 3 m. Add margin for low light and older phones.
SVG or PNG for printing a QR code?
SVG whenever the printer accepts it; it is sharp at any size. Otherwise PNG at 300 DPI for the final dimensions. Avoid JPEG.
How much margin does a QR code need?
At least four modules of clear space on every side, roughly 10–15% of the code width.



