"It’s only a few grams of plastic" is how most people price their first 3D prints, and it is why many small print shops lose money. Filament is often the largest single item, but electricity, printer wear, the prints that fail halfway and the time spent removing supports all add up.
This calculator brings those costs together. Enter the filament used — the weight from your slicer, or a length if that is what it reports — your spool price, the print time, the printer’s average power and your electricity tariff. Add the printer’s price and expected life to spread its cost over every print hour, a failure rate, your hands-on time and a markup, and you get the total cost, a selling price and, for a full plate, the cost per part.
It works for hobbyists who want to know what a print costs them, makers selling on marketplaces, schools and fab labs recovering material costs, and anyone quoting a job.
How to use this calculator
- Copy the filament weight from your slicer (PrusaSlicer, Cura, Bambu Studio and OrcaSlicer all show it). If it only gives a length, switch to By length and choose the diameter and material.
- Enter the spool price and its net weight (usually 1 kg; the empty reel does not count).
- Enter the print time and the printer’s average power. A plug-in power meter gives the true figure; desktop printers with a heated bed typically average 80–150 W once warmed up.
- Enter your electricity price per kWh, the printer price (plus expected repairs) and its expected life in print hours.
- Set a failure rate from your own experience, your hands-on time and hourly rate, a markup and the number of parts on the plate.
The formula
Filament mass from a length (m), diameter (mm) and density (g/cm³):
Costs, with the spool price for grams, the power (W), the time (h), the price per kWh, the printer price, its life (h) and the failure rate:
Dividing by spreads the material, energy and machine time of failed attempts over the good prints: with a 10% failure rate you need on average attempts per successful print.
Worked example
An 85 g PLA part prints in 4.5 hours on a 120 W printer. The spool costs 25 for 1 kg, electricity 0.20 per kWh, the printer 600 with an expected life of 5,000 hours; 10% of prints fail, finishing takes 15 minutes at 20 an hour and the markup is 30%.
- Filament:
- Electricity: kWh,
- Printer wear:
- Failed prints:
- Labour:
Total cost 8.08, selling price 10.51. Notice that labour, not plastic, dominates small jobs.
Filament length to weight
Slicers sometimes report metres rather than grams. One metre of 1.75 mm filament has a volume of cm³, so in PLA it weighs about 2.98 g, and a 1 kg spool holds roughly 335 m. The same metre of 2.85 mm PLA weighs about 7.91 g.
| Material | Density (g/cm³) | Source |
|---|---|---|
| PLA | 1.24 | Ultimaker PLA technical data sheet |
| PETG | 1.27 | Prusament PETG technical data sheet |
| ABS | 1.04 (some grades up to 1.10) | Typical ABS resin; Ultimaker lists 1.10 for its own ABS |
Brands differ slightly, and colour additives or fillers (wood, carbon fibre, metal) change the density; use Other and the value on your spool’s data sheet for best accuracy.
Measuring printer power
The figure on the power supply (often 240–350 W) is the maximum, reached only while the bed and nozzle heat up. Once at temperature the heaters cycle on and off, so the average is much lower. An inexpensive plug-in energy meter over a whole print gives the real kWh, which you can divide by the print time to get the average power. Enclosed printers and large beds printing ABS draw more than open printers printing PLA.
Frequently asked questions
How much does it cost to 3D print something?
For a typical hobby print the filament costs a few cents per gram (25 per kg is 0.025 per gram), and electricity a few cents per hour. A 50–100 g part therefore costs roughly 1.5–3 in materials and energy; labour and failures are what make commercial prices much higher.
How do I convert filament length to grams?
Multiply the length by the filament cross-section and the density: 1 m of 1.75 mm PLA is about 2.41 cm³ × 1.24 g/cm³ ≈ 2.98 g. Choose By length in the calculator to do this automatically.
How much electricity does a 3D printer use?
A desktop printer with a heated bed averages roughly 80–150 W, so a 10-hour print uses around 1 to 1.5 kWh. Multiply by your tariff for the cost.
Why include a failure rate?
Every failed print wastes filament, power and machine time that the good prints must pay for. With a failure rate f, those costs are divided by (1 − f): 10% failures add about 11% to them.
What markup should I use when selling 3D prints?
There is no standard. Many sellers start from total cost including labour and add 20–100% depending on design work, finishing and demand. Make sure your price covers the full cost first, not just the filament.
Sources
- Ultimaker — PLA technical data sheet (specific gravity 1.24)
- Ultimaker — ABS technical data sheet (specific gravity 1.10)
- Prusa Polymers — Prusament PETG technical data sheet (density 1.27 g/cm³)
- U.S. Department of Energy — Estimating appliance and home electronic energy use
Last updated: