MeshMath

Layer height & line width calculator

Pick a nozzle size and get the safe layer-height range, a sweet-spot setting and matching line widths.

Sweet-spot layer height—
Finest (detail)—
Thickest (fast)—
Suggested first layer—
Typical line width—
Line width range—

Rule of thumb: layer height between 25% and 75% of the nozzle, line width about 100–150% of the nozzle.

Common nozzles

NozzleMin layerIdealMax layerLine width

How to choose layer height

Layer height is a trade-off between detail, strength and speed. The nozzle sets hard limits: too thin and the filament is forced into a tiny gap (over-extrusion, blobs); too thick and layers do not bond well.

min ≈ 0.25 × nozzle
ideal ≈ 0.5 × nozzle
max ≈ 0.75 × nozzle
line width ≈ 1.0–1.5 × nozzle (1.1× is a common default)

For a 0.4 mm nozzle that means roughly 0.10–0.30 mm layers, with 0.20 mm as the everyday default. Going from 0.20 to 0.28 mm cuts print time by about 30% with only a small drop in strength and more visible layer lines.

When to go finer or thicker

GoalSetting
Miniatures, text, lithophanesNear the minimum (e.g. 0.08–0.12 mm on a 0.4)
Everyday partsAround half the nozzle (0.2 mm on a 0.4)
Draft / large functional partsNear the maximum, or step up to a 0.6–0.8 mm nozzle
First layerSlightly thicker than later layers for adhesion (often 0.24–0.28 mm on a 0.4)

Thicker layers also raise volumetric flow — check the volumetric flow calculator before cranking speed. For print-time impact see the print time estimator.

Worked example

Worked example

Choosing settings for a 0.6 mm nozzle

Minimum layer0.25 × 0.6 = 0.15 mm
Ideal layer0.5 × 0.6 = 0.30 mm
Maximum layer0.75 × 0.6 = 0.45 mm
Line width1.1 × 0.6 ≈ 0.66 mm
Flow at 80 mm/s0.30 × 0.66 × 80 = 15.8 mm³/s

That flow is above a stock V6 limit, so either drop to 60 mm/s or use a high-flow hotend.

Reference by nozzle

NozzleLayer rangeDefault layerLine widthGood for
0.2 mm0.05–0.150.100.22Tiny text, miniatures
0.4 mm0.10–0.300.200.42–0.45Everyday printing
0.6 mm0.15–0.450.300.62–0.68Strong functional parts
0.8 mm0.20–0.600.400.85–0.90Big, fast prints, vases
1.0 mm0.25–0.750.501.05–1.10Large draft parts

“Magic numbers” for lead-screw Z axes

On printers with a T8 lead screw (8 mm per turn) and a 1.8° motor, one full step moves Z by 8 ÷ 200 = 0.04 mm. Layer heights that are multiples of 0.04 (0.12, 0.16, 0.20, 0.24, 0.28) avoid relying on microsteps and can give slightly more consistent layers. Belt-driven or differently geared Z axes have different values.

Common mistakes

Troubleshooting

SymptomLikely causeFix
Layers delaminateLayer height too close to nozzle sizeStay under 75% of nozzle
Visible stair-steppingThick layers on gentle slopesUse adaptive/variable layer height
Under-extrusion at thick layersFlow above hotend limitCheck the volumetric flow

Picking a layer height in practice

  1. Start with half the nozzle diameter.
  2. If the part has gentle curves or a visible top dome, use variable layer height rather than going fine everywhere.
  3. For strength, prefer a bigger nozzle with thick lines over thin layers.
  4. Check the flow at your speed with the volumetric flow calculator.

FAQ

What is the best layer height for a 0.4 mm nozzle?

0.2 mm is the usual sweet spot. Use 0.12–0.16 mm for finer detail and up to about 0.28–0.30 mm for faster drafts.

Can layer height be higher than the nozzle diameter?

No — stay at or below about 75–80% of the nozzle. Above that, layers bond poorly and can fail.

What line width should I use?

About 110% of the nozzle (0.44–0.45 mm for a 0.4) is a solid default. Wider lines (up to ~150%) print faster and stronger walls; narrower lines help tiny details.

Does a bigger nozzle always print faster?

Mostly yes, because you can use thicker layers and wider lines. You trade fine detail, and you may hit the hotend's volumetric flow limit sooner.

Recommended gear

Some links are affiliate links. MeshMath earns a commission on purchases made through Overture and Anycubic (via Awin) links, at no extra cost to you. Picks are chosen for usefulness, not paid placement.

Related tools

See all tools →