Stepper Motor Calculator — steps per mm, speed and resolution

Steps per mm, microstepping resolution, maximum RPM and torque at speed.

Example: 1.8° at 16× microstepping over 40 mm per revolution gives 80 steps/mm — 12.5 µm per step.

Formula

steps/mm = (360 / step angle × microsteps) / travel per revolution

Worked example

1.8° at 16× microstepping over 40 mm per revolution gives 80 steps/mm — 12.5 µm per step.

  1. steps per revolution = 360 / angle × microsteps

    360 / 1.8 × 16

    3200

  2. steps/mm = steps per rev / travel per rev

    3200 / 40

    80

  3. step rate = speed × steps/mm

    100 mm/s × 80

    8 kHz

Frequently asked questions

How do I calculate steps per mm?

Divide steps per revolution by travel per revolution. A 1.8° motor at 16× microstepping is 3200 steps per revolution; on a GT2 belt with a 20-tooth pulley that is 40 mm of travel, giving 80 steps/mm.

Does more microstepping mean more accuracy?

No — it means more smoothness. Incremental torque per microstep falls as the sine of the microstep angle, so at 256× a single microstep has under 1% of full-step torque and friction simply absorbs it. Positional accuracy stays limited by the motor's own ±5% step error.

Why does my stepper lose torque at speed?

Back-EMF. As the motor turns faster it generates a voltage opposing the drive, so less current flows and torque falls. Raising the drive voltage is the effective fix, which is why 24 V and 36 V systems reach much higher speeds than 12 V ones.

What step rate can my controller handle?

Most 8-bit boards struggle beyond about 40 kHz across all axes combined; 32-bit boards manage several hundred kHz. Drivers with internal interpolation sidestep the problem by taking full steps from the controller and generating microsteps in hardware.

Related tools