3D Printing Hole Tolerance & Clearance Calculator
Calculate the exact hole diameter to model in CAD so that dowel pins, bearings, heat-set inserts, or M3/M4/M5 machine screws fit accurately without drilling.

Calculator Inputs & Units
Adjust any parameter below or load the benchmark example to calculate instantly.
Measured diameter of the pin, shaft, bearing, or bolt in mm.
Total diametral clearance offset for 0.4 mm FDM nozzles.
Polymer shrinkage rate (PLA ~0.3%, PETG ~0.4%, ABS ~0.8%).
Radial Per-Side Clearance: +0.11 mm | Nominal Shaft: 5.00 mm
- 1. Base Clearance Diameter = 5.00 mm (Shaft) + 0.20 mm (Fit Offset) = 5.20 mm
- 2. Shrinkage-Compensated Hole = 5.20 mm ÷ (1 - 0.0030) = 5.22 mm
- 3. Model the hole at 5.22 mm in CAD (or add +0.11 mm per side)
How to Use the Hole Tolerance Calculator
- 1
Measure your metal shaft, dowel pin, or screw diameter with digital calipers and enter it as the Nominal Diameter (mm).
- 2
Select your desired Fit Type: Press Fit (+0.05 mm), Snug Transition (+0.12 mm), Standard Clearance (+0.20 mm), or Loose Hinge (+0.35 mm).
- 3
Enter your filament shrinkage rate and use the Recommended CAD Hole Diameter in Fusion 360, SolidWorks, or Onshape.
Formula Explained — CAD Hole Clearance & Shrinkage Compensation Formula
Vertical FDM holes print smaller than nominal CAD diameter due to STL polygon chord approximation and inward nozzle tension around tight radii.
- D_shaft:Nominal outer diameter of the mating pin or bolt in mm.
- Clearance_Offset:Diametral allowance for FDM seam, polygon chord error, and fit class.
- Shrinkage_Rate:Material thermal contraction fraction.
Example Calculation
Designing a through-hole for a 5.00 mm steel dowel pin with a Standard Clearance fit (+0.20 mm) in PLA (0.3% shrinkage).
Base Diameter = 5.00 + 0.20 = 5.20 mm. Compensated for 0.3% shrinkage: 5.20 / 0.997 = 5.2156 mm → 5.22 mm.
Model the hole at 5.22 mm in CAD for a smooth 5.00 mm pin clearance fit.
Accuracy and Limitations
- •Horizontal holes (printed parallel to the bed) sag slightly at the top arch ("teardrop effect"); add a 45° chamfer roof inside horizontal holes to avoid supports.
Related Tools
Related Guides & Reference
Frequently Asked Questions (FAQ) — Hole Tolerance Calculator
What hole size should I use for an M3 screw?
For an M3 clearance through-hole, model 3.20–3.30 mm. For self-tapping M3 threads directly into plastic, model 2.75–2.80 mm. For M3 brass heat-set inserts, follow the insert manufacturer spec (typically 4.0–4.3 mm).
Can I fix small holes in the slicer without editing the CAD file?
Yes! Use the X-Y Hole Compensation setting in OrcaSlicer, Bambu Studio, or PrusaSlicer and enter the Radial Clearance value (+0.10 to +0.15 mm).