What size should a QR code be?
Most QR codes that fail to scan are simply printed too small for the distance they're viewed from. Here's how to choose the right size for anything from a business card to a shop-window poster.
The figures below are practical starting points, not guarantees. How well a code scans depends on how much data it holds, the phone's camera, the viewing distance and the lighting, so always test a printed proof before a full run.
The 10:1 distance rule
The most useful rule of thumb in QR printing is that a QR code should be at least one-tenth as wide as the distance it will be scanned from. A phone camera has to resolve every individual square (called a module) in the pattern, and modules shrink in the camera's view as you step back.
- Scanned from 25 cm (a menu held in your hand) → at least 2.5 cm wide
- Scanned from 1 m (a counter-top sign) → at least 10 cm wide
- Scanned from 3 m (a poster across a room) → at least 30 cm wide
Treat 10:1 as a minimum, not a target. Poor lighting, glossy paper, an angled view, or an older phone all eat into the margin, so if you have the space, go bigger.
Practical minimum: we suggest not printing a QR code smaller than about 2 × 2 cm (roughly 0.8 inches), even on a business card. Below that, many phone cameras struggle to focus close enough to read it. Very short codes can work smaller on modern phones, but test before relying on it.
Quick-reference size table
These are practical starting points for a short URL (under about 40 characters). If you're encoding something longer, see the next section.
| Where it's printed | Typical scan distance | Recommended width |
|---|---|---|
| Business card | 15–25 cm | 2–2.5 cm |
| Product label / packaging | 15–30 cm | 2–3 cm |
| Flyer or leaflet (A5/A4) | 25–40 cm | 3–4 cm |
| Table tent / restaurant menu | 30–50 cm | 3–5 cm |
| Counter sign / A4 notice on a wall | 0.5–1 m | 5–10 cm |
| A3 poster | 1–2 m | 10–20 cm |
| Shop window / A1 poster | 2–3 m | 20–30 cm |
| Banner or billboard | 5 m+ | 50 cm+ (distance ÷ 10) |
Why more data needs a bigger code
A QR code isn't a fixed grid. The more characters you encode, the more modules the code needs, from 21 × 21 for the smallest version up to 177 × 177 for the largest. At the same printed width, a denser code has smaller modules, and smaller modules are harder for a camera to pick out.
As a rough illustration, a 25-character URL at Medium error correction fits in a 25 × 25 grid, while a 150-character URL with tracking parameters needs 49 × 49. Printed at the same 3 cm, the second code's modules are about half the size.
Three ways to keep codes small and easy to scan:
- Shorten the content. Link to
example.com/menurather than a long page address with query strings. A short path on your own domain is better than a third-party link shortener, because you stay in control of where it goes. - Pick a sensible error-correction level. Higher levels add redundancy, which adds modules. Medium (15%) suits most uses. High (30%) is worth the extra density only when the code carries a logo or will face wear and tear. Our logo guide covers this in more detail.
- Size up when the data grows. If you can't shorten it, increase the printed width by the same proportion the grid grew.
The quiet zone
The QR specification requires a blank margin, the quiet zone, around all four sides of the code. It's officially four modules wide. Scanners use it to find where the code starts. The most common printing mistake we see is a designer cropping the white border tight to the pattern, or placing the code right up against a photo or coloured panel.
In practice, leave a clear margin of at least 4–5 mm on a small code, or about 10% of the code's width on a larger one. Codes made with our generator include padding on the canvas by default. Adjust the Padding slider rather than cropping the downloaded image.
Pixels, DPI and print resolution
The generator exports PNG images between 100 and 500 pixels wide. To work out how large you can print one sharply, divide the pixel width by the print resolution:
printed width (inches) = pixel width ÷ DPI 500 px ÷ 300 DPI = 1.67 in ≈ 4.2 cm (sharp, small-format print) 500 px ÷ 150 DPI = 3.33 in ≈ 8.5 cm (fine for signs viewed from a metre or more)
Unlike photos, QR codes upscale well because they're made of flat squares with hard edges. If you need a poster-sized code, place the PNG in your design tool and scale it with smoothing turned off ("nearest neighbour" resampling in Photoshop, GIMP and most print software). The edges stay crisp at any size. What you should avoid is upscaling with smoothing on, which blurs module edges into grey and can confuse scanners.
For screen use (websites, slides, emails), 200–300 px is plenty.
Colour and contrast
Scanners read QR codes by telling dark modules from light ones, so contrast matters more than colour.
- Keep the pattern dark and the background light. Navy on cream, dark green on white, or brand black on a pale tint all work well.
- Avoid inverted codes (a light pattern on a dark background). Many modern phone cameras read them, but some older scanner apps and point-of-sale readers don't.
- Avoid low-contrast pairings such as yellow on white, red on black, or mid-grey on light grey. If you'd struggle to read text in those colours, a camera will struggle too.
- Don't print over gradients or photos. Give the code a solid, light backing panel.
Paper, surfaces and placement
- Matte beats gloss. Glossy paper and laminated menus reflect overhead lighting straight back into the camera and wash out parts of the code. If you must laminate, use a matte laminate.
- Watch curved surfaces. On bottles and cups, the code should wrap no more than about a quarter of the way around. Otherwise the edges distort. Use a smaller code or a flat label area.
- Think about height and lighting. A code on a poster should sit roughly at chest-to-eye height and away from glare. Codes in dim spaces such as bars or evening events need to be larger.
- Consider wear. Outdoor signs, floor stickers and packaging get scuffed. Use High error correction for these so a damaged code still scans.
Testing checklist
A static QR code can't be changed after printing, so test before you commit to a print run:
- Print a single proof at the final size on the final paper stock.
- Scan it with at least two different phones: ideally one iPhone, one Android, and one older device.
- Scan from the real viewing distance, not from 10 cm away.
- Try it under the real lighting conditions (shop lights, outdoors, dim restaurant).
- Check that the destination loads on mobile data, not just your office WiFi.
- Confirm the URL shown in the camera preview is exactly what you expect, with no typos.
Ready to make one? Choose 300 px or more for print.
Open the generator →