FDM infill, walls and layer height: what each setting does to strength, time and cost
By PartRelay team · Published 30 November 2026 · 7 min read

Choosing FDM settles how the part is made. The print settings then decide how much plastic goes where: how many outlines form the walls, how much of the inside is filled, and how thick each layer is. Those choices move strength, stiffness, weight, surface, print time and price, and not in equal measure.
Our comparison of FDM, SLS and MJF covers why printed parts are weaker across their layers. This guide picks up from there. The advice comes from the slicer makers Prusa Research, UltiMaker and Bambu Lab, the insert maker SPIROL and two peer-reviewed tensile studies. All figures are from test bars, not from your part.
What the slicer builds inside a part
A slicer turns the model into three kinds of extrusion. Walls, or perimeters, trace the outline of every layer. Prusa notes that the top and bottom of a model are usually solid layers. Infill fills the rest as a lattice. By our reading, an FDM part is a solid skin around a partly hollow core, and the settings decide how thick the skin is and how dense the core.
Each wall is one extruded line. Prusa uses a 0.45 mm perimeter width as its example, and notes that two perimeters at 0.2 mm layers come to 0.86 mm rather than 0.90 mm, because neighbouring lines overlap slightly. Our guide to design for 3D printing explains why a wall should be a whole number of perimeters.
Walls carry most of the load
Prusa says a model’s strength is mostly defined by the number of perimeters, not the infill. UltiMaker’s infill guide agrees: two extra perimeters often add more strength than raising infill from 20% to 30%, so it treats the shell as the main load path. Bambu Lab’s advice for a strength preset raises the wall count, infill density and shell layers together.
Rogelj and colleagues measured it on PLA bars printed flat on a Bambu Lab X1 Carbon, at 60% honeycomb infill and 0.20 mm layers, tested to ISO 527-2. Tensile strength rose from 21.79 MPa with one perimeter to 28.59 MPa with two and 32.94 MPa with three, a 51% gain. Young’s modulus, the stiffness, rose from 1461.99 to 2025.72 MPa. One caveat: the number of top and bottom layers rose with the number of perimeters.
UltiMaker’s PLA datasheet shows the same effect at 100% infill. Bars printed on their side, mostly walls, broke at 56.0 MPa; bars printed flat, mostly 45-degree infill lines, at 45.5 MPa. By our reading, lines that run along the load carry it better than lines crossing it at an angle.
Infill: stiffness, compression and weight
UltiMaker lists the trade plainly: denser infill makes a print stronger and supports its top surfaces better, but uses more material, which adds cost and weight, and takes longer. Prusa says most models print with 10 to 15% infill, that more infill adds weight, compression resistance and stiffness, and that you will rarely need more than 30%.
The studies agree on direction. Rodríguez-Panes and colleagues printed PLA on a Prusa i3 with a 0.8 mm shell and 0.1 mm layers, and tested ASTM D638 type I bars. Going from 20 to 50% infill raised tensile strength 27%, from 38.47 to 48.87 MPa, while the bars got 16% heavier; ABS gained 25.19% for 18.5% more weight. Rogelj’s PLA bars with three perimeters gave 30.75 MPa at 40% infill, 32.94 MPa at 60% and 49.11 MPa at 100%, the last printed with lines instead of honeycomb.
Compare that with the walls (our arithmetic): at 60% infill, a third perimeter added 4.35 MPa, while 40 to 60% infill at three perimeters added only 2.19 MPa. UltiMaker notes that strength does not rise linearly with infill and suggests 20 to 40% for a good strength-to-weight ratio in many uses. Its range for stiff parts depends on the plastic:
| Material | Infill for stiff parts |
|---|---|
| PLA | 20-30% |
| PETG | 25-40% |
| Nylon (PA-12/PA-6) | 35-50% |
| Carbon-fibre-filled PLA/PETG | 15-25% |
When 100% infill makes sense
Rogelj’s jump from 60 to 100% infill raised strength from 32.94 to 49.11 MPa and the modulus from 2025.72 to 2727.08 MPa, so a solid part is clearly stronger. It also costs the most material and time. Prusa forces a rectilinear pattern at 100% and warns that it can spoil the look; UltiMaker recommends straight-line patterns from 80%.
By our reading, 100% is worth it for small or thin parts where the walls fill most of the section anyway, for faces that will be drilled or machined, and for parts that must approach datasheet values: UltiMaker prints its datasheet bars at 100% infill.
Infill pattern
Prusa calls gyroid three-dimensional, equally strong in all directions and fairly quick to print, and recommends rectilinear for 100% infill. UltiMaker rates cubic as strong in all directions and gyroid as strong but not very stiff. Support cubic and lightning mainly hold up the top surfaces: Prusa says support cubic does not improve any mechanical qualities, and UltiMaker reserves lightning for non-functional parts.
Layer height: surface and time first
Prusa names layer height as the main factor in both print time and vertical resolution. Taller layers shorten the print significantly but show more; it does not suggest going below 0.10 mm, and keeps layers under 80% of the nozzle, about 0.32 mm for a 0.4 mm nozzle. Layer height changes only the vertical resolution: text lying flat on the bed looks the same at any layer height. By our arithmetic, 0.10 mm layers mean twice as many layers as 0.20 mm, and 0.28 mm about 29% fewer.
The effect on strength is modest. In Rodríguez-Panes’s PLA bars, 0.2 mm layers gave 11% less strength than 0.1 mm, 34.37 against 38.47 MPa; in ABS the loss was 7.57%. Rogelj, at 60% infill and two perimeters, found 28.59 MPa at 0.20 mm and 27.13 MPa at 0.40 mm, 5.4% apart. By our reading, choose thinner layers for curved or sloping faces that are seen or that seal, and not for strength alone.
Top and bottom layers
Top skins bridge over the infill. Prusa explains that lower infill means longer bridges and more sag, and suggests at least 3 top layers; at thin layers more are needed for the same thickness, 9 at 0.1 mm against 3 at 0.3 mm. UltiMaker adds that denser infill makes top surfaces smoother and more watertight. By our reading, a part at 15% infill with a flat face that must seal is a reason to raise the infill.
Orientation decides which setting carries the load
Walls and infill only help if the layers run the right way. Rodríguez-Panes’s PLA bars printed with layers across the load lost 28% of their strength, and the ABS bars 88.07%. UltiMaker’s datasheet also gives the upright direction the lowest strength. By our reading, more walls cannot fix a load that pulls layers apart: say on the drawing which way the part is loaded, so the manufacturer can orient it.
Threads and inserts need walls
A heat-set insert grips only the plastic around it. SPIROL, which makes them, asks for wall loops that form a solid boss at least 1.5 times the insert’s knurl diameter, which for an M6 insert means 6 wall loops with a 0.4 mm nozzle. Its tests found insert performance rising linearly with infill, so it recommends more than 50%, with layers of 0.16 to 0.2 mm. It also warns that drilling the holes may cut into the walls. See our guide to thread inserts.
Choosing settings: a starting point
| Part | Infill | Walls | Layer height | Basis |
|---|---|---|---|---|
| Fit check, light-duty cover | 10-15% | 2 | Standard or thicker | Prusa: most models print at 10-15%, two perimeters minimum |
| Bracket or housing with moderate loads | 20-40% | More walls before more infill | Standard | UltiMaker: 20-40%, shell as the main load path |
| Stiff part in PETG or nylon | 25-40% (PETG), 35-50% (nylon) | 2-3 or more | Standard | UltiMaker stiffness table |
| M6 heat-set inserts | Greater than 50% | 6 | 0.16-0.2 mm | SPIROL |
| Visible curved faces | As loads require | As loads require | Down to 0.10 mm | Prusa: thinner layers add detail, not below 0.10 mm |
Whatever the settings, the tolerance still has to suit the process; our guide to ISO 2768 explains the general classes.
FDM print settings on PartRelay
On PartRelay you upload a STEP model and PDF drawings and choose an FDM material: PLA, PETG, ASA, PETG-CF, PC, TPU 95A or PA-CF (compared in our guide to engineering filaments). You then set four print settings. Infill is 15, 20, 40, 60, 80 or 100%, with 20% as standard. Walls are 2, 3, 4 or 6, at about 0.45 mm each, so 3 walls are about 1.35 mm, the standard. Layer height is 0.10, 0.15, 0.20 or 0.28 mm, with 0.20 mm as standard. Colour is any (the manufacturer’s choice), black, white or grey.
The price follows the settings, and the manufacturer sees them in the job package. Note load directions and anything else that matters in the comments, and tick “Thread inserts” when the part needs them. A part is priced in seconds when an approved manufacturer has a suitable printer; otherwise an engineer quotes it. You can get a price for one part.
Sources and references
- Prusa Research, Layers and perimeters | Prusa Knowledge Base (undated page, read 30 November 2026). Layer height is the main factor affecting both print time and vertical resolution; taller layers significantly shorten the print time at the cost of more visible layers; going lower than 0.10 mm is not suggested, as 0.07 or 0.05 mm layers improve quality relatively little with significantly longer print times; layer height changes only the vertical resolution, so embossed text parallel with the bed looks the same at any layer height; layer height should be below 80% of the nozzle diameter, about 0.32 mm for a 0.4 mm nozzle; Original Prusa profiles use a minimum of two perimeters; the strength of a model is mostly defined by the number of perimeters (not the infill); with a 0.45 mm perimeter extrusion width, two perimeters at 0.2 mm layer height make a recommended wall of 0.86 mm rather than 0.90 mm because perimeters slightly overlap; top and bottom parts are usually solid layers (100% infill); top solid infill bridges over the infill pattern, so the lower the infill, the longer the bridging distance and the bigger the sag, and at least 3 top layers are suggested; at low layer heights more solid layers are needed for the same thickness (3 top layers at 0.3 mm, 9 at 0.1 mm).
- Prusa Research, Infill | Prusa Knowledge Base (undated page, read 30 November 2026). Infill provides internal support for top layers and affects printing speed, structural strength, filament consumption and the look of the object; most models can be printed with 10-15% infill; increase infill for a heavier model, more compression resistance or higher stiffness; you will rarely need infill higher than 30%; at 100% infill the pattern is forced to rectilinear, and 100% infill can have a negative impact on the look; the strength of a model is mostly defined by the number of perimeters, though infill does help with compression resistance.
- Prusa Research, Infill patterns | Prusa Knowledge Base (undated page, read 30 November 2026). Gyroid is three-dimensional with equal strength in all directions, prints fairly quickly and does not cross itself; rectilinear is one of the fastest infills and the only one recommended for 100% infill; grid crosses itself in each layer, so material accumulates at the crossings and can cause noise or a failed print; support cubic infill only supports the top layers and does not improve any mechanical qualities; lightning infill saves even more material than support cubic.
- UltiMaker, UltiMaker Cura - Infill settings (undated page, read 30 November 2026). Infill density is a major factor in the strength of the print and the top surface quality; higher density makes the print stronger and supports top surfaces better, making the model smoother and more watertight, but needs more material, increasing cost and weight, and takes more time; for 80-100% density a pattern with straight lines such as Lines or Zigzag is best; Lines is a weak pattern; Cubic offers good strength, equal in all directions; Gyroid is equally strong in all directions, but not very stiff.
- UltiMaker, 3D Printing Infill Density: Optimizing Strength and Speed (published 17 September 2025, modified 15 September 2026). Higher infill percentages generally increase strength, but not linearly, and the point of diminishing returns depends on pattern and loading; for many uses 20-40% gives good strength-to-weight ratios; two extra perimeters often add more strength than raising infill from 20% to 30%, so treat shells as the primary load path; typical infill density for stiff parts: PLA 20-30%, PETG 25-40%, nylon (PA-12/PA-6) 35-50%, carbon-fibre-filled PLA/PETG 15-25%, assuming 2-3 perimeter walls and a strength-oriented pattern (cubic, gyroid, tri-hex); lightning infill reduces strength and suits only non-functional parts; low infill can let large flat surfaces sag, and high density may cause surface bulging.
- UltiMaker, Ultimaker PLA Technical data sheet (Version v2.00, 20 April 2022). Samples printed on an Ultimaker S5 with 0.15 mm layer height, AA0.4 print core and 100% infill; tensile stress at break (ASTM D3039, 5 mm/min) 45.5 MPa XY, printed flat (mostly infill of 45° lines), 56.0 MPa YZ, printed on its side (mostly walls), and 33.1 MPa Z, upright; typically the interlayer strength (Z) has the lowest strength in FFF.
- Bambu Lab, How to Create Custom Preset | Bambu Lab Wiki (undated page, read 30 November 2026). Where a model has strict requirements on strength, a preset can increase the wall count, infill density and shell layers and select a honeycomb infill pattern.
- A. Rogelj, D. Liović, E. Hozdić, M. Franulović, B. Mijović, Polymers 17(13), 1797, Influence of Cooling Lubricants and Structural Parameters on the Tensile Properties of FFF 3D-Printed PLA and PLA/Carbon Fiber Composites (27 June 2025). PLA ISO 527-2 specimens printed flat on a Bambu Lab X1 Carbon with a 0.4 mm nozzle, tested at 5 mm/min, five specimens per case; honeycomb infill at 40% and 60%, lines at 100%. At 3 perimeters and 0.20 mm layers, tensile strength 30.75 MPa (40% infill), 32.94 MPa (60%) and 49.11 MPa (100%), about 60% higher; Young's modulus 1832.71, 2025.72 and 2727.08 MPa. At 60% infill and 0.20 mm layers, 21.79 MPa with one perimeter, 28.59 MPa with two and 32.94 MPa with three, a 51% improvement; modulus 1461.99, 1761.87 and 2025.72 MPa, over 38%. The number of top and bottom solid layers matched the number of perimeters. At 60% infill and two perimeters, 28.59 MPa at 0.20 mm, 26.65 MPa at 0.30 mm and 27.13 MPa at 0.40 mm layers; reducing layer height from 0.40 to 0.20 mm improved tensile strength by 5.4%.
- A. Rodríguez-Panes, J. Claver, A. M. Camacho, Materials 11(8), 1333, The Influence of Manufacturing Parameters on the Mechanical Behaviour of PLA and ABS Pieces Manufactured by FDM: A Comparative Analysis (1 August 2018). Prusa i3 printer, ASTM D638-14 type I specimens tested at 5 mm/min, 0.8 mm shell, 0.4 mm layer width. PLA mean tensile strength 38.47 MPa at 0.1 mm layers and 20% infill (reference); 34.37 MPa (-11%) at 0.2 mm layers; 48.87 MPa (+27%) at 50% infill, with weight up 16%; 27.63 MPa (-28%) with layers perpendicular to the stress; Young's modulus 1.000 GPa at 20% infill and 1.343 GPa at 50%. For ABS, 50% infill raised tensile strength 25.19% with an 18.5% weight increase, 0.1 to 0.2 mm layers lowered it 7.57%, and layers perpendicular to the stress lowered it 88.07%. Infill percentage is the parameter of greatest influence; finer layers give better finish and mechanical properties.
- SPIROL, How to Select a Threaded Insert for Your 3D Printed Assembly | SPIROL (undated white paper, read 30 November 2026). Threaded inserts need enough solid wall around them: design the outer wall loops to form a solid boss at least 1.5 times the insert's knurl diameter, which for an M6 insert occurs at 6 wall loops with a 0.4 mm nozzle; maximum performance at 2 times; insert performance increases linearly with infill density, and greater than 50% is recommended; best insert performance around 0.16-0.2 mm layer thickness; optimal results with 50% or more infill and a number of wall loops equal to or higher than the nominal metric insert size; drilling holes reduces variation but may compromise reinforcement in FDM-printed outer walls; at high infill and wall thickness FDM components carry approximately 70-80% of the performance of an equivalent molded material.