MeshMath

Shrinkage compensation calculator

Measure a test print, and get the exact scale factor for X, Y and Z, plus the number your slicer expects, so ABS, ASA, nylon and PETG parts come out at the size you designed.

Test print measurements (mm)

XY scale factor (Cura / model scale)—
Z scale factor—
Measured XY shrinkage—
OrcaSlicer / Bambu value—
PrusaSlicer value—
Compensated size—

Per-axis breakdown

AxisDesignedMeasuredError mmShrinkScale

Slicers take one XY value, so X and Y are averaged. Leave Z blank if you only need XY.

The formulas

shrinkage % = (designed − measured) ÷ designed × 100
scale % = current scale × designed ÷ measured
Orca / Bambu = 100 × 100 ÷ scale %
PrusaSlicer = 100 − Orca value

What shrinkage compensation does

Plastic leaves the nozzle at 200–260 °C and contracts as it cools to room temperature. The result is a part that is slightly smaller than the model, usually by a fraction of a percent for PLA and more for ABS, ASA and nylon. For a phone stand that does not matter. For a lid that must fit a box, a 100 mm bracket that bolts to an existing hole pattern, or two halves of an enclosure, half a millimetre is the difference between a clean fit and a sanded one.

Shrinkage compensation simply scales the part up before slicing by exactly the amount it will shrink, so that after cooling it lands at the designed size. The calculator works out that factor from a test print you measure, separately for XY and Z, and translates it into the form each slicer asks for.

scale factor = designed ÷ measured
e.g. 100 ÷ 99.45 = 1.00553 → 100.553%

If you had already scaled the test print, enter that scale as “Current scale”, and the new factor replaces it rather than stacking a second correction on top. Small errors (under about 0.05 mm) are flagged as within caliper error. Calibrate them out with a larger test part rather than chasing noise.

Worked example: an ASA enclosure part

Worked example

100 mm XY test square and a 50 mm tall Z test, printed in ASA at 100% scale

X: designed 100.00, measured 99.40 mmshrinkage 0.60%
Y: designed 100.00, measured 99.50 mmshrinkage 0.50%
XY average(99.40 + 99.50) ÷ 2 = 99.45 mm → 99.45% of design
Scale factor (XY)100 ÷ 99.45 = 100.553%
OrcaSlicer / Bambu Studio “Shrinkage (XY)”99.45%
PrusaSlicer “Shrinkage compensation XY”100 − 99.45 = 0.55%
Cura “Scaling Factor Shrinkage Compensation” or model scale100.55%
A 60.00 mm wall in this partmodel it, or let the slicer print it, at 60 × 1.00553 = 60.33 mm

The Z test came out at 49.85 mm, a 0.30% shortfall, so Z gets its own 100.30% factor. Z usually needs less correction than XY, because each layer is pinned to the one below as it cools, and the main contraction happens across the layer.

Why the slicer numbers look different

Every slicer applies the same correction (scale the part up by designed ÷ measured), but they ask for it in three different forms. Typing the right number into the wrong field is the most common way to make a part worse:

SlicerWhereWhat it wantsFor 99.45 mm of 100
OrcaSlicerFilament → Advanced → Shrinkage (XY) and Shrinkage (Z)Printed size as % of design (100% = off)99.45%
Bambu StudioFilament → Shrinkage (XY only)Same as Orca99.45%
PrusaSlicerFilament → Advanced → Shrinkage compensation XY / ZHow much smaller the part came out (0% = off)0.55%
CuraMaterial → Scaling Factor Shrinkage CompensationThe scale factor itself (100% = off)100.55%
Any slicerObject scale toolThe scale factor100.55%

Field names and locations change between versions; check your slicer’s tooltip. Filament-level settings only apply when every filament in the print agrees, so multi-material prints may need the object scale tool instead.

How to measure shrinkage properly

  1. Calibrate the machine first: e-steps and flow, belt tension and, on lead-screw Z axes, steps/mm. Shrinkage compensation is for the material, not for a mis-tuned printer.
  2. Print something large. A 100 mm square frame or bar shows a 0.5% error as 0.5 mm, which calipers read easily. On a 20 mm cube the same error is only 0.1 mm, close to the reading error of cheap calipers.
  3. Use the exact settings of your real parts: same filament, temperatures, part cooling, enclosure and wall count. Each one changes how much the plastic contracts.
  4. Let the part cool to room temperature, ideally for an hour, before measuring.
  5. Measure outside edges, not holes, at three points per axis, and average. Avoid the first few layers, where elephant’s foot adds width.
  6. Enter the values above, apply the setting and print the test again. You should land within about ±0.1 mm on 100 mm.

Which materials shrink the most?

All thermoplastics contract as they cool from the nozzle. Semi-crystalline plastics and those printed hottest shrink most. As a rough ranking for FDM:

ShrinkageMaterialsCompensation usually needed?
LowPLA, PETG, TPUOften none for everyday parts; worth it for precise assemblies
ModerateABS, ASA, PC, HIPSUsually, especially for parts over about 50 mm
HighNylon (PA), PP, POM and other semi-crystalline plasticsYes, and they also warp; fibre-filled grades shrink noticeably less

The exact figure depends on the brand, colour, print temperature, cooling and whether the printer is enclosed, so treat any published number as a starting point and measure your own. Save the result in the filament profile so it follows that spool type.

Scaling fixes size, not hole fit

Small holes usually come out undersized for reasons that have nothing to do with shrinkage: the slicer approximates circles with straight segments, and the extruded line is squashed outward into the hole. Scaling a part by 0.5% makes a 5 mm hole only 0.025 mm larger, which will not fix a tight fit. Use the slicer’s hole or XY compensation, or design the hole larger with the tolerance and hole size calculator.

Common mistakes

Troubleshooting

SymptomLikely causeFix
Part still small after compensatingValue entered in the wrong form (Orca vs Prusa vs Cura)Check the table above and re-enter
Outside size right, holes still tightHole undersizing, not shrinkageUse hole compensation or design holes larger
X correct, Y offLoose or over-tight belt, or wrong steps/mm on one axisTension belts and recalibrate the axis
Size varies from print to printRoom temperature, drafts or enclosure changesPrint and measure in the same conditions you use for real parts
Corners pull in, edges curlWarping, not uniform shrinkageSee the warping guide

FAQ

How do I calculate shrinkage compensation for 3D printing?

Print a large test part, measure it after it cools, and divide the designed size by the measured size. A 100 mm part that measures 99.4 mm needs a scale of 100 ÷ 99.4 = 100.60%.

What value do I enter in OrcaSlicer's Shrinkage (XY)?

The printed size as a percentage of the design. If 100 mm came out at 99.4 mm, enter 99.4%. Orca then scales the part by 100 ÷ 99.4. Bambu Studio uses the same convention.

What value do I enter in PrusaSlicer shrinkage compensation?

How much smaller the part came out, in percent. For 99.4 mm of 100 mm, enter 0.6%. PrusaSlicer then scales by 100 ÷ (100 − 0.6).

Does PLA need shrinkage compensation?

Usually not for everyday prints, because PLA shrinks very little. It can still help for long, precise parts. ABS, ASA, PC and nylon benefit much more.

Should Z have the same compensation as XY?

Not necessarily. Z shrinkage is often smaller and is affected by layer height and first-layer squish, so measure it separately on a tall test part.

Will shrinkage compensation fix tight holes?

Rarely. Holes come out small mainly because of how circles are sliced and how lines are squashed, not shrinkage. Use hole compensation in the slicer or the tolerance calculator to size holes.

Recommended gear

Some links are affiliate links. MeshMath earns a commission on purchases made through Overture and Anycubic (via Awin) links, at no extra cost to you. Picks are chosen for usefulness, not paid placement.

Related tools

See all tools →