QR SIZE GUIDE

Best QR code size for 3D printing

There is no single “best” millimeter size for every 3D printed QR code. The correct size depends on how many modules the QR contains, how large each module must be for your print profile, and how much quiet zone you preserve around the matrix.

Open related tool Browse all guides
QUICK TAKEAWAYS

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.

  1. Enter the exact content the final QR will encode.
  2. Keep the quiet zone at four modules for the first version.
  3. Choose the nozzle and layer profile closest to the planned print.
  4. Watch the measured module size and Print Forecast recommendation.
  5. Increase physical size until the module target is comfortably met.
  6. Print and scan-test at the intended use distance.
HOW TO VERIFY THIS GUIDE

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 methodology
REFERENCES

Primary 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.

  1. ISO/IEC 18004:2024 — QR Code symbology specification — ISO
  2. Point for determining the code area — Securing Margin — DENSO WAVE / QRcode.com
  3. Information capacity and versions of QR Code — DENSO WAVE / QRcode.com
APPLY THE GUIDE

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.

Create a QR code as a real 3D object
FREQUENTLY ASKED QUESTIONS

Questions about this topic

What size should I make a 3D printed QR code?

Calculate it from matrix modules, quiet zone and target module width. With a 0.40 mm nozzle, ModuQR’s Standard profile uses 0.80 mm/module as a strong starting target, then you can enlarge further for scan distance.

Is 40 mm wide enough for a 3D QR code?

It can be, but not always. A 40 mm width may be generous for a low-density matrix and marginal for a dense one. Check the resulting module size rather than judging the outer width alone.

Does a longer URL make a QR harder to 3D print?

It can. More encoded data may require a denser QR matrix. At the same physical width, a denser matrix creates smaller modules, which can reduce print tolerance.