Skip to content
bebber
Use cases

How big a 3D printed QR code must be to scan

How big a 3D printed QR code must be to scan

For a 0.4 mm nozzle, start at 1.2 mm per module (one square of the code) and test the finished print. That is practical sizing guidance from maker guides, not a guaranteed scan threshold. Including the blank border, total width = (modules per side + 8) × module size.

Module size on a 0.4 mm nozzle

PrintPal’s guide says to aim for 1.2 mm or more, and that modules under a millimetre print as mush on a 0.4 mm nozzle. Siraya Tech’s guide gives a lower figure: keep module size above 0.8 mm. Neither guide publishes test measurements, so treat 0.8 mm as the edge of what might work and 1.2 mm (three nozzle widths) as the starting point. Fewer modules means bigger squares at the same width, so a shorter payload prints better.

Width table by module count

A QR code of version 1 has 21 × 21 modules, and each higher version adds 4 modules per side. To find your version, count the squares along one edge of the code itself, without the blank border. The widths below are modules × module size. Code widths exclude the border.

QR versionModules per sideCode at 0.8 mmCode at 1.2 mm
12116.8 mm25.2 mm
22520.0 mm30.0 mm
32923.2 mm34.8 mm
43326.4 mm39.6 mm
53729.6 mm44.4 mm
64132.8 mm49.2 mm

DENSO WAVE specifies a four-module clear border on every side, and Siraya also says to leave at least 4 modules. PrintPal’s default of 2 is not the same requirement. The table excludes the border. For version 3 at 1.2 mm per module, total width is (29 + 8) × 1.2 = 44.4 mm, which leaves 4.8 mm of light border on every side.

A QR code with its blank border tinted, one corner square outlined, one module outlined and a line measuring the full width.
1 the clear border, four modules wide on every side. 2 a corner square, seven modules wide. 3 one module, the smallest square of the code. 4 the full width of the image, the code plus the border on both sides.

To count the modules of your own code, measure the code area and one corner square. Measure across the finder pattern’s outer square, without its light separator; ZXing’s encoder defines it as seven modules wide. Modules = code width ÷ finder width × 7. A 34.8 mm code with 8.4 mm finders gives 34.8 ÷ 8.4 × 7 = 29, so version 3. Light and dark cells both count, so do not tally dark cells alone: neighbours merge into one shape.

Colour, finish and height

Siraya says dark modules on a light background usually scan best. PrintPal warns that navy on black looks fine in a preview and fails in real light. Siraya recommends matte materials to reduce reflections. Scan the test piece under a lamp, near a window and at an angle.

The same QR code twice: dark modules on a light background, and inverted with light modules on a dark background.
1 dark modules on a light background. 2 the same code inverted, light modules on a dark background. Denso Wave recommends the first form.

For height, Siraya suggests raising the dark squares 1 to 2 mm on a base plate at least 2 mm thick, with 0.12 to 0.2 mm layers. PrintPal’s default relief is 1.6 mm at 0.16 to 0.20 mm layers.

The model to build

Download your code as SVG. The file contains the four-module border and a background area, so its width is (modules + 8) × module size. The worked example is version 3 (29 modules) at 1.2 mm per module, with 0.2 mm layers.

  1. Base plate: 44.4 × 44.4 mm, 2 mm thick, in the light colour.
  2. Code on top, raised 1.6 mm, so the squares end at 3.6 mm.
  3. Code width: with the border and background kept in the file, scale the whole file to 44.4 mm, the width of the plate. With the background removed, only the squares remain; scale them to 29 × 1.2 = 34.8 mm and centre them on the plate.
  4. Clear border: 4.8 mm of flat, light plate on every side of the squares.
  5. Colour change: at the first layer above the 2 mm base. Print the base in the light filament and the squares in the dark one, using two colours of the same filament type, such as white PLA and black PLA.
  6. Only the dark squares rise. The light gaps between them stay open, and no raised slab fills the background.

Any CAD tool or slicer that can extrude an SVG works from this spec. Siraya describes importing the SVG into Tinkercad or Fusion, extruding it and exporting an STL. PrintPal has a generator that outputs a two-colour 3MF but needs an account to download.

In PrusaSlicer

Slice, then check the preview. The base ends at 2 mm and the squares end at 3.6 mm. The light gaps are open. If a raised slab fills the background, delete the background shape in a vector editor and import the cleaned SVG again, then rescale to the 34.8 mm target.

A flush tile with two colours at one height needs another method, such as a multi-material printer.

Print the complete code at its intended size as a test, without the stand or mounting hardware. A shrunken test would check a different module size. Without an uploaded logo, a bebber code has a small bebber logo in the centre that covers some squares. Treat that centre as part of the artwork. Scan the test print from arm’s length for a keychain or WiFi sign, and from further away for a wall plaque.

Changing the destination after printing

The data inside a printed code cannot change. A static code to a web address on a domain you own keeps working while you edit that page, as long as you keep the domain and the page online. A static code that holds plain text or a phone number needs no page at all. Size depends on the payload and the error-correction level, not on whether a code is static or dynamic.

A bebber suits you if you have no website to point at, or do not want to run one. The code holds a bebber.com web address, so it has more modules than a few words of plain text and the part needs to be larger. The page behind it stays editable through the edit link bebber emails you, and it depends on bebber continuing to operate. Do QR codes expire compares what other generators say about this, checked 2026-11-17.

Make a bebber for your printed part

bebber is free, needs no account, and lets you download the code as SVG, PNG or PDF. The module count depends on the link, so create your bebber, count the modules as above, and read the width off the table.

It uses the highest error-correction level, H, which can restore about 30 % of the codewords. That does not guarantee that a poorly printed code will scan, so test the finished print. Keep the email with your edit link.

Flat engraved pieces are a different job. Laser engraving covers inverted codes and contrast on engraved surfaces. For a plaque or stand, signs has a distance-to-size rule for readable placement. Create your bebber and download its SVG.

Sources

  1. aim for 1.2 mm or more blog.printpal.io
  2. keep module size above 0.8 mm siraya.tech
  3. each higher version adds 4 modules per side qrcode.com
  4. a four-module clear border on every side qrcode.com
  5. ZXing's encoder defines it as seven modules wide github.com
  6. Add part, then SVG, with the operation on Join and a Depth setting help.prusa3d.com
  7. object manipulation panel help.prusa3d.com
  8. move the layer slider to the first layer above the base and click the plus icon help.prusa3d.com

Ready to make your own?

Same idea, your content — done in about a minute.

Create your bebber

No sign-up. No credit card. Free forever.