Line Width Calculator: Extrusion Width and Wall Thickness
For a 0.4 mm nozzle, a line width of about 0.42 to 0.45 mm is the usual choice: Bambu Studio uses 0.42 mm for outer walls and 0.45 mm for inner walls, and PrusaSlicer and OrcaSlicer default to 1.125 × the nozzle (0.45 mm) when the width is left at 0. This calculator gives the same guidance for any nozzle, works out how thick your walls really come out, and shows the true cross-section of a line, which slicers use for flow.
Estimates from the slicers' own published formulas. Your slicer's preview and a pair of calipers have the final say.
What line width to use for your nozzle
Line width (also called extrusion width) is how wide each extruded line is once it is squashed onto the layer below. It does not have to equal the nozzle size: the printer pushes more or less plastic for the same head speed to make a line wider or thinner [4]. The main rules:
- PrusaSlicer and OrcaSlicer: a width left at 0 becomes 1.125 × the nozzle for perimeters and infill, and 1 × the nozzle for top solid infill and supports [2][3].
- Prusa's advice: about 110% of the nozzle for most lines, 120–140% on the first layer for better bed adhesion, and narrower than the nozzle to make supports weaker and easier to remove [3].
- Bambu Lab's advice: keep the defaults, and if you change them stay between 0.75 × and 1.5 × the nozzle. A line can never be wider than the nozzle's outside tip can flatten [4].
- Cura: line width defaults to the nozzle size [6].
- Keep it wider than the layer height. Below that, the shape of the line is unpredictable [1].
| Nozzle | Prusa/Orca auto (1.125×) | Prusa ~110% | First layer 120–140% | Bambu range 0.75–1.5× | Cura default |
|---|---|---|---|---|---|
| 0.2 mm | 0.225 mm | 0.22 mm | 0.24–0.28 mm | 0.15–0.3 mm | 0.2 mm |
| 0.4 mm | 0.45 mm | 0.44 mm | 0.48–0.56 mm | 0.3–0.6 mm | 0.4 mm |
| 0.6 mm | 0.675 mm | 0.66 mm | 0.72–0.84 mm | 0.45–0.9 mm | 0.6 mm |
| 0.8 mm | 0.9 mm | 0.88 mm | 0.96–1.12 mm | 0.6–1.2 mm | 0.8 mm |
| 1 mm | 1.12 mm | 1.1 mm | 1.2–1.4 mm | 0.75–1.5 mm | 1 mm |
Our arithmetic from the rules above [1][2][3][4][6], rounded to 3 significant figures.
Bambu Studio's default line widths
Read from the Bambu Studio process profiles for the X1 Carbon's standard preset on each nozzle [5].
| Nozzle | Preset | Outer wall | Inner wall | Sparse infill | Top surface | First layer |
|---|---|---|---|---|---|---|
| 0.2 mm | 0.10 mm Standard | 0.22 | 0.22 | 0.22 | 0.22 | 0.25 |
| 0.4 mm | 0.20 mm Standard | 0.42 | 0.45 | 0.45 | 0.42 | 0.50 |
| 0.6 mm | 0.30 mm Standard | 0.62 | 0.62 | 0.62 | 0.62 | 0.62 |
| 0.8 mm | 0.40 mm Standard | 0.82 | 0.82 | 0.82 | 0.82 | 0.82 |
All widths in mm, checked 9 Nov 2026. For the 0.4 mm nozzle, internal solid infill and support are 0.42 mm.
The formulas
PrusaSlicer, OrcaSlicer and Bambu Studio all use the Slic3r flow model: a line on top of a surface is treated as a rectangle as tall as the layer, with semicircular ends [1][2][4].
- Cross-section = h × (w − h × (1 − π/4)), about h × (w − 0.215 h). This is also the plastic in each millimetre of line, in mm³ [1][2].
- Spacing between neighbouring lines = w − h × (1 − π/4). Lines overlap by about 0.215 × the layer height, to fill the gaps the rounded edges would leave [1][2].
- Wall thickness = w + (walls − 1) × spacing. This is our estimate from that spacing, assuming equal widths; the slicer's preview can differ slightly with features like Arachne walls, and OrcaSlicer's Precise wall adds one overlap back. Mixed outer/inner widths, ideal CAD sizes and design minimums are on the wall thickness calculator.
- Cura places walls one line width apart: its wall count is (wall thickness − outer width) ÷ inner width + 1, rounded [6]. So 2 walls of 0.4 mm make 0.8 mm, Cura's default wall thickness.
- Volumetric flow = cross-section × print speed. Bridges are printed in the air, so they come out round, with an area of π × w² ÷ 4 [1][2].
Worked examples
- 0.45 mm line at 0.2 mm layers: spacing = 0.45 − 0.2 × 0.2146 = 0.4071 mm. Cross-section = 0.2 × 0.4071 = 0.0814 mm², not the 0.09 mm² of a plain rectangle, so the line holds about 9.5% less plastic than width × height suggests.
- Two walls at 0.45 mm, 0.2 mm layers: 0.45 + 0.4071 = 0.857 mm in PrusaSlicer, or Bambu Studio with both widths at 0.45 mm. OrcaSlicer's Precise wall (on by default) removes the outer overlap, giving 0.9 mm: see the wall thickness calculator. In Cura, two 0.4 mm walls are 0.8 mm.
- Walls for at least 1.2 mm: with 0.45 mm lines, (1.2 − 0.45) ÷ 0.4071 = 1.84, rounded up to 2, plus the outer wall = 3 walls (1.264 mm). In Cura with 0.4 mm lines, exactly 3 walls give 1.2 mm.
- Flow at 200 mm/s: 0.0814 mm² × 200 = 16.3 mm³/s, against 18 mm³/s from the simple rectangle used on our volumetric speed calculator (which stays on the safe side when you compare against a hotend limit).
Wider or narrower lines: what changes
Wider lines bond better to the layer below and make stronger parts, but they cannot follow small details, narrow curves or thin gaps as well. Thinner lines are more accurate but bond less [1]. Wider lines also need more plastic per second at the same speed, so check your hotend's limit with the volumetric speed calculator. If you change line width, the flow rate test uses it too, and the layer height calculator covers how thick each layer can be for your nozzle.
Sources
- Slic3r Manual: Flow Math. Rounded-rectangle cross-section, path spacing, bridges as round lines, width below layer height discouraged, strength vs accuracy.
- OrcaSlicer source: Flow.cpp. auto_extrusion_width (1.125 × nozzle, or 1 × for support and top solid infill), rounded_rectangle_extrusion_spacing and mm3_per_mm. PrusaSlicer's Flow.cpp uses the same rule.
- Prusa Knowledge Base: Creating profiles for different nozzles. 0 means 1.125 × nozzle, a percentage is of the layer height, ~110% typical, 120–140% first layer.
- Bambu Lab Wiki: Line width. 0.75–1.5 × nozzle range, width limited by the nozzle tip, round bridges, Slic3r cross-section.
- Bambu Studio process profiles: fdm_process_common.json and the 0.2 / 0.6 / 0.8 nozzle base profiles.
- UltiMaker Cura: fdmprinter.def.json. line_width = machine_nozzle_size, wall_thickness 0.8 mm and the wall_line_count formula.
All sources fetched and checked 9 Nov 2026.
Related: wall thickness (ideal CAD wall, Precise wall, minimums) · heat-set insert hole size (boss wall thickness) · layer height (max for your nozzle) · volumetric speed / max flow · flow rate · pressure advance · 3D print scale
FAQ
What line width should I use for a 0.4 mm nozzle?
About 0.42 to 0.45 mm. Bambu Studio uses 0.42 mm for outer walls and 0.45 mm for inner walls and sparse infill; PrusaSlicer and OrcaSlicer use 0.45 mm (1.125 × the nozzle) when the width is set to 0; Cura uses 0.4 mm.
Can line width be bigger than the nozzle?
Yes. Extruding more plastic for the same head speed squashes the line wider. Bambu Lab suggests staying between 0.75 × and 1.5 × the nozzle, so 0.3 to 0.6 mm for a 0.4 mm nozzle, and Prusa suggests 120–140% on the first layer for adhesion.
What line width for a 0.6 mm or 0.8 mm nozzle?
Bambu Studio uses 0.62 mm on a 0.6 mm nozzle and 0.82 mm on a 0.8 mm nozzle for all line types. PrusaSlicer and OrcaSlicer auto widths are 0.675 mm and 0.9 mm (1.125 ×).
How thick are 2 walls with a 0.45 mm line width?
About 0.857 mm at 0.2 mm layers in PrusaSlicer, because neighbouring lines overlap by about 0.215 × the layer height: 0.45 + (0.45 − 0.043) = 0.857 mm. OrcaSlicer with Precise wall on (its default) gives 0.9 mm, as it removes the overlap next to the outer wall. In Cura, two 0.4 mm walls are 0.8 mm.
How many walls do I need for a 1.2 mm wall?
With 0.45 mm lines at 0.2 mm layers, 3 walls (about 1.26 mm). In Cura with 0.4 mm lines, exactly 3 walls make 1.2 mm.
Why is the cross-section smaller than width × layer height?
Slicers model a line as a rectangle with rounded ends, so its area is h × (w − 0.215 h). For a 0.45 mm line at 0.2 mm that is 0.0814 mm² instead of 0.09 mm².
What happens if a percentage is used for extrusion width in PrusaSlicer?
PrusaSlicer works out a percentage width from the layer height, not the nozzle diameter, so 120% at 0.2 mm layers is only 0.24 mm. Use millimetres, or 0 for the automatic 1.125 × nozzle.