Stepper Motor Steps per mm Calculator
Stepper motor steps per mm for a belt, leadscrew, ballscrew or rack and pinion, with resolution and top speed. For CNC, lasers and 3D printers.
New: please check your results.
For guidance only. This is not a substitute for a qualified engineer, and important designs should be checked by one.
Was this calculator useful?
- Steps per mm
- 80 steps/mm
- Travel per drive turn
- 40 mm
- Smallest move (one microstep)
- 0.0125 mm
- Top speed
- 200 mm/s
- Top speed per minute
- 12,000 mm/min
What it does
Every stepper-driven axis needs to know how many motor steps move it one millimetre. Work it out from the drive: a belt and pulley, a leadscrew or ballscrew, or a rack and pinion, with the motor's step angle, the driver's microstepping and any gearing. You also get the smallest move one microstep makes, and how fast the axis can go for a motor speed limit. It suits CNC routers and mills, laser cutters, plotters, 3D printers and linear stages.
How to use it
- Drive
Belts for fast, light axes (printers, lasers); screws for precise or heavy ones (CNC, Z axes); rack and pinion for long CNC router axes.
- Motor full steps per turn
On the motor's label or data sheet as the step angle: 1.8° is 200 steps, 0.9° is 400.
- Microsteps
Set on the driver (DIP switches or firmware). 16 is common on printers; CNC drivers are often set to 4 to 16.
- Belt pitch
The distance between teeth: GT2 is 2 mm, GT3 3 mm, HTD 3M/5M 3 or 5 mm, T5 5 mm.
- Pulley teeth
Count the teeth on the motor's pulley.
- Screw pitch
The distance between neighbouring threads. Ballscrews are usually named by diameter and lead: SFU1605 is 16 mm with 5 mm. Inch screws: 25.4 ÷ threads per inch (10 TPI = 2.54 mm).
- Number of starts
How many separate threads wind round the screw: 1 on most ballscrews, 4 on a standard T8 leadscrew (2 mm pitch, 8 mm lead).
- Gear module
The rack and pinion's module, e.g. 1, 1.25 or 1.5 (often written M1.5). Both must match.
- Pinion teeth
Count the teeth on the motor's gear.
- Gear reduction
Motor turns for one turn of the pulley, screw or pinion: 1 if the motor drives it directly, 3 for a 3:1 gearbox or belt reduction.
- Motor speed limit
Optional, for the top speed: steppers lose torque as they speed up, so most machines stay well under 1,000 rpm. Find your limit by testing, or from the motor's torque curve.
Common uses
- Setting up a CNC machine in GRBL ($100, $101, $102) or Mach3/Mach4.
- Setting Marlin's steps per mm (M92) for a new belt, pulley or screw.
- Choosing a leadscrew or pulley for the resolution and speed you need.
- Klipper's rotation_distance instead of steps per mm. Try the Klipper Rotation Distance Calculator
- Working out a gear or belt reduction. Try the Gear Ratio Calculator
The formula
Steps per mm = full steps × microsteps × reduction ÷ travel per drive turnBelt: travel = belt pitch × pulley teethScrew: travel = pitch × starts (the lead)Rack and pinion: travel = π × module × pinion teethTop speed (mm/s) = rpm ÷ 60 × travel ÷ reductionWhere:
- Full steps
- 200 for a 1.8° motor, 400 for 0.9°
- Reduction
- motor turns for one turn of the pulley, screw or pinion
- Module
- pitch diameter ÷ teeth, in mm
Microstepping makes motion smoother, but each microstep is only roughly accurate, so real precision is nearer the full-step move. Calibrate by commanding a long move and measuring it: new steps per mm = old × commanded ÷ measured.
Worked example
A 2 mm pitch belt on a 20-tooth pulley, with a 200 (1.8° motor, most common)-step motor at 16 microsteps:
- Travel per turn: 2 mm × 20 = 40 mm mm
- Steps per mm: 3,200 ÷ 40 = 80 steps/mm
- Smallest move: 1 ÷ 80 = 0.0125 mm mm
- At 300 rpm: 300 ÷ 60 × 40 mm = 200 mm/s
Questions people ask
What are the steps per mm for a GT2 belt and 20-tooth pulley?
80 with a 1.8° motor at 16 microsteps: 200 × 16 ÷ (2 mm × 20 teeth) = 80. With a 16-tooth pulley it's 100.
What about a T8 leadscrew or an SFU1605 ballscrew?
At 200 steps and 16 microsteps, a T8 leadscrew (8 mm lead) is 400 steps per mm, and an SFU1605 ballscrew (5 mm lead) is 640.
Does more microstepping make my machine more accurate?
Smoother and quieter, but not proportionally more accurate: the motor's torque between full steps is small, so load and friction pull it off the exact microstep. For precision, choose a finer lead or more reduction.
Last checked 6 November 2026 · Last rev. 6 November 2026 · 6996