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 revolutionWorked example
1.8° at 16× microstepping over 40 mm per revolution gives 80 steps/mm — 12.5 µm per step.
steps per revolution = 360 / angle × microsteps
360 / 1.8 × 16
3200
steps/mm = steps per rev / travel per rev
3200 / 40
80
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
3D Printer E-Step Calculator
Calibrate extruder steps per millimetre from a measured extrusion, with the M92 command to paste.
Mechanical
Gear Ratio Calculator
Ratio, output speed and torque multiplication for single and compound gear trains.
Mechanical
H-Bridge & Motor Driver Calculator
Motor current, dead-time and driver dissipation for an H-bridge stage.
Circuits
PWM Frequency & Duty Calculator
The frequency-versus-resolution trade-off made explicit, with register values for your MCU and duty-cycle counts.
Firmware
Tap Drill Size Calculator
Tap drill diameter and clearance hole for metric and imperial threads, at any thread engagement.
Mechanical
555 Timer Calculator
Design astable, monostable and 50%-duty 555 circuits. Get the schematic, the waveform, and a bill of materials in stock E24 values.
Circuits