Free calculators · Run in your browser

3D printer calculators With the working shown.

24 calculators for calibrating a printer and planning filament: e-steps, rotation distance, flow rate, volumetric speed, shrinkage and more. Each one updates as you type and shows its formula, a worked example and its source.

  • Live resultsNo submit button
  • SourcedEvery formula is cited
  • ShareableValues travel in the link
  • PrivateNothing is uploaded

Extruder e-steps (Marlin)

Heat the nozzle, mark the filament 120 mm above the extruder, ask for 100 mm at a slow speed, then measure how far the mark moved.

New e-steps from a test extrusion

Send M92 with no values to read it.

New e-steps 95.88 steps/mm

Change
+3.09 %
The extruder moved
97 % of what you asked for

Send these to set and save it

M92 E95.88
M500

new e-steps = current e-steps × length you asked for ÷ length that moved

Worked example. The printer is set to 93 steps/mm. You ask for 100 mm and 97 mm goes in: 93 × 100 ÷ 97 = 95.88 steps/mm.

  • Read the current value by sending M92 with no values (older firmware: M503).
  • Set it with M92 E and the new number, then save it with M500. Saving needs firmware built with settings storage (EEPROM); without it, the value is lost at power-off.
  • Measure the move, not the mark. If you marked at 120 mm and 23 mm is left, 97 mm moved.
  • Repeat once with the new value to confirm it.

Source: Marlin Firmware, M92: Set Axis Steps-per-unit · Marlin Firmware, M500: Save Settings · RepRap wiki, Triffid Hunter’s Calibration Guide

Rotation distance (Klipper)

Klipper uses rotation distance in place of steps per mm: the distance the axis or filament moves in one full turn of the motor (or of the last gear, when a gear ratio is set).

Calibrate the extruder

New rotation distance 7.200 mm

Change
−4.00 %

In the extruder section of the printer config

rotation_distance: 7.200

From steps per mm

Full steps per turn after the dot.

Set by the driver or firmware: often 16.

Rotation distance 40 mm

Config line

rotation_distance: 40

Rotation distance for a belt axis

Rotation distance 40 mm

Config line

rotation_distance: 40

Rotation distance for a leadscrew

Distance between neighbouring thread crests.

Rotation distance 8 mm

Config line

rotation_distance: 8

extruder: new rotation distance = current rotation distance × length that moved ÷ length you asked for

from steps per mm: rotation distance = full steps per rotation × microsteps ÷ steps per mm

belt: rotation distance = belt pitch × pulley teeth

leadscrew: rotation distance = screw pitch × number of separate threads

Worked example. Extruder: set to 7.5 mm, you ask for 50 mm and 48 mm moves: 7.5 × 48 ÷ 50 = 7.200. From steps: 200 × 16 ÷ 80 = 40. Belt: 2 mm pitch × 20 teeth = 40. Leadscrew: 2 mm pitch × 4 threads = 8.

  • The extruder test: mark the filament about 70 mm above the extruder, send G91 then G1 E50 F60, and measure. The slow speed matters: a faster one builds pressure and skews the result.
  • Round the new value to three decimal places. If the next test is still more than about 2 mm out, repeat.
  • It runs the other way to e-steps. Too little filament means a smaller rotation distance.
  • Geared drives: set the gear ratio in the config as well. This page does not work it out.

Source: Klipper documentation, Rotation distance

Axis steps per mm

For firmware that counts steps: how many motor steps move the axis 1 mm.

Steps per mm for a belt axis

Full steps per turn after the dot.

Set by the driver or firmware: often 16.

Steps per mm 80 steps/mm

One microstep moves
12.5 µm
One motor turn moves
40 mm

Steps per mm for a leadscrew

Full steps per turn after the dot.

Set by the driver or firmware: often 16.

Lead = pitch × number of starts.

Steps per mm 400 steps/mm

One microstep moves
2.5 µm

From rotation distance

Full steps per turn after the dot.

Set by the driver or firmware: often 16.

Steps per mm 80 steps/mm

belt: steps per mm = motor steps per turn × microsteps ÷ (belt pitch × pulley teeth)

leadscrew: steps per mm = motor steps per turn × microsteps ÷ screw lead

Worked example. A 1.8° motor (200 steps) at 16 microsteps on a 2 mm belt with a 20-tooth pulley: 200 × 16 ÷ (2 × 20) = 80 steps/mm. The same motor on a screw with an 8 mm lead: 200 × 16 ÷ 8 = 400 steps/mm.

These are the theoretical values, and for belts and screws they are normally right. If a printed part is the wrong size, look at flow and shrinkage before changing axis steps.

Source: RepRap wiki, Triffid Hunter’s Calibration Guide · Prusa Research, RepRap calculator: optimal layer height for your Z axis

Flow rate (extrusion multiplier)

Print a hollow cube with a single wall (vase mode), then measure the wall.

New flow from a single-wall cube

New flow 93.8 %

As a multiplier
0.938
Change
−6.3 %

new flow % = flow used for the test × wall width set in the slicer ÷ measured wall

Worked example. The slicer’s extrusion width is 0.45 mm, the cube was printed at 100 % and the walls average 0.48 mm: 100 × 0.45 ÷ 0.48 = 93.8 %, or a multiplier of 0.938.

  • Use the width from the slicer, not the nozzle size. The two are often different.
  • Measure the middle of each wall at least three times and average them. A micrometer is better than low-cost calipers for a wall this thin.
  • Calibrate per filament. Flow changes with the material and sometimes the colour.

Source: Prusa Research, Extrusion multiplier calibration

Maximum volumetric speed

A hotend can only melt so much plastic a second. That limit, in mm³/s, sets how fast you can print at a given layer height and line width.

Flow for a speed

Volumetric flow 9 mm³/s

Filament fed
3.74 mm/s of 1.75 mm filament

Fastest speed for your hotend

An example. Measure your own: see below.

Maximum speed 133 mm/s

Maximum speed at 12 mm³/s and a 0.45 mm line
Layer heightMaximum speed
0.08 mm333 mm/s
0.12 mm222 mm/s
0.16 mm167 mm/s
0.20 mm133 mm/s
0.24 mm111 mm/s
0.28 mm95 mm/s
0.32 mm83 mm/s

Flow from an extrusion test

The G-code F value ÷ 60.

Volumetric flow 12.03 mm³/s

Each mm of filament is
2.405 mm³

volumetric flow (mm³/s) = layer height × line width × speed

maximum speed = maximum flow ÷ (layer height × line width)

flow from a test = filament speed × π × (filament diameter ÷ 2)²

Worked example. 0.2 mm layers, a 0.45 mm line and 100 mm/s: 0.2 × 0.45 × 100 = 9 mm³/s. A hotend that manages 12 mm³/s tops out at 12 ÷ (0.2 × 0.45) = 133 mm/s.

  • We don’t list a figure for your hotend. It depends on the hotend, nozzle, material and temperature, so it is an input here.
  • To measure it: mark 100 mm of filament, extrude 100 mm into the air at rising speeds, and note the fastest speed at which the full 100 mm still goes in. Put that speed in the third box, then set your slicer a little below the result.
  • The rectangle is a small overestimate. Slicers model a line with rounded ends, so the real flow is slightly lower than layer height × width × speed.
  • Signs you are over the limit: a clicking extruder, thin lines at speed and weak layers.

Source: Ellis’ Print Tuning Guide, Determining maximum volumetric flow rate · Prusa Research, Max volumetric speed

Filament length, weight and volume

Filament is a long cylinder, so its diameter and density turn any one of length, weight and volume into the other two.

Convert length, weight and volume

From the maker’s data sheet for your spool.

Length 335.28 m

Volume
806.45 cm³
Weight
1000 g
One metre weighs
2.98 g

Filament left on a spool

Weigh an empty spool of the same make. They differ a lot.

From the maker’s data sheet for your spool.

Filament left 420 g

Length left
140.8 m
Of a full spool
42 %

volume = π × (diameter ÷ 2)² × length

weight = volume × density

filament left = spool with filament − empty spool

Worked example. 1,000 g of PLA at 1.24 g/cm³ is 1000 ÷ 1.24 = 806.5 cm³. At 1.75 mm, each metre holds 2.405 cm³, so that is 335.3 m.

MaterialDensitySource
PLA1.24 g/cm³Prusament PLA data sheet (ISO 1183)
PETG1.25 g/cm³Polymaker PolyLite PETG
ABS1.04 g/cm³Polymaker PolyLite ABS
ASA1.13 g/cm³Polymaker ASA
TPU 95A1.22 g/cm³Polymaker PolyFlex TPU95
PC1.19 g/cm³Polymaker PolyLite PC
Nylon (CoPA)1.12 g/cm³Polymaker PolyMide CoPA
PLA-CF1.29 g/cm³Polymaker PLA-CF

Densities vary between makers and blends, and filled filaments differ most. Use the figure on your spool’s data sheet when you have it. Empty spools have no standard weight: weigh one of the same make, or weigh a new spool and subtract the filament weight on its label.

Shrinkage and scale compensation

Print a simple test piece, let it cool fully, and measure it. The scale that corrects it is the designed size over the measured size.

Scale for each axis

Scale X to 100.40 %

Scale Y to
100.40 %
Scale Z to
100.20 %
Printed size
X 99.60 % · Y 99.60 % · Z 99.80 %

Hole compensation

Grow the hole by 0.10 mm per side

On the diameter
+0.20 mm
Printed hole
96 % of the design

scale % = designed size ÷ measured size × 100, for each axis

hole compensation per side = (designed diameter − measured diameter) ÷ 2

Worked example. A 100 mm part measures 99.6 mm: 100 ÷ 99.6 × 100 = 100.40 %. A 5 mm hole measures 4.8 mm: (5 − 4.8) ÷ 2 = 0.10 mm per side.

  • Check which number your slicer wants. Some shrinkage settings ask for the printed size as a percentage (99.60 % here), not the scale. Both are shown.
  • Hole settings usually move the outline, so the hole’s diameter changes by twice the value. Positive values make holes bigger. Print the test again to confirm.
  • Fix flow first. Over-extrusion also makes holes small and outsides large.

Source: OrcaSlicer wiki, Precision: X-Y hole and contour compensation

Belt tension and frequency

A plucked belt behaves roughly like a guitar string: its note depends on the free length, the tension and how heavy the belt is.

Frequency from tension

The length that is free to vibrate.

An example, not a target.

Weigh your belt: see the third box.

Enter the belt mass per metre to see the result.

Tension from frequency

An example. Measure it with a tuner app.

Enter the belt mass per metre to see the result.

Mass per metre from a weighed belt

Enter the belt weight to see the result.

frequency = (1 ÷ (2 × span)) × √(tension ÷ mass per metre)

tension = 4 × mass per metre × span² × frequency²

Span in metres, tension in newtons, mass per metre in kg/m, frequency in hertz. The boxes take the span in mm and convert it.

Worked example. The numbers here only show the arithmetic. A belt of 0.010 kg/m with a 150 mm (0.15 m) free span at 20 N: (1 ÷ 0.3) × √(20 ÷ 0.010) = 149.1 Hz.

  • Belt mass is an input. We found no belt maker’s data sheet giving mass per metre for a 6 mm wide, 2 mm pitch belt, and figures quoted online differ by more than double. Weigh a known length of your own belt and use the third box.
  • No target is given here. Use the frequency or tension your printer’s maker publishes.
  • It is an estimate. A real belt is stiffer than an ideal string, so treat the result as a guide and compare both belts of a pair.

Source: OpenStax, University Physics, volume 1, section 16.6: Standing waves and resonance

Layer height “magic numbers”

A Z motor holds its position best on full steps. Layer heights that are whole multiples of one full step avoid relying on microstep positions.

Z heights that land on full steps

Full steps per turn after the dot.

Set by the driver or firmware: often 16.

One full step 0.04 mm

One microstep
2.5 µm
0.2 mm
5 full steps exactly

Layer heights on full steps, up to 0.32 mm

  • 0.04 mm
  • 0.08 mm
  • 0.12 mm
  • 0.16 mm
  • 0.2 mm
  • 0.24 mm
  • 0.28 mm
  • 0.32 mm

one full step = leadscrew lead ÷ motor steps per turn

full-step layer heights = 1, 2, 3 … × one full step

Worked example. An 8 mm lead screw on a 1.8° motor (200 steps): 8 ÷ 200 = 0.04 mm. So 0.08, 0.12, 0.16, 0.20, 0.24 and 0.28 mm land on full steps, and 0.10 or 0.30 mm do not.

This is a refinement, not a rule. Microstepping does hold the positions in between, and many printers show no visible difference. It matters most with inch-size screws and unusual layer heights. Belt-driven Z axes need the steps-per-mm figure instead.

Source: Prusa Research, RepRap calculator: optimal layer height for your Z axis

Nozzle and line limits

Rules of thumb, not limits your printer enforces. They are a starting range for a new nozzle size.

Rule-of-thumb ranges for a nozzle

Layer height 0.10 to 0.32 mm

Line width
0.40 to 0.60 mm
Layer height at 75 %
0.30 mm

layer height: about 25 % to 80 % of the nozzle diameter

line width: about 100 % to 150 % of the nozzle diameter

Worked example. A 0.4 mm nozzle: layers from 0.25 × 0.4 = 0.10 mm to 0.8 × 0.4 = 0.32 mm, and lines from 0.40 mm to 1.5 × 0.4 = 0.60 mm.

  • Layer height: one filament maker’s guide gives about 25 to 75 % of the nozzle as the reliable range; one slicer maker says to stay below 80 %, and that a layer can never be taller than the nozzle.
  • Line width: one slicer’s guide gives 100 % of the nozzle as a good start, warns that narrower lines can bond poorly, and that above 150 % can over-extrude.

Source: Polymaker wiki, Quality (layer height) · Prusa Research, Layers and perimeters · OrcaSlicer wiki, Line width

Print cost, time and drying

Print time comes from your slicer; it depends on acceleration and travel moves, which no simple formula captures. For the money side, and for drying settings, use these.

Unit converters

The everyday conversions for printing in mixed units.

Temperature

Fahrenheit 392 °F

Kelvin
473.15 K

Inches and millimetres

Millimetres 25.4 mm

Volume and weight

From the maker’s data sheet for your spool.

Weight 12.4 g

°C = (°F − 32) ÷ 1.8

K = °C + 273.15

1 inch = 25.4 mm exactly

grams = cm³ × density

Worked example. A 200 °C nozzle is 200 × 1.8 + 32 = 392 °F. A quarter inch is 0.25 × 25.4 = 6.35 mm. 10 cm³ of PLA weighs 10 × 1.24 = 12.4 g.

Source: NIST, Guide for the Use of the SI (SP 811), appendix B.8: conversion factors

Everything is worked out on this device. A shared link carries the values you typed, nothing else.

Advertisement

Where to start

What to calibrate, and in what order

  1. Extruder first. Set e-steps (Marlin) or rotation distance (Klipper) so the extruder moves the length it is told to.
  2. Then flow, per filament, with the single-wall cube. Flow corrects for the filament; it can’t fix an extruder that moves the wrong length.
  3. Then speed. Find your hotend’s maximum volumetric speed and keep the slicer below it.
  4. Size last. Use shrinkage and hole compensation only once the steps above are right.

Axis steps per mm rarely need calibrating: belts and screws have known dimensions, so the worked-out value is normally the right one.

At a glance

Every formula on this page

CalculatorFormula
E-steps (Marlin)current × asked for ÷ moved
Rotation distance (Klipper)current × moved ÷ asked for
Rotation distance from stepsfull steps per rotation × microsteps ÷ steps per mm
Belt steps per mmmotor steps × microsteps ÷ (belt pitch × pulley teeth)
Leadscrew steps per mmmotor steps × microsteps ÷ screw lead
Flow ratecurrent flow × slicer wall width ÷ measured wall
Volumetric flowlayer height × line width × speed
Maximum speedmaximum flow ÷ (layer height × line width)
Filament weightπ × (diameter ÷ 2)² × length × density
Shrinkage scaledesigned ÷ measured × 100
Belt frequency(1 ÷ 2L) × √(T ÷ μ)
Full Z stepscrew lead ÷ motor steps per turn

Good numbers in

Measuring well

  • Extrude slowly for extruder tests. Fast extrusion builds pressure in the hotend and shortens the measured length.
  • Measure more than once. Take at least three readings and use the average.
  • Let parts cool to room temperature before measuring size. Plastic shrinks as it cools.
  • Use the right tool. Calipers are fine for a 100 mm part; a 0.45 mm wall needs a micrometer or very careful caliper work.
  • Change one thing at a time, then print the test again to confirm it.

Questions, answered

Are these calculators free?

Yes. They are free, need no account and run in your browser.

E-steps or rotation distance: which do I need?

It depends on your printer’s firmware. Marlin and firmware based on it use steps per mm, set with M92. Klipper uses rotation distance in its config file. They describe the same thing, and the page converts between them.

Why does the Klipper formula look upside down?

Steps per mm goes up to move more filament; rotation distance goes down. So e-steps multiplies by asked ÷ moved, and rotation distance multiplies by moved ÷ asked.

What is a good maximum volumetric speed?

There is no single figure. It depends on your hotend, nozzle, filament and temperature, so the calculator asks for it. The volumetric speed section explains a quick way to measure your own.

What frequency should my belts be?

Use the figure your printer’s maker publishes. The calculator only converts between frequency and tension for the span and belt mass you enter; it does not recommend a tension.

Do I have to use “magic number” layer heights?

No. They keep each layer on a full motor step, which can help on some printers, but microstepping holds the positions in between and many printers show no difference.

Is anything saved or uploaded?

No. Nothing is sent anywhere. The values live in the page, and in the link if you copy one.

Sources

Print advice is a starting point drawn from these references, checked on 2026-11-11. Community posts are one maker's experience, not a specification.

  1. M92: Set Axis Steps-per-unit Marlin Firmware
  2. M500: Save Settings Marlin Firmware
  3. Rotation distance Klipper documentation
  4. Triffid Hunter’s Calibration Guide RepRap wiki
  5. Extrusion multiplier calibration Prusa Research
  6. Max volumetric speed Prusa Research
  7. Determining maximum volumetric flow rate Ellis’ Print Tuning Guide
  8. Layers and perimeters Prusa Research
  9. Quality (layer height) Polymaker wiki
  10. Line width OrcaSlicer wiki
  11. Precision: X-Y hole and contour compensation OrcaSlicer wiki
  12. RepRap calculator: optimal layer height for your Z axis Prusa Research
  13. University Physics, volume 1, section 16.6: Standing waves and resonance OpenStax
  14. Guide for the Use of the SI (SP 811), appendix B.8: conversion factors NIST
  15. Prusament PLA data sheet (ISO 1183) Filament density
  16. Polymaker PolyLite PETG Filament density