Design & Tolerances

Designing 3D-Printed Parts That Fit: Clearances and Tolerances

Start here — no formulas needed

  • Decide what the parts should do: press together, slide or spin. Each needs a different amount of room.
  • A 10.00 mm pin in a 10.30 mm hole has a 0.30 mm total gap: 0.15 mm on each side when centered.
  • Print the small ring-and-pin gauge first. Choose the fit that works, then use it in your full-size part.

Watch it, then try it

Pick a video below. These English-language demonstrations are by independent creators; use your own test print to choose settings.

YouTube loads only when you choose “Watch here.” Video privacy. If playback is unavailable, use the original YouTube link.

Choose the function first: should the parts stay pressed together, slide, or rotate? Clearance is the gap between the mating sizes. Tolerance is the allowed variation in a size. They describe different things.

Read the gap in one minute

For a centered 10.00 mm pin inside a 10.30 mm hole, the diameter difference is 0.30 mm. The gap on each side is half of that: 0.15 mm. This geometry example is calculated, not a measured fit recommendation.

Schematic cross-section: a 10.00 mm pin centered inside a 10.30 mm hole leaves 0.15 mm on each side, or 0.30 mm total diametral clearance.
Illustration, not a measured sample. The gap is exaggerated for readability.
Number Meaning Common mistake
0.30 mm total clearance Hole diameter minus pin diameter Adding 0.30 mm to each side doubles the intended gap
0.15 mm per side Half the total difference when centered Treating a slicer’s radial offset as a diameter change
Compensated CAD dimensions Geometry after the selected correction model Applying the same shrinkage correction again in the slicer

Use the fit calculator to estimate geometry, then print and measure a small gauge. Its presets are starting assumptions, not guaranteed fits. For a metal pin, use its measured diameter and do not treat it as a shrinking printed part.

If the fit is tight only at the bottom, check the first layer. If the whole bore is undersized, follow the hole troubleshooting sequence.

Manufacturer Design Guidance

These are manufacturer design recommendations, not a common test dataset or PrintMathLab measurements. The two brands discuss different contexts, so their numbers cannot rank printer accuracy.

Manufacturer Published guidance How to use it
Prusa Start with at least 0.3 mm tolerance for movable parts; no single value works for every design. The article does not define this as a cylindrical radial or diametral allowance. Do not enter 0.3 mm as “per side” without defining your geometry.
UltiMaker Use a 0.6 mm gap between components printed together when they must move. A 45° bottom chamfer can reduce elephant’s-foot interference. This is print-in-place design advice, not a universal clearance for separately printed pins and holes.

The following is PrintMathLab’s proposed comparison protocol; it is not a test procedure certified by either manufacturer.

Official Prusa photograph of the Original Prusa MK4 kit with its frame, printed parts and hardware laid out
Manufacturer image: Original Prusa MK4 kit. An illustration of printer components, not a measured fit sample or a PrintMathLab test photograph. (c) Prusa Polymers - prusa3d.com. Official media source.
  1. Define the mating parts and the desired action: press assembly, removable snug fit, sliding or free rotation. Write down whether your allowance is per side or across the diameter.
  2. Open the tolerance calculator, set the nominal size and intended allowances, then choose Download printable STL test gauge. It generates three rings and a separate pin. The ring radii differ from the calculated target by −0.05, 0 and +0.05 mm; their diameters therefore differ by −0.10, 0 and +0.10 mm. These are CAD offsets, not measured gaps.
  3. Assign sample IDs to the three rings before rearranging them in the slicer; the STL has no embossed labels. Keep material, orientation, seam, temperature, layer height, wall count and compensation settings fixed. Save the slicer project and photograph the layout.
  4. Let the parts cool. Record the instrument and its resolution. Measure each hole and pin in two perpendicular directions at comparable heights away from the bottom flare; keep individual readings. Small internal bores can be difficult to measure with calipers, so record a pin-gauge check when available. For a metal mating pin, measure and test that actual pin.
  5. Calculate measured diametral clearance as hole diameter minus pin diameter, with radial clearance equal to half that value. Record fit feel separately: binds, snug, slides or loose. Repeat the selected geometry on a separate print and test the intended full-size part before committing to production.

Download the blank fit-test record (CSV). Use one row per ring and repeat, with matching photo IDs. This ring-and-pin gauge tests separately printed parts; a captive hinge or gear needs its own print-in-place coupon in the intended orientation.

Radial vs. Diametral Clearance Mathematics

Try the numbers: use the 3D print tolerance calculator to choose a fit and calculate hole and pin dimensions. The 10 mm PLA sliding-fit example explains how a 0.15 mm per-side gap becomes 0.30 mm total clearance, and how to check it with the downloadable STL gauge.

Clearance specifications in mechanical design fail most often due to ambiguity between radial (per-side) and diametral (total) gap definitions. When a cylindrical shaft of nominal diameter d_shaft mates inside a cylindrical bore of diameter D_hole, the two values are related by a factor of two:

Diametral clearance:  c_d = D_hole - d_shaft
Radial clearance:     c_r = (D_hole - d_shaft) / 2 = c_d / 2

In parametric CAD tools, the Offset Face or sketch offset command moves a cylindrical wall radially by c_r. Offsetting a 10.00 mm (0.3937 in) bore face outward by 0.15 mm (0.0059 in) increases the radius from 5.00 mm to 5.15 mm, yielding a final bore diameter of 10.00 + 2 * 0.15 = 10.30 mm (0.4055 in). Conversely, adding 0.15 mm directly to a diameter dimension produces D_hole = 10.15 mm, leaving only c_r = 0.075 mm (0.0030 in) of radial gap per side. The physical fit then depends on the printed dimensions.

For prismatic rectangular slots and tabs of width W_slot and w_tab, the same relationship applies along each mating axis:

Total width clearance:  c_total = W_slot - w_tab = 2 * c_per_side

Worked Example: Dowel Pin and Housing Bore

Suppose a steel dowel pin measures d_shaft = 6.00 mm (0.2362 in) and requires a close sliding fit with a target radial clearance of c_r = 0.12 mm (0.0047 in) per side, plus an allowance for uncorrected bore shrinkage of e_hole = 0.10 mm (0.0039 in) on the diameter:

  1. Convert radial clearance to diametral clearance: c_d = 2 * 0.12 mm = 0.24 mm.
  2. Add the diametral clearance and bore shrinkage allowance to the shaft diameter: D_CAD = 6.00 + 0.24 + 0.10 = 6.34 mm (0.2496 in).
  3. If applying a radial face offset in CAD instead of editing the sketch diameter, offset the 6.00 mm cylindrical face outward by 6.34 / 2 - 3.00 = 0.17 mm (0.0067 in).

Functional Fit Classes for Desktop FDM

Unlike machined metal fits governed by ISO 286—where tolerances are measured in micrometers across ground surfaces—FDM parts contact along the crests of stacked polymer beads. Initial interference occurs at the peaks of the layer lines before the bulk wall experiences elastic compression.

The ranges below are unvalidated CAD starting allowances, not manufacturer specifications or guaranteed physical fits. Actual interference means negative measured clearance; a small positive CAD gap may print as interference, but need not do so.

Fit Class Starting Radial Allowance (c_r) Starting Diametral Allowance (c_d) Typical Mechanical Application
Interference / Press Fit 0.00 to 0.05 mm (0.000 to 0.002 in) 0.00 to 0.10 mm (0.000 to 0.004 in) Dowel pins, permanent housings, press-fit bearings
Close Location / Snug Fit 0.06 to 0.10 mm (0.0024 to 0.0039 in) 0.12 to 0.20 mm (0.0047 to 0.0079 in) Removable lids, friction tool holders, alignment tenons
Close Sliding Fit 0.10 to 0.15 mm (0.0039 to 0.0059 in) 0.20 to 0.30 mm (0.0079 to 0.0118 in) Linear drawers, telescoping tubes, pistons, linkages
Loose Running Fit 0.20 to 0.25 mm (0.0079 to 0.0098 in) 0.40 to 0.50 mm (0.0157 to 0.0197 in) Free-spinning spools, coarse latches, pivot pins
Print-in-Place (Vertical) 0.25 to 0.35 mm (0.0098 to 0.0138 in) 0.50 to 0.70 mm (0.0197 to 0.0276 in) Captive barrel hinges, articulated links printed upright
Print-in-Place (Overhang) 0.35 to 0.45 mm (0.0138 to 0.0177 in) 0.70 to 0.90 mm (0.0276 to 0.0354 in) Captive ball joints, planetary gears, conical pins

Interference, Sliding, and Print-in-Place Joints

Printed bores can come out undersized (see Why 3D-Printed Holes Print Undersized), so a small positive CAD allowance can still bind. Its resulting interference must be measured. A chamfer can ease entry, but wall strength and insertion force need checking on the actual assembly.

A sliding fit should move by hand with acceptable play for the application. Layer ridges and seams can interfere even when average dimensions appear sufficient; compare orientation and clearance with test prints rather than assuming a particular gap eliminates binding.

Print-in-place mechanisms also need room to avoid fusing during the build. Overhangs, bridges and the direction of the gap affect release, so a successful vertical ring test cannot establish a reliable gap for a captive ball joint.

Correction — November 10, 2026: Reclassified the fit table as starting allowances and removed claims that specific CAD gaps guarantee measured interference or reliable movement. Added manufacturer guidance with its context and a repeatable measurement protocol.

Hole-Basis vs. Shaft-Basis Design Systems

Standard engineering practice (ISO 286) defines two reference systems for assigning tolerances:

The outside jaws span a metal shaft; the author labels this orientation 9.1 mm.
  • Shaft-basis system (for commercial hardware): Off-the-shelf M3 bolts, 608 bearings (22.00 mm OD, 8.00 mm ID), and steel dowel pins have fixed dimensions. Apply all clearance adjustments to the printed bore or boss.
  • Hole-basis system (for printed-to-printed assemblies): Keep the female printed socket at its nominal dimension (or calibrated with slicer XY hole compensation) and apply the clearance offset (-c_r per side) to the male printed plug. Keeping sockets at nominal dimensions simplifies assemblies where multiple plugs or test gauges mate with a shared housing.

How Slicer and Hardware Parameters Shift Clearances

Layer Height and Extruded Track Rounding

As documented in the Slic3r Flow Math manual, slicers model a perimeter track of width w and layer height h as a rectangle capped by two semicircular ends of radius h / 2. Increasing layer height from h = 0.12 mm to h = 0.28 mm on a 0.4 mm nozzle (see Nozzle Diameter vs. Layer Height, Line Width, and Overhangs) more than doubles the edge radius from 0.06 mm to 0.14 mm. Thicker layers also bulge outward more during corner decelerations, reducing effective mating clearance by 0.03 to 0.06 mm per side unless flow and pressure advance are tuned (see Flow Rate and Extrusion Multiplier Calibration).

Nozzle Diameter and Internal Corner Radii

A nozzle of orifice diameter d_n cannot deposit an internal or external corner sharper than half its extrusion width (w / 2). Switching from a 0.4 mm nozzle (w = 0.45 mm, minimum corner radius 0.225 mm) to a 0.6 mm nozzle (w = 0.65 mm, minimum corner radius 0.325 mm) rounds off the corners of square slots. Always chamfer male tenon corners by at least 0.75 * w or add dog-bone relief fillets in CAD so square tabs do not bind on rounded corner beads.

Z-Seam Bulge and First-Layer Elephant’s Foot

Every closed perimeter loop starts and stops at a Z-seam, documented in the Prusa Knowledge Base on Seam Position, creating a localized radial bump of 0.05 to 0.15 mm. When both a printed bore and a printed shaft use an aligned seam, colliding seams consume up to 0.30 mm of clearance. Hide the seam on a non-mating exterior corner, model a 0.3 mm deep vertical seam relief groove inside the bore, or enable Scarf Joint Seam in the slicer.

Similarly, excessive first-layer squish (see First-Layer Squish and Z-Offset Math) flares the bottom 1 to 3 layers outward by 0.10 to 0.25 mm per side. Always model a 0.4 to 0.8 mm x 45° bottom chamfer on build-plate edges and enable slicer Elephant Foot Compensation (0.15 to 0.20 mm).

Material Shrinkage (PLA vs. PETG vs. ASA/ABS)

As explained in the Slic3r Dimension Errors manual, thermoplastics contract when cooling from extrusion temperatures to 20 °C room temperature (see PLA vs. PETG vs. ASA Mechanical and Thermal Properties):

  • PLA: ~0.2% to 0.3% (0.02 to 0.03 mm per 10 mm)
  • PETG: ~0.3% to 0.5% (0.03 to 0.05 mm per 10 mm)
  • ABS / ASA: ~0.6% to 0.9% (0.06 to 0.09 mm per 10 mm)

On a 120.00 mm (4.724 in) ASA enclosure lid, 0.7% linear shrinkage contracts the span by 120.00 * 0.007 = 0.84 mm (0.0331 in), completely consuming a 0.20 mm per-side sliding clearance. Separate scale-dependent thermal shrinkage (corrected via percentage Shrinkage Compensation in the filament profile) from scale-independent surface clearance (applied in CAD as a fixed millimeter offset), and verify Extrusion Multiplier Calibration and HydraRaptor Polyholes before altering CAD tolerances.

Run the numbers

3D Print Tolerance & Clearance Calculator

Estimate hole and pin sizes, compare fit clearances, and download a free STL gauge to test your printed parts.

Sources and further reading

  1. Prusa: Modeling with 3D Printing in Mind
  2. UltiMaker: Design for FFF 3D Printing — Maximize Your Success
  3. Slic3r Manual – Dimension Errors
  4. Slic3r Manual – Flow Math
  5. Prusa Knowledge Base – Seam position
  6. Prusa Knowledge Base – Extrusion multiplier calibration
  7. HydraRaptor – Polyholes

3D printing guidance on this page is general. Printers, hotends, slicers and filament batches vary, so verify dimensions and settings with test prints and calipers. Always observe thermal, electrical and ventilation safety around heated components and melted polymers. Spotted an error? Tell us and we will review it under our corrections policy.