
A 10 mm pin drawn in CAD won't go into a 10 mm hole printed on an FDM printer. The hole comes out slightly smaller, the pin slightly larger, and instead of assembling you start sanding. That's why in 3D printing the clearance has to be designed into the model or compensated in the slicer.
Below we've collected typical clearances for different fits, the reasons parts come out off-size and a quick way to run a tolerance test. The values assume a 0.4 mm nozzle, a calibrated printer and PLA or PETG. They are a starting point: what fits on your printer is always decided by a test print.
The fits and tolerances calculator works out the CAD size of a hole or a shaft, corrected for your printer.
Free toolBoxes with lidsMade to measure, with compartments and a press-fit lidOpen the toolWhy holes come out smaller and pins larger
The track from the nozzle is a flattened strip of plastic that bulges slightly past the line in the model at its edges. On an outer wall that gives a slightly larger dimension, in a hole a slightly smaller one. On top of that, a circle in an STL file is a polygon: with a coarse export the flat facets sit inside the circle and the hole gets even tighter.
Material shrinkage matters less for small holes than people think. PLA typically shrinks by about 0.3%, which on a 10 mm hole is about 0.03 mm. We cover this in the article on filament shrinkage in 3D printing.
An important convention: clearance is usually given per side. A clearance of 0.2 mm per side means a hole 0.4 mm larger in diameter. Our generators count it the same way.
Typical clearances for different fits
Values per side, for vertical walls (in the XY plane). Treat them as starting ranges to check with a test print:
- press fit between two printed parts: 0-0.1 mm - with zero clearance in the model the hole usually still comes out a little small, so the parts go together with force
- snug fit, a light press (a lid that doesn't fall off by itself): 0.15-0.2 mm
- sliding and rotating fit (a shaft that should turn, a drill guide): 0.2-0.3 mm
- loose fit (a lid that lifts off without resistance, assembly without tools): 0.3-0.4 mm
- parts printed fully assembled (print-in-place, e.g. a bearing): 0.3-0.4 mm
- printed threads: 0.15-0.25 mm on a well-calibrated printer, rather 0.3-0.4 mm for the large threads of containers
Horizontal and vertical holes
A vertical hole, with its axis perpendicular to the bed, is printed layer by layer as a circle. It is round, just a little undersized, so the clearance from the list above is enough.
A horizontal hole, with its axis parallel to the bed, has an overhang at the top: the upper part of the arch is printed in mid-air and sags slightly. Such a hole comes out flattened and smaller vertically than horizontally. A teardrop or diamond shape at the top of the hole helps (then there is no overhang), as does more clearance or drilling the hole out after printing.
The smallest holes, a few millimetres in diameter, come out inaccurate in both orientations. If they have to be precise, design them slightly smaller and drill them out to size.
Threads, snap-fits and moving parts
A printed thread needs clearance on both sides of the flank. In the screw and nut generator the recommended range is 0.15-0.25 mm per side: if the nut turns hard, increase the clearance by 0.05 mm. Jar and container threads are larger and less demanding, so it's better to start at 0.4 mm there.
A snap-fit works differently from a pin in a hole: the arm with the hook has to bend and spring back. Print it so the layers run along the arm, not across it, because across the layers the arm breaks at a layer line. PETG and nylon handle bending better than PLA, which is stiffer and more brittle.
Moving parts printed in one piece also need clearance between layers. In the bearing generator the default ball clearance is 0.35 mm: if the balls fuse to the race, increase it to 0.4-0.45 mm, and if the bearing has a lot of radial play, reduce it to 0.3 mm.
Need a print like this?
Send a model or describe the part - you'll usually get a free quote within 24 hours.
Request a quoteElephant's foot and XY compensation in the slicer
The first layer is pressed onto the bed so it sticks, which makes it wider. This effect, called elephant's foot, widens the bottom of the part over one or two layers. A lid then won't slide over the bottom of a box, and a hole near the bed is tighter than higher up. A small chamfer on the bottom edges of the model helps, or the Elephant foot compensation setting in Bambu Studio, OrcaSlicer and PrusaSlicer.
Slicers also offer horizontal size compensation. In Bambu Studio and OrcaSlicer there are separate settings for holes (X-Y hole compensation) and outlines (X-Y contour compensation), in PrusaSlicer XY Size Compensation, and in Cura Horizontal Expansion. They apply to the whole model, so they are good for correcting someone else's STL file. When you design the part yourself, it's better to put the clearance into the model, because then every fit can have its own.
If all outer dimensions are too large and all holes too small, also check your extruder calibration, because excess material thickens every wall. We explain this in the article on extruder E-steps calibration.
How to print a tolerance test
- Print the sample with the same filament, nozzle and profile you'll use for the final part, and in the same orientation.
- The simplest version: a plate with a few pins and holes whose clearance changes in 0.05 mm steps, for example from 0.1 to 0.4 mm per side.
- Instead of a plate you can print a small version of the final part: a small box from the box with lid generator, a small bearing or a short bolt with a nut.
- Only check the fit once the parts have cooled completely, and note which clearance gives a press fit, which free movement and which a loose fit.
- Record the results separately for each filament and printer. After changing the nozzle, the filament brand or the profile, repeat the test.
When the fit has to be right
If a part has to fit a metal shaft, a bearing or an existing housing, tell us in your order which dimensions are critical and what the part mates with. We'll take that into account when setting up the model, the material and the clearances. Upload a finished file to the quote calculator and you'll see an estimated price straight away.
Frequently asked questions
How much clearance should I leave for 3D printing?+
As a start, 0.2 mm per side for parts that should assemble freely, 0-0.1 mm for a press fit and 0.3-0.4 mm for a loose fit and print-in-place parts. These are typical values for a 0.4 mm nozzle - confirm them with a test print.
Is clearance given per side or on the diameter?+
Usually per side. An 8 mm pin with 0.2 mm clearance per side needs an 8.4 mm hole. Our generators also give clearance per side.
Why are holes in 3D prints too small?+
Because the track from the nozzle extends slightly past the line in the model, a circle in an STL file is a polygon, and horizontal holes also sag at the top. Clearance in the model, hole compensation in the slicer or drilling after printing all help.
Can XY compensation in the slicer replace clearance in the model?+
Not entirely. Compensation changes all holes or all outlines by the same amount, while different fits need different clearances. It works well for someone else's STL file, but in your own design it's better to put the clearance into the model.
How do I press a metal bearing into a print?+
Design the seat at the bearing's outer diameter with a clearance of typically 0-0.1 mm per side and print a test ring on its own first. Print the seat with its axis vertical so it comes out round, and add a chamfer at the entry.
Recommended gear for this topic
- Digital caliperSee on Amazon
- PLA filament 1.75 mm, 1 kgSee on Amazon
- PETG filament 1.75 mm, 1 kgSee on Amazon
Affiliate links: if you buy something I get a small commission, and you pay the same. As an Amazon Associate I earn from qualifying purchases.
Author
Bartosz Budny, founder of BnB3D
He has worked in 3D printing for more than 10 years: servicing, building and running printers, and has designed in Fusion 360 for more than 5 years. He writes about what he prints and tests on his own printers in Myszków, Poland (over 4,000 print hours on his MakerWorld models alone).
See 3D printing in action
On our BnB3D channel we show 3D printing behind the scenes - Bambu Lab printer tests, materials and real jobs.
Got a project to print?
Send a model or a description - you'll usually get a free quote within 24 hours.
Request a quote


