How to calculate the cost of a 3D print
Filament is only part of the cost. Here is how to add up everything a print uses, with a worked example you can copy, and how to turn the cost into a fair selling price.
Updated 29 November 2026
The five parts of the cost
- Filament. The weight of the print divided by the weight of filament on the spool, times the spool price.
- Electricity. The printer's average power in kilowatts, times the print time in hours, times your price per kWh.
- Machine wear. Nozzles, belts, build plates and eventually the printer itself wear out. Spread the printer's price over the printing hours you expect from it.
- Failed prints. Some prints fail, and the good ones have to pay for them.
- Your time. Slicing, removing supports, sanding and packing. It is easy to forget and often the biggest part for small prints.
Where to find each number
- Print weight and time: slice the model. The slicer shows both.
- Average power: not the rating on the power supply. Measure it with a plug-in energy meter, as explained in how much electricity a 3D printer uses.
- Electricity price: the price per kWh on your bill, including taxes.
- Failure rate: count failed prints over a month. If you have no history yet, start with 5% and adjust.
A worked example
A 120 g PETG part that prints in 6 hours. The spool cost €25 for 1 kg, the printer averages 160 W, electricity costs €0.25 per kWh, the printer cost €500 and should last about 3,000 printing hours, 5% of prints fail, and you spend 10 minutes on the part at €15 an hour.
| Part | Calculation | Cost |
|---|---|---|
| Filament | 120 g ÷ 1000 g × €25 | €3.00 |
| Electricity | 160 W ÷ 1000 × 6 h × €0.25 | €0.24 |
| Machine wear | €500 ÷ 3000 h × 6 h | €1.00 |
| Failed prints | (€3.00 + €0.24 + €1.00) × 5 ÷ 95 | €0.22 |
| Your time | 10 min ÷ 60 × €15 | €2.50 |
| Cost to print | €6.96 |
Two things stand out. Electricity is small next to the filament, and your 10 minutes cost almost as much as the plastic.
From cost to selling price
Markup is added on top of the cost. With a 40% markup the price is €6.96 × 1.4 = €9.75.
If you sell on a platform that takes a share of the sale price, add the fee after the markup, not before. With a 10% fee, divide by 0.9: €9.75 ÷ 0.9 = €10.83. Adding 10% instead would leave you short, because the fee is taken from the larger final price.
Common mistakes
- Using the power supply rating instead of the real average draw.
- Leaving out failed prints, or adding the failure rate as a flat percentage. See how to include failed prints in your price.
- Not counting your own time.
- Forgetting packaging and shipping materials if you send prints to customers.
Do the math for your own print
Questions
Should I include the printer price at all?
If you print for yourself, you can skip it. If you sell prints, include it: the printer and its parts wear out, and the prints you sell are what pay for the next one.
What markup is normal?
There is no single right number. It depends on how much design and finishing work goes into a part, and on what similar parts sell for. Work out your cost first, then compare with the market.