Skip to content
ModelModel Tools Verified 2026-11-13

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.

Hole Tolerance Calculator
Instant Browser Calculator
No sign-up · 100% client-side
|

Calculator Inputs & Units

Adjust any parameter below or load the benchmark example to calculate instantly.

mm

Measured diameter of the pin, shaft, bearing, or bolt in mm.

mm

Total diametral clearance offset for 0.4 mm FDM nozzles.

%

Polymer shrinkage rate (PLA ~0.3%, PETG ~0.4%, ABS ~0.8%).

Instant Calculation Result (+0.22 mm total)
Recommended CAD Hole Diameter
5.22 mm

Radial Per-Side Clearance: +0.11 mm | Nominal Shaft: 5.00 mm

Recommended CAD Hole Diameter5.22 mm
Total Diametral Offset+0.22 mm
Radial Clearance (Per Side)+0.11 mm
Slicer X-Y Hole Compensation Alternative+0.11 mm
Step-by-Step Live Breakdown
  • 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)
Step-by-Step Instructions

How to Use the Hole Tolerance Calculator

  1. 1

    Measure your metal shaft, dowel pin, or screw diameter with digital calipers and enter it as the Nominal Diameter (mm).

  2. 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. 3

    Enter your filament shrinkage rate and use the Recommended CAD Hole Diameter in Fusion 360, SolidWorks, or Onshape.

Transparent Engineering Math

Formula Explained — CAD Hole Clearance & Shrinkage Compensation Formula

D_hole = (D_shaft + Clearance_Offset) ÷ (1 - Shrinkage_Rate)

Vertical FDM holes print smaller than nominal CAD diameter due to STL polygon chord approximation and inward nozzle tension around tight radii.

Variable Definitions:
  • 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.
Worked Benchmark

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).

Inputs: Nominal Shaft/Pin Diameter = 5.00 mm, Fit Type = Clearance (+0.20 mm), Material Shrinkage = 0.3%
Calculation Walkthrough

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.

Scope & Precision

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.

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).

Content Provenance: Reviewed by 3DPrint.Tools Engineering Team · Source Basis: Nophead Polyhole Geometry & ISO Clearance Offset Model · Verified clearance offsets and shrinkage compensation.
Last verified: 2026-11-13