Layer Height Calculator

Find optimal 3D printer layer height for your nozzle using the 75% rule.
Includes magic layer heights for common steppers to eliminate Z-banding.

Recommended Layer Heights

3D print layer height is the thickness of each deposited layer in FDM (Fused Deposition Modeling) printing. It is the single most influential parameter affecting both print quality and print time, and must be chosen based on nozzle diameter and the part’s functional requirements.

Layer height rule: Optimal Layer Height = 25–75% of Nozzle Diameter

Maximum: 75% of nozzle diameter (going higher causes adhesion failure and print defects). Some slicers allow up to 80%, but 75% is the safe ceiling this calculator uses.

Print time formula: Print Time ∝ Part Height ÷ Layer Height (Halving layer height roughly doubles print time)

More precise time estimate: Time = Σ(Layer Area × Layer Height ÷ Extrusion Rate) + Travel Time

Layer count: Number of Layers = Part Height ÷ Layer Height

What each variable means:

  • Nozzle diameter: standard is 0.4mm; larger (0.6–1.0mm) for speed and strength; smaller (0.2–0.3mm) for fine detail
  • Layer height: smaller = smoother surface, more detail, much longer print; larger = faster, stronger (fewer cold layer interfaces), coarser surface
  • Z-resolution vs. XY-resolution: layer height determines Z-axis resolution; XY resolution is determined by nozzle diameter and stepper motor steps
  • Anisotropy: FDM prints are strongest in XY (along layers) and weakest in Z (between layers); minimizing layer height improves inter-layer bonding and Z-strength

Layer height options for 0.4mm nozzle:

Layer Height Quality Speed Use Case
0.08–0.1mm Ultra-fine Very slow Jewelry, miniatures, fine features
0.15mm High Slow Display models, cosmetic parts
0.2mm Standard Moderate General purpose, best balance
0.25–0.3mm Draft Fast Structural parts, prototypes
0.32mm (80%) Beyond the ceiling Fastest Some slicers allow it. This calculator will not suggest it.

Worked example: Printing a functional bracket 80mm tall. Nozzle: 0.4mm.

  • At 0.1mm layer height: 80 ÷ 0.1 = 800 layers (very long print)
  • At 0.2mm layer height: 80 ÷ 0.2 = 400 layers (standard)
  • At 0.3mm layer height: 80 ÷ 0.3 = 267 layers (fast draft, and the 75% ceiling)

Estimated time ratio: 0.1mm takes about 3× longer than 0.3mm, at 800 layers against 267. For a functional bracket where appearance matters less than strength and speed, 0.2 to 0.28mm is the practical optimum: good layer bonding, reasonable print time.

Magic numbers, and why they matter less than they used to. A “magic” layer height is an exact multiple of the Z axis full-step distance, so every layer boundary lands on a whole step rather than a microstep. On older printers with a lead screw and no closed-loop control, non-magic heights produced faint horizontal banding that showed up under raking light. Modern boards microstep far more cleanly and many printers now use belted or ballscrew Z, so the effect is much smaller than the forum lore suggests. It is still free to pick a magic number, which is why the calculator lists them, but if your print looks banded the cause is more often a bent lead screw, a binding Z rod, or inconsistent extrusion.


How we build and check this calculator

This calculator runs entirely in your browser, so the numbers you enter stay on your device. The math behind it is written by hand and tested against worked examples and standard references before the page goes live.

SuperGlobalCalculator is independently built and maintained. See how we build and verify our calculators.


Embed This Calculator

Copy the code below and paste it into your website or blog.
The calculator will work directly on your page.