Calculators › Calibration
Klipper rotation distance calculator
Moving from Marlin to Klipper? Convert your steps/mm, or work rotation_distance out from the hardware.
steps/mm
mm
mm
Result
rotation_distance–
Config line–
How it's calculated
rotation_distance = full steps per rev × microsteps ÷ steps per mm
belt = belt pitch × pulley teeth
screw = lead
What rotation_distance means
Klipper describes each axis by how far it moves for one full turn of the motor, instead of steps per millimetre. That makes it independent of microstepping. A GT2 belt with a 20-tooth pulley moves 40 mm per turn, so rotation_distance is 40.
For the extruder, start from the manufacturer's value and calibrate it with the extruder calibration calculator.
Questions
What is rotation_distance for a T8 lead screw?
8 for a standard 4-start T8 screw with an 8 mm lead.
Do I change rotation_distance when I change microsteps?
No. That's the point of it; Klipper handles microsteps separately.