Shop by category
Shop all componentsMotors & mechanics
Steps per rev = (360° ÷ step angle) × microstepsBelt: steps/mm = steps per rev ÷ (pitch × teeth)Screw: steps/mm = steps per rev ÷ leadGT2 belt, 20-tooth pulley, 1.8° motor, 1/16 microstepping: 3200 ÷ (2 × 20) = 80 steps/mm. A T8 lead screw with 8 mm lead: 3200 ÷ 8 = 400 steps/mm.
Firmware such as Marlin, Klipper and GRBL needs to know how many step pulses move each axis by one millimetre. It depends on the motor’s step angle, the driver’s microstepping and the mechanics: belt pitch and pulley teeth, or lead-screw lead.
Lead is not the same as pitch on multi-start screws: a common T8 screw has 2 mm pitch and 4 starts, so 8 mm lead. Microstepping makes motion smoother, but extra microsteps do not add real accuracy beyond about 1/16. After setting the value, calibrate by moving 100 mm and measuring.
With a 1.8° motor, 16 microsteps and a 20-tooth GT2 pulley: 3200 ÷ (2 × 20) = 80 steps/mm.
A T8 screw with 8 mm lead, 1.8° motor and 16 microsteps: 3200 ÷ 8 = 400 steps/mm.
They make motion smoother, but accuracy between full steps is limited. 16 microsteps is a good balance.
Steps per rev = (360° ÷ step angle) × microsteps; Belt: steps/mm = steps per rev ÷ (pitch × teeth); Screw: steps/mm = steps per rev ÷ lead.
GT2 belt, 20-tooth pulley, 1.8° motor, 1/16 microstepping: 3200 ÷ (2 × 20) = 80 steps/mm. A T8 lead screw with 8 mm lead: 3200 ÷ 8 = 400 steps/mm.
Geekobot builds that use it include Stepper photo turntable, Stepper-motor dial thermometer, Pico stepper dial set by a knob (MicroPython) and Stepper soil moisture dial. Each has the full parts list, wiring and code.
Results are estimates for design and learning. Check critical designs against the component datasheet. Made by the Geekobot Learning Team. How we write our calculators