Filament Cost: How to Calculate the Material Cost of a 3D Print
Every 3D print quietly consumes a portion of a spool you paid real money for, yet most hobbyists have only a vague sense of what each model actually costs. Knowing the true material cost lets you price commissions fairly, decide whether a failed print is worth reprinting, and compare one filament against another with confidence. This guide walks through exactly how to calculate filament cost, with a worked example and the practical habits that keep your numbers honest.
What Filament Cost Is and Why It Matters
Filament cost is simply the value of the plastic consumed by a single print, expressed in your local currency. It is the most direct, measurable expense in 3D printing — far easier to pin down than electricity, machine wear, or your own labor.
Tracking it matters for several reasons. If you sell prints, material cost is the foundation of any sensible price; underprice it and you lose money on every sale. If you print for yourself, knowing the cost helps you decide between a quick draft and a high-infill final version, or whether to risk an overnight print that might fail. And when you are choosing between a budget PLA and a premium PETG, the per-print cost difference is often smaller than people assume — sometimes just a few cents on a small model.
Material cost also reframes failures. A print that fails at 80% completion has already burned most of its filament. Seeing that in dollars rather than grams makes the case for reliable bed adhesion and good first layers far more compelling.
How to Calculate Filament Cost
The calculation rests on a simple idea: a spool has a known total weight and a known price, so each gram has a known cost. Multiply the grams a print uses by that per-gram cost and you have the material cost.
The formula is:
Print Cost = (Filament Weight Used ÷ Spool Weight) × Spool Cost
Here, filament weight used is the grams of plastic in your specific print, spool weight is the total grams the full spool contained, and spool cost is what you paid for that spool. Dividing the print weight by the spool weight gives the fraction of the spool consumed, and multiplying by the spool cost converts that fraction into money.
You can get the filament weight used in two ways. Your slicer (Cura, PrusaSlicer, Bambu Studio, and others) estimates it before printing — look for the "filament used" figure in grams. Alternatively, weigh the finished print on a kitchen scale for an exact after-the-fact number, though this includes supports and any brim you later removed.
Worked example. Suppose you bought a 1,000 g spool of PLA for $22. Your slicer reports that a desk organizer will use 85 g of filament.
1. Fraction of spool used: 85 ÷ 1000 = 0.085
2. Multiply by spool cost: 0.085 × $22 = $1.87
So the organizer costs $1.87 in material. The fast way to run this — and to keep a tidy log across many prints — is the Filament Cost calculator, which returns the print cost the moment you enter the three values.
A handy mental shortcut: with a 1 kg spool, the cost per gram is just the spool price divided by 1,000. A $22 spool costs about 2.2 cents per gram, so any print's cost is roughly its weight in grams times two cents.
Going Beyond Material: The Real Cost of a Print
Material is the largest variable cost for most prints, but it is not the whole picture. For accurate pricing, layer these on top:
Electricity. A typical desktop printer draws 100–150 watts during a print. A long 10-hour print might use around 1–1.5 kWh, often only 15–30 cents depending on local rates.
Failure rate. If roughly one print in ten fails, your effective material cost is about 10% higher than the formula suggests. Build that buffer into commission pricing.
Wear and consumables. Nozzles, build plates, and PTFE tubing wear out. Allocating a small per-hour amount for maintenance keeps long-term costs realistic.
Your time. Modeling, slicing, post-processing, and packaging all cost time. For paid work, an hourly labor rate usually dwarfs the material cost.
For multi-color or multi-material prints, calculate each filament separately and sum the results, since different spools carry different per-gram costs.
Common Mistakes and How to Avoid Them
Forgetting supports and waste. Slicer estimates include supports, brims, and purge towers, but it is easy to forget these add grams you will throw away. They are still real cost, so do not subtract them.
Using the wrong spool weight. Spool weight means the filament weight, not the gross weight including the cardboard or plastic reel. A "1 kg spool" holds 1,000 g of plastic; the empty reel might add another 200 g. Use only the filament mass.
Ignoring price changes. If you bought spools at different prices, track which spool a print came from. Averaging wildly different prices distorts your numbers.
Confusing weight with length. Some slicers default to showing filament used in meters or millimeters. Always switch the display to grams, or the formula will not work.
Skipping the failure buffer. Pricing purely on a perfect print ignores the reality that printers fail. Add a modest margin so the occasional spaghetti monster does not erase your profit.
Conclusion
Calculating filament cost is one of the easiest and most rewarding habits a 3D printing enthusiast can build. With nothing more than your spool's weight, its price, and the grams a print consumes, you can turn a fuzzy sense of "plastic is cheap" into precise numbers that guide pricing, reduce waste, and reveal which materials truly fit your budget. Start by logging the cost of your next few prints, then expand to electricity and failure rates as you get serious about selling. The clearer your costs, the better every decision around your printer becomes.
Key Takeaways
• Use the core formula: Print Cost = (filament weight used ÷ spool weight) × spool cost — three numbers are all you need for a solid estimate
• Weigh in grams, not length: Switch your slicer to grams and use the filament-only spool weight, ignoring the empty reel, for accurate results
• Account for the extras: Layer electricity, a failure buffer, and labor on top of material cost when pricing prints for sale
• Track per spool: Log which spool each print came from with the Filament Cost calculator so price differences between spools never distort your totals