QR Code Size: Minimum Print Size, Distance and Quiet Zone
For most print uses, a QR code should be at least about 2 cm (0.8 in) square, and larger if people scan from a distance. A good rule is a scan distance about ten times the code's width. Leave a blank border of four modules on every side, and pick an error correction level that matches how the code will be used.
Minimum size
Around 2 x 2 cm (0.8 x 0.8 in) works for a simple code held in the hand, like one on a business card or product label. That assumes a code with a short URL and a good print. Dense codes with a lot of data need to be larger because each square shrinks.
Print quality matters as much as size. A sharp 2 cm code scans better than a blurry 4 cm one.
Distance to size
The widely used rule is 10:1, scan distance to code width.
| Scan distance | Minimum code width |
|---|---|
| 20 cm (8 in), handheld card | 2 cm (0.8 in) |
| 1 m (3 ft), poster or table tent | 10 cm (4 in) |
| 3 m (10 ft), window or sign | 30 cm (12 in) |
| 10 m (33 ft), billboard | 1 m (3 ft) |
These are starting points. Lighting, camera quality and how much data the code holds all change the result. Test with several phones.
Quiet zone
The quiet zone is the empty margin around the code. The standard asks for four modules (four of the small squares) on every side. If the code is 25 modules across, the margin is the width of four of them. Keep it free of text, borders and images. Without it, the scanner has trouble finding where the code starts.
When you place a QR code on a colored background, put it on a white or light panel that includes the quiet zone.
Error correction levels
QR codes can recover from damage because they include redundant data. There are four levels:
| Level | Recovers about | Use |
|---|---|---|
| L | 7% | Clean screens, short data |
| M | 15% | General use, a good default |
| Q | 25% | Print that may get scuffed |
| H | 30% | Codes with a logo, rough surfaces |
Higher levels make the code denser. A denser code at the same print size has smaller squares and may scan from a shorter distance. So do not choose H by default. Use M unless you have a reason, and increase it if you place a logo in the middle.
Keeping the code scannable
- Shorten the data. A short URL gives a simpler pattern. Fewer modules means bigger squares at the same size.
- Use contrast. Dark code on a light background. Inverted codes fail on many scanners.
- Keep it square. Do not stretch it.
- Use vector formats for print. SVG stays sharp at any size; a low-resolution PNG does not.
- Place it on a flat surface. Wrapped around a curve, the pattern distorts.
- Print a test. Scan the actual print from the real distance.
Create one
The QR code generator lets you choose the error correction level and download an SVG or PNG. It runs in your browser, so the content you enter stays on your device. Generate the code at the largest size you can use, scale it down in your layout software only as far as the table above allows, and print a proof before the full run.
If you are comparing formats for very small parts, a Data Matrix code can print smaller than a QR code.