Start with the physics. A phone camera reads a QR code by finding the three square finder patterns in the corners, then reading the grid of black and white modules between them. If the modules are smaller than the camera can resolve at that distance, or their edges are blurred into each other, or the finder patterns are cut off by a tight crop, the phone cannot lock on — and no amount of holding the phone closer or wiping the lens will help, because the information simply is not there in the print. Every rule in this guide exists to keep the modules sharp, large enough and surrounded by enough white space for the camera to do its job. Get those three things right and a printed code scans as reliably as one on a screen.
Quick answer: Size the code by the 10:1 rule — at least one-tenth of the scanning distance, with 2 × 2 cm as the practical minimum for hand-held scanning. Print at 300 DPI at the final size, from a vector file (SVG or PDF) when the printer accepts one. Never upscale a small PNG and never use JPEG. Leave a quiet zone at least 4 modules wide on all four sides, keep dark modules on a light background, and test-scan the printed proof with two different apps before printing in quantity.
1. How Big: The 10:1 Rule, Not a Single Number
There is no one "correct" print size for a QR code, because the right size depends on how far away the person scanning it will stand. The rule that covers every case is the 10:1 rule: the code should be at least one-tenth of the scanning distance. A code on a shop counter, scanned from 20–30 cm away, can be small; a code on a poster, scanned from a metre away, must be much larger. Practical minimums follow from that rule. For close, hand-held scanning, 2 × 2 cm is the floor, with 1 inch (25 mm) a comfortable arm's-length minimum and 3 cm safer on a business card, where the code competes with text and logos. A poster viewed from 1 metre needs at least 5 cm, and a billboard viewed from 10 feet needs about 12 inches. Sources disagree slightly on the exact floor — some say 2 cm, some say 1 inch — so use the distance rule rather than treating one figure as fact. The amount of data in the code matters too: a code holding a long URL has more, smaller modules than a code holding a short link, so keep the content short (under about 300 characters) and shorten long URLs before generating the code.
| Where it is printed | Typical scanning distance | Minimum code size |
|---|---|---|
| Business card | 20–30 cm | 3 cm |
| Shop counter / table tent | 30–50 cm | 3–5 cm |
| Poster / notice board | About 1 m | 5 cm or more |
| Banner / hoarding | 2–3 m | 20–30 cm |
| Billboard | About 3 m (10 ft) | About 30 cm (12 in) |
2. The Quiet Zone: The Border That Is Not Decoration
The quiet zone is the clear border around a QR code, and it is part of the code, not decoration. The ISO/IEC 18004 standard requires a border at least 4 modules wide on all four sides, in the same colour as the light modules — usually white. The camera uses that empty space to find where the code starts; without it, the finder patterns blend into neighbouring text, borders or images, and the phone cannot tell where the code ends. Cropping the quiet zone is the most common print-shop mistake, and it is the first thing to check when a printed code will not scan. In practice, leave 3–4 mm of clear white around the code at any size, and never let text, a logo or a design element touch the code's edge. If your layout is tight, shrink the code slightly rather than trimming its border — a smaller code with its quiet zone intact scans; a larger code with a cropped border often does not. When you hand the file to a printer, say the quiet zone explicitly, because a print shop that trims to the bleed will otherwise cut it off without noticing.
3. Resolution and Format: Vector First, 300 DPI at Final Size
Resolution is where most printed codes are lost. A QR code is a grid of hard-edged squares, and a phone camera needs those edges sharp. The rule is simple: export as a vector file (SVG, PDF or EPS) whenever the printer accepts it, because a vector scales to any size without blurring. For raster images, 300 DPI at the final printed size is the floor, and 600 DPI is better for small codes or coated stock. The arithmetic matters: a 2 × 2 cm print needs roughly 240 pixels at 300 DPI, so a 200-pixel image is already too small for a 2 cm print. And never upscale a small PNG — enlarging a 72 or 100 DPI screen export blurs the module edges, and no print setting fixes that. Never use JPEG for QR codes either, because JPEG compression artefacts bleed the module edges and turn sharp squares into fuzzy blobs. One honest limitation to know about our own tool: the QR code generator downloads PNG only, with a largest size of 400 pixels — at 300 DPI that prints at 3.4 cm, fine for a shop counter, but not for a poster or a display board. For anything printed larger, use our UPI QR tool, which goes to 500 pixels, or generate the code as a vector from a tool that offers SVG or PDF. Whatever the source, download the largest size available and print at 300 DPI — the file that looks fine on a 6-inch phone screen is often far too small for paper.
4. Colour, Contrast and Error Correction
A QR code needs a dark code on a light background, with a contrast ratio of at least 3:1. Dark colours on white work; an inverted code — light modules on a dark background — usually does not scan, because most phone cameras expect dark modules on a light field. Keep the quiet zone the same light colour as the background, and never print a code over a busy photograph, a gradient or a patterned surface, where the background competes with the modules. Error correction is the setting that decides how much damage a code can survive. Level M, which tolerates 15% damage, is the general-print default. Use level Q (25%) when a logo sits in the centre of the code, and level H (30%) for outdoor or worn surfaces where the print may get scratched, faded or rained on. Higher error correction makes the code denser, which is another reason to keep the encoded content short. And mind the finish: gloss and lamination glare defeat phone cameras, so a matte finish scans more reliably than a glossy one, especially under shop lights or sunlight. If the code must be laminated, test-scan it after lamination, not before.
5. Static vs Dynamic, and the Test-Scan Checklist
Before you print in quantity, know which kind of code you have. The tools on this site make static codes: one fixed code that always points to the same link or UPI ID, and the customer types the amount or pays a built-in fixed amount. That is fine for counters, menus and small shops. A dynamic code is generated fresh for each bill with the exact amount, and needs billing software or a point-of-sale system. The catch with a static code is permanence: a printed QR permanently encodes its UPI ID, so if your VPA changes or the account closes, old printed codes fail or point at the old ID — reprint on any change. Our UPI QR troubleshooting guide explains the difference between a code that will not scan and a code that scans but will not pay, which are two different failures with different fixes. Then run this checklist on the printed proof, not on the screen: scan it with two different apps, at the distance customers will actually stand, in the actual light where it will hang. If it is laminated, scan it after lamination. If it is outdoors, scan it in sunlight. Only when the proof passes every test should you print the full run.
🔳 Generate Your QR Code
Create a QR code for a link, text or UPI payment — download the largest size available and print it at 300 DPI for a sharp, scannable result.
Open the QR Code Generator →Also read UPI QR not working: scan failures and payment fixes for shops, and 7 ways Indian shops use wa.me links.