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 mm | shrinkage 0.60% |
| Y: designed 100.00, measured 99.50 mm | shrinkage 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 scale | 100.55% |
| A 60.00 mm wall in this part | model 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:
| Slicer | Where | What it wants | For 99.45 mm of 100 |
|---|---|---|---|
| OrcaSlicer | Filament → Advanced → Shrinkage (XY) and Shrinkage (Z) | Printed size as % of design (100% = off) | 99.45% |
| Bambu Studio | Filament → Shrinkage (XY only) | Same as Orca | 99.45% |
| PrusaSlicer | Filament → Advanced → Shrinkage compensation XY / Z | How much smaller the part came out (0% = off) | 0.55% |
| Cura | Material → Scaling Factor Shrinkage Compensation | The scale factor itself (100% = off) | 100.55% |
| Any slicer | Object scale tool | The scale factor | 100.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
- 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.
- 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.
- 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.
- Let the part cool to room temperature, ideally for an hour, before measuring.
- Measure outside edges, not holes, at three points per axis, and average. Avoid the first few layers, where elephant’s foot adds width.
- 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:
| Shrinkage | Materials | Compensation usually needed? |
|---|---|---|
| Low | PLA, PETG, TPU | Often none for everyday parts; worth it for precise assemblies |
| Moderate | ABS, ASA, PC, HIPS | Usually, especially for parts over about 50 mm |
| High | Nylon (PA), PP, POM and other semi-crystalline plastics | Yes, 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
- Typing the scale factor into Orca’s shrinkage box. Entering 100.55% where Orca expects 99.45% shrinks the part instead of growing it, roughly doubling the error.
- Calibrating on a 20 mm cube. The error you are trying to fix is smaller than the measuring error. Use at least 100 mm in XY.
- Fixing a machine problem with shrinkage. If X and Y disagree by more than about half a percent, or the error is several percent, check belts and steps/mm first.
- Compensating twice. If the part was already printed with a correction, enter that scale in “Current scale” so the new value replaces it rather than stacks on top.
- Measuring the first layers. Elephant’s foot makes the bottom wider. Measure higher up, or chamfer the bottom edge of test parts.
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| Part still small after compensating | Value entered in the wrong form (Orca vs Prusa vs Cura) | Check the table above and re-enter |
| Outside size right, holes still tight | Hole undersizing, not shrinkage | Use hole compensation or design holes larger |
| X correct, Y off | Loose or over-tight belt, or wrong steps/mm on one axis | Tension belts and recalibrate the axis |
| Size varies from print to print | Room temperature, drafts or enclosure changes | Print and measure in the same conditions you use for real parts |
| Corners pull in, edges curl | Warping, not uniform shrinkage | See 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
- Digital calipers (150 mm) — Essential for tolerances, flow calibration and checking prints.
- Overture PLA Pro, 1 kg — Tougher, less brittle PLA for functional and calibration prints.
- Textured PEI build plate — Reliable adhesion and easy release; check your printer’s size.
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
Online STL viewer & measure
View any STL in 3D, get exact dimensions and check it fits your printer bed.
STL scale & unit fixer
Find the exact scale % to hit a target size, or fix inch/cm exports.
E-steps & flow calibration calculator
Calibrate extruder e-steps and flow rate, with the exact M92 G-code to send.
Temperature tower G-code generator
Add temperature changes by height to any sliced G-code file.
3D print tolerance & hole size calculator
Hole and peg sizes for press, snug, sliding and loose fits, M2–M10 bolts.
Layer height & line width calculator
Recommended layer heights and line widths for any nozzle size, from 0.2 to 1.0 mm.