Guide
Steps per millimetre for belts, lead screws and extruders, and how to calibrate E-steps
A 3D printer, a CNC router and a plotter all convert motor steps into millimetres of travel, and the conversion factor must match the hardware. Set it wrong and a 20 mm cube comes out 21 mm wide. The factor depends on the motor, the microstepping and the drive: belt and pulley, lead screw or extruder gear. This calculator works out the number for each, shows the Klipper equivalent and corrects an extruder from a simple test.
The idea
A hybrid stepper motor turns one full step per electrical step: 1.8° per step gives 200 steps a turn and 0.9° gives 400. A driver can divide each full step into 2, 4, 8, 16 or more microsteps, so a turn takes 200 × microsteps pulses. The steps per millimetre is those pulses per turn divided by the distance the machine moves in one turn of the motor.
Belt drives
For an X or Y axis the distance per turn is the belt pitch times the number of teeth on the pulley. The usual GT2 belt has a 2 mm pitch, so a 20-tooth pulley moves the belt 40 mm per turn. With a 1.8° motor and 16 microsteps that is 3,200 ÷ 40 = 80 steps per mm, a resolution of 12.5 µm per microstep. The tool offers GT2, MXL, T2.5, HTD 3M and T5 pitches.
Lead screws
For a Z axis the distance per turn is the lead of the screw, which is the thread pitch times the number of starts. A T8 screw with a 2 mm pitch and four starts has an 8 mm lead, so 3,200 ÷ 8 = 400 steps per mm at 16 microsteps, or 2.5 µm per microstep. A screw with a 2 mm lead would need 1,600 steps per mm.
Extruders
An extruder pushes filament with a hobbed gear, so the distance per turn is π times the gear diameter divided by any gear reduction. A direct-drive extruder with a 7.3 mm gear moves 22.9 mm per turn, and a geared one with a 50:17 reduction (a ratio of 2.941) turns the motor 2.941 times for one gear turn. With the geared example the tool gives 410.39 steps per mm and a rotation distance of 7.797 mm. The hobbed diameter is the effective diameter where the teeth bite, so use the maker’s figure.
Calibrating the extruder
Because filament bites into the gear differently, the calculated value is only a start. Mark the filament 120 mm above the extruder entrance, command 100 mm of extrusion with the nozzle hot, and measure how far the mark moved. If it only moved 96 mm, the new value is 93 × 100 ÷ 96 = 96.875, an increase of 4.17%. In Marlin this is M92 followed by E and the new number, saved with M500; in Klipper multiply the rotation distance by actual ÷ requested instead.
Choosing microsteps
More microsteps give finer steps and quieter motion, but the motor’s real position is only accurate to a fraction of a full step, so 64 or 256 microsteps rarely improve the dimensions of a print. They do raise the pulses per second the controller must produce, which limits top speed. Sixteen is a good default for most boards.
Limits
The tool assumes a standard hybrid stepper, a belt or screw that does not slip or stretch, and an accurate pulley or gear diameter. It cannot allow for belt stretch, lead screw error or backlash. Confirm any new setting by printing a calibration cube or measuring a test move with calipers.
Related tools
- Gear Ratio Calculator works out geared extruders and other reductions.
- Belt and Pulley Calculator sizes belt lengths and centre distances.
- 3D Print Cost Calculator prices the prints your tuned machine makes.
- LiPo Battery Calculator sizes batteries for portable motor projects.
Checked against the current version of the Steps per mm Calculator on .

