Size the code for the distance it will be scanned from, not for the space it happens to fit in.
Rule of thumb: allow 1 cm of code width for every 10 cm of scanning distance. A code read at 30 cm needs about 3 cm. One read across a room needs 20 cm or more. Never go below 2 cm — and always print a physical proof before the full run.
| Use | Typical scan distance | Minimum code width |
|---|---|---|
| Business card | 20–30 cm | 2 cm |
| Flyer or brochure | 30–40 cm | 3 cm |
| Table card / menu insert | 30–50 cm | 4 cm |
| Poster in a corridor | 1–2 m | 10–15 cm |
| Shop window | 2–3 m | 20–30 cm |
| Outdoor sign or billboard | 5–10 m | 50–100 cm |
These are starting points, not laws. A code that fails at the recommended size is usually failing for another reason — contrast, print quality, or a payload that is too dense.
Leave a blank margin around the code of at least four modules — roughly 10% of the code width on each side. Designers crop this constantly because it looks like wasted space. Without it, scanners cannot find the code's edges and simply fail.
A 300×300 pixel PNG stretched to 60 cm is a blurry grid with soft module edges, and scanners will struggle. For anything larger than roughly A4, use a vector format: SVG scales to any size without loss and keeps the module edges sharp. If your printer insists on PDF or EPS, they can usually convert from SVG.
About 2 cm square for something read at close range, such as a business card. Below that, print quality and camera focus start to fail.
At least 300 pixels for every inch of printed width. A 3 cm code (about 1.2 inches) therefore needs roughly 400 pixels minimum, and more is safer.
Yes. Leave a blank margin of at least four modules on every side, or scanners may fail to detect the code at all.
Yes, as long as it is genuinely blank and not printed with a background pattern or image.
No. Larger is easier to scan. The only practical limits are design space and printing cost.
Download at high resolution as PNG or SVG, sized for your layout.
Create a free QR code