3D print

Why Mesh Volume Is Not Filament Consumption: How to Estimate 3D Printing Material Cost

Price a sliced print by the gram, account for supports and purge material, and weigh a partly used spool before starting the job.

A slicer can quote two different filament weights for the exact same STL. Change three walls to five, leave the outside dimensions alone, and slice again. Material moves into the shell at the expense of sparse infill. Turn on supports under an overhang and the spool supplies plastic that will never be part of the finished object. A quote for a print therefore needs a particular set of toolpaths and a material price. The STL alone supplies neither of those numbers.

Keep three measurements separate

A solid 20 mm square beside two sliced cross sections with different wall thickness and infill.
Sections through the same cube can have different wall and infill paths. Supports and purge add material outside the model.
MeasurementWhere it comes fromQuestion it answers
Enclosed mesh volumeTriangles enclosing a consistent solidHow much space does the modeled solid occupy?
Estimated filament massSlicer extrusion plan and material densityWhat will this configured job draw from its spools?
Actual spool mass changeTwo measurements on the same scaleHow much material left this spool during the run?

Consider a closed cube with sides of 20 mm. Its enclosed volume is 8,000 cubic millimeters, or 8 cubic centimeters. Multiplying by a nominal PLA density of 1.24 grams per cubic centimeter gives 9.92 grams of solid PLA at that density. Multiplying that by a 15 percent infill setting produces 1.49 grams, an especially poor quote for a small cube. Top and bottom skins can span the whole face. Perimeters run even where the interior has only a few lines of infill.

A model with reversed faces, overlapping shells or an open seam introduces another source of error. Triangle-based volume calculations depend on which side of each surface is inside. Even a mathematically correct volume for two separate overlapping components can count their intersection twice. Check dimensions and visible geometry first. Use the volume to reason about the design or to catch a gross scale mistake. Treat the slicer's material report as a separate measurement with its own assumptions.

Price one real selection

Open the model in the STL and 3MF analyzer. The initial geometry preview runs on-device. For a project with repeated instances, choose either the intended build item or the entire layout. Starting the weight estimate temporarily uploads the model. Record the selected material, which plates were included, and the settings reported with the result. A single component and an entire plate may have identical names in the source project. Their gram totals answer different purchasing questions.

Spool purchase price             $24.00
Net filament on new spool        750 g
Material price                   $0.032 per gram
Selected job estimate            86 g including support
Charge for this job's material   86 × 0.032 = $2.752
Rounded to cents                 $2.75

Use the net filament weight printed on the packaging. A “1 kg” product and a 750 g refill at the same price have different prices per gram. Enter the unrounded unit price and round the extended cost at the end. If 86 g already includes supports, adding an estimated support percentage again double counts them. Likewise, when a report shows a total alongside individual spool contributions, charge against the total once or price the contributions separately when materials cost different amounts.

Find out what the slice assumed

A bare STL does not specify nozzle diameter, layer height, top layers, support interface, print orientation or a purge tower. The estimator uses generic settings for geometry-only input. Its result includes those assumptions. A vendor project can instead carry plate choices and object overrides. Compare the reported settings with the profile you intend to print. Swapping PLA for a denser material changes the mass of a given length, and changing support strategy may change the required length as well.

For a two-material job, imagine 70 g of ordinary plastic at $0.02 per gram and 16 g of soluble support at $0.08 per gram. That job consumes $1.40 plus $1.28. An average price based on equal masses of the two materials would misprice it. Verify which extruder each number describes, especially after remapping slots. If the available report supplies only a single total, the separate cost cannot be recovered from that total without additional information from the slicer.

Cross-check a partly used spool

Place the spool on a scale with the filament clipped in its usual position. Subtract the tare weight of an empty spool of the same design. A 416 g gross reading and a 295 g empty spool leave 121 g. An 86 g print and a 20 g reserve would leave 15 g beyond that reserve. The remaining-filament calculator performs this check on-device. Use a larger margin when the tare comes from a different batch or the scale fluctuates while the spool rests on it.

If you already have the exact printer file, open supported G-code in the local G-code analyzer and compare its extrusion estimate with the slicer's report. Match filament diameter and density. Extrusion coordinates can be absolute or relative, reset between sections, and include retraction followed by recovery. A simple positive-movement estimate and a slicer's accounting can differ. Do not use the final E coordinate as total length. Record which file supplied the number if you later reslice the part in another orientation.

For a plate of six copies, slice the complete plate once before multiplying a single-part quote by six. A shared skirt may be printed only once. Travel, support placement and color transitions can also change when the slicer schedules several copies together. Divide the complete plate estimate by six if you want an average unit cost for that batch. Keep the undivided plate total for deciding whether the loaded spool will finish the job.

Limitations of the quote

The amount drawn from the spool includes anything extruded during the weighing interval. Purging by hand before loading, clearing a jam or restarting a failed first layer can use material outside the planned job. For repeat production, weigh the spool before and after several identical runs and divide the change by the number of accepted parts. Keep failed builds in the record if the objective is to price delivered parts. Weighing only a cleaned print discards the supports and purge material from the accounting.

A material subtotal leaves out electricity, machine time, labor, shipping and discarded prototypes. It is also conditional on successfully slicing the intended geometry. If the estimator rejects a project, retain the local geometry report and obtain a material total from the intended desktop slicer. Substituting enclosed volume silently changes the meaning of the quote. A reproducible handoff consists of the model revision, plate selection, settings, material mass and purchase price, enough for someone else to check the calculation before ordering plastic.

References & further reading

Tools for this guide