Calculate Z-axis step resolution and see which common layer heights land on whole steps.
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.
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.
Steps per revolution: 200 Microsteps: 16 Lead screw lead mm: 8
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
Printer builds, slicer profiles, and magic-number calibration prints check Z increments.