Back to blog

Magic layer heights: why 0.16 mm instead of 0.15 mm

Published: 4 min read
Magic layer heights: why 0.16 mm instead of 0.15 mm

Forums often advise printing at 0.16 or 0.2 mm rather than 0.15 mm. It is not superstition: on some Z axes some layers then come out slightly thicker and some thinner, which shows as faint banding on the walls.

The magic layer height calculator finds the matching heights for your printer. Below we explain where they come from.

3D printing calculatorsFree tool3D printing calculatorsCost, drying, spool, shrinkage, flow, E-steps

Where the magic numbers come from

  • A stepper motor stops most accurately on full steps. Microsteps between them are less repeatable, because they depend on current and load.
  • The Z full step is the screw lead divided by the steps per revolution. A T8 screw with 8 mm lead and a 1.8° motor (200 steps) gives 0.04 mm.
  • A magic layer is a multiple of the full step: 0.12, 0.16, 0.20, 0.24, 0.28 and 0.32 mm with a 0.4 mm nozzle.
  • A 0.15 mm layer is 3.75 steps, so the nearest magic heights are 0.12 and 0.16 mm.

When it matters

It helps most with large-lead screws (T8 with 8 mm lead) and threaded rods. With a 2 mm lead screw the full step is 0.01 mm, so practically every common layer is magic.

The layer height alone will not fix banding caused by a bent screw, nut play or bed temperature swings. If the banding stays at a magic layer, look for a mechanical cause.

Need a print like this?

Send a model or describe the part - you'll usually get a free quote within 24 hours.

Request a quote

How to check it on your printer

  • Count the starts to get the lead: a T8 screw with four starts has an 8 mm lead, with one start 2 mm.
  • Z steps per mm are in the firmware (M503 in Marlin). For a T8 with 8 mm lead and 16 microsteps it is 400.
  • The layer still has to suit the nozzle: from about 25% to about 80% of its diameter.
  • Change the layer height in the slicer and print the same test model next to the previous one. Compare the walls against the light.

Frequently asked questions

Do magic layer heights apply to every printer?+

They only matter with a stepper-driven Z axis, and most with large-lead screws. With a 2 mm lead almost every layer is magic, so you will not see a difference.

Which layer for a 0.4 mm nozzle and a T8 screw?+

With an 8 mm lead the magic ones are 0.12, 0.16, 0.20, 0.24, 0.28 and 0.32 mm. Use 0.12 or 0.16 mm for detail and 0.24 or 0.28 mm for fast prints.

Does the first layer have to be magic too?+

Ideally yes, because step counting starts from it. With a T8 at 8 mm lead a first layer of 0.2 or 0.24 mm works well.

Recommended gear for this topic

Affiliate links: if you buy something I get a small commission, and you pay the same. As an Amazon Associate I earn from qualifying purchases.

Author

Bartosz Budny, founder of BnB3D

He has worked in 3D printing for more than 10 years: servicing, building and running printers, and has designed in Fusion 360 for more than 5 years. He writes about what he prints and tests on his own printers in Myszków, Poland (over 4,000 print hours on his MakerWorld models alone).

Got a project to print?

Send a model or a description - you'll usually get a free quote within 24 hours.

Request a quote

Related services