Parts or holes the wrong size? Fix dimensional accuracy in 3D printing

By Sina Esfahani, OmniTechs · Published 27 November 2026

A part that measures wrong has one of four causes. The plastic shrinks as it cools, so everything comes out a fixed percentage small. The extruded line is wider than the slicer planned, so outsides grow and holes shrink by the same amount. A belt, pulley or bearing puts the nozzle in the wrong place on one axis. Or the X and Y axes are not square, so boxes and lids refuse to fit.

Each cause has its own fix, and the wrong fix hides the real one. The classic mistake is changing steps per millimetre to cure shrinkage: the next filament then comes out wrong (CNC Kitchen). Measure first, then work through the list below.

Fix it in this order:

  1. Measure a test part of at least 100 mm, cooled to room temperature, on flat faces away from the bottom layers.

  2. If one axis is off, check belt tension and the pulley grub screw; leave belt-axis steps at the calculated value (2 mm pitch × 20 teeth = rotation distance 40).

  3. Calibrate flow for the filament before any compensation.

  4. Set shrinkage per filament from your measurement; CNC Kitchen measured 0.35% for PLA, 0.4% for PETG and about 0.7% for ABS and ASA.

  5. Fix tight holes with hole compensation: in Bambu Studio, enter half the diameter error.

  6. Measure the diagonals of a 100 mm square; a difference above about 0.3 mm is skew worth correcting.

Read your measurement first

What a wrong measurement points to

From the maker, Klipper and CNC Kitchen pages and forum answers under Sources, read on 27 November 2026.
What you seeWhat it meansWhat to do
Every dimension short by the same percentage, so big parts are off by more millimetresMaterial shrinkage (or wrong steps, if every material shows it on one axis)Shrinkage compensation per filament
Outside too big and holes too small by about the same amountLines wider than planned: over-extrusionFlow calibration first, then contour or hole compensation
Outside right, only holes too smallHoles pulled inwards, the seam inside the hole, or a coarse STLHole compensation and a finer export
One axis off, the other right; circles come out ovalBelt, pulley or bearing on that axisBelt tension, pulley grub screw, bearings
Diagonals of a square differSkew: the axes are not at 90 degreesSquare the frame, then firmware skew correction
Bottom layers wider than the restElephant's footFirst-layer height and elephant's foot compensation
Part about 25 times too smallDrawn in inches, printed as millimetresRe-export in millimetres or scale by 25.4

Flared bottom layers have their own guide: elephant's foot. An STL file stores no unit, so a part drawn in inches arrives 25.4 times too small; opening and checking an STL shows how to confirm the size before you slice.

Measure a part that can show the error

A 20 mm calibration cube is a poor measuring tool. Elephant's foot and bulging corners spoil the faces you measure. Its outside moves with over- and under-extrusion. And a 0.1 mm reading error is 0.5% on 20 mm but only 0.1% on 100 mm. A cube also cannot show skew (CNC Kitchen).

Measure like this instead:

  • Print a test part of 100 mm or more along each axis you want to check.

  • Let it cool to room temperature before measuring (Bambu Lab).

  • Measure flat faces, away from the first layers and from corners. Take each reading three times.

  • Measure an outside and an inside dimension of the same feature. Over-extrusion makes the outside bigger and the inside smaller; the average of the two cancels it. The CaliFlower, a paid test piece by Vector3D, is built around that idea (CNC Kitchen).

  • Print two or three sizes if you can. An error that grows with size is a scale error (shrinkage or steps). An error of the same millimetres at every size is a width error (flow or compensation).

In this video CNC Kitchen shows why cubes mislead, then measures size and skew on his own printers with the CaliFlower.

Calibration Cubes: More Harm Than Good? (CNC Kitchen)

How accurate can an FDM printer be?

Set your target before you chase hundredths. Prusa states that a well-assembled Original Prusa holds 0.3 mm on X and Y and 0.1 mm on Z by its own testing, and as little as 0.05 mm after extra calibration of the extrusion multiplier and extruder linearity. That is one maker's figure for its own machines; no maker publishes a comparable figure for every printer.

Layer height and microstep size are resolution, not accuracy: they say how fine the steps are, not how close a finished dimension lands to the drawing.

One axis short? Check the mechanics, not the steps

If X measures short and Y does not, look for a mechanical cause. Missed steps from too much acceleration, a binding bearing, missing belt teeth, a loose pulley grub screw and flex in the belt mount all look like a calibration error. On one Ender 3 discussed on Stack Exchange, an X size of 18.5 mm instead of 20 mm turned out to be a slack belt and a sticking bearing. Check the belt tension before you touch the firmware.

Steps on a belt axis are calculated, not measured. Klipper's rule is rotation distance = belt pitch × pulley teeth, so a 2 mm belt on a 20-tooth pulley gives 40. Almost every printer has a whole number here; Klipper says to round anything within 0.01 of one. Marlin stores the same thing as steps per unit, set with M92 and saved with M500.

So if the calculated value is in place and a part is short by the same percentage on every axis, that is shrinkage, not steps. The extruder is the one axis you do measure; see e-steps and rotation distance.

Flow first, then shrinkage per filament

Calibrate flow before you compensate

Flow moves outside and inside dimensions in opposite directions. If you compensate holes while the printer over-extrudes, the setting is wrong the moment you fix the flow. Bambu Lab lists flow, moist filament, shrinkage, elephant's foot, the seam and holes near the nozzle size as things to settle before any hole or contour compensation. Use the flow rate calibration guide for your slicer.

Set one shrinkage factor per filament

Plastic contracts as it cools, by an amount that depends on the material. That is why the fix belongs in the filament profile, not the printer. The published figures differ, so measure your own spool:

Published shrinkage figures for common filaments

Prusa's ABS and PETG guides and CNC Kitchen's article of 18 February 2024, read on 27 November 2026. Use them as starting points only.
MaterialPrusa's material guidesCNC Kitchen's measurements
PLANo figure given0.35%
PETGDescribed as not shrinking or warping0.4%
ABSUsually around 1 to 2%About 0.7% (ABS and ASA)

The slicers enter the same correction in three different ways. Here is a worked example: a 100.0 mm PETG test part, flow already calibrated, measures 99.6 mm in X and Y after cooling. It is 0.4% small.

The same 0.4% shrinkage entered in four slicers

Field names and conventions from the Bambu Lab wiki, the OrcaSlicer and PrusaSlicer 2.9.7 tooltips and Cura's setting definitions, read on 27 November 2026.
SlicerWhereConventionEnter
Bambu StudioFilament settings, Basic information, ShrinkageMeasured ÷ designed × 100%; default 100%99.6%
OrcaSlicerFilament settings, Filament, Basic information, Shrinkage (XY)Percentage you measured (94% for 94 mm instead of 100 mm); default 100%99.6%
PrusaSlicerFilament Settings, Advanced, Shrinkage compensation XYShrinkage itself (1% for 99 mm instead of 100 mm); default 0%0.4%
UltiMaker CuraMaterial, Horizontal Scaling Factor Shrinkage CompensationFactor the model is scaled with; default 100%100.4% (100 ÷ 99.6)

Note that PrusaSlicer does not apply its value when filaments with different values share one print. And Bambu Lab says its Shrinkage setting corrects outer X and Y dimensions, not holes; holes have their own settings below.

Holes too tight? Compensate per feature

Holes come out undersized more often than outsides. Shrinkage, flow and a seam inside the hole all pull them in, and Bambu Lab calls holes under 1 mm hard to tune. The file can add to it. A coarse STL export replaces each curve with straight chords that sit inside the true circle, so a hole comes out slightly small before it is even printed. In the STEP to STL export guide, a coarse export of a 20 mm cylinder put the chords up to about 0.19 mm inside the circle; the guide shows how to export finer.

Where each slicer keeps the fit settings

Setting names and descriptions from the Bambu Lab and OrcaSlicer wikis, the PrusaSlicer 2.9.7 tooltips, Prusa support and Cura's setting definitions, read on 27 November 2026.
SlicerHoles onlyOutside contourWhat to know
Bambu StudioX-Y hole compensationX-Y contour compensationProcess, Quality, Precision; the hole diameter grows by twice the value; closed holes only
OrcaSlicerX-Y hole compensationX-Y contour compensationProcess, Quality, Precision; positive values make holes or contours bigger
PrusaSlicerNo holes-only settingXY Size CompensationPrint Settings, Advanced (Expert mode); positive grows the whole part outwards, so holes shrink; Prusa support says it is for small adjustments
UltiMaker CuraHole Horizontal ExpansionHorizontal ExpansionWalls section; a positive Hole Horizontal Expansion makes holes larger

Worked example. A hole drawn at 6.0 mm measures 5.8 mm. The diameter is 0.2 mm short. Because the diameter grows by twice the value, enter 0.1 mm as X-Y hole compensation, reprint and measure again. Cura describes Hole Horizontal Expansion as an offset applied to the holes; an offset moves the edge, so halve the diameter error there too.

No accurate calipers? Calibrate against a screw. Bambu Lab prints a test plate of holes labelled with offsets, finds the hole an M6 screw fits snugly and enters that hole's offset as X-Y hole compensation; most M6 screws follow ISO 6g and measure about 5.9 mm. Then reprint and test again: if you entered 0.2 mm and the screw now fits the +0.1 mm hole, set 0.3 mm (0.2 + 0.1). For outsides, Bambu Lab adjusts X-Y contour compensation in steps of 0.1 mm. Save the result in a process profile for fitted parts, per filament.

In this video Clough42 works out why a printed part came out slightly too small to fit, and how he corrected it.

How to 3D Print Dimensionally Accurate Parts (Clough42)

Box and lid do not fit? Check skew

If every edge measures right but a box and its lid still bind, the axes are probably not at 90 degrees. Print a square of 100 mm or more and measure both diagonals.

A quick conversion from the geometry of a square: skew in degrees ≈ 40.5 × (difference between the diagonals) ÷ side length. On a 100 mm square, diagonals of 141.6 mm and 141.0 mm differ by 0.6 mm, which is about 0.24°. Prusa's thresholds for its MK3 calibration put that in context: under 0.12° needs no compensation, and over 0.25° is severe, about 1.1 mm across 250 mm. So on a 100 mm square, a diagonal difference under about 0.3 mm is fine.

CNC Kitchen found most of his printers under 0.1°, but one pre-production Bambu Lab A1 Mini at 0.55°: 1.7 mm across its bed.

Correct it in three steps:

  1. Square the frame mechanically. Klipper's documentation strongly recommends that for any significant skew before software correction.

  2. Correct what is left in firmware. In Klipper, print a test square, measure the diagonals AC and BD and the side AD, and enter them as SET_SKEW XY=AC,BD,AD; save the result with SKEW_PROFILE SAVE and SAVE_CONFIG, and load it in your start G-code after homing. In Marlin, M852 takes correction factors between -1 and 1, but only when SKEW_CORRECTION_GCODE is compiled in.

  3. On Bambu Lab printers, check the maker first: its wiki had no user skew procedure for the X1 and P1 series on 27 November 2026. The forum methods are community workarounds, not documented features.

When to stop calibrating

Stop when you are within what the machine can hold. By Prusa's own figure that is about 0.3 mm on X and Y for a well-assembled printer. Chasing the last hundredth with compensation tends to break other fits.

Repair instead of calibrating when the cause is a part: missing belt teeth, a binding bearing, a slipping pulley or a frame you cannot square. Software cannot correct a part that moves differently each time.

And stop once the numbers are right but parts still bind. Two parts that are each within a tenth of a millimetre still need a designed gap between them. That is design, not calibration.

Choose the gap for your fit with the tolerances and clearance guide; it shows how to work out the clearance for a part that must slide, come off or stay put. Then check one fit without printing the whole part by printing a test section. Recheck your values after a new filament, a different nozzle or a freshly dried spool.

If you need the part rather than the practice, the 3D printing service prints PLA and PETG parts from your file.