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

mm

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

mm
mm
Print cost calculatorTolerance and fit calculatorE-steps and flow calculatorSteps per mm calculatorGear ratio calculatorFilament weight and length calculatorVolumetric flow calculatorResin print cost calculatorLayer height calculatorWall thickness calculatorPrint time estimatorInch to mm converterScale calculatorHeat-set insert and screw hole calculatorFilament drying calculator3D printer payback calculatorGT2 belt length calculatorSnap-fit calculatorStepper driver Vref calculatorPressure advance calculatorZ offset calculatorSTL volume and weight calculatorAll calculators

Standard values behind the calculator

SizeClearance hole (ISO 273, medium)Hex nut across flats × height (ISO 4032)Socket head Ø × height (ISO 4762)Typical insert hole
M22.4 mm4.0 × 1.6 mm3.8 × 2 mm3.2 mm
M2.52.9 mm5.0 × 2.0 mm4.5 × 2.5 mm3.6 mm
M33.4 mm5.5 × 2.4 mm5.5 × 3 mm4.0 mm
M44.5 mm7.0 × 3.2 mm7.0 × 4 mm5.6 mm
M55.5 mm8.0 × 4.7 mm8.5 × 5 mm6.4 mm
M66.6 mm10.0 × 5.2 mm10.0 × 6 mm8.0 mm
M89.0 mm13.0 × 6.8 mm13.0 × 8 mm9.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

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.

Ready to print something? LyraMaker has free browser generators for keychains, signs, boxes, rulers and more — all exporting STL and 3MF.
Browse the generators →