Extruder Microstep Calculator


The purpose of this calculator is to find the optimal microstep setting for your extruder. A combination of various factors can lead to the extruder not being advanced even though it should. This can then lead to underextrusion.

  1. Enter your extrusion width
  2. Enter your layer height
  3. Enter your flow rate - or mixing ratio. Whatever applies.
  4. Enter your filament diameter
  5. Enter a length for a print move.
    This should be less or equal to 0.5mm. You can look at a sliced GCode file and search for very small moves or just take a guess here. Sometimes this value can also be adjusted in the slicer to never be smaller than this (Slic3r has such a setting).
    If you are unsure leave the default 0.2 in there.
    If you want to be extra safe replace it with 0.1 - smaller values should only be used if found in sliced GCode. You can use Print Move Distance Statistics to find smaller values and their statistical distribution.
  6. Enter your extruder steps/mm for 16x microstepping
  7. Enter your retraction speed in mm/min
  8. Optional: Adjust your maximum step rate

Check the table down the page. It will give you information on

  • what amount of steps/mm you will have at which microstepping-factor
  • how many mm of filament will be pushed into the hotend by the extruder with one microstep
  • what is the shortest print move possible with the selected values where at least one microstep is advanced
  • how fast you could theoretically retract if the only limit would be the MCU speed and in the last column
  • how many microsteps are required to extrude the filament for the move selected in step 5 above

Values of the last two colums will be colored. For the maximum retraction speed this will be green if it is greater or equal to the speed you selected in step 7 above.
Microsteps on print move will be marked red if less than 1, green otherwise.

You should choose a microstepping-factor with a green values in the last two columns because otherwise for such a move no extrusion might happen at all which would lead to under-extrusion and loss of print quality or the extruder would be loosing steps when retracting because the MCU can not create all the necessary steps.


  • If there is no row with both columns at the right in green you should check if you could reduce either the retracting speed or limit the minimum size of small printing moves.
  • Going to a higher microstepping-factor can lead to loss of torque. If you encounter problems try a lower microstepping value that still fulfills the requirements (if available)
  • Low torque motors (such as pancake steppers) might not be able to reliably produce very short microsteps

Issues and Improvements

If you have any issues or improvements please report them at the Duet Forum

Print Settings


Extruder Settings


Optional Adjustments


Microstepping Comparison

Microstepping Steps/mm mm/Microstep Shortest Print Move (mm) Max Retraction Speed (mm/min) Microsteps on Print Move