Stepper motor steps per mm calculator

Choose the motor's step angle and the driver's microstepping, then the drive: a toothed belt with its pitch and pulley teeth, or a lead screw with its lead. The calculator gives the steps per mm to put in your firmware, the resolution, and the step rate and rpm needed for a feed speed.

Motor step angle
Drive
mm
mm/s
Steps per mm80
Travel per microstep
12.5 µm
Microsteps per revolution
3,200
Travel per revolution
40 mm
Step pulse frequency
4,000 Hz
Motor speed
75 rpm

Runs in your browser: nothing you enter is sent anywhere.

How to use it

  1. Choose the step angle of the motor: 1.8° is the most common, 0.9° for finer motion.
  2. Choose the microstepping set on the driver (jumpers or firmware), for example 1/16.
  3. Choose Belt and pulley and enter the belt pitch (2 mm for GT2) and the number of pulley teeth, or Lead screw and enter its lead.
  4. Enter a feed speed to see the pulse frequency and rpm. Copy the steps per mm into your firmware (for example the steps-per-unit setting in Marlin or Klipper’s rotation distance, which is the travel per revolution).

Formulas

  • Microsteps per revolution = (360° / step angle) × microstepping
  • Travel per revolution = belt pitch × pulley teeth, or the screw lead
  • Steps per mm = microsteps per revolution / travel per revolution
  • Travel per microstep = 1000 / steps per mm (µm)
  • Step frequency = steps per mm × speed (Hz); motor rpm = speed / travel per revolution × 60

Worked example

A 3D printer axis with a 1.8° motor, 1/16 microstepping, GT2 belt (2 mm) and a 20-tooth pulley: 200 × 16 = 3200 microsteps per revolution, 2 × 20 = 40 mm per revolution, so 80 steps/mm, and each microstep moves 12.5 µm. At 50 mm/s the driver needs 80 × 50 = 4000 Hz and the motor turns at 50 / 40 × 60 = 75 rpm.

The Z axis with a T8 lead screw (8 mm lead) at 1/16: 3200 / 8 = 400 steps/mm, 2.5 µm per microstep.

Tips

  • Calibrate after calculating. Move 100 mm, measure, and scale the steps per mm by commanded / measured distance if the belt or screw is not exactly nominal.
  • Pitch vs lead: multi-start screws move several pitches per turn. Always enter the lead.
  • Gearboxes: for a geared motor, multiply the steps per revolution by the gear ratio before using the calculator (or divide the travel by it).

Frequently asked questions

How do I calculate steps per mm for a belt?

Steps per mm = motor steps per revolution × microstepping / (belt pitch × pulley teeth). A 1.8° motor (200 steps) at 1/16 with a 2 mm GT2 belt on a 20-tooth pulley: 3200 / 40 = 80 steps/mm.

And for a lead screw?

Divide by the lead, the distance the nut moves per turn: steps per mm = steps × microstepping / lead. A T8 screw with 8 mm lead at 1/16 gives 3200 / 8 = 400 steps/mm. Lead = pitch × number of starts, so a 2 mm pitch, 4-start screw has an 8 mm lead.

Does more microstepping mean more accuracy?

It gives smoother motion and finer commanded steps, but the actual position accuracy between full steps is limited by the motor and load, so the extra resolution is not all real. It also raises the step rate the controller must generate.

What step rate do I need?

Step frequency = steps per mm × speed in mm/s. At 80 steps/mm and 50 mm/s that is 4,000 pulses per second. Check that your controller and driver can produce and follow that rate at your fastest moves.

More in Unit converters

All tools in this category: Unit converters ·Updated November 7, 2026

Privacy choices

Google Analytics shows us which tools are used and whether they work. It may set cookies. Your choice is kept in this browser.