Shape
Print mass
20.3g
Filament cost0.45 €
Walls6.7 g
Top and bottom layers3.2 g
Infill10.4 g
Solid material in the volume25.5 %
Solid material in the section22.1 %
Bending stiffness28.4 %

A proxy for strength under horizontal load: the more solid material in the section, the stronger. Compared with a solid section. Walls on the outside count more here than infill in the middle.

What helps more: a wall or infill?
+1 wall+2.8 g, +6.1 pp
+10% infill+7.0 g, +8.4 pp

An extra wall gives more bending stiffness per gram of filament.

The model works like a slicer: walls along the outline, solid layers at top and bottom, the rest filled. Strength is a proxy; it also depends on infill pattern, orientation and layer bonding.

How the mass and section are worked out

Formula

walls = perimeter x height x walls x line width
solid layers = (top area x top layers + bottom area x bottom layers) x layer height
infill = (volume - walls - solid layers) x infill %
mass = (walls + solid layers + infill) x density
section = (wall ring + rest x infill %) / section area
bending = second moment of area (walls + infill) / second moment of area of a solid section

A slicer prints a part as a shell with infill inside. Walls follow the outline, the top and bottom are solid layers, and a grid of the chosen percentage fills the rest. The calculator splits the model the same way, so the mass is close to the slicer's for simple shapes.

Strength in MPa cannot be calculated honestly without tests, so we show the share of solid material in a horizontal section. Under horizontal load (bending, tension along the layers) that section carries the force, so it compares versions of the same part well.

Walls sit on the outside of the section, where they count most in bending, and are printed as continuous lines. That is why an extra wall usually strengthens a part more per gram of filament than a few percent of infill.

Infill helps when a part is compressed or has large flat surfaces that sag without support. Then the pattern matters too: gyroid and hexagons are more even in all directions than lines.

Example on the default values (40 mm PLA cube, 2 walls, 15%)

  1. Walls 6.7 g, top and bottom layers 3.2 g, infill 10.4 g.
  2. Total 20.3 g, which is 25.5% of the cube's volume, for 0.45 €.
  3. Solid material takes 22.1% of the section, and the bending stiffness is 28.4% of a solid part.
  4. A third wall: +2.8 g and +6.1 pp of bending stiffness.
  5. 25% infill instead of 15%: +7.0 g and +8.4 pp of bending stiffness.

40 mm PLA cube at different infill (2 walls)

InfillMassCostSectionBending
0 %9.8 g0.22 €8.4 %15.8 %
10 %16.8 g0.37 €17.6 %24.2 %
15 %20.3 g0.45 €22.1 %28.4 %
20 %23.7 g0.52 €26.7 %32.6 %
30 %30.7 g0.68 €35.9 %41.0 %
50 %44.6 g0.98 €54.2 %57.9 %
100 %79.4 g1.75 €100.0 %100.0 %

Practical tips

  • For functional parts start with 3-4 walls and 20-30% infill. Add walls first, infill second.
  • Around screw holes and inserts set more walls or a slicer modifier so there is solid material round the hole.
  • Infill above about 50% rarely pays off: mass and time grow while the strength gain is smaller than with extra walls.
  • The weakest point of a print is usually the layer bond. If a part breaks along the layers, rotate it on the bed instead of adding infill.

Video tutorials: print it well

Short tutorials from my BnB3D channel (Polish audio, English subtitles).

Free 3D-printable QR code generator – Wi-Fi, reviews, keychain and magnet
Free 3D printed cookie cutter generator – from any shape
All tutorials on YouTube

Handy for this tool

Affiliate links: if you buy something I get a small commission, and you pay the same. As an Amazon Associate I earn from qualifying purchases.

Frequently asked questions

What infill should I use?+

For decorations and models 10-15% is enough. For functional parts usually 20-40% with 3-4 walls. Full 100% rarely pays off, because mass and time grow faster than strength.

Does the calculator give strength in MPa?+

No. It shows the share of solid material in the section, which compares versions of the same part well. Strength in MPa depends on the material, infill pattern, orientation and layer bonding.

How much does a print weigh at 20% infill?+

It depends on the shape. A small cube has a lot of walls and solid layers relative to its volume, so it weighs more than 20% of a solid block. Enter the size and the calculator works out the mass.

More walls or more infill?+

In bending and tension walls usually give more, because they sit on the outside of the section. The calculator shows for your part which gives more bending stiffness per gram.

Why does the mass differ from the slicer?+

The calculator assumes a simple shape and knows nothing about overhangs, supports or model details. For bodies close to a box or a cylinder the difference is small.