Calculate layer height

Calculate Z-axis step resolution and see which common layer heights land on whole steps.

freeworks offlinenothing uploaded
ToolLayer Height Calculator
Input
Output
Put this on your own site

The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.

Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.

Preview

How it works

Z resolution is lead-screw travel per revolution divided by motor steps per revolution times microstepping. Each target height is rounded to the nearest whole step count and reported with its achievable value.

  • The target list covers common 0.1–0.3 mm profiles.
  • Hardware inputs determine the actual increment.

Worked example

A 1.8 degree motor on an 8mm lead screw
200 steps per revolution, 16x microstepping
Input
											Steps per revolution: 200
Microsteps: 16
Lead screw lead mm: 8
										
Output
												Z resolution mm: 0.0025
Recommended layer height mm: 0.2
Valid layer heights mm: 0.1, 0.12, 0.15, 0.16, 0.2, 0.24, 0.28, 0.3
											

When to use this

Printer builds, slicer profiles, and magic-number calibration prints check Z increments.

Edge cases

  • A height between step increments is rounded rather than exact.
  • Microstepping changes nominal resolution but not necessarily mechanical repeatability.
  • Backlash can dominate error even with fine arithmetic resolution.