Steps and speed calculator

Enter your motor's full steps per revolution, the microsteps you run, the belt pitch, the pulley's tooth count and a target speed. The estimates update as you type and nothing you enter leaves your browser.

Your axis

On the motor's data sheet. A 1.8° motor has 200, a 0.9° motor has 400. Klipper needs a multiple of 4.

The microsteps value in your Klipper stepper section. The Klipper snippet below is shown for 1, 2, 4 ... 256, the values TMC drivers take.

Distance between belt teeth. Check the pitch in your own belt's specification: 2 mm is common, 3 mm also exists. Quick picks are examples only. Use a decimal point, not a comma.

Teeth on the pulley fixed to the motor shaft.

The belt speed you want from this motor, steady. For the CoreXY line it is read as toolhead speed. Quick picks are examples.

Estimates

Estimates for the values entered.

Dial scale 0 to 600 RPM, chosen to fit your result. It is not a motor limit.

rotation_distance
40 mm per rev
Steps per mm
80 microsteps
Step rate
24,000 Hz
Motor speed
450 RPM
Time between steps
41.67 µs

CoreXY diagonal: if the speed above is the toolhead speed, a 45° move runs one motor at √2 times that speed while the other stands still, so that motor turns at 636.4 RPM and 33,941 Hz (estimate; these two figures already include the √2).

Klipper stepper section, the lines this covers

rotation_distance: 40
microsteps: 16
full_steps_per_rotation: 200

The formulas

Estimate, belt drive

  1. rotation_distance (mm per rev) = belt pitch × pulley teeth
  2. steps per mm = full steps × microsteps ÷ rotation_distance
  3. step rate (Hz) = speed (mm/s) × steps per mm
  4. RPM = speed (mm/s) × 60 ÷ rotation_distance
  5. time between steps (µs) = 1,000,000 ÷ step rate (Hz), with no value at a step rate of zero
  6. CoreXY 45° move: motor speed = √2 × toolhead speed, so RPM and step rate are √2 × the values above

The first two follow the Klipper documentation's rotation distance page, which also shows the Klipper settings involved: rotation_distance, microsteps and full_steps_per_rotation. Steps three to five are unit conversions: 60 seconds to the minute and 1,000,000 microseconds to the second (see the NIST pages under Sources). The √2 comes from Klipper's CoreXY kinematics, where the two motors follow X + Y and X − Y.

What it assumes

  • A belt driven directly by a pulley on the motor shaft, with no gearing between them.
  • The speed you enter is the belt speed at this motor, held steady. Acceleration is not included.
  • The step rate counts the pulses configured for the driver (full steps × microsteps). It does not include any interpolation a driver may add internally.
  • CoreXY: for the diagonal line only, the number you enter is read as the toolhead speed. On a straight X or Y move both motors turn at that belt speed, but on a 45° diagonal one motor carries the whole move at √2 (about 1.41) × the toolhead speed while the other stands still. The displayed diagonal RPM and step rate already include that factor. Other kinematics are not modelled.
  • The Klipper snippet is shown only when full steps is a multiple of 4 and microsteps is 1, 2, 4, 8, 16, 32, 64, 128 or 256, the values Klipper and its TMC drivers accept. Other values still get the arithmetic.
  • Quick-pick buttons are examples, not recommendations. The input limits (for example 1 to 256 microsteps) are calculator boundaries, not motor or driver limits.
  • It does not estimate torque, back-EMF, driver limits or what your controller can sustain. Supply voltage does not change these numbers; it changes how much torque is left at that speed.

All results are estimates from the numbers you type. Check the result against your own configuration before you print.

Sources