3D Print Hole & Fit Compensation
FDM printers make holes too small and pins slightly too big. Enter the size and the fit you want, and this tool gives the diameter to model in CAD for the hole and for the pin. Measure one test print, or a whole test plate, for numbers that match your own printer.
Published October 30, 2026
Model These Sizes
| Item | Hole | Pin |
|---|
Calibrate From a Test Plate
Print a plate of holes (and pins) in a range of sizes, measure each one, and paste the results below as modelled measured pairs, one per line. The tool fits a straight line, measured = slope × modelled + offset, by least squares, then turns it round to give the size to model for any target.
Make a test plate (STL)
STL Facets: How Many Segments?
An STL stores a circle as straight flats with their corners on the circle. A pin is still its full size across the corners, but a hole is only as big as the circle that fits inside the flats.
| Segments | Inscribed Ø | Hole loss |
|---|
How 3D Print Hole Compensation Works
A 3D-printed hole usually comes out 0.1 to 0.4 mm smaller than modelled and a printed pin a little bigger, so you model the hole oversize and the pin undersize. This tool works out how much, for the fit you want, and adds the size lost to the STL's flat facets.
Three things make an FDM hole small. The STL turns the circle into flats, so the hole is only as big as the circle inside them. The extruded line is squashed and bulges sideways, and on the inside of a curve it piles up more than on the outside. And the plastic shrinks a little as it cools. A pin has the same squash and shrinkage, but its flats do not make it smaller across the corners.
The Method
Typical Starting Clearances for FDM
These are typical diametral clearances between the finished (as-printed or real) hole and pin, the kind of values commonly used for FDM parts. They are larger than machined fits because printed surfaces have layer lines and are never perfectly round. Test before you rely on them. For machined parts, use the ISO Tolerance Fit calculator; for dowels in metal, see the Dowel Pin Hole Size Chart.
| Fit | Typical clearance | Range used | Nearest ISO fit (guide) |
|---|---|---|---|
| Press (interference) | −0.10 mm | −0.15 to −0.05 mm | H7/p6 |
| Snug / transition | +0.05 mm | 0 to +0.10 mm | H7/k6 |
| Slip / sliding | +0.20 mm | +0.15 to +0.25 mm | H7/g6 |
| Loose / running | +0.40 mm | +0.30 to +0.50 mm | H9/d9 to H11/c11 |
A real H7/g6 fit at 10 mm has only 0.005 to 0.029 mm clearance. No FDM printer holds that, so the ISO names here describe the feel of the fit only. For a true H7 bore in a printed part, model the hole about 0.2 mm under size and ream it.
Worked Example
- Slip fit, clearance 0.20 mm, so the printed hole should be 10.10 mm and the pin 9.90 mm.
- STL exported at 0.01 mm chord tolerance: n ≥ π / arccos(1 − 0.01/5) = π / 0.06327 = 49.7, so 50 segments, and the hole loses 10 × (1 − cos(π/50)) = 0.020 mm.
- Typical errors: hole 0.35 × 0.45 = 0.158 mm small, pin 0.15 × 0.45 = 0.068 mm big, shrinkage 0.3%.
- Hole: (10.10 + 0.158) ÷ (0.997 × cos(π/50)) = 10.309 mm to model. Pin: (9.90 − 0.068) ÷ 0.997 = 9.862 mm.
- Modelled at plain 10.00 mm, the hole would come out about 9.79 mm and the pin 10.04 mm: a 0.25 mm interference instead of a slip fit.
- Press fit, −0.10 mm, metal pin, so the printed hole should be 5.90 mm.
- A test hole modelled at 6.00 mm measured 5.78 mm: it prints 0.22 mm small.
- Model the hole at 5.90 + 0.22 = 6.12 mm.
- Holes modelled at 3, 4, 5, 6, 8, 10 and 12 mm measured 2.71, 3.73, 4.76, 5.77, 7.79, 9.80 and 11.82 mm (the example in the tool).
- Least squares gives slope a = 1.0114 and offset b = −0.310 mm, with every point within 0.015 mm of the line. Small holes lose more: 0.29 mm at 3 mm but 0.18 mm at 12 mm.
- For a 10.10 mm printed hole, model (10.10 + 0.310) ÷ 1.0114 = 10.29 mm.
Tips for Accurate Printed Fits
- Calibrate flow first. Over-extrusion makes every hole smaller. Set the extrusion multiplier and steps per mm before you tune holes, and check shrinkage and scale for big parts.
- Measure away from the first layer. Elephant's foot squashes the first layers inwards; a hole is smallest at the bed. Chamfer the bottom edge 0.4 to 0.6 mm in CAD.
- Print holes vertical where you can. A horizontal hole is not round (the top sags), so make it a teardrop or flat-topped shape, or drill it.
- Small holes are worse. Below about 3 mm, print a pilot and drill to size. For screws and inserts, use the Heat-Set Insert & Screw Hole Size tool and the Clearance Hole Chart.
- Recalibrate per material. PETG and TPU bulge more than PLA; nylon and ABS shrink more. Keep a calibration for each filament you use often.
- Want it stronger? More walls around a hole help more than infill. See the Strength vs Infill Estimator.
Frequently Asked Questions
Clearances and print errors without a test print are typical starting values, not measurements of your printer. Always print and measure a test piece before making parts that must fit.