Heat-set insert and screw hole calculator
Pick a screw size and get every hole you need to model around it: the hole for a heat-set insert, a clearance hole the screw passes through, a hole to screw straight into the plastic, a hex nut trap and a counterbore for the head — corrected for how much your printer shrinks holes.
Screw
How much smaller your printer makes holes than modelled. 0.1–0.3 mm is typical for FDM; print a test and measure.
Heat-set insert
Standard values behind the calculator
| Size | Clearance hole (ISO 273, medium) | Hex nut across flats × height (ISO 4032) | Socket head Ø × height (ISO 4762) | Typical insert hole |
|---|---|---|---|---|
| M2 | 2.4 mm | 4.0 × 1.6 mm | 3.8 × 2 mm | 3.2 mm |
| M2.5 | 2.9 mm | 5.0 × 2.0 mm | 4.5 × 2.5 mm | 3.6 mm |
| M3 | 3.4 mm | 5.5 × 2.4 mm | 5.5 × 3 mm | 4.0 mm |
| M4 | 4.5 mm | 7.0 × 3.2 mm | 7.0 × 4 mm | 5.6 mm |
| M5 | 5.5 mm | 8.0 × 4.7 mm | 8.5 × 5 mm | 6.4 mm |
| M6 | 6.6 mm | 10.0 × 5.2 mm | 10.0 × 6 mm | 8.0 mm |
| M8 | 9.0 mm | 13.0 × 6.8 mm | 13.0 × 8 mm | 9.7 mm |
The calculator adds your hole compensation to these nominal sizes. Insert holes are a starting point for common short tapered inserts; inserts vary between brands, so enter the outer diameter from your datasheet when you have it.
Designing around a heat-set insert
- Wall: leave at least about one insert diameter of material around the hole — melted plastic is pushed outward, and a thin boss splits.
- Chamfer: a small 0.5 mm chamfer at the top of the hole helps the insert start straight.
- Orientation: inserts pressed along the layer lines (hole vertical on the print bed) hold best, because the melted plastic bonds across many layers.
- Infill: add extra perimeters (4 or more) around insert holes rather than relying on infill.
Nut traps
A hexagonal pocket sized to the nut's width across flats holds it against turning. Model the hexagon across flats (not across corners) with the compensation added, and add 0.2–0.4 mm of depth so the nut sits below the surface. When the trap opens sideways, a slot the width of the nut lets you slide it in from the edge.
Screwing straight into plastic
For self-forming a thread in plastic, the hole should be around 85–90% of the screw diameter, so the thread cuts into the walls. Use enough perimeters that the thread forms in solid plastic, not infill. For screws you will undo often, choose an insert instead. Related: the tolerance and fit calculator for parts that slide together, and the tolerance test generator to measure your printer.
Frequently asked questions
What size hole do I need for a heat-set insert?
Slightly smaller than the insert's knurled outer diameter, so the melted plastic flows into the knurls: typically 0.4–0.6 mm under the outer diameter for tapered inserts. For common M3 short inserts that is about 4.0 mm. Your insert's datasheet is the final word — manufacturers publish a recommended hole for each part number.
How deep should the insert hole be?
At least the insert length plus about 1 mm, so displaced plastic has somewhere to go and does not push the insert back up. For a through-hole, simply make it longer than the insert.
Why model holes bigger than the screw?
FDM printers make holes smaller than modelled: the nozzle squashes the line outward on the inside of a curve, and slicers approximate circles with straight segments. Hole compensation adds back what your printer loses. Measure a printed test hole once and use that figure everywhere.
Inserts, nut traps or screwing into plastic?
Heat-set inserts are the strongest and survive repeated assembly. Nut traps are just as strong but need space and access. Threading a screw straight into plastic is fine for parts assembled once or twice; repeated screwing wears the thread out, especially in PLA.
What is the best temperature for installing inserts?
Around 20–30 °C above the material's printing temperature on a soldering iron with a matching tip: about 220–240 °C for PLA, 250 °C for PETG, 260 °C for ABS and ASA. Press slowly and let the plastic melt; stop just flush and hold a flat object on top for a few seconds while it sets.