What one turn of a motor moves
An axis moves a fixed distance for each full turn of its stepper motor. Klipper calls that distance the rotation_distance. Marlin counts the steps that make the axis move one millimeter instead. Both describe the same hardware, and the calculator gives both.
Belt axes
Klipper’s documentation says that the rotation_distance of a belt axis is the belt pitch times the number of teeth on the motor pulley. Most printers use a 2 mm belt, and the documentation’s own example is a pulley of 20 teeth, which moves the axis 40 mm a turn. A 1.8 degree motor on a driver set to 16 microsteps takes 3,200 steps a turn, so that axis needs 80 steps per mm.
Lead screw axes
For a lead screw it is the pitch of the screw times its number of separate threads. The common T8 screw has a pitch of 2 mm and four threads, so a turn moves the axis 8 mm, and on the same motor and driver the axis needs 400 steps per mm. Older printers with a threaded rod have one thread: an M6 rod moves 1 mm a turn and an M8 rod moves 1.25 mm.
The motor and the driver
Most stepper motors take 1.8 degree steps, which makes 200 full steps a turn. Some take 0.9 degree steps, which makes 400. Most drivers use 16 microsteps. Klipper’s guide says to use 200 and 16 when you are not sure, and the calculator opens on those values. A 0.9 degree motor, or a driver at 32 microsteps, doubles the steps per mm and leaves the rotation_distance as it was.
Converting a value you have
Moving from Marlin to Klipper, type the steps per mm that M92 reports into the last group and read the rotation_distance. Going the other way, type the rotation_distance. Klipper says to round a result that is within .01 of a whole number to that number, and the calculator does the same: 80.01 steps per mm on the default motor gives 39.995, which it shows as 40.
The extruder is different
An extruder has no belt or screw to count, so its value comes from a test extrusion. Klipper’s guide uses measure and trim there and tells you not to use it on x, y or z. The E-steps calculator works out the extruder.