QR3D Craft

QR code keychains: sizes, the ring hole and durability

By · 6 min read · Updated 25 October 2026

Leer en español

The keychain is the most requested piece and the easiest to get wrong: it is the smallest, so it is where module size bites hardest, and on top of that you have to put a hole in it without eating into the code's quiet zone. These are the measurements that work.

The size: 40 mm is the balance point

A keychain has to be small enough for a pocket and big enough for the code to read. The balance sits between 40 and 50 mm a side, and the reason is arithmetic.

For different content or a different nozzle, the size calculator (in Spanish) gives you the exact side before you spend any filament.

With a 0.4 mm nozzle the module should not drop below 0.8 mm. A version 3 code (29 × 29 modules) plus its eight-module quiet zone needs 37 modules of width, which at 0.8 mm is 29.6 mm. Add the tab for the ring and a bit of edge and you are at a long 40 mm.

Keychain sideComfortable maximum versionCharacters in the link (level M)
35 mm2 (25 × 25)up to 26
40 mm3 (29 × 29)up to 42
45 mm4 (33 × 33)up to 62
50 mm5 (37 × 37)up to 84
60 mm7 (45 × 45)up to 122

Below 35 mm the keychain only works for very short links. If yours does not fit, the answer is not to squeeze the code: it is to shorten the address.

The small version of this piece, with the same arithmetic but with the size decided by the animal wearing it, is the collar tag (in Spanish).

The three objects, drawn to the same scaleKeychain, 40 by 46 millimetres. Wall plate, 90 by 90 millimetres. Desk stand, 90 by 104 millimetres. The orange box marks the area the code takes up.Keychain40 × 46 mmWall plate90 × 90 mmDesk stand90 × 104 mm
To scale against each other. The box marks the usable area of the code: that is what counts, not the outline of the piece.

The ring hole

This is where most home-made keychains go wrong. The hole gets put inside the square so as not to make the piece longer, and doing that eats part of the quiet zone or even modules of the code itself.

The hole always goes outside the code and outside its quiet zone, on a tab added to the square. If the hole intrudes on the quiet zone, the keychain will not read even with a perfect code.

Measurements that work:

The thickness

A keychain spends its life banging against metal keys inside a pocket. It needs more body than you would think.

The keychain is the exception. On almost every other piece it pays to bring the base down, because it takes 90 % of the weight and the extra stiffness is not needed; here it is, because the ring hole is a weak point. The rest of the cases are in the base thickness guide (in Spanish).

Slicer settings

For a small piece that is going to take a beating, it pays to step away from the fast profile:

SettingValueWhy
Perimeters4The strength of a flat piece is almost all in the perimeters, not the infill.
Infill40-50 %Below 30 % the piece gives when you bend it.
Infill patternGyroid or rectilinearThey spread the load better than the fast line pattern.
Top layers5The code is on the top face: with too few solid layers, the infill shows through.
Layer height0.2 mmDivides a 3 mm base exactly and gives a clean colour change.

Orientation on the plate

Flat, with the code facing up. Always. Three reasons:

Printing it on edge to «save time» produces a piece that snaps along the first layer that gets pulled, and forces supports under the hole as well.

How many fit per print

Here is the real advantage of this piece. A 40 mm keychain plus its tab takes about 48 × 40 mm. On a 256 × 256 mm bed, leaving 5 mm between pieces:

For that to work, the slicer has to be in «by layer» mode and not «object by object». In object-by-object mode it finishes each keychain before starting the next, and then it asks you for twenty colour changes instead of one.

How many keychains fit on each bed size, and what the whole plate weighs and takes in each case, is in the batch printing guide (in Spanish).

If you are going to hand them out

Two pieces of advice learnt the hard way:

Generate the keychain with the measurements already in

Pick the «keychain» object and the tool puts the ring hole outside the code's quiet zone, with the right wall thickness. You can add text and an emoji to it.

Make a keychain

Keep reading