1. Home
  2. Calculators
  3. Steps per mm Calculator

Steps per mm Calculator

For building or tuning a 3D printer, CNC or plotter: set the right steps per millimetre and calibrate the extruder.

Free, no sign-up. Runs in your browser: nothing is uploaded.

Free workspace included. Docs, spreadsheets, notes and tasks that save on your device. No sign-up.Take a look

How to use Steps per mm Calculator

  1. Enter your numbers, or press a sample to see an example.
  2. Read the results and the table under them.
  3. Copy the results or download the table as a CSV file.

Features

  • Belt and pulley, lead screw and extruder
  • 1.8° and 0.9° motors, microsteps 1 to 256
  • Klipper rotation distance and resolution
  • Extruder calibration from a measured test
  • GT2, MXL, T2.5, HTD and T5 belts

Supported formats

Input

  • Typed numbers

You get

  • On-screen results
  • Copyable text

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the Steps per mm Calculator is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • It assumes a standard hybrid stepper motor and belt or screw drives; non-standard gearing needs the gear ratio entered.
  • Always confirm the motion with a measured test move.

Guide

Steps per millimetre for belts, lead screws and extruders, and how to calibrate E-steps

A 3D printer, a CNC router and a plotter all convert motor steps into millimetres of travel, and the conversion factor must match the hardware. Set it wrong and a 20 mm cube comes out 21 mm wide. The factor depends on the motor, the microstepping and the drive: belt and pulley, lead screw or extruder gear. This calculator works out the number for each, shows the Klipper equivalent and corrects an extruder from a simple test.

The idea

A hybrid stepper motor turns one full step per electrical step: 1.8° per step gives 200 steps a turn and 0.9° gives 400. A driver can divide each full step into 2, 4, 8, 16 or more microsteps, so a turn takes 200 × microsteps pulses. The steps per millimetre is those pulses per turn divided by the distance the machine moves in one turn of the motor.

Belt drives

For an X or Y axis the distance per turn is the belt pitch times the number of teeth on the pulley. The usual GT2 belt has a 2 mm pitch, so a 20-tooth pulley moves the belt 40 mm per turn. With a 1.8° motor and 16 microsteps that is 3,200 ÷ 40 = 80 steps per mm, a resolution of 12.5 µm per microstep. The tool offers GT2, MXL, T2.5, HTD 3M and T5 pitches.

Lead screws

For a Z axis the distance per turn is the lead of the screw, which is the thread pitch times the number of starts. A T8 screw with a 2 mm pitch and four starts has an 8 mm lead, so 3,200 ÷ 8 = 400 steps per mm at 16 microsteps, or 2.5 µm per microstep. A screw with a 2 mm lead would need 1,600 steps per mm.

Extruders

An extruder pushes filament with a hobbed gear, so the distance per turn is π times the gear diameter divided by any gear reduction. A direct-drive extruder with a 7.3 mm gear moves 22.9 mm per turn, and a geared one with a 50:17 reduction (a ratio of 2.941) turns the motor 2.941 times for one gear turn. With the geared example the tool gives 410.39 steps per mm and a rotation distance of 7.797 mm. The hobbed diameter is the effective diameter where the teeth bite, so use the maker’s figure.

Calibrating the extruder

Because filament bites into the gear differently, the calculated value is only a start. Mark the filament 120 mm above the extruder entrance, command 100 mm of extrusion with the nozzle hot, and measure how far the mark moved. If it only moved 96 mm, the new value is 93 × 100 ÷ 96 = 96.875, an increase of 4.17%. In Marlin this is M92 followed by E and the new number, saved with M500; in Klipper multiply the rotation distance by actual ÷ requested instead.

Choosing microsteps

More microsteps give finer steps and quieter motion, but the motor’s real position is only accurate to a fraction of a full step, so 64 or 256 microsteps rarely improve the dimensions of a print. They do raise the pulses per second the controller must produce, which limits top speed. Sixteen is a good default for most boards.

Limits

The tool assumes a standard hybrid stepper, a belt or screw that does not slip or stretch, and an accurate pulley or gear diameter. It cannot allow for belt stretch, lead screw error or backlash. Confirm any new setting by printing a calibration cube or measuring a test move with calipers.

Checked against the current version of the Steps per mm Calculator on .

Frequently asked questions

What is the difference between steps per mm and rotation distance?

They are the same information written two ways. Marlin firmware wants steps per millimetre; Klipper wants the rotation distance, the millimetres of travel for one full turn of the motor. Rotation distance equals full steps times microsteps divided by steps per mm, so the 80 steps/mm belt axis has a rotation distance of 40 mm, which is also just the belt pitch times the pulley teeth. The tool shows both so you can paste whichever your firmware needs.

My steps per mm is not a whole number. Is that a problem?

Usually not. Modern firmware stores the value as a decimal, so 410.39 is fine. Some older builds round to two places, which causes a tiny error that grows with distance: 0.005 steps per mm on a 200 mm move is one whole step, about 12 micrometres on a belt axis. If your firmware is limited, pick microstepping or a gear ratio that gives a cleaner number.

What is the steps per mm of a GT2 belt with a 20-tooth pulley?

80 with a 1.8° motor at 16 microsteps: 200 × 16 ÷ (2 mm × 20).

How do I calibrate the extruder?

Mark the filament, extrude 100 mm, measure how much really moved, and enter the three numbers. The tool returns the corrected steps per mm.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.