Nozzle School

Nozzle School · Guides

Layer Height in 3D Printing: How to Choose the Right One

How to choose a layer height for 3D printing: the 25–75% of nozzle rule, speed vs detail, strength, first layer height and adaptive layers.

First steps19 min readby Sam

Layer height is how thick each slice of your 3D print is, and a good choice is anywhere from 25% to 75% of your nozzle diameter: 0.1–0.3 mm for a standard 0.4 mm nozzle, with 0.2 mm as the everyday default. Go thinner (0.1–0.15 mm) for smooth curves and small details, and thicker (0.25–0.3 mm) when you want the print done fast.

This guide explains where that rule comes from, what layer height really changes (and what it doesn’t), how it affects strength, why the first layer is often set differently, how adaptive layer height works, and the “magic numbers” some people use. It applies to any FDM printer and any slicer.

Quick answer

  1. 0.4 mm nozzle (most printers): use 0.2 mm for everyday prints, 0.12–0.16 mm for detailed or curved models, 0.24–0.28 mm for quick or chunky parts.
  2. Stay between 25% and 75% of the nozzle diameter. Thicker layers stop bonding well; thinner ones take ages for little visible gain.
  3. Thinner layers = smoother sides and slopes, much longer prints. Halving the layer height roughly doubles the print time.
  4. Layer height doesn’t sharpen small details in X and Y. The nozzle and line width decide those.
  5. Set the first layer to 0.2–0.3 mm (with a 0.4 mm nozzle), even if the rest is finer. A thicker first layer is more forgiving.
  6. Try adaptive (variable) layer height for models with both flat areas and gentle curves.
  7. Magic numbers (multiples of 0.04 mm on many lead-screw printers) are a minor tweak. Don’t worry about them on your first prints.

What layer height is

An FDM printer builds a part one flat slice at a time. It draws the first layer on the bed, raises the nozzle by a small amount (or lowers the bed), draws the next layer on top, and repeats. That small step is the layer height, set in your slicer in millimetres.

Each printed line is a flattened strip of plastic. Its width is set mostly by the nozzle (a 0.4 mm nozzle usually lays lines about 0.4–0.45 mm wide), and its height is the layer height. So a 0.2 mm layer from a 0.4 mm nozzle is a strip about twice as wide as it is tall.11The slicer setting for width is called line width or extrusion width. It’s usually a little wider than the nozzle, around 100–120% of it, because the plastic spreads as the nozzle presses it down.

Layer height is one of the first settings in every slicer. In most slicers you’ll find it in the quality section of the print profile, and the built-in profiles are often named after it (for example “0.20 mm Standard” or “0.12 mm Fine”). Our guide to using a slicer shows where the profiles sit.

0.20 mm · 50 % of 0.4 · 100 layers · time 1.0× · 8.1 mm³/s · good squish

  • Drag ↕ layer height
  • ↑ ↓ layer height ±0.02 mm, 0.08–0.36
  • N next nozzle: 0.2 · 0.4 · 0.6 mm (or click a hole on the gauge plate)
  • 1 2 3 0.2 · 0.4 · 0.6 mm nozzle
  • Home reset: 0.4 mm nozzle, 0.20 mm layers
Each layer is one flattened line, here 113 % as wide as the nozzle (0.45 mm from a 0.4 mm nozzle; slicers use about 100–120 %) and as tall as the layer height. The nozzle's flat tip presses it onto the layer below, and the two fuse along the flat strip where they touch. Between about 25 and 75 % of the nozzle diameter (the shaded band on the dial) the squish is good; above 75 % the line stays nearly round and rests on the one below over a narrow neck, so layers bond weakly; very thin layers multiply the layer count. A 20 mm part needs 20/h layers; print time is shown relative to 0.20 mm layers, and the plastic the hotend must melt is the line's area times 100 mm/s. Line shapes come from the slicer's rounded-rectangle model; the nozzle and wall are drawn to one scale, the hardware above is shortened.

The 25–75% rule, and why it works

The most widely used rule of thumb is to keep layer height between about 25% and 75% of the nozzle diameter. Both limits have a reason behind them.

Why not thicker than 75%

The tip of the nozzle isn’t a point; it has a small flat face around the hole. As the plastic comes out, that flat face presses it down onto the layer below. The squish does two jobs: it flattens the line so neighbouring lines touch, and it pushes the hot plastic into the layer underneath so the two fuse together.

If the layer is almost as tall as the nozzle is wide, there’s very little squish. The line comes out closer to a round strand, sits on the layer below along a narrow strip, and doesn’t spread far enough to meet its neighbours. You get:

  • Weaker bonding between layers, because they touch over a smaller area.
  • Gaps between lines and a rougher, ribbed surface.
  • Much higher flow demand. A thick layer needs more melted plastic every second, and the hotend can only melt so much. More on that below.

Why not thinner than 25%

Very thin layers are possible, but you pay for them:

  • Print time climbs fast. Each layer takes about the same time to draw, so a 0.05 mm layer on a 0.4 mm nozzle needs four times as many layers as 0.2 mm.
  • Tiny errors become big ones. A 0.01 mm wobble in the Z axis or the bed is 5% of a 0.2 mm layer but 20% of a 0.05 mm layer, so banding and uneven layers show up more.
  • The gains fade. Below about a quarter of the nozzle size, most prints don’t look noticeably smoother from normal viewing distance. The nozzle’s own width limits the detail anyway.

The rule isn’t a hard law. Some people print outside it on purpose. But it’s a reliable range to stay inside while you’re learning, and every common slicer profile sits within it.

Layer heights for 0.2, 0.4 and 0.6 mm nozzles

Nozzle 25% (thinnest sensible) 75% (thickest sensible) Practical range Everyday choice
0.2 mm 0.05 mm 0.15 mm 0.06–0.12 mm 0.10 mm
0.4 mm (standard) 0.10 mm 0.30 mm 0.12–0.28 mm 0.20 mm
0.6 mm 0.15 mm 0.45 mm 0.20–0.40 mm 0.30 mm

The “practical range” stays a little inside the limits, which is where most slicer profiles sit. Start with the everyday choice and move up or down once you know what you want from a print.

  • 0.2 mm nozzle: for miniatures and very small parts. Fine layers and thin lines, but slow, and easier to clog. Most printers need their profile switched to the new nozzle size.
  • 0.4 mm nozzle: the default on almost every printer. Good for nearly everything.
  • 0.6 mm nozzle: for big, sturdy parts. Thicker lines and layers print much faster and give stronger walls, at the cost of fine detail.22If you change nozzle, change the nozzle diameter in your slicer’s printer settings too. The slicer uses it to work out how much plastic each line needs. Many slicers ship separate printer profiles for each nozzle size.

Speed vs detail: the main trade-off

Choosing a layer height is mostly a choice between how long the print takes and how smooth its sloped and curved sides look.

The number of layers is simply the part’s height divided by the layer height. For a 30 mm tall part:

Layer height Layers Relative print time (roughly)
0.12 mm 250 About 1.7×
0.20 mm 150 1× (baseline)
0.28 mm 107 About 0.7×

Real times won’t scale exactly, because travel moves, the first layer and cooling pauses add fixed time, but the pattern holds: halving the layer height roughly doubles the print time.

Surface finish: the stair-step effect

Every curved or sloped surface is built from flat steps, one per layer. On vertical walls you barely see them. On gentle slopes and domes, such as the top of a figure’s head or the bow of a boat, the steps get wide and show up as visible “contour lines”. Thinner layers make the steps smaller, so slopes look smoother.

That’s where fine layers earn their time: shallow curves and slopes. On a box with straight walls and a flat top, 0.12 mm and 0.2 mm look almost the same.

What layer height doesn’t change

Layer height only controls resolution up and down (the Z axis). The size of the smallest feature you can print across the bed (X and Y), such as thin text, fine ribs or a sharp corner, is set mostly by the nozzle diameter and line width. A 0.4 mm nozzle can’t draw a 0.2 mm wide rib however thin the layers are. For crisper fine detail across the bed, you need a smaller nozzle, not just thinner layers.

Flow: the hidden limit on thick layers

Thicker layers need more plastic every second at the same speed. The amount is easy to work out: line width × layer height × speed. For a 0.45 mm line at 100 mm/s:

  • 0.2 mm layers: 0.45 × 0.2 × 100 = 9 mm³ of plastic per second.
  • 0.3 mm layers: 0.45 × 0.3 × 100 = 13.5 mm³ per second.

Every hotend has a maximum it can melt per second, its maximum volumetric flow. If thick layers push past it, the plastic can’t melt fast enough, so the printer under-extrudes or the extruder starts to click. When you raise the layer height, you may need to lower the speed (or the slicer’s volumetric flow limit will do it for you, if your filament profile sets one). See under-extrusion and extruder clicking for the symptoms.

nozzle 210 °C · heatsink 38 °C · feed 2.0 mm/s · melting in block

  • drag ↕ feed rate
  • ↑ ↓ feed ±0.5 mm/s
  • Space stop / start feed
  • F hotend fan on / off
  • Home reset
PLA has to stay solid (below about 60 °C) above the heat break and melt only in the 210 °C heater block; stop the hotend fan and heat creeps up the heatsink until the filament softens too high and jams (heat creep is sped up 6× here).

Does layer height affect strength?

Somewhat, but less than most beginners expect, and less than other settings.

A printed part is usually weakest between layers, because each layer fuses to the one below while it’s cooling. Layer height changes that bond in a few ways:

  • Thicker layers mean fewer layer boundaries in a given height, and each line carries more heat into the layer below. Within the 25–75% range, moderately thick layers are often reported to give slightly stronger layer bonding than very thin ones.
  • Too thick undoes that. Above about 75% of the nozzle, lines aren’t pressed down enough and bond over a narrow strip, so strength drops again.

For a stronger part, these matter far more than layer height:

  1. Orientation. Lay the part so the load runs along the layers, not across them.
  2. More walls (perimeters). Three or four walls add a lot of strength for little extra time.
  3. Temperature. A nozzle at the hotter end of the filament’s range bonds layers better. A temperature tower helps you find it.
  4. Correct flow. Under-extruded lines leave gaps; see flow rate calibration.
  5. Material. PETG and ABS are tougher than PLA for many uses; compare them in PLA vs PETG.

First layer height

Most slicers let you set the first layer height (also called initial layer height) separately from the rest of the print. With a 0.4 mm nozzle, 0.2–0.3 mm is the usual range, even if the rest of the print uses 0.12 mm layers.

Why make the first layer thicker than the others?

  • It forgives small bed errors. No bed is perfectly flat, and no levelling is perfect. A 0.05 mm dip under a 0.1 mm first layer is half the layer; under a 0.25 mm layer it’s a fifth. A thicker first layer covers those small highs and lows.
  • It grips better. More plastic, squished onto the bed, gives a wider, stronger contact patch.
  • It’s easier to get right. The Z offset has more room for error at 0.25 mm than at 0.1 mm.

Don’t go much thicker than about 0.3 mm on a 0.4 mm nozzle, or the first layer won’t squish enough to stick. And remember the first layer is shaped by the Z offset as much as the setting: the slicer plans a 0.2 mm layer, but the real gap is whatever the nozzle sits at above the bed. See what is Z offset and how to level a 3D printer bed.

0.20

gap 0.20 mm · line 0.45 × 0.20 mm · good squish

  • Drag ↕ raise / lower the nozzle
  • ↑ ↓ one babystep, 0.02 mm (Shift: 0.10)
  • 1 2 3 too high · good · too low
  • Home back to 0.00
The slicer meters plastic for a 0.20 mm × 0.45 mm first line, and the Z offset decides how much room it gets: the same plastic comes out round and loose when the gap is too big, slightly squished and touching its neighbours near 0.20 mm, and flattened wide, then thin and patchy once the nozzle is so close the extruder can't push it out. Drawn greatly enlarged; the earlier lines are shown at the same offset.

Adaptive (variable) layer height

You don’t have to use one layer height for the whole print. Adaptive or variable layer height lets the slicer use thin layers where the model’s surface is sloped or curved, and thick layers where the walls are vertical or the part is simple. You get smooth curves without paying for fine layers everywhere.

How it appears in common slicers (menus move between versions, so search for the name if you can’t see it):

  • PrusaSlicer: the Variable layer height tool on the toolbar, with an Adaptive button that sets heights from the model’s shape and a Smooth button to even out sudden jumps. You can also paint thinner or thicker bands by hand.
  • OrcaSlicer and Bambu Studio: a similar variable layer height tool, opened from the toolbar with the model selected, with adaptive and smooth options.
  • Cura: the Use Adaptive Layers setting, with settings for the maximum variation and step size.

Good uses:

  • Figures and organic shapes with a mix of steep sides and rounded tops.
  • Domes, spheres and curved lids, where the near-flat top shows stair-steps most.
  • Mechanical parts with one detailed area, such as a chamfered top edge on an otherwise plain box.

Things to watch:

  • Check the preview. Scrub through the layers to see where the slicer went thin and where it went thick.
  • Stay inside the 25–75% range at both ends. Set the minimum and maximum so neither goes outside it.
  • Sudden changes can show as a faint line on the surface, which is what the smoothing option is for.

“Magic numbers”: layer heights that match your Z motor

You may see advice to use layer heights such as 0.12, 0.16, 0.2, 0.24 and 0.28 mm, and to avoid values like 0.15 or 0.25 mm. These are called magic numbers. The idea is sound, but on most modern printers the effect is small, so treat this as an optional fine-tuning step, not a rule.

Where they come from

On many printers the Z axis is moved by a stepper motor turning a lead screw. A common stepper moves in 200 full steps per turn (1.8° each). The lead screw raises the nozzle or bed by its lead (the distance per full turn) every revolution. Divide one by the other and you get the height of one full step:

  • 8 mm lead screw (the common T8 screw with four starts) ÷ 200 steps = 0.04 mm per full step. Magic numbers are multiples of 0.04: 0.08, 0.12, 0.16, 0.20, 0.24, 0.28.
  • 2 mm lead screw ÷ 200 steps = 0.01 mm per full step. Almost any layer height to two decimal places is already a multiple.33A 0.9° stepper makes 400 full steps per turn, which halves those numbers. Printers that move Z with a belt instead of a lead screw work out differently again. If you know your firmware’s Z steps per mm and its microstepping, full steps per mm is steps per mm divided by the microstep setting.

Why full steps matter (a little)

Stepper drivers also use microsteps, dividing each full step into smaller ones so the motor moves more smoothly. Microsteps let the printer move to positions between full steps, but those in-between positions aren’t held quite as precisely as the full steps themselves. If your layer height is a whole number of full steps, every layer ends at a full-step position, so each layer is the same height. With an in-between value, some layers may come out very slightly thicker than others, which can show as faint, regular banding on smooth walls.

Should you bother?

  • If your printer’s default profiles already use multiples of 0.04 mm, you’re done; the maker has likely matched them to the hardware.
  • If you see fine, even banding on smooth walls and your printer uses an 8 mm lead screw, trying a magic number is a cheap test.
  • Otherwise, don’t worry about it. Banding has many bigger causes, including a bent lead screw, a loose coupler, uneven bed temperature and inconsistent extrusion.

Choosing a layer height: by type of print

What you’re printing Layer height (0.4 mm nozzle) Why
First prints, test models 0.2 mm The default; reliable and quick enough
Figures, miniatures, busts 0.08–0.12 mm, or adaptive Smooth curved surfaces; consider a 0.2 mm nozzle for tiny detail
Everyday household parts 0.2 mm Good balance of time and finish
Functional brackets, clips, mounts 0.2–0.28 mm Quick, and bonds well; add walls for strength
Big, plain parts and prototypes 0.28 mm, or a 0.6 mm nozzle at 0.3–0.4 mm Saves hours; looks don’t matter much
Vases in single-wall (spiral) mode 0.2–0.28 mm Smooth spiral walls; thicker layers stiffen the single wall
Parts with gentle domes or slopes Adaptive layer height Thin layers only where the steps would show

Common layer height mistakes

  • Going finer to fix a problem that isn’t about layers. Rough surfaces, strings and blobs usually come from temperature, retraction or flow, not layer height. See stringing and over-extrusion.
  • Expecting thin layers to sharpen tiny text. Detail across the bed comes from the nozzle size.
  • Using thick layers at full speed. Watch for under-extrusion; lower the speed or set a volumetric flow limit.
  • Changing the nozzle but not the slicer. Update the nozzle diameter in the printer profile so the line width and flow are right.
  • A very thin first layer. Keep the first layer at 0.2–0.3 mm on a 0.4 mm nozzle.
  • Chasing magic numbers first. Calibrate the basics before fine-tuning; our calibration guide covers the order.

Your action plan

  1. Start at 0.2 mm with a 0.4 mm nozzle (half the nozzle size for other nozzles).
  2. Keep every layer height between 25% and 75% of the nozzle diameter.
  3. Go thinner (0.12–0.16 mm) only for curved, detailed or display models; go thicker (0.24–0.28 mm) for quick or functional parts.
  4. Keep the first layer at 0.2–0.3 mm, and set the Z offset carefully.
  5. Lower the speed if thick layers under-extrude.
  6. Try adaptive layer height on models with gentle curves.
  7. Use magic numbers only if your printer has an 8 mm lead screw and you see fine, even banding.

FAQ

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

0.2 mm for most prints. Use 0.12–0.16 mm for smoother curved surfaces and 0.24–0.28 mm for faster prints. Stay between 0.1 and 0.3 mm, which is 25–75% of the nozzle diameter.

Does a smaller layer height mean better quality?

It means smoother sloped and curved surfaces, because the stair-steps between layers get smaller. It doesn’t make small details across the bed sharper, which depends on the nozzle size, and it doesn’t fix stringing, blobs or poor first layers.

How much longer does a 0.1 mm layer height take than 0.2 mm?

Roughly twice as long, because the printer has to draw twice as many layers. The exact difference depends on the model and settings, so check the slicer’s estimate for both.

Are thicker layers stronger?

Within the 25–75% range, moderately thick layers are often a little stronger between layers than very thin ones, because there are fewer layer boundaries. Above about 75% of the nozzle diameter, bonding gets worse. Orientation, wall count and temperature matter more than layer height for strength.

What should the first layer height be?

0.2–0.3 mm with a 0.4 mm nozzle. A slightly thicker first layer hides small bed unevenness and sticks better. Make sure the Z offset is set correctly as well.

What are magic numbers in 3D printing?

Layer heights that are a whole number of the Z motor’s full steps, such as multiples of 0.04 mm on printers with a common 8 mm lead screw. They can reduce slight banding, but the effect is small on most modern printers.

To see where the layer height setting sits among the rest, read how to use a slicer. For the parts that move the nozzle up each layer, see parts of a 3D printer explained. Getting the first layer right matters at any layer height, so read what is Z offset and first layer not sticking. If you’re new to printing, start with the complete beginner’s guide.