What Are Ender 3 Magic Numbers and How To Calculate

We participate in the Amazon affiliate program and may earn a commission if you make a purchase through links on our site. We also participate in other affiliate programs.

Photo of author

Shabbir Noor

In 2019 Shabbir bought a Tevo Tarantula and fell in love with 3D printing. He now shares his tips and love of 3d printing with the world exclusively through Maker Shop. Here's how he builds Ender 3s that can print at over 1000mm/s (25x stock!) for under $600.

3D printer magic numbers are numbers that align your layer height with the steps on the 3D printer’s Z-axis stepper motor. If your layer height coincides with multiples of the minimum height your Z axis can move, you’ll get much better looking prints.

In this post, we’ll check out the Ender 3’s magic numbers.

Ender 3 Magic Numbers

The magic number for the Creality Ender 3 and all Creality printers is 0.04. As a result, your layer height should be in multiples of 0.04:

  • 0.04 mm
  • 0.08 mm
  • 0.12 mm
  • 0.16 mm
  • 0.2 mm
  • 0.24 mm
  • 0.28 mm
  • 0.32 mm

On the stock Ender 3 nozzle, I would not go higher than a layer height of 0.32mm.

Read the full Ender 3 Pro review here.

More: Is 100 microns good for 3D printing?

Why magic numbers are important

Magic numbers are important because they help your 3D printer produce the best quality 3D print that it can. You’d be surprised at how much of an improvement you’ll see once you implement the magic numbers correctly.

My first printer was a Tevo Tarantula, on which I could get really good prints with a 0.2mm layer height, but prints using a 0.1mm layer height would always turn out just OK.

Had I known about magic numbers back then, I would have been able to get much better high-resolution prints!

3D printers are not based on a closed-loop feedback system: this means that communication goes in only one direction. So if your 3D printer tells your stepper motor to move in so many steps, the printer assumes that the motor did indeed move. There’s no way for the printer to know whether it actually moved that far or not.

As a result, the next set of instructions is delivered regardless of whether the first set was correctly followed, which is why you end up with failed prints!

Stepper motors move in steps, hence the name.

This can be a full step or a micro step. A full step is a turn that finishes on alignment with an electromagnet. A full step is very accurate, and you can know for certain how far it moved.

A micro step is a turn that finishes halfway between two electromagnets. Two magnets are activated to get the shaft to stop halfway, but there is no way to know for sure if the shaft is exactly halfway or off by a little.

The key term here is “by a little”. Even if you don’t use magic numbers, your prints will not be disastrous, as the difference is quite minor. But if you do use them, the improvement in quality will be quite significant.

By aligning your layer heights with the steps on your motors, you can eliminate the need for any guesswork!

How to calculate magic numbers

You can find the magic numbers for most popular 3D printers on forums and social media, but in case you want to calculate the magic numbers yourself, you can do so using Prusa Research’s superb calculator.

Here’s the information you’ll need:

  • Motor step angle
  • Leadscrew pitch
  • Gear ratio
  • Pitch presets
  • Finally, enter your desired layer height

If your layer height does not align with the motor steps, the calculator will show that to you in red and suggest a better layer height in green.

You can study the results in green and find out what they’re multiples of to get to the magic number so you don’t need to use the calculator every single time.


Once you implement magic numbers, it will completely change your Ender 3’s 3D printing game. It’s not very intuitive to use layer heights in 2 decimal places, so once you start using these, it will make a huge difference.

We literally wrote the book on 3D printing
  • How printers work
  • How to slice your first 3D model
  • How to print your first model
  • How to troubleshoot and maintain your 3D printer

Leave a Comment