Last updated:
3D printing tolerances and fit: clearances for press-fit, sliding and print-in-place parts
Draw a 10 mm peg and a 10 mm hole, print both, and the peg won't go in. Printed parts always come out a little different from the model, so anything that has to fit together (a lid on a box, a pin in a hole, a hinge that turns) needs a gap designed in. This guide explains how big that gap should be for each kind of fit, how to find your own printer's number with a quick test print, when to use your slicer's hole compensation instead, and how to make tight fits that don't crack. It's based on Prusa's and Bambu Lab's documentation, OrcaSlicer's tolerance test, and design guides from Protolabs Network and AON3D.
Why printed parts don't fit as drawn
- The line of plastic bulges. The extruded bead is a little wider than its path, so walls grow slightly outward and holes shrink inward.
- The first layers spread. The first layer is squished into the plate and comes out wider than the rest (elephant's foot), which can jam a lid or fuse a print-in-place joint at the bottom.
- Plastic shrinks as it cools. Different materials shrink by different amounts, which is why a fit that works in PLA may not in PETG or ABS.
- The seam leaves a bump. Where each layer starts and ends there is a small bump that can catch inside a hole.
- Small holes are hardest. Bambu Lab's wiki notes that holes close to the nozzle size, under about 1 mm, are difficult to tune.
Prusa puts the accuracy of its own printers at about 0.2 mm, and says there is no single universal tolerance: the right gap depends on the size of the model, the orientation, the shape of the parts that fit together, calibration, slicer settings and material. That is why every source below ends with "test it".
The three kinds of fit
| Fit | What it means | Examples |
|---|---|---|
| Press / interference fit | The peg is bigger than the hole and has to be forced in. It stays put. | Bearings, magnets, pins that should never come out |
| Snug / friction fit (transition) | Almost no gap. Goes together by hand with a push and holds by friction. | Push-on caps, lids that stay on, connectors |
| Clearance fit (sliding or running) | The hole is bigger than the peg, so parts slide or turn. | Sliding lids, drawers, hinges, wheels on axles, print-in-place toys |
Total vs per side. Clearance on the diameter (total) is hole size minus peg size. Per side is half of that. A 10.0 mm peg in a 10.4 mm hole has 0.4 mm total clearance, or 0.2 mm on each side. Neither Prusa nor Protolabs Network says which one its starting value means, so always write down which you used in your own notes. In this guide, "clearance" means the total.
Starting clearances from the sources
| Source | What it says | How to use it |
|---|---|---|
| Prusa Knowledge Base | At least 0.3 mm as an initial value for parts that move, like a hinge | A sensible first test for sliding and turning parts |
| Prusa "Basics of 3D printing" | A 10 mm rod needs a tube about 0.15 mm bigger | A snug, push-together fit |
| Protolabs Network (Hubs) | 0.5 mm for FDM snap-fits and interlocking joints (0.2 to 0.3 mm for SLA and SLS) | A safe value when you don't know the printer, e.g. a model you'll share |
| AON3D engineering fits guide | 1x the extrusion width for a tighter sliding fit, 2x for a free-running fit | With a 0.4 mm nozzle and a line about 0.45 mm wide, that's roughly 0.45 mm and 0.9 mm; bigger nozzles need bigger gaps |
Those numbers cover a wide range because they're written for different printers and goals. A service like Protolabs Network has to guarantee fits on any machine, so its value is generous. A tuned Bambu Lab or Prusa printer can usually go tighter. Here's where we'd start testing for a 0.4 mm nozzle, PLA or PETG, before you have your own numbers:
| Fit you want | Total clearance to start testing |
|---|---|
| Snug fit that stays put by friction | 0.05 to 0.15 mm |
| Sliding fit (moves by hand, little wobble) | 0.2 to 0.3 mm |
| Free-running fit, hinges, print-in-place | 0.3 to 0.5 mm |
| Press fit | Don't use a round interference fit; see Step 5 |
Step 1: Calibrate before you measure fits
A tolerance test only tells you something useful if the printer is printing normally. Fix these first, or you'll be designing around a problem:
- First layer and elephant's foot. Make sure the first layer isn't over-squished and elephant foot compensation is set (see how to fix elephant's foot, which includes Bambu Lab's test-cube method).
- Dry filament. Damp filament extrudes unevenly; see how to dry filament.
- Flow. Over-extrusion makes every hole tight. Bambu Lab lists untuned flow dynamics as a cause of poor fit; see flow rate and pressure advance calibration.
Step 2: Print a tolerance test
A tolerance test is a small print with the same feature at several different gaps. Print it once and you know which gap gives which fit on your printer. Always print it with the same filament, process profile and orientation as the real part, and with X-Y hole compensation and X-Y contour compensation at 0, so you see the printer's real behavior.
- OrcaSlicer's built-in test. Right-click the plate in Prepare and choose "Add Handy Model", then "Orca Tolerance Test". It's a base with six hexagonal holes at 0.0, 0.05, 0.1, 0.2, 0.3 and 0.4 mm of tolerance, plus a printed hexagon tester. You can also test it with a 6 mm Allen key.
- Bambu Lab's screw method. The Bambu Lab Wiki's X-Y hole compensation article links a MakerWorld test model with a row of holes in steps, checked with an ordinary M3, M4, M5 or M6 screw (it recommends M6 for the most accurate result). No calipers needed.
- Make your own. In your CAD app, model the peg you actually need and a strip of holes stepping up by 0.1 mm (for example 10.0, 10.1, 10.2, 10.3, 10.4 and 10.5 mm for a 10 mm peg). Label each hole. This tests your real shape, which matters: a big lid fits differently from a small pin.
Let the test cool completely before you try it. Warm plastic is softer and gives a looser feel than you'll get later.
Step 3: Read the result and write it down
Try the tester (or key, screw or peg) in each hole, from loose to tight:
- Drops in and wobbles: free-running clearance at that gap.
- Slides in smoothly with no wobble: a sliding fit.
- Goes in with a firm push and stays: a snug or friction fit.
- Won't go in without force: too tight for anything but a press fit.
Write down the gap for each fit you care about, next to the printer, filament and profile name. Bambu Lab and OrcaSlicer both say tolerance is specific to each filament (and can differ between printers), so a new material means a new test.
Step 4: Put the gap in the model, or use hole compensation
Option A: draw the gap into your CAD model. Make the hole bigger (or the peg smaller) by your tested clearance. This works in every slicer and only affects the holes you choose. If you design in Tinkercad, Fusion or Onshape, our design your first part guide covers the basics.
Option B: X-Y hole compensation in the slicer. Useful for downloaded models you can't edit.
- Bambu Studio: Process > Quality > Precision > X-Y hole compensation. The hole diameter grows by twice the value you enter. In Bambu Lab's own example, an M6 screw fit snugly in the "+0.15" hole of its test, so 0.15 mm went into this box. Save the process profile under a clear name (for example "PLA precision fit") so you can reuse it.
- OrcaSlicer: the same X-Y hole compensation and X-Y contour compensation settings, under Quality > Precision. Positive values make holes (or outside contours) bigger, negative values smaller.
- X-Y contour compensation does the opposite job: it changes the outer size and leaves holes alone. Bambu Lab calibrates it with a test part that should fit snugly in the center of an original Bambu Lab reusable spool (55 mm).
One practical tip a week
Join The First Layer, our free beginner email: one lesson, one honest pick and one fun thing to print. New subscribers get the free First Print Checklist.
No spam, unsubscribe any time. See our privacy policy.
Step 5: Tight fits without cracking
AON3D, which builds industrial printers, says a reliable transition fit is about the tightest an FDM printer can hold, and even that takes careful tuning. Forcing a round peg into a smaller round hole is risky: a round hole can only open up by stretching all the way around, which often cracks the part or splits the layers. Its alternatives:
- Use a hexagon or square. Flat-sided shapes need much less stretching to grip, and the seam can hide in a corner.
- Crush ribs. Design a clearance fit, then add a few small vertical ribs about 0.2 mm tall inside the hole (or on the peg). The ribs squash as the parts go together. Ribs along the full length give a true press fit for one-time assembly; taper the hole by about 2° with ribs for a gentler transition fit.
- Relief slots. Model the hole at the true peg size and add thin cuts so the wall can flex. It holds firmly but can come apart again.
- Grip fins. Flexible fins inside the hole keep gripping over many assemblies, where crush ribs wear out after one.
- Split clamp with a screw. For the strongest grip you can still undo: slot the part and pull it tight with a screw and nut, or a heat-set insert.
Mind the layer direction: a press fit pushes outward, and parts are weakest between layers (see make 3D prints stronger). For bearings and magnets, a short test piece in the real material is worth the 10 minutes.
Step 6: Print-in-place parts and hinges
Print-in-place models (hinged boxes, chain links, articulated toys) print with their moving parts already assembled, so the gap has to survive printing without fusing.
- Side-to-side gaps (between walls in the same layer) follow your tested clearance. Many designs start around 0.3 mm; if a joint fuses, try the next size up.
- Gaps between stacked surfaces (one surface printed above another) work in whole layers, because the slicer cuts the model into layers. A 0.1 mm vertical gap at 0.2 mm layer height can simply disappear. Use at least one full layer, and the surface above the gap prints over air, so it sags a little: more layers are safer.
- Keep gaps off the first layer. Elephant's foot can weld parts together at the bottom. Raise the joint a layer or more, or chamfer the bottom edges.
- No supports inside the joint. Support printed into a gap is almost impossible to remove. Design the inside surfaces at about 45 degrees or steeper, or reorient the model, rather than accepting supports there.
- Downloaded a print-in-place model? Read the description: designers often say which clearance and layer height they used. Print it at that layer height.
When it comes off the plate, work the joint gently back and forth before forcing it. A little stiffness at first is normal; a joint that won't move at all is fused, and needs a bigger gap.
Snap-fits in brief
Protolabs Network's snap-fit guide recommends 0.5 mm clearance for FDM and these rules: taper the clip so it gets thinner toward the tip, add a fillet at the base at least half the clip's thickness, make it at least 5 mm wide, avoid printing the clip standing up in Z (it can snap along a layer line), and design it to bend only while it snaps in, not while it's closed. It suggests strain-resistant materials like ABS, nylon and TPU. PLA is the stiffest and most brittle of the common beginner filaments, so for clips that flex often, PETG is a sensible step up (see PLA vs PETG).
Troubleshooting
| Problem | Likely cause | Fix |
|---|---|---|
| Every hole is too tight, even with a gap | Over-extrusion or holes printing small | Check flow; run a tolerance test and add the difference (model or X-Y hole compensation) |
| Only the bottom is tight | Elephant's foot | Elephant foot compensation, or a small chamfer on bottom edges |
| Fit catches at one spot as it turns | Seam bump | Paint or align the seam away from the fit surface, or hide it in a corner of a hex |
| Side hole fits up and down but is tight at the top | Top of a horizontal hole sags | Point the hole straight up if you can, or give it a little extra size and test |
| Fit worked in PLA but not in PETG or ABS | Different shrinkage and line width | Re-run the tolerance test for each material and save a profile for each |
| Press-fit part cracked along a layer | Round interference fit, layers in the wrong direction | Use a hex or crush ribs; rotate the part so the force isn't pulling layers apart |
| Print-in-place joint fused | Gap too small, gap on the first layer, or support in the joint | Bigger gap, raise the joint above the first layer, no supports in the gap |
| Lid wobbles or falls off | Too much clearance | Use the next smaller gap from your test, or add a small bump or rib for friction |
Resin prints
Resin printers are more precise, and Protolabs Network's guides use smaller clearances for SLA (0.2 to 0.3 mm). The same rules apply, though: print a test, and check the fit only after the parts are fully washed and cured, since that is how you will use them. See our resin printing for beginners guide.
Sources
Checked November 22, 2026: Prusa Knowledge Base, Modeling with 3D printing in mind (tolerances) and Prusa Research, Basics of 3D printing (PDF); Bambu Lab Wiki, XY Hole / Contour compensation; OrcaSlicer Wiki, Filament Tolerance Calibration and Precision settings; Protolabs Network, How do you design snap-fit joints for 3D printing? and How to design interlocking joints; AON3D, Engineering Fits: How to Design for 3D Printed Assemblies.
Your next step
Print OrcaSlicer's tolerance test, or a simple strip of holes in 0.1 mm steps around a peg you need, in the filament you use most. New to calipers? Our digital calipers guide covers measuring holes and pegs correctly. Note which gap gives a snug fit and which gives a sliding fit, and stick the numbers on a label next to your printer. Then design your next box lid or bracket with those gaps built in. Planning to screw parts together? Our heat-set inserts guide has the hole sizes for brass threads.
Frequently asked questions
What tolerance should I use for 3D printed parts that fit together?
There is no single number. Prusa says an initial good measurement for parts that move, like a hinge, is at least 0.3 mm, and its basics guide gives the example of a 10 mm rod needing a tube about 0.15 mm wider for a snug fit. Protolabs Network recommends 0.5 mm for FDM snap-fits and interlocking parts, a safe figure for any printer. A good plan is to start with 0.2 to 0.3 mm for a sliding fit on a tuned printer, then print a tolerance test and use your own result.
Is the clearance per side or on the diameter?
Say which one you mean, because it doubles the number. Clearance on the diameter (total) is hole size minus peg size. Per side is half of that: a 10.0 mm peg in a 10.4 mm hole has 0.4 mm total clearance and 0.2 mm per side. Prusa and Protolabs Network do not say which they mean in their starting values, so treat them as a starting point to test, not an exact rule.
How do I make a press fit with a 3D printer?
Avoid relying on a round peg that is simply bigger than a round hole. AON3D, a printer maker, explains that a round hole can only open up by stretching around its circumference, which often cracks or splits the layers. Instead use a hexagon or square shape, design a clearance fit and add small 0.2 mm crush ribs that squash on assembly (for one-time assembly), or add relief slots so the wall can flex.
Why are my printed holes smaller than I designed?
The extruded line bulges a little past its path, the first layers spread (elephant's foot), plastic shrinks as it cools, and the seam adds a bump. Bambu Lab's wiki lists these, plus damp filament and untuned flow, as things to fix before you add hole compensation. Holes under about 1 mm are hard to get right at all.
Should I change the model or use X-Y hole compensation?
Both work. Drawing the gap into the model works in any slicer and only affects the holes you choose. X-Y hole compensation in Bambu Studio or OrcaSlicer enlarges every closed hole in the part (in Bambu Studio the hole grows by twice the value) and is calibrated per filament. It is handy for downloaded models you can't edit, but Bambu Lab notes it can't be used on layers where the hole is open to the side.
What clearance do print-in-place hinges need?
Start from your tested sliding or free-running gap for the side gaps (many designers begin around 0.3 mm and test 0.2 to 0.5 mm). Gaps between surfaces stacked on top of each other should be at least one full layer, because the slicer works in whole layers. Keep the gap off the first layer so elephant's foot can't fuse it, and make sure no supports print inside the joint.
Get The First Layer, free every week
One short, friendly email a week: one fix or lesson, one honest pick, and one fun thing to print. New subscribers get the free First Print Checklist.
No spam, unsubscribe any time. See our privacy policy.