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 width | 20.00 mm |
| Measured mid-wall (layer 10+) | 20.02 mm |
| Measured bottom (layers 1–3) | 20.40 mm |
| Total flare | 20.40 − 20.02 = 0.38 mm |
| Per side | 0.38 ÷ 2 = 0.19 mm |
| OrcaSlicer / PrusaSlicer elephant foot compensation | 0.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
| Slicer | Setting | What it wants |
|---|---|---|
| OrcaSlicer | Quality → Elephant foot compensation | Positive mm to shrink each side of the first few layers |
| Bambu Studio | Quality → Elephant foot compensation | Same as Orca |
| PrusaSlicer / SuperSlicer | Print Settings → Advanced → Elephant foot compensation | Positive mm per side |
| Cura | Initial Layer Horizontal Expansion | Negative mm (same magnitude, opposite sign) |
| Any slicer | Z-offset / live Z | Raise 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
- Print a simple test: a 20–40 mm cube or a flat square with vertical walls, no chamfer on the bottom.
- Let it cool, then remove it carefully so you do not crush the bottom edge.
- With digital calipers, measure the outside width at the bottom (first 1–3 layers) in X and Y, and average.
- Measure again halfway up the same walls. That mid-wall reading is your “true” printed size.
- Enter both values above. Prefer mid-wall over the designed size when the whole part is slightly over- or under-extruded.
- 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
| Symptom | Cause | Tool |
|---|---|---|
| Only the first few layers are wider | Elephant's foot / first-layer squish | This calculator |
| The whole part is slightly small in XY | Material shrinkage | Shrinkage compensation |
| Walls too thick or thin everywhere | Flow / e-steps | E-steps & flow |
| Holes tight, outside size OK | Hole undersizing | Tolerance calculator |
Common mistakes
- Compensating before leveling the bed. A badly leveled corner can look like elephant's foot on one side only. Level or run auto bed mesh first.
- Using designed size when the mid-wall is already off. If mid-wall is 20.2 mm on a 20 mm cube, flow is high. Fix flow, then measure foot against the new mid-wall.
- Applying the total flare instead of per-side. Slicers shrink each side. Enter half the total width difference.
- Leaving compensation on for every filament forever. First-layer behaviour changes with PEI texture, glue, temperature and filament. Re-check when those change.
- Chasing 0.02 mm with cheap calipers. Below about 0.05 mm you are in measurement noise. Call it done.
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| Bottom still fat after compensating | Z too low, or compensation applied to too few layers | Raise Z-offset 0.02–0.05 mm and/or increase the number of compensated layers |
| Bottom now too narrow | Over-compensation | Halve the value and reprint |
| Only one side flares | Bed not level or warped PEI | Re-level; check the sheet sits flat |
| Skirt looks perfect, cube still flares | First-layer flow or pressure advance overshoot | Lower first-layer flow 5–10%, or tune pressure/linear advance |
| ABS/ASA flares more than PLA | Hot bed + soft first layers | Use 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
- Digital calipers (150 mm) — Essential for tolerances, flow calibration and checking prints.
- Textured PEI build plate — Reliable adhesion and easy release; check your printer’s size.
- Overture PLA Pro, 1 kg — Tougher, less brittle PLA for functional and calibration prints.
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.
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.
Shrinkage compensation calculator
Measure a test print and get the exact scale % plus the value to type into Orca, Bambu, PrusaSlicer or Cura.