How to Calibrate E-Steps on a 3D Printer
In this article
Calibrating e-steps (also called extruder steps per mm) ensures your printer extrudes exactly the amount of filament it thinks it is. When e-steps are off, you get under-extrusion (gaps, weak layers) or over-extrusion (blobs, elephant's foot). This guide walks you through measuring and adjusting the value, whether your firmware is Marlin, Klipper, or another common type. You'll need a ruler or caliper, a marker or tape, and access to your printer's control screen or a computer connection.
What You'll Need
- Digital calipers or a ruler with millimeter markings
- A marker or small piece of tape
- Your printer's control screen or a USB/serial connection to a computer (for sending G-code commands)
- Filament loaded and nozzle heated to your usual printing temperature
Step-by-Step
- Heat the nozzle to your normal printing temperature (e.g., 200°C for PLA). This ensures the filament flows freely and the extruder can push it without slipping.
- Load filament so it comes out of the nozzle. Use the printer's "Load Filament" menu or manually push it until a small amount extrudes.
- Mark a point on the filament about 120 mm above the extruder's entry point (where the filament goes into the feeder). Use a marker or wrap a piece of tape around the filament.
- Measure and record the exact distance from the top of the extruder (the point where filament enters) to your mark. Write this down as Start Length. For example, if the mark is at 120 mm, that's your start.
- Send a G-code command to extrude a known length. The standard is 100 mm. On the printer's screen, use the "Move Axis" or "Extruder" menu and select 100 mm. If you're using a computer with Pronterface, OctoPrint, or similar, send the command
G1 E100 F100(F100 is a slow feed rate so the filament doesn't skip). - Wait for the extrusion to finish completely. The printer will push out 100 mm of filament through the nozzle.
- Measure the remaining distance from the extruder entry to your mark again. Record this as End Length. For example, if the mark is now 20 mm above the extruder, you actually extruded 100 mm (120 - 20 = 100).
- Calculate the actual extruded length:
Actual = Start Length - End Length. If you started at 120 mm and ended at 20 mm, actual = 100 mm. - Find your current e-steps value. This is usually shown in the printer's settings under "Steps/mm" or "E-steps per mm." If you can't find it, send the command
M503(Marlin) orESTEPS(Klipper) to see the current value. Write it down. - Calculate the new e-steps using this formula:
New E-steps = (Current E-steps × 100) / Actual Extruded Length. For example, if your current e-steps are 93 and you actually extruded 95 mm, then new = (93 × 100) / 95 = 97.89. Round to two decimals. - Set the new value temporarily by sending the command
M92 E97.89(replace with your number) via your computer or the printer's control menu if it allows direct entry. This will apply immediately but will reset after a reboot. - Test the calibration by repeating steps 3–8 with the new value. The actual extruded length should be within 1 mm of 100 mm. If not, repeat the calculation and adjust again.
- Save the new value permanently. In Marlin, send
M500to store it in EEPROM. In Klipper, edit theprinter.cfgfile and change therotation_distancevalue (see note below) or use theSET_GCODE_OFFSETcommand if you're using a different method. For other firmware, look for a "Save Settings" or "Store Memory" option in the menu.
Note for Klipper users: Klipper uses rotation_distance instead of steps per mm. The formula is different: New rotation_distance = (Old rotation_distance × Actual Extruded Length) / 100. For example, if old is 22.5 and actual is 95, new = (22.5 × 95) / 100 = 21.375.
Common Mistakes
- Not heating the nozzle – cold filament causes the extruder to skip or grind, giving a false reading.
- Measuring from the wrong reference point – always measure from the exact same point (top of the extruder) each time.
- Extruding too fast – using a high feed rate (like F300) can cause the motor to skip steps. Use F100 or slower.
- Forgetting to save the new value – if you don't save, the printer reverts to the old value after a reboot.
- Confusing e-steps with flow rate – flow rate is a slicer setting; e-steps are a firmware setting. Don't adjust flow rate to fix e-step issues.
Tips
- Do the calibration with the filament that you use most often. Different filaments can have different friction, but the difference is usually negligible.
- Run the test twice and take the average to reduce measurement error.
- Use a piece of tape with a sharp line rather than a thick marker line for more accurate measurement.
- If your printer has a direct-drive extruder, the entry point is the top of the motor. For Bowden setups, it's the top of the extruder body where the tube enters.
- After calibrating e-steps, check your first layer and overall print quality. You may still need to adjust flow rate in the slicer for specific filaments.
Troubleshooting
If the extruded length is much less than expected (e.g., 50 mm instead of 100 mm): Check for a clogged nozzle or a loose extruder gear. Clean the nozzle or tighten the gear tension. Also make sure the filament isn't slipping – if you hear clicking, the extruder is struggling.
If the extruded length is more than expected: This is less common but can happen if the extruder gear is oversized or the steps are already too high. Recalculate and reduce the e-steps accordingly.
If the new e-steps value doesn't stick after a reboot: You didn't save it. Send M500 (Marlin) or update the Klipper config and restart the firmware. On some printers, you need to save via the LCD menu (e.g., Control > Store Settings).
If the printer's screen doesn't show the e-steps value: Connect via USB and use a terminal program. Send M503 to see all steps per mm values.
If the filament grinds or slips during extrusion: The feed rate might be too high, or the nozzle is too cold. Slow down the command (use F50) and ensure the nozzle is at temperature.
Frequently Asked Questions
How often should I calibrate e-steps?
Only when you change the extruder hardware (motor, gear, or hotend) or if you notice consistent under/over-extrusion. It's not a routine maintenance item.
Can I calibrate e-steps without a computer?
Yes, most printers with a control screen have a "Move Axis" menu that lets you extrude a set length. You can then adjust the steps per mm in the settings menu and save it.
What's the difference between e-steps and flow rate?
E-steps are a firmware calibration that tells the motor how many steps to make one millimeter of filament. Flow rate is a slicer setting that scales extrusion for a specific filament or print. You should calibrate e-steps first, then adjust flow rate if needed.
My printer uses Klipper – do I still calibrate e-steps?
Klipper uses rotation_distance instead, but the calibration process is similar. You measure the actual extrusion and adjust the rotation_distance value in the config file.
Why does my extruder click during the test?
Clicking usually means the extruder can't push filament fast enough – either the nozzle is clogged, the temperature is too low, or the feed rate is too high. Stop the test, fix the issue, and retry.
Is it normal to get a value like 97.89?
Yes, e-steps are rarely whole numbers. Just round to two decimal places – the printer can handle fractions.