Short answer Make a QR code at least 2 cm (0.8 in) wide for anything scanned up close, like a business card or label. For everything else, divide the scanning distance by 10: a code read from 1 meter away should be about 10 cm wide. Add more room if the code holds a lot of content or has a logo, and always keep a clear margin around it.
The 10:1 rule
The simplest way to size a QR code is to think about how far away people will be when they scan it. Divide that distance by 10 and you have a good starting width.
| Where it goes | Typical scanning distance | Minimum width |
|---|---|---|
| Business card, sticker, product label | 10 to 25 cm | 2 to 2.5 cm (0.8 to 1 in) |
| Flyer, menu, table tent | 30 to 50 cm | 3 to 5 cm (1.2 to 2 in) |
| Poster at arm’s length | about 1 m | 10 cm (4 in) |
| Shop window, event sign | about 2 m | 20 cm (8 in) |
| Banner across a room | about 5 m | 50 cm (20 in) |
| Billboard, stadium screen | 10 m or more | 1 m (40 in) or more |
These are minimums for a simple code, like a short website link. Treat them as the floor, not the target. If there is room to go bigger, go bigger: a larger code scans faster, from more angles and in worse light.
Why content length changes the size you need
A QR code is a grid of small squares called modules. The more you put in the code, the more modules it needs, and the smaller each module gets at the same printed width. Phones don’t care about the overall size of the code as much as they care about the size of each module.
QR codes come in 40 versions, from 21 by 21 modules (version 1) up to 177 by 177 modules (version 40). Here’s roughly what common content needs at the everyday Medium error correction level:
| Content | Typical length | Approximate grid |
|---|---|---|
| Short link, like a VisualQR editable link | under 26 characters | 25 × 25 (version 2) |
| Normal website address | 30 to 60 characters | 29 × 29 to 33 × 33 |
| Wi-Fi network and password | 40 to 70 characters | 29 × 29 to 37 × 37 |
| Long tracking URL with UTM tags | 100 to 150 characters | 41 × 41 to 49 × 49 |
| Contact card (vCard) | 150 to 250 characters | 49 × 49 to 61 × 61 |
A contact card on a business card is the classic trap. It holds far more data than a link, so at 2 cm wide each module is tiny. Either print it larger, trim the fields you include, or use a short link that opens your contact page.
Tip: Shorter content means a bigger, friendlier pattern. Cut tracking parameters you don’t need, and use a short link when the destination address is long.
Work it out from module size
If you want to be precise, size the code from its modules. In print, aim for each module to be at least 0.5 mm for close-range scanning. Below about 0.3 mm, cheaper phone cameras and slightly fuzzy printing start to cause misreads.
The formula is simple:
width = (modules across + 8) × module size
The extra 8 modules are the quiet zone: a clear margin of 4 modules on every side that scanners need to find the code. For example, a 29 × 29 code with 0.5 mm modules needs (29 + 8) × 0.5 = 18.5 mm, so about 2 cm including its margin. A 57 × 57 contact card at the same module size needs about 3.3 cm.
VisualQR shows the grid size next to the download buttons (for example “29×29”), so you can run this math before you print.
Logos and error correction add density
A QR code can survive some damage because it stores spare data, called error correction. There are four levels: L recovers about 7% of the code, M about 15%, Q about 25% and H about 30%. Placing a logo in the middle uses some of that spare capacity, so logo codes use level H.
Higher error correction means more modules for the same content. A link that fits a 25 × 25 grid at M might need 29 × 29 or 33 × 33 at H. That’s why a QR code with a logo deserves a little more size than a plain one. Add about 20% to the widths in the table above as a rule of thumb.
Things that mean you should go bigger
- Dim places. Bars, restaurants and evening events. Phones struggle with small detail in low light.
- Glossy or curved surfaces. Reflections and curves hide part of the code. On bottles and cans, keep the code narrow enough that it doesn’t wrap out of view around the curve, and print it a size up to make up for the distortion.
- Scanning at an angle. A sign above a counter or a poster on a side wall gets scanned from below or the side, which squashes the code.
- Busy, stylized designs. Dots, gradients and decorative corners look great and scan well, but they leave less margin for bad conditions than plain squares.
- Older audiences or rushed moments. Train platforms, checkout queues and event entrances. Make scanning effortless.
Screens are different
On a screen, size is about how big the code appears to the person holding the phone. A code on a slide should fill at least a fifth of the slide height so the back row can scan it. On a website, show it at 150 pixels wide or more, and remember most people looking at a web page are already on their phone, so a plain link or button often works better than a code.
For TV and streams, keep the code on screen for at least 10 seconds and give it a corner to itself with a clear margin.
Test before you print the full run
- Print one copy at the exact final size on the real material.
- Scan it with two or three different phones, including an older one.
- Try it from the real distance and in the real light, not at your desk.
- Check it opens the right page, not just that it scans.
Before printing, you can also run your design through the free QR code tester. It checks small print, blur, dim light, glare and angles in your browser. The generator has the same “Test how it scans” check built in. Ready to make one? The custom QR code generator exports SVG, which stays sharp at any size, so you can scale it to whatever this guide recommends.
For files, resolution and paper choices, see how to print QR codes. For colors, see QR code colors that actually scan.