Hole Tolerance Calculator (Hole Compensation)

Quick answer: Print a test hole, measure it with calipers, and halve the error: compensation offset = (target diameter − measured diameter) ÷ 2. An 8 mm hole that prints at 7.6 mm needs a +0.20 mm offset — entered as X-Y hole compensation in OrcaSlicer, Hole Horizontal Expansion in Cura, or XY size compensation in PrusaSlicer.
…

Runs entirely in your browser — your numbers never leave your device.

Worked example

A bearing seat designed at 8.00 mm measures 7.60 mm: error = 8.00 − 7.60 = 0.40 mm on the diameter, so the offset is 0.40 ÷ 2 = +0.20 mm per side. Enter 0.20 in your slicer's hole field, reprint the same test piece, and the hole should land on 8.00 mm — always verify, because the offset that fixes an 8 mm hole can slightly over-correct a 3 mm one.

How it works

Holes print small for physical reasons, not slicer malice: the molten line is dragged slightly inward on curves, the plastic shrinks as it cools, and any over-extrusion swells the wall into the opening. The fix is a radial offset — half the diameter error — because the compensation grows the hole from every side at once. Measure the printed hole in two directions and average: a hole that is oval, not just small, is a motion problem (belt tension, or skew — see the skew correction calculator), and no offset will fix ovality.

The slicer fields differ, and one warning matters. OrcaSlicer and Bambu Studio's X-Y hole compensation and Cura's Hole Horizontal Expansion touch holes only — exactly what you want. PrusaSlicer has no hole-only field; its XY size compensation (Print Settings → Advanced) moves every contour, so holes grow while outer dimensions shrink by the same offset — fine for a standalone bracket, wrong for a part whose outside must also fit something. Calibrate e-steps and flow before compensating: an offset tuned around over-extrusion becomes wrong the day you fix the flow.

The formula: Compensation offset (per side) = (target diameter − measured diameter) ÷ 2. Positive offset enlarges the hole; negative shrinks it. Fields: OrcaSlicer/Bambu Studio 'X-Y hole compensation', Cura 'Hole Horizontal Expansion', PrusaSlicer 'XY size compensation' (all contours — no hole-only field exists there).

Questions people ask

Why do I divide the error by 2?

The slicer fields are radial offsets — they move the hole wall outward on every side. A 0.40 mm diameter error therefore needs 0.20 mm per side; entering the full 0.40 would overshoot by double.

One offset for all hole sizes?

As a starting point, yes — test with the hole size you actually care about (a bearing seat, a screw clearance) and verify that size. Very small holes (under 3 mm) often need slightly more because the inward drag is a bigger share of their diameter.

Should holes just be designed bigger instead?

For your own designs, yes — designing in the clearance is cleaner than compensating. Compensation earns its keep on downloaded models you cannot edit, and as one per-material profile you set once.

Sources

Diagram of the hole tolerance worked example: a designed 8 mm hole printing at 7.6 mm needing plus 0.20 mm per side
Diagram: the worked example on this page, drawn out.

A fully worked example, step by step

Take the pre-filled test piece above: a hole designed at 8 mm — a bearing seat, say — that you printed and measured with calipers at 7.6 mm. It is too tight, and this works out exactly how much compensation will open it up.

  1. Find the diameter error. Target minus measured: 8 − 7.6 = +0.4 mm. The positive sign tells you the hole printed small and needs to grow by 0.4 mm across its full width.
  2. Halve it for the per-side offset. Slicer compensation moves the wall outward on every side at once, so 0.4 ÷ 2 = +0.20 mm per side.
  3. Apply the offset in your slicer's hole compensation field as +0.20 mm, leaving the model itself unchanged.
  4. Check the corrected size. With +0.20 mm added on each side, the design effectively prints at 7.6 + 0.20 + 0.20 = 8.0 mm.

Reprint the same test piece with the +0.20 mm offset and the 8 mm bearing should now slip into its seat without forcing it.

What this offset can and cannot fix

An offset corrects a hole that is evenly small all the way around, which is the usual case: the plastic is dragged slightly inward on curves and shrinks as it cools. It cannot fix an oval hole — if your measurements differ depending on which way you turn the calipers, the problem is motion, not size, and no offset will make an oval round. The most common input mistake is entering the full 0.4 mm diameter error instead of the halved 0.20 mm, which overshoots and leaves the fit sloppy. If the whole part, holes included, measures small in every direction, work through the shrinkage compensation calculator first.

Rate this calculator & leave feedback

★ Reviews are moderated: comments appear publicly only after approval, so the page stays helpful and spam-free.