3D printing seems almost free until you add up the filament, the electricity and the prints that fail. With this calculator you’ll know what each part really costs, which is useful both for your own projects and if you take orders and want to charge a fair price.

In short
- Filament is usually the biggest part of the cost: spool price × part grams / spool weight.
- Electricity is small but not negligible on long prints.
- Always add a failure margin and, if you sell, machine wear.
Calculator
- Filament
- —
- Electricity
- —
- Wear
- —
- Total
- —
The default values are just an example: replace them with your own.
Where to get each number
Part weight and print time
Your slicer (Cura, PrusaSlicer, OrcaSlicer, Bambu Studio…) calculates them when slicing. Look in the summary for:
- Filament weight in grams (or length in meters).
- Estimated print time.
The actual time is usually somewhat longer than the estimate, especially on printers whose firmware doesn’t estimate acceleration well.
Price per gram
Divide the spool price by its net weight (usually 1,000 g, not counting the reel):
| Spool | Price | Cost per gram |
|---|---|---|
| PLA 1 kg | $20 | $0.020 |
| PETG 1 kg | $25 | $0.025 |
| TPU 0.5 kg | $22 | $0.044 |
Printer power draw
The average power draw is much lower than the power supply rating: the bed and the hotend draw a lot while heating up and then just hold temperature. As a rough guide:
| Printer type | Approximate average draw |
|---|---|
| Small Cartesian, bed at 60 °C (PLA) | 80–150 W |
| Large bed or bed at 100 °C (ABS/ASA) | 200–350 W |
| With heated enclosure | 300 W or more |

The reliable way to know is to measure it with a plug-in energy meter over a complete print and divide the kWh by the hours.
Electricity price
Check the price per kWh on your utility bill (some utilities offer time-of-use plans where the price changes by the hour). If you print at night or on weekends, it may work out cheaper.
Wear and failures
- Wear: nozzles, PTFE tubes, belts, build surfaces… A value of $0.03–0.10/h is reasonable for home use.
- Failures: between 5 and 15% depending on your experience and the complexity of the part.
Full example
A 45 g PLA part (spool at $20/kg) that takes 3.5 h on a 120 W printer with electricity at $0.17/kWh:
Filament: 45 × 20 / 1000 = $0.90
Electricity: 0.120 kW × 3.5 h × 0.17 = $0.07
Wear: $0.05/h × 3.5 h = $0.18
Subtotal = $1.15
+10% failures ≈ $1.26
As you can see, filament is almost the entire cost. On large or very long prints, electricity carries more weight.
If you charge for printing
The material cost isn’t the selling price. For an order you also have to add:
- Your time: preparing the file, removing supports, post-processing, packing.
- Design, if you model the part yourself.
- Depreciation of the printer.
- Shipping and taxes.
How to save

- Reduce infill: 15% infill is usually enough for decorative parts.
- Fewer walls where you don’t need strength, and more where you do.
- Orient the part so it needs fewer supports.
- Print several parts at once: the initial heat-up is shared.
- Dry the filament: wet filament causes failures and waste.



