E-steps & Rotation Distance Calculator

Calibrate how far your extruder actually pushes filament. Mark the filament, extrude a set length slowly, measure what is left, and get the corrected Marlin e-steps or Klipper rotation_distance. No current value? The third tab gives a starting value from the drive gear size and gear ratio. This is the first step in the calibration chain, before max volumetric speed, pressure advance and flow rate.

Measure from the same fixed point (usually the top of the extruder body) both times, with digital calipers. Results are estimates; double-check before saving to your printer.

How to do the test

Marlin

  1. Heat the hotend to your normal printing temperature for the loaded filament. Teaching Tech suggests about 10 °C hotter, to reduce resistance from the nozzle. Cold extrusion can damage the extruder.
  2. Send M92 and note the current E value. If you only get "ok", send M503 and look for the M92 line.
  3. Raise the nozzle well clear of the bed. Mark the filament 120 mm above the extruder inlet and measure the exact distance.
  4. Send M83 (relative extrusion; G91 also works) so E100 means "100 mm more", not "go to position 100".
  5. Send G1 E100 F50 to push 100 mm at 50 mm/min (about two minutes).
  6. Measure from the same point to the mark again. If it extruded perfectly, 20 mm remains.
  7. Enter the numbers above, send the new M92 E… line, then M500 to save it to EEPROM. Send M82 (or G90 if you used G91) to go back to absolute mode.
  8. Run the test again with the new value to confirm it.

No EEPROM? M500 only works when the firmware was built with EEPROM_SETTINGS, and Prusa has disabled saving on some printers such as the MINI. In that case put the M92 E… line in your slicer's start G-code so it is applied before every print. M502 resets steps back to the firmware's defaults.

Klipper

  1. Heat the hotend and load filament.
  2. Mark the filament about 70 mm from the extruder intake and measure it precisely.
  3. Send G91 then G1 E50 F60. Wait the full ~50 seconds. Don't use a front-end "extrude" button, which is too fast.
  4. Measure the mark again and enter the numbers above.
  5. Put the new value in the [extruder] section of printer.cfg, rounded to three decimals, and restart Klipper. If the result was more than about 2 mm off, repeat the test.

Klipper says not to use this measure-and-trim method on X, Y or Z. Work those out from the belt pitch × pulley teeth or the lead screw instead.

Bambu Lab and other closed firmware

Bambu Lab printers don't expose e-steps or rotation_distance to the user, so skip this page and go straight to flow ratio calibration in Bambu Studio or OrcaSlicer.

Formulas

Actual extruded = mark before − mark after.

Marlin: new e-steps = current e-steps × commanded ÷ actual.

Klipper: new rotation_distance = current × actual ÷ commanded. The formulas are inverted because e-steps count steps per mm, while rotation_distance is millimetres per motor turn. So under-extrusion raises e-steps but lowers rotation_distance.

From hardware: rotation_distance = drive gear diameter × π (Klipper uses 3.14). If you set gear_ratio, keep that value. If you don't, divide it by the gear ratio. Steps per mm = full steps × microsteps × gear ratio ÷ (diameter × π).

Converting: rotation_distance = full steps × microsteps × gear ratio ÷ steps per mm, and the same the other way round. Leave the gear ratio as 1 if Klipper's gear_ratio is not set.

Worked examples

Convert e-steps ↔ rotation_distance

Moving from Marlin to Klipper or back? Enter the gear ratio only if you use (or will use) Klipper's gear_ratio setting.

Starting values from Klipper's example configs

Klipper ships example printer.cfg files for many printers. These are their extruder rotation_distance values (all 16 microsteps, 200-step motors), with our conversion to Marlin steps/mm. Use them as a starting point, then calibrate. Grip varies between extruders and even between spools, and Klipper's own two Ender-3 configs disagree (33.683 and 34.406).

PrinterKlipper config filerotation_distancegear_ratio≈ Marlin steps/mm (our arithmetic)
Creality Ender-3 (2018)printer-creality-ender3-2018.cfg33.683—95.00
Creality Ender-3 Pro (2020), Ender-3 V2 (2020), Ender-3 V2 Neo (2022)printer-creality-ender3pro-2020.cfg, …-v2-2020.cfg, …-v2-neo-2022.cfg34.406—93.01
Anycubic i3 Mega (2017)printer-anycubic-i3-mega-2017.cfg34.557—92.60
Creality CR-10 V3 (2020)printer-creality-cr10-v3-2020.cfg7.7201944—414.50
Creality Ender-3 S1 (2021)printer-creality-ender3-s1-2021.cfg26.35942:12424.90
Prusa MINI+ (2020)printer-prusa-mini-plus-2020.cfg26.256448:18325.00
Voron 2 kit (250 mm)kit-voron2-250mm.cfg5.76576—555.00

Steps/mm = 200 × 16 × gear ratio ÷ rotation_distance. Values were read from the Klipper repository on 20 Oct 2026. Your printer's revision may use a different extruder, so always read your current value first.

Gear ratios: what to enter

When to recalibrate

Do it once as part of your base calibration, and again whenever the extruder or hotend changes (Teaching Tech). It is a property of the extruder, not the filament. Small differences between filaments are better handled with flow ratio, because changing e-steps for each spool also shifts retraction and every other extruder move.

Common mistakes

Sources

  1. Klipper documentation: Rotation distance. Covers the conversion formula, the 70 mm mark with G1 E50 F60, rounding to three decimals, repeating if more than ~2 mm off, diameter × 3.14, gear_ratio, BMG 50:17 and the 57:11 planetary.
  2. Klipper example printer configs (the files named in the table).
  3. Marlin: M92, set axis steps-per-unit. Covers reading with M92 or M503, saving with M500 when EEPROM_SETTINGS is enabled, and resetting with M502.
  4. Marlin: M500, save settings.
  5. Teaching Tech 3D Printer Calibration: Extruder E-steps. Covers the 120 mm mark, G1 E100 F50, +10 °C, the free-air option, Prusa printers with M500 disabled, and when to recalibrate.

All sources fetched and checked 20 Oct 2026.

For the X, Y and Z axes, use the steps per mm calculator (belts and lead screws).

Next step: volumetric speed / max flow · pressure advance · calibrate flow rate per filament · retraction distance & speed · filament length ↔ weight

FAQ

What are e-steps on a 3D printer?

E-steps are the number of stepper motor steps the firmware uses to push 1 mm of filament. If the value is wrong the printer under- or over-extrudes on every print, whatever filament you use.

What is rotation_distance in Klipper?

It is how many millimetres of filament the extruder moves for one full turn of the motor (or of the final gear, if gear_ratio is set). Klipper uses it instead of steps per mm. Convert with full steps × microsteps × gear ratio ÷ steps per mm.

Should I calibrate e-steps or flow first?

E-steps or rotation_distance first, because it corrects the extruder hardware. Then calibrate flow (extrusion multiplier) for each filament. OrcaSlicer's guide puts temperature, max volumetric speed and pressure advance between the two.

Why extrude so slowly?

Fast extrusion builds pressure in the hotend, the filament slips and the test reads low. Klipper uses 50 mm at F60 (1 mm/s), and Teaching Tech uses 100 mm at F50 for Marlin.

Should the hotend be attached during the test?

Teaching Tech says the test is most accurate with the extruder detached from the hotend, so filament exits in free air. If that is inconvenient, extrude very slowly with the hotend about 10 °C hotter than normal. Klipper's procedure tests with the hotend heated and attached.

What gear ratio does a BMG extruder use?

Klipper notes that BMG-style extruders are advertised as 3:1 but actually use 50:17 gearing (about 2.94:1). In Klipper, set gear_ratio: 50:17 and use the drive gear diameter × π as rotation_distance, then do the mark test.

My printer forgets the new e-steps after a restart. Why?

M92 only changes the value until power-off. Send M500 to save it, which needs a firmware built with EEPROM_SETTINGS. Some printers, such as the Prusa MINI, have saving disabled, so add the M92 E line to your slicer's start G-code instead.

Do I need to redo e-steps for every filament?

No. Calibrate once and again after changing the extruder or hotend. Filament-to-filament differences belong in flow ratio, which you tune per filament in the slicer.

Do Bambu Lab printers need e-steps calibration?

Usually not. Bambu Lab firmware does not offer user e-steps calibration like Marlin or Klipper, so use flow ratio calibration in Bambu Studio or OrcaSlicer instead.