Guide

What size should a QR code be to 3D print it

Two simple calculations: one for the nozzle, one for the reading distance. The larger one wins.

2026-09-01 · 6 min read

The size of a printed QR code isn't an aesthetic choice: it's the result of two independent physical constraints. Calculate both and pick the larger one.

Constraint 1: the nozzle

Each module needs at least 1.5 mm a side with a 0.4 mm nozzle (2 mm with a 0.6 mm one). So:

minimum code side = number of modules × 1.5 mm

Link lengthApprox. modulesMinimum side
Up to 25 characters25 x 2538 mm
Up to 45 characters29 x 2944 mm
Up to 80 characters33 x 3350 mm
Up to 150 characters41 x 4162 mm
Up to 250 characters49 x 4974 mm

These are rough figures with M-level error correction. With H level (needed if you add a logo), add about four more modules.

Constraint 2: reading distance

The 1-to-10 rule: the code's side should be a tenth of the distance. To scan from 1 meter, 10 cm of code.

How they combine

Example: you want a WiFi plaque readable from 80 cm. Distance calls for an 8 cm code. Your WiFi text generates 33 modules, which need a 5 cm minimum. Distance wins: an 8 cm code, plus margin, gives a plaque of about 100 mm.

Another example: a 45 mm keychain. Its code area measures about 34 mm. With 33 modules you'd get 1.03 mm modules: not good enough. You'd need to shorten the link down to 22-25 modules, or make the keychain bigger.

The margin (quiet zone)

The standard calls for 4 modules of clear margin around the code. In practice, 2 modules is enough for almost every modern reader and saves space, but below that, failures increase sharply. That margin must be clear: no text, no decorative borders, no color changes.

The tool shows the millimeters per module live and warns you below 1.5 mm, so you don't need to do the math by hand.

Try it now

Generate your code and its 3D object in under a minute, no sign-up required.

Open the 3D QR generator