Stepper steps-per-mm / steps-per-degree calculator

A 1.8° motor has 200 full steps per revolution; a 0.9° motor has 400. Enter the screw lead, not just the thread pitch, for multi-start screws.

Microstepping comparison
MicrosteppingSteps per mm

No valid result to draw.

Show the steps

Interactive calculation is unavailable until JavaScript loads. The formulas, worked examples and references below remain available.

Calculate steps per millimeter for a lead screw or belt and pulley, or steps per degree for a geared rotary axis, from motor steps and microstepping.

How to use

Choose the mechanism: lead screw, belt and pulley, or a rotary axis.

Enter the motor's full steps per revolution and choose the driver's microstepping.

Enter the screw lead, or the belt pitch and pulley teeth; the teeth slider tries other pulleys. Leave the gear reduction at 1 unless gears sit between the motor and the screw, pulley or axis.

Read the steps per unit to enter in your firmware, the travel per microstep, and Klipper's rotation distance. Optionally enter an axis speed to see the step rate.

The chart and the table compare every microstep setting. Copy result copies the main values; Reset restores the starting example: a GT2 belt on a 20-tooth pulley, 200 steps and 1/16 microstepping.

Science

A stepper motor turns a fixed angle per full step, usually 1.8°, so 200 steps make one revolution. The driver divides each full step into microsteps, multiplying the step count per revolution.

Steps per millimetre is the number of microsteps per motor revolution divided by how far the axis moves in one revolution: the lead for a screw, or belt pitch times pulley teeth for a belt.

The lead is the distance the nut travels per screw turn. On a multi-start screw the lead is the pitch times the number of starts: a common T8 screw has a 2 mm pitch, 4 starts and an 8 mm lead.

Microstepping makes motion smoother and the theoretical resolution finer, but intermediate microstep positions are less precise and torque per microstep falls. Higher microstepping also raises the step rate the controller must produce.

Firmware accepts fractional steps per unit. A non-integer value is fine; only the positioning grid changes.

Assumptions and limitations: the motor does not miss steps, and the lead and belt pitch are nominal values. Belt stretch, screw lead error, microstep accuracy, torque, maximum speed and resonance are not modelled. Convert an inch screw to a lead in mm first: lead = 25.4 ÷ TPI × starts.

Formulas

Lead screw: steps/mm = steps per rev × microsteps × reduction ÷ lead

Belt and pulley: steps/mm = steps per rev × microsteps × reduction ÷ (belt pitch × pulley teeth)

Rotary axis: steps/° = steps per rev × microsteps × reduction ÷ 360

Resolution: travel per microstep = 1 ÷ (steps per unit)

Rotation distance (Klipper): travel per motor revolution = lead, or pitch × teeth, or 360°, divided by the reduction

Step rate: steps/s = steps per unit × axis speed

Examples

Belt: 200 steps, 1/16, GT2 2 mm pitch, 20 teeth: 80 steps/mm; 12.5 μm per microstep; rotation distance 40 mm. 200 × 16 = 3200 microsteps per turn, and one turn moves the belt 2 × 20 = 40 mm.

Lead screw: 200 steps, 1/16, T8 screw with 8 mm lead: 400 steps/mm; 2.5 μm per microstep. Entering the 2 mm thread pitch instead of the 8 mm lead would give 1600 steps/mm and make every move four times too long.

Rotary: 200 steps, 1/16, 5 : 1 reduction: 44.4444 steps/°; 0.0225° per microstep. 3200 × 5 ÷ 360 = 44.4444. The non-integer value is accepted by firmware.

References

RepRap wiki: Triffid Hunter's Calibration Guide

Prusa RepRap calculator

Marlin M92: Set Axis Steps-per-unit