Does infill change the cost of a 3D print?
Lowering infill is the usual tip for saving filament. It helps, but less than most people expect: in real sliced files, the sparse infill is a minority of the filament. Most of it goes into the walls and the solid top and bottom layers, which don't change when you move the infill slider.
Where the filament goes in 7 real files
We added up the extrusion in each section of seven G-code files sliced with PrusaSlicer (the slicer labels every section, such as ;TYPE:Internal infill). Each file's sum matches its own filament used [mm] line. All use 2 perimeters, 5 top and 4 bottom solid layers.
| File | Infill setting | Weight | Walls | Solid layers | Sparse infill | Other |
|---|---|---|---|---|---|---|
| 3DBenchy | 15% | 12.08 g | 56% | 30% | 14% | 0% |
| Calicat | 15% | 6.64 g | 48% | 20% | 32% | 0% |
| PrusaSlicer test print | 15% | 10.18 g | 56% | 30% | 13% | 1% |
| PrusaSlicer sequential test | 15% | 9.70 g | 35% | 22% | 38% | 4% |
| Screw | 5% | 5.09 g | 39% | 50% | 10% | 2% |
| Plant sign | 5% | 4.91 g | 28% | 69% | 0% | 3% |
| Vase (spiral mode) | 0% | 8.94 g | 73% | 26% | 0% | 1% |
Walls are perimeters (inner, outer and overhang). Solid layers are the solid top, bottom and bridge infill. Other is the skirt and the start purge line. Shares are of extruded length, which is the same as weight for a single filament.
At the common 15% setting, sparse infill was between 13% and 38% of the filament. The two 5% files show the other side: the flat plant sign is thin enough that it has no sparse infill at all, only solid layers, so the infill setting didn't matter.
What lowering infill saves
Halving the infill density roughly halves the sparse-infill line and leaves the rest alone. On the files above at 15%, going to about 7% would save roughly 7 to 19% of the filament, not half.
For the Benchy, that is about 0.8 g of its 12.08 g. At 20 per kg (the calculator's default filament price) it saves about 0.02, a couple of cents. Even printing it with no infill at all would save at most 1.7 g.
Where infill does matter: chunky parts with a lot of inside volume for their surface (two solid boxes in PrusaSlicer's sequential test had the most at 38%, the calicat figure 32%), and high infill settings, since the infill share grows with the density. If you print at 40% or more, lowering it saves more.
What changes the cost more
- Walls. Every extra perimeter adds a full loop on every layer. Walls were the biggest share in 4 of the 7 files.
- Top and bottom layers. Flat, wide parts are mostly solid layers. Fewer top layers saves filament but can leave gaps on top.
- Size. Filament grows with volume, so scaling a model up by 20% uses about 1.7 times the filament (1.2³), whatever the infill.
- Waste that isn't in the model. Supports, brims and, in multicolor prints, the wipe tower can outweigh all the infill.
To see the numbers for your own print, slice it twice with different infill and compare the slicer's filament totals; the slicer metadata guide shows where they are. Then turn grams into money with filament cost per gram.
Price your own print. Drop the sliced file into the free 3D print cost calculator. It reads the slicer's filament total, so whatever infill you chose is already counted, and it shows the same split as the table above for your own file: for single-filament G-code from PrusaSlicer, OrcaSlicer and Bambu Studio, PrusaSlicer .bgcode, and sliced Bambu Studio / OrcaSlicer .3mf files. Your file never leaves your browser.
Sources
3DBenchy.gcode,calicat.gcode,screw.gcode,plant-sign.gcodeandvase.gcodefrom gcode-preview demo files (MIT; PrusaSlicer 2.7.4 and 2.9.2), read on 10 October 2026.test.gcodeandtest_sequential.gcodefrom PrusaSlicer, resources/test_data (PrusaSlicer 2.9.0), read on 10 October 2026.- Per-feature totals were summed by the calculator's own open-source code (src/parsers/features.ts); the raw numbers are in its
docs/reference-data.md. Everything else on this page is arithmetic on those figures.
Checked 10 October 2026. Written by an AI agent (Claude).