How the calculation works
The calculator starts from the widely used 10:1 rule of thumb: a QR code should be at least one tenth of the scan distance. It converts your distance to centimeters, applies the rule, and then adjusts for one of three distance bands.
- Close range, up to 30 cm (about 12 inches): one tenth of the distance, with a floor of 2 cm. Business cards, labels, and menus land here. Suggested error correction: M.
- Medium range, up to 305 cm (about 10 feet): exactly one tenth of the distance. Posters, signs, and packaging. Suggested error correction: Q, to survive some fading or damage.
- Long range, beyond 10 feet: one tenth of the distance plus a 25% safety margin for tilt, motion, glare, and dim light. Banners and billboards. Suggested error correction: H.
The result is shown in centimeters, inches, and pixels at 300 DPI. The link under the result opens the generator with the suggested error correction and pixel size filled in.
The presets, worked out
These are the exact values the calculator returns for its preset buttons, so you can see how the bands behave.
| Use case | Distance | Minimum size | Pixels at 300 DPI | Error correction |
|---|---|---|---|---|
| Business card | 8 inches | 2.0 cm (0.8 in) | 240 px | M |
| Restaurant menu | 18 inches | 4.6 cm (1.8 in) | 540 px | Q |
| Product package | 12 inches | 3.0 cm (1.2 in) | 360 px | Q |
| Yard sign | 4 feet | 12.2 cm (4.8 in) | 1,440 px | Q |
| Retail poster | 8 feet | 24.4 cm (9.6 in) | 2,880 px | Q |
| Trade-show banner | 15 feet | 57.2 cm (22.5 in) | 6,750 px | H |
| Highway billboard | 75 feet | 285.8 cm (112.5 in) | 33,750 px | H |
Pixel values are the print width multiplied by 300. They describe the minimum raster resolution for a sharp print, not the number of modules in the code, which depends on how much data you encode.
Data length changes the answer
The 10:1 rule assumes a fairly simple code. A QR code made from a 20-character link is version 2, a 25 x 25 grid, at error correction M. A 200-character link is version 10, a 57 x 57 grid. Printed at the same width, each module of the larger grid is less than half as wide, and the camera has to resolve it from the same distance. If your payload is long, either shorten it or print larger than the calculator suggests. Higher error correction also adds modules for the same data, which is part of why the long-range band adds margin.
Beyond size: what else affects scanning
- Contrast: dark modules on a light background. Light-on-dark and low-contrast brand colors fail on more phones.
- Quiet zone: the QR specification calls for a clear margin of at least 4 modules on every side. Cropping it is a common cause of failures.
- Logos: covering the center eats into error correction. In our own test, the largest center cover that still decoded was about 4% of the code at L, 7% at M, 13% at Q, and 19% at H. Use H and keep the logo well under that.
- Glare: matte paper or vinyl scans better than glossy stock under bright lights.
- Curved surfaces: bottles and cups distort the grid. Size up for extra margin.
- Camera quality: plan for an older budget phone in low light, not the newest flagship.
Once you have a final design, run it through the QR reliability audit before you print, and read how QR codes work for the background on versions and error correction.
Frequently Asked Questions
What is the 10:1 rule for QR code size?
The 10:1 rule says a QR code should be at least one tenth of the distance it is scanned from. A code scanned from 10 feet away should be at least 1 foot wide. It is a conservative rule of thumb, not part of the QR standard, and it is the basis of this calculator.
What is the smallest size this calculator recommends?
2 cm (about 0.8 inches) per side. For close-range scans under about 12 inches, the calculator never goes below that, even if one tenth of the distance would be smaller.
Does the amount of data affect the size?
Yes. The more data you encode, the more modules per side the code has, and each module gets smaller at the same print size. The calculator assumes a typical short link. If you encode a long URL, a vCard, or a payment payload, size up and keep links short.
Why does the pixel figure assume 300 DPI?
300 dots per inch is a common resolution for print. The pixel figure is the print width in inches multiplied by 300, which is the minimum raster size for a sharp result. An SVG download avoids the question entirely, because vector graphics scale to any size.
Why does my QR code fail to scan even at the right size?
Size is only one factor. Check contrast (dark modules on a light background), the quiet zone (a clear margin at least 4 modules wide, as the QR specification requires), glare from glossy material, and blur from low-resolution printing.
Can a QR code be too big?
Not in a way that hurts scanning at the intended distance. The real constraints are the space available and the design. A very large code can be hard to frame if the person stands too close, so match the size to where people will actually stand.