
When a part needs to be stronger, the first instinct is to raise the infill. That is usually the most expensive way: mass and time grow fast, stiffness slowly. A thicker shell, meaning walls plus top and bottom layers, gives more.
The infill, mass and strength calculator works out mass, cost and relative stiffness. Below is an example and what follows from it.
Free tool3D printing calculatorsCost, drying, spool, shrinkage, flow, E-stepsOpen the toolWhat a print's mass is made of
- A 40 mm PLA cube with 2 walls, 5 top and 3 bottom layers and 15% infill weighs about 20.3 g.
- The walls are 6.7 g, the top and bottom layers 3.2 g and the infill 10.4 g.
- Material fills about 25.5% of the cube's volume. The rest is air.
- In small parts the shell is most of the mass, in large parts the infill dominates.
Why walls give more
In bending, the material far from the centre of the cross-section, near the surface, does most of the work. That is exactly where walls are, while infill sits in the middle. That is why the calculator works out bending stiffness, based on the second moment of area, as well as the material share of the cross-section.
In the example the cube has 28.4% of the stiffness of a solid part. A third wall adds 2.8 g and 6.1 percentage points of stiffness. Raising the infill by 10% adds 7.0 g and 8.4 points. Per gram, the wall gives almost twice as much.
Need a print like this?
Send a model or describe the part - you'll usually get a free quote within 24 hours.
Request a quoteHow to choose the settings
- Figures and decorations: 2 walls, 10-15% infill.
- Functional parts: 3-4 walls, 15-25% infill, 4-6 top layers.
- Parts for threads, screws and inserts: extra walls around the holes give more than high infill across the whole part.
- Gyroid or cubic patterns spread strength evenly in all directions. The weak point remains the bond between layers, so orient the part so the load does not pull the layers apart.
Frequently asked questions
Which infill should I choose for 3D printing?+
For most parts 15-25% with 3 walls is enough. Above 40% stiffness grows slowly compared with mass and time.
Is 100% infill the strongest print?+
It is the heaviest and stiffest, but it prints slowly and warps more. 5-6 walls with 30-40% infill often give a similar result.
How much filament does a 40 mm cube take?+
At 15% infill about 20 g of PLA, under 0.50 € with filament at 22 €/kg. Work out the exact cost for your material in the calculator.
Recommended gear for this topic
- PLA filament 1.75 mm, 1 kgSee on Amazon
- PETG filament 1.75 mm, 1 kgSee on Amazon
- Precision scale 0.1 gSee on Amazon
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.
Author
Bartosz Budny, founder of BnB3D
He has worked in 3D printing for more than 10 years: servicing, building and running printers, and has designed in Fusion 360 for more than 5 years. He writes about what he prints and tests on his own printers in Myszków, Poland (over 4,000 print hours on his MakerWorld models alone).
See 3D printing in action
On our BnB3D channel we show 3D printing behind the scenes - Bambu Lab printer tests, materials and real jobs.
Got a project to print?
Send a model or a description - you'll usually get a free quote within 24 hours.
Request a quote


