How 3D print cost is calculated
Most people only count filament, but for anyone selling prints the other costs add up. This calculator combines all of them:
filament = grams ÷ 1000 × price per kg
electricity = watts ÷ 1000 × hours × price per kWh
wear = (printer price ÷ lifetime hours + maintenance/h) × hours
true cost = (filament + electricity + wear + labour) ÷ (1 − failure rate)
price = true cost × (1 + markup)
The failure-rate step spreads the cost of failed prints across the successful ones: at a 10% failure rate every good print has to pay for 1.11 prints' worth of material and time.
Typical numbers
| Item | Typical value |
|---|---|
| PLA / PETG price | $15–25 per kg |
| Bed-slinger power draw while printing | 80–150 W |
| Enclosed CoreXY (ABS, heated chamber) | 150–350 W |
| Printer lifetime before major rebuild | 3,000–10,000 h |
| Hobby failure rate | 3–10% |
Worked example: a 50 g PLA print
Worked example
The default inputs, line by line
| Filament | 50 g × $20/kg = $1.00 |
| Electricity | 120 W × 4 h = 0.48 kWh × $0.15 = $0.07 |
| Printer wear | ($500 ÷ 5,000 h + $0.05/h) × 4 h = $0.60 |
| Labour | $0.00 |
| Subtotal | $1.67 |
| Spread 5% failures | $1.67 ÷ 0.95 = $1.76 true cost |
| 50% markup | $1.76 × 1.5 = $2.64 price |
Notice that machine wear costs more than the filament on a long, light print. On fast printers the balance flips and filament dominates. That is the main reason flat “price per gram” quoting under-charges long prints.
Where the numbers come from
| Input | How to measure it |
|---|---|
| Filament used | Slicer estimate, or the STL weight calculator. Add supports and brim. |
| Power draw | A plug-in energy meter over a full print, divided by hours. Heat-up spikes are short; the average is what matters. |
| Electricity price | Your bill: total charge ÷ kWh used, including delivery fees. US average residential was around $0.16–0.17/kWh in 2024–2025 (EIA). |
| Printer lifetime | Hours until a major rebuild (hotend, belts, bearings). 3,000–10,000 h is realistic for hobby machines. |
| Failure rate | Failed prints ÷ total prints over the last month. Track it honestly; it is usually higher than people think. |
Cost per hour on common machines
| Printer price | Lifetime | Wear per hour | Power at $0.15/kWh |
|---|---|---|---|
| $250 bed-slinger | 3,000 h | $0.08 | ~$0.015 (100 W) |
| $600 CoreXY | 5,000 h | $0.12 | ~$0.02 (130 W) |
| $1,200 enclosed CoreXY | 6,000 h | $0.20 | ~$0.04 (250 W, ABS) |
Common mistakes
- Counting only filament. It ignores the machine you are wearing out. On a 10-hour print, wear and power can match the plastic.
- Leaving the failure rate at zero. Every seller has failures. Even 5% changes the true cost by more than 5% once labour is included.
- Charging your time at $0. Removing supports, sanding, packing and answering messages are real work. Put an hourly figure in Labour, even a small one.
- Using the printer’s PSU rating as watts. A 350 W power supply does not mean 350 W draw. Most bed-slingers average 80–150 W once heated.
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| Price looks too low to be worth it | Labour set to 0 or tiny markup | Add post-processing time and a realistic markup |
| Electricity seems negligible | Short print on an efficient printer | That is normal; it matters more for long ABS prints in enclosures |
| Big gap vs competitors | They include setup fees or minimum orders | Use the quote generator to add a setup fee |
Comparing spools? The filament cost per gram calculator turns any spool price into cost per gram, kg and metre.
FAQ
How much does it cost to 3D print something?
For a typical 50 g PLA print taking 4 hours, filament is about $1, electricity about $0.07 and printer wear roughly $0.40, so the true cost is around $1.50. Labour and markup are on top if you sell it.
How much electricity does a 3D printer use?
Most desktop FDM printers average 80–150 W while printing once the bed is up to temperature, so about 0.1 kWh per hour. Enclosed printers heating a chamber can use 2–3 times more.
How should I price 3D prints to sell?
Start from the true cost including failures, add your time for removing supports and packaging as labour, then apply a markup. Many sellers use 50–200% markup, or price by the gram plus a setup fee.
Why include a failure rate?
Failed prints still consume filament, power and machine hours. Dividing by (1 − failure rate) charges each successful print its fair share of the failures.
Recommended gear
- Plug-in power meter — Measures your printer’s real wattage for accurate cost estimates.
- Overture PLA 4-pack — Bulk spools lower your cost per gram, handy if you sell prints.
- Digital kitchen scale (0.1 g) — Weigh spools to see what is left; 0.1 g resolution is plenty.
Some links are affiliate links. MeshMath earns a commission on purchases made through Overture and Anycubic (via Awin) links, at no extra cost to you. Picks are chosen for usefulness, not paid placement.
Related tools
STL weight & filament calculator
Drop an STL to get grams, metres of filament and cost for PLA, PETG, ABS and more.
3D print time estimator
Drop an STL and estimate print time and energy use from layer height and speed.
Online STL viewer & measure
View any STL in 3D, get exact dimensions and check it fits your printer bed.
STL scale & unit fixer
Find the exact scale % to hit a target size, or fix inch/cm exports.
Filament length ↔ weight converter
Convert metres of filament to grams and back for any material and diameter.
Lithophane generator
Turn a photo into a printable lithophane STL with a live 3D preview.