Back to All Tools

Layer Height Calculator (Magic Numbers)

Find the optimal layer heights for your 3D printer to eliminate Z-wobble and improve print quality.

Motor Settings
Lead Screw Settings
Results
0.04 mm
Full step height (minimum resolution)
8 mm
Lead Distance / Rev
3200
Steps / Revolution
Optimal Layer Heights (Magic Numbers)

These layer heights are exact multiples of your full step height, ensuring the smoothest prints with no rounding errors.

What Are Magic Numbers in 3D Printing?

"Magic numbers" are layer heights that are exact multiples of your stepper motor's full step resolution. When you use these values, the Z-axis motor lands precisely on full-step positions, eliminating micro-stepping inaccuracies and producing smoother, more consistent layers.

Why Does This Matter?

Most 3D printers use stepper motors with a 1.8° step angle and a lead screw with an 8mm lead (2mm pitch × 4 starts). This gives a full step height of 0.04mm. Layer heights that are multiples of 0.04mm (like 0.08, 0.12, 0.16, 0.20) will print more accurately than arbitrary heights like 0.15 or 0.25.

How to Calculate

The formula is: Full Step Height = Lead Distance ÷ (Steps per Revolution × Microstepping)

Where Lead Distance = Pitch × Number of Starts

Common Configurations

Ready to take your 3D modeling to the next level?

Create complex 3D models in seconds using our AI-powered generator. No CAD experience required.

Try PrintPal AI Free