Calculators › Slicing

Layer height calculator

See how many layers a print will have, and pick layer heights that match whole steps of your Z motor.

mm
mm
mm
mm/rev
Common: 8 mm (T8 screw), 2 mm, or 4 mm. Belt-driven Z: use the belt travel per revolution.

Result

Number of layers–
One full Z step– mm
Nearest 'magic' layer height– mm
Neighbours–

How it's calculated

layers = 1 + ⌈(height − first layer) ÷ layer height⌉ full Z step = screw lead ÷ motor steps per rev magic height = whole number × full Z step

What are magic numbers?

Stepper motors are most accurate at full steps. With a T8 lead screw (8 mm per turn) and a 1.8° motor, one full step moves Z by 0.04 mm. Layer heights like 0.12, 0.16, 0.20 and 0.28 mm are whole multiples, so every layer lands exactly on a full step. A height like 0.15 mm forces microstepping between layers, which can show up as faint banding.

Modern printers with good microstepping hide most of the difference, but it is a free improvement when you're choosing a layer height anyway.

Questions

Is 0.2 mm a magic number?

On a T8 screw with a 1.8° motor, yes: 0.2 mm is exactly 5 full steps of 0.04 mm.

Does layer count affect print time?

Yes, roughly in proportion. Halving the layer height about doubles the number of layers and the print time.

Related calculators