MeshMath

Elephant's foot compensation calculator

Measure the bottom flare on a cube or square, and get the exact per-side mm to enter in Orca, PrusaSlicer or Cura so the first layers match the rest of the part.

Measurements (mm)

Total bottom flare—
Per-side compensation—
Orca / Prusa / Bambu value—
Cura Initial Layer Expansion—
Severity—

Enter designed (or upper) width and the measured bottom width.

Leave mid-wall blank (0) to compare against the designed size. Mid-wall is better when flow is not perfectly dialled in.

The formulas

flare = bottom − mid-wall (or designed)
per-side = flare ÷ 2
Orca / Prusa / Bambu = max(0, per-side)
Cura Initial Layer Horizontal Expansion = −per-side

Pair with a good first layer: see the first layer adhesion guide and the elephant's foot fix guide.

What elephant's foot is

Elephant's foot is when the first few layers of an FDM print spread wider than the layers above, so the bottom looks like a flared foot. It happens because the nozzle is slightly too close to the bed, the first-layer flow is high, or soft plastic is squashed sideways against a hot build plate. A little squish helps adhesion. Too much ruins fit on cases, lids, interlocking parts and anything that must sit flush against a flat surface.

The fix is almost always a combination of a slightly higher Z-offset and a slicer setting that shrinks only the first few layers by a measured amount. This calculator turns two caliper readings into that amount.

per-side compensation = (bottom width − upper width) ÷ 2

Measure the upper width a few millimetres up the wall, not on the top surface. Top layers can have their own defects (ironing, over-extrusion) that do not describe the mid-wall size.

Worked example: a 20 mm calibration cube

Worked example

PLA cube, first layer a little too squished

Designed width20.00 mm
Measured mid-wall (layer 10+)20.02 mm
Measured bottom (layers 1–3)20.40 mm
Total flare20.40 − 20.02 = 0.38 mm
Per side0.38 ÷ 2 = 0.19 mm
OrcaSlicer / PrusaSlicer elephant foot compensation0.19 mm
Cura Initial Layer Horizontal Expansion−0.19 mm

After setting 0.19 mm compensation and reprinting, the bottom should land within about ±0.05 mm of the mid-wall. If it is still flared, raise Z-offset slightly (0.02–0.05 mm) and re-check, because severe squish often needs both.

Where to type the number

SlicerSettingWhat it wants
OrcaSlicerQuality → Elephant foot compensationPositive mm to shrink each side of the first few layers
Bambu StudioQuality → Elephant foot compensationSame as Orca
PrusaSlicer / SuperSlicerPrint Settings → Advanced → Elephant foot compensationPositive mm per side
CuraInitial Layer Horizontal ExpansionNegative mm (same magnitude, opposite sign)
Any slicerZ-offset / live ZRaise the first layer a little if the skirt looks transparent and glassy

Some slicers also expose how many initial layers the compensation applies to. Two to four layers is typical; applying it through the whole print will undersize the part.

How to measure elephant's foot

  1. Print a simple test: a 20–40 mm cube or a flat square with vertical walls, no chamfer on the bottom.
  2. Let it cool, then remove it carefully so you do not crush the bottom edge.
  3. With digital calipers, measure the outside width at the bottom (first 1–3 layers) in X and Y, and average.
  4. Measure again halfway up the same walls. That mid-wall reading is your “true” printed size.
  5. Enter both values above. Prefer mid-wall over the designed size when the whole part is slightly over- or under-extruded.
  6. Apply the per-side value, reprint, and re-measure. Stop when the bottom is within about 0.05 mm of the mid-wall.

Elephant's foot vs other size errors

SymptomCauseTool
Only the first few layers are widerElephant's foot / first-layer squishThis calculator
The whole part is slightly small in XYMaterial shrinkageShrinkage compensation
Walls too thick or thin everywhereFlow / e-stepsE-steps & flow
Holes tight, outside size OKHole undersizingTolerance calculator

Common mistakes

Troubleshooting

SymptomLikely causeFix
Bottom still fat after compensatingZ too low, or compensation applied to too few layersRaise Z-offset 0.02–0.05 mm and/or increase the number of compensated layers
Bottom now too narrowOver-compensationHalve the value and reprint
Only one side flaresBed not level or warped PEIRe-level; check the sheet sits flat
Skirt looks perfect, cube still flaresFirst-layer flow or pressure advance overshootLower first-layer flow 5–10%, or tune pressure/linear advance
ABS/ASA flares more than PLAHot bed + soft first layersUse a brim, cooler first-layer temp, and compensation together

FAQ

What causes elephant's foot in 3D printing?

The nozzle is too close to the bed, first-layer flow is high, or soft plastic on a hot bed spreads sideways. A little squish helps adhesion; too much flares the bottom.

What value should I enter for elephant foot compensation?

Half the difference between the bottom width and the mid-wall width. If the bottom is 20.4 mm and the mid-wall is 20.0 mm, enter 0.2 mm in Orca or PrusaSlicer, or −0.2 mm in Cura.

Is elephant foot compensation the same as horizontal expansion?

No. Horizontal expansion changes every layer. Elephant foot compensation (or Cura's Initial Layer Horizontal Expansion) only affects the first few layers.

Should I fix Z-offset or use compensation?

Do both if needed. Raise Z-offset until the first layer looks even and slightly translucent, then dial in the remaining flare with compensation.

Does elephant's foot affect hole size at the bed?

Yes. Holes on the first layers often print smaller when the foot flares inward. Fixing the foot usually frees those holes without changing the hole compensation for the rest of the part.

Why is my bottom narrower instead of wider?

That is usually a raised Z-offset or under-extrusion on the first layer, not elephant's foot. Lower Z slightly or raise first-layer flow.

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 →