Extruder calibration: e-steps or flow ratio?
Two numbers control how much plastic comes out of the nozzle. E-steps (rotation distance in Klipper) tell the firmware how far the filament moves per motor step; the flow ratio in the slicer scales the plastic each line gets. They multiply together, so a wrong value in one can be hidden by the other. The trick is knowing which one to touch.
Two numbers, two jobs
E-steps (steps per millimetre of filament) are set in the firmware. They depend on the extruder's gear diameter, any gear reduction and the motor's microstepping, so they change only when that hardware changes. If e-steps are wrong, every filament and every print is off by the same percentage.
Flow ratio — called extrusion multiplier in PrusaSlicer, flow in Cura, flow ratio in OrcaSlicer and Bambu Studio — is set in the slicer, usually in the filament profile. It corrects the difference between the slicer's ideal line and what a particular filament actually does in your machine. It is the fine-tuning knob.
The actual plastic is roughly slicer volume × flow ratio × (e-steps used ÷ e-steps needed). A third multiplier sometimes hides in the chain: the printer's own flow percentage, set with M221 or a "Flow" item on the printer screen. Check it reads 100 % before measuring anything, or you will calibrate around a forgotten setting.
The 100 mm extrusion test, done properly
- Heat the nozzle to the usual printing temperature for the filament you test with. A plain, rigid filament such as PLA gives the steadiest result.
- Make a sharp, thin pen mark on the filament 120 mm above the extruder inlet. Measure to a fixed point on the extruder body, not to the top of a fitting that can move.
- Send
M83for relative extrusion, thenG1 E100 F100. That is 100 mm at 100 mm/min, slow enough that nozzle back pressure does not make the gear slip. - Measure from the same fixed point to the mark. With 20 mm left, exactly 100 mm went in.
- Repeat once or twice and average.
The new value is current e-steps × 100 ÷ actually extruded. Example: current 93 steps/mm, 22 mm left, so 98 mm went in: 93 × 100 ÷ 98 = 94.9 steps/mm. Apply it with M92 E94.9 and store it with M500 on Marlin. The e-steps and flow calculator does this and prints the commands.
On a Bowden printer you can disconnect the tube at the extruder outlet and extrude into the air with the hotend cold, which measures the gear without any back pressure. Marlin refuses to extrude below a minimum temperature unless you allow cold extrusion with M302 P1; switch it back afterwards with M302 P0. If the cold and hot results differ by more than a millimetre, the gear is slipping under load — check the tension arm before changing e-steps.
Measuring precision matters. A pen mark read with a ruler is good to about half a millimetre, which is 0.5 % of 100 mm. That is why a 1 mm result is not proof of an error, while 3–5 mm usually is — and why changing e-steps to fix a 1 % top-surface problem is the wrong tool.
Rotation distance in Klipper
Klipper does not use steps per millimetre for the extruder. Its rotation_distance in the [extruder] section is the filament length moved by one full motor turn, with gear ratio and microsteps set separately. Because it is distance per turn rather than steps per distance, it corrects the opposite way:
new rotation_distance = old × actually extruded ÷ requested
Example: rotation distance 7.5, 98 mm extruded out of 100: 7.5 × 98 ÷ 100 = 7.35. Too little filament means a smaller rotation distance, the opposite of e-steps, which would go up. Klipper's extrusion command needs the extruder hot; use a slow feed such as G1 E100 F60 after M83, edit printer.cfg and restart.
Measuring flow with a single wall
The simplest flow test is a hollow cube with exactly one wall and no top: spiral vase mode, or one perimeter, zero infill and no top layers. Set a known line width — 0.45 mm on a 0.4 mm nozzle is typical — and print 20–30 mm tall.
- Measure the middle of each face, away from the corners and the seam, where the wall bulges.
- Close the calipers gently: pressing hard flattens the ridges and reads thin.
- Take at least four readings and use the average.
The new flow is current flow × expected ÷ measured: expected 0.45 mm, measured 0.47 mm at 100 % gives 95.7 %. Be aware of the resolution: on a 0.45 mm wall, a 0.01 mm caliper step is already 2.2 %. A single-wall test tells you whether flow is a few percent off, not whether 97 % or 98 % is better.
Why not measure a normal two-wall part? Adjacent lines overlap. PrusaSlicer-style slicers space lines at width − layer height × (1 − π/4), so 0.45 mm lines at 0.2 mm layers sit 0.407 mm apart, and a two-wall wall should measure about 0.86 mm, not 0.90 mm. Unless you know your slicer's spacing model, multi-wall measurements mislead.
For the last few percent, top-surface tests work better than calipers. OrcaSlicer's flow calibration prints a set of patches with different flow and you pick the smoothest top surface; you can do the same by hand with a few small flat squares at, say, 94, 96, 98 and 100 %. The right value fills the top completely without ridges between lines.
Why flow is a per-filament value
- Diameter tolerance. A 1.75 mm filament with a ±0.02 mm tolerance varies in cross-section by about ±2.3 % ((1.77 ÷ 1.75)² = 1.023). A spool that runs consistently thick over-extrudes by that much.
- Gear bite. The drive gear teeth sink deeper into soft plastics, so each turn moves a little less filament. TPU and some soft PLAs behave differently from hard PLA.
- Melt behaviour and shrinkage. Different materials swell, flow and shrink differently once they leave the nozzle, so the same volume does not produce the same line.
This is why e-steps are tuned once with a rigid filament, and the flow ratio is stored in each filament profile. When you change e-steps afterwards, revisit your flow values.
Which one to change
| Situation | Change |
|---|---|
| 100 mm test consistently off by 1 % or more | E-steps / rotation distance |
| New extruder, gear, motor or reduction ratio | E-steps, then flow |
| New filament type or brand | Flow ratio in that filament profile |
| Rough, ridged top surfaces with good e-steps | Flow ratio down |
| Gaps between top lines, weak thin walls | Flow ratio up — after ruling out a partial clog and the flow limit |
| Part outer dimensions wrong in one axis only | Neither — see dimensional accuracy |
| Holes too small | Neither — see tolerances and fit |
| Thin only at high speed | Neither — see max volumetric speed |
After both are set, a calibration cube with normal walls and infill is a good overall check: a smooth top surface, crisp edges and dimensions close to nominal on all three axes.
Common mistakes
- Fixing size with flow. Over-extrusion makes outer dimensions grow by a fraction of a line width; it never makes a 40 mm cube 41 mm. Big size errors come from steps per mm, belts or shrinkage.
- Running the test too fast. At normal print feed rates the nozzle resists, the gear slips and the test reads short, so you raise e-steps and over-extrude everywhere else.
- Testing with wet or tangled filament. Drag from a stuck spool or steam bubbles from wet filament both distort the result. See drying filament.
- Hidden multipliers. M221 on the printer, a flow value in the print profile and another in the filament profile. Know which one you are editing.
- Calibrating around a partial clog. If flow has to go well above 100 % to fill gaps, inspect the nozzle first — see clogged nozzle.
- Tuning pressure advance before flow. Wrong flow makes corners bulge or gap, which looks like a pressure advance problem. Order matters, as the calibration guide explains.
Frequently asked questions
Should I calibrate e-steps or flow first?
E-steps first, because they are a property of the extruder and every flow measurement depends on them. After that, flow ratio is tuned per filament in the slicer. If your printer does not let you change e-steps, skip straight to flow.
My 100 mm test came out at 99 mm. Should I change e-steps?
A 1 mm difference is about the size of the measuring error with a ruler and a pen mark. Repeat the test twice; if the result is consistently 1 % or more off, correct it. Smaller differences are better handled by the flow ratio.
Why is my flow ratio not 100 %?
Because the slicer assumes perfect filament and a perfect extruder. Filament diameter tolerance, how deeply the drive gear bites into a particular plastic, and the slicer's own line model all shift the real amount. Values a few percent below 100 % are common and nothing to worry about.
Can I fix holes that are too small with the flow ratio?
No. Holes shrink mainly because of how the nozzle lays plastic on curves, not because of total flow. Reducing flow to open holes makes walls weak and top surfaces gappy. Compensate holes in the design or with the slicer's hole compensation instead.
Do I need to redo this after changing the nozzle?
E-steps stay the same, because they belong to the extruder. Check the flow ratio again, since a different nozzle and line width change the result slightly.