What matters most
- Use module size as the primary sizing metric.
- The same 40 mm outer width can be generous for a low-density QR and too small for a dense one.
- A four-module quiet zone increases the total grid width and must be included in the physical calculation.
- If scan distance increases, making the QR physically larger usually improves camera sampling.
Why 30 mm, 40 mm or 50 mm is not a universal answer
A QR code is not a fixed-resolution image. Its matrix grows as the encoded content and selected error-correction level require more capacity. A Version 1 QR has 21 × 21 modules; later versions add modules in both directions. A physical width that works for one matrix can squeeze another into features too small for the nozzle.
That makes overall width a secondary number. First determine matrix density, then choose a target module size and calculate the outer size that preserves the quiet zone.
The sizing formula that matters
Let N be the QR matrix width in modules and Q the quiet-zone width in modules on each side. The printed grid uses N + 2Q modules across. If M is your target physical module width, the minimum physical QR width is approximately (N + 2Q) × M.
For example, a 29-module matrix with a four-module quiet zone uses 37 modules across. At 0.80 mm per module, the printed QR region should be about 29.6 mm wide. A denser 41-module matrix with the same quiet zone uses 49 modules, so the same target requires about 39.2 mm.
| QR matrix | Quiet zone | Total grid | At 0.80 mm/module |
|---|---|---|---|
| 21 × 21 | 4 modules | 29 modules | 23.2 mm |
| 29 × 29 | 4 modules | 37 modules | 29.6 mm |
| 33 × 33 | 4 modules | 41 modules | 32.8 mm |
| 41 × 41 | 4 modules | 49 modules | 39.2 mm |
| 57 × 57 | 4 modules | 65 modules | 52.0 mm |
Match size to the nozzle and layer profile
ModuQR derives its module target from both nozzle diameter and layer height. The Standard FDM Beta profile uses a 0.40 mm nozzle, 0.20 mm layers and a strong module target of 0.80 mm. A coarse 0.60 mm nozzle raises that target to 1.20 mm, while the fine 0.25 mm profile starts at 0.50 mm.
This is intentionally conservative: the objective is not merely to force the slicer to draw a feature, but to create enough physical width for repeatable module boundaries.
| Profile | Nozzle | Layer | Strong target |
|---|---|---|---|
| Fine | 0.25 mm | 0.12 mm | 0.50 mm/module |
| Standard | 0.40 mm | 0.20 mm | 0.80 mm/module |
| Coarse | 0.60 mm | 0.28 mm | 1.20 mm/module |
Add margin for viewing distance and real-world placement
A tabletop QR can be scanned from relatively close range. A wall sign or storefront display may be scanned from farther away, at an angle and under imperfect lighting. Even if a small model prints successfully, a larger model gives the camera more pixels per module at distance.
For public-facing objects, use the calculated printability size as a floor, not automatically as the final design size. Prototype at the intended placement and enlarge the QR if users naturally stand farther away.
A practical sizing workflow in ModuQR
If you later change the URL, error correction or payload type, repeat the calculation. A small content change can change the QR matrix version and therefore the physical module size.
- Enter the exact content the final QR will encode.
- Keep the quiet zone at four modules for the first version.
- Choose the nozzle and layer profile closest to the planned print.
- Watch the measured module size and Print Forecast recommendation.
- Increase physical size until the module target is comfortably met.
- Print and scan-test at the intended use distance.
A reproducible check before you print
Keep the QR payload fixed and change one variable at a time. Watch physical module size and ScanSafe warnings, export the same model to your slicer and inspect the layer preview. The final check is still to scan the finished physical object with a real camera.
Read the editorial and technical methodologyPrimary sources and technical documentation
These references support QR requirements, file formats or general printing constraints. ModuQR-specific FDM targets are labeled as heuristics rather than requirements from these sources.
- ISO/IEC 18004:2024 — QR Code symbology specification — ISO
- Point for determining the code area — Securing Margin — DENSO WAVE / QRcode.com
- Information capacity and versions of QR Code — DENSO WAVE / QRcode.com
Calculate size from the actual QR matrix
Use ModuQR to generate the final payload and see module size and a profile-aware recommended physical size before exporting.