snugfit

“I need a 7.5 mm spacer and the shop sells 5 and 10.”

Spacer STL generator: any height, M2 to M8 hole

Lifting a circuit board off a case floor, packing out a hinge, taking up slack on a bolt that is slightly too long. Bought spacers come in fixed steps; this one is whatever height you measured.

Loading the model builder…First visit downloads a 3.5 MB engine. After that, models build in about a second.

Examples at real sizes

Click one to load its sizes into the generator above, then adjust them to what you measured.

What to measure first

  1. Measure the gap the spacer has to fill. If parts are clamped together, measure with them clamped.
  2. Check what the spacer sits against. The outside diameter should be no wider than the flat area around the hole.

Screw sizes and the holes they need

The hole is drawn at the ISO 273 medium clearance size, plus the offset you set for your printer. VESA mounts are included because they are a common reason to need a spacer.

Screw, clearance hole and where you meet it
ScrewClearance holeWhere you meet itSource
M2.52.9 mmSmall circuit boardsISO 273
M33.4 mmCircuit boards, printer partsISO 273
M44.5 mmVESA 75 × 75, 100 × 100 and 200 × 100ISO 273; Ergotron VESA guide
M66.6 mmVESA 200 × 200 and larger, by display weightISO 273; Ergotron VESA guide
M89.0 mmVESA 200 × 200 and larger, heavier displaysISO 273; Ergotron VESA guide

Sources: ISO 273 clearance holes (medium series); Ergotron: VESA standard. Products change, so measure yours before you print.

Where the numbers come from

The bore is the ISO 273 medium clearance for the screw: 3.4 mm for the default M3, 4.5 mm for M4. The screw slides through and the spacer only takes the clamping load.

A spacer's bore is a short upright hole, so it prints close to size. The printer offset, 0.2 mm by default, covers the shrink that is left; if an M3 screw drags, try 0.3 mm.

If the outside diameter is set too small for the hole, the generator widens it so at least 0.8 mm of wall remains.

Sliders and their ranges
SettingDefaultRange
Height7.5 mm0.6 to 80 mm
Outside diameter8 mm4 to 60 mm
Screw size (M)32 to 8
Hole offset for your printer0.2 mm0 to 0.6 mm

How to print it

  • Print standing on its flat face, as modelled. The height is then set by layer count, so pick a height that is a whole number of layers if it has to be exact.
  • A stack of layers squashes slightly under a tight bolt. For a precise gap, tighten gently.

What this generator does not do

  • A printed spacer is for location and light clamping. Under a bolt torqued hard, plastic creeps and the joint loosens over time.

Questions

The screw drags through the spacer. What do I change?
Raise the hole offset by 0.1 mm and print one more; a spacer this size takes a few minutes. If several of your parts come out tight, print the hole tolerance card once and use its offset everywhere.
Can I use this as a washer?
Yes: set the height to 1 to 2 mm and the outside diameter to roughly twice the screw size. It spreads load on soft material, though less well than a steel washer.
Can you 3D print spacers?
Yes, for spacers that are squeezed between parts by a screw: plastic is strong in compression. Do not print spacers for wheels, brakes, suspension or anything where a failure could hurt someone.
What are VESA spacers for?
They hold a mount away from the back of a monitor or TV when the back is curved, recessed or has cables in the way. You need longer screws by the spacer's height, so the screws still reach full depth in the display's threads.
Should I use spacers on a TV mount?
Only when the mount cannot sit flat on the back. Keep them as short as will clear, use screws long enough to engage the full thread depth, and use PETG or a stiffer filament. For a heavy TV, the spacers that come with the mount are the safer choice.
Which filament is strongest for spacers?
PETG or ASA for anything warm or under constant load; PLA can slowly squash under a tight screw, especially in a warm place. Print with 100 % infill or enough walls that the spacer is solid.
How do I make a spacer exactly the right height?
Set the height to the gap you measured with parts clamped. If it comes out a little tall, the first layer was squashed less than expected; reduce the height by 0.1 to 0.2 mm or sand it on a flat sheet.
What is the difference between a spacer and a standoff?
A spacer has a plain hole the screw passes through. A standoff is usually hexagonal so a spanner or fingers can hold it while the screw is tightened. For that shape, use the hex standoff generator.

How this page was checked

On 2 December 2026 this model was compiled 15 times across its slider ranges and examples, and every build was a closed solid. At the defaults it measures 8 × 8 × 7.5 mm, about 0.3 cm³ if printed solid. Geometry only: strength is not tested. Method and limits.

References

  • ISO 273:1979, Fasteners — Clearance holes for bolts and screws. Source of the screw clearance hole diameters (medium series).

Related generators