MotionMechLab

Stepper motor torque, RPM & steps/mm calculator

Size NEMA 17, 23 or 34 stepper axes. Calculate steps/mm, pulse rate and torque at speed, then export Klipper or Marlin settings.

Jump to results ↓

Inputs

Motor & transmission
°
mm
T
Motion & load
rpm
kg
mm/s²
N
Include drag and any gravity load on the driven axis.
%
kg·cm²
Motor rotor plus drivetrain inertia seen at the motor.
×
kHz
Enter 0 to skip the controller limit check.
Pull-out curve samples

Replace these example points with data for your motor, current, driver and supply voltage.

rpm
N·m
rpm
N·m

Results

Preset estimate
Commanded resolution
80steps/mm
Pull-out torque between the two entered speeds, with the required operating point markedN·m0.47001,272 rpm
Teal marks the entered pull-out interval. The orange point marks required torque with margin.
Motor speed
600 rpm
Axis speed
400 mm/s
Axis feed
24,000 mm/min
Step frequency
32 kHz
Required pull-out torque
0.1163 N·m
Required torque (imperial)
16.46 oz·in
Pull-out torque at speed
0.2882 N·m
Travel per turn
40 mm
Required sizing power
7.31 W
Shaft power before margin
4.87 W
Axis force during acceleration
11.25 N
Rated frame face (nominal)
NEMA 17 · 42 mm
Full steps per revolution
200 steps

Calculate from the transmission and the load

Steps per millimeter come from motor step angle, driver microstep setting and travel per motor revolution. A finer microstep setting raises the controller pulse rate. The theoretical step increment does not describe repeatability or positioning accuracy.

Size the motor against pull-out torque at the operating speed. NEMA 17, 23 and 34 identify the mounting envelope. The preset curve points illustrate the comparison and do not represent a rated motor. Enter two pull-out measurements at the intended voltage, current and driver, close to the target RPM.

Shaft torque includes linear acceleration, the resisting force you enter, transmission loss and the acceleration of rotating inertia. Use the margin-adjusted torque for motor comparison. Mechanical shaft power is distinct from electrical driver power.

Worked example

A 1.8° motor running at 1/16 microstepping with a GT2 20T pulley makes 3,200 command steps per revolution. It travels 40 mm per turn, so the axis uses 80 steps/mm. At 600 RPM the axis moves at 400 mm/s and the controller sends 32 kHz.

Formulas

  • Full steps per turn = 360° / step angle
  • Travel per turn = pulley teeth × pitch, or screw lead
  • Steps/mm = full steps × microsteps / travel (mm)
  • Axis speed (mm/s) = RPM × travel / 60
  • Pulse frequency (kHz) = speed × steps/mm / 1000
  • Shaft torque = (m a + F) × travel / (2π η) + J × 2π a / travel
  • Required pull-out torque = shaft torque × margin factor
  • Mechanical power (W) = shaft torque × 2π RPM / 60

References

Frequently asked questions

Can I select a stepper using its holding torque?

Use the pull-out curve at the motor RPM required by the move. Holding torque describes a stationary energized motor and can substantially exceed running torque.

What does the stepper firmware export include?

The Klipper fragment includes rotation distance, full steps and microsteps for the selected axis. The Marlin file includes the steps per mm value and its M92 command. Merge the values into your existing settings.

How do I account for a vertical axis?

Enter the opposing gravity force in the net resisting force, along with drag and any process load. Include the moving mass separately for acceleration.