AdderCAD Launching soon

Free tools

3D print cost calculator

A 3D print costs its weight in filament plus the electricity the printer uses while it runs. With the US defaults, a 50 g PLA part that prints in 3 hours costs about USD 1.06.

Last updated 22 November 2026.

Everything here runs in your browser. If you drop STL files, your browser reads them on your device and nothing is uploaded. The calculator remembers your last numbers on this device, so you only type your filament and electricity prices once.

How the cost of 3D printing is worked out

The cost of a print is the filament it uses plus the electricity it draws. Add printer wear and failed prints if you want a fuller number, and a markup if you sell prints.

Part of the cost Formula
Filament part weight (g) × spool price ÷ spool weight (g)
Electricity printer power (W) ÷ 1000 × print time (h) × price per kWh
Printer wear print time (h) × wear cost per hour
Failed prints (filament + electricity + wear) × failure rate ÷ (1 − failure rate)
Price to charge cost per print × (1 + markup)

Cost per gram is the cost per print divided by the part weight.

To use it as a filament cost calculator, set printer power to 0 and leave the extras at 0. The total is then the filament alone. It also works as a filament calculator for length: under the part weight it shows how many metres of 1.75 mm or 2.85 mm filament that weight is, from the material's density.

A worked example

A 50 g PLA part that prints in 3 hours, with a USD 20 spool of 1 kg, a printer drawing 120 W and electricity at USD 0.18 per kWh:

  • Filament: 50 g × USD 20 ÷ 1000 g = USD 1.00
  • Electricity: 120 W ÷ 1000 × 3 h = 0.36 kWh, and 0.36 kWh × USD 0.18 = USD 0.065
  • Cost per print: USD 1.065, about USD 1.06, or USD 0.021 per gram

At these prices filament is about 94% of the cost. Electricity counts for more on long prints of light parts, or where power is expensive.

Why failed prints use that formula

If 1 print in 10 fails, you pay for 10 prints to get 9 good ones. Each good print carries one ninth of a wasted print, which is 11% on top, not 10%. The calculator counts a failed print as a whole one. Prints that fail early waste less, so this errs on the high side.

Where to find each number

Your slicer, the spool label and your electricity bill have every number the calculator needs.

  • Part weight and print time. Your slicer shows both after you slice the model. These are the most accurate numbers you can use.
  • Spool price and weight. The spool weight is the filament only, not the reel. The label or the shop page gives it. If you know a price per kg, leave the weight at 1000 g and type that price.
  • Printer power. The 120 W default is an assumed average for a desktop printer. A plug-in power meter between the wall and the printer gives the real figure over a whole print.
  • Electricity price. Your bill shows the price per kWh.

Default prices by currency

When you pick a currency, the calculator fills in a typical spool and electricity price for it. A first visit picks the currency from your time zone. Prices you've typed stay as they are, and nothing is converted between currencies.

Currency 1 kg spool of PLA Electricity per kWh Electricity source
USD 20 0.18 US residential average, EIA, 2026
EUR 20 0.28 EU household average, Eurostat, first half of 2026
GBP 15 0.26 Ofgem price cap unit rate, October to December 2026
INR 1,200 7 Typical state tariff (₹6 to ₹8; each state sets its own)
CAD 23 0.15 Canada Energy Regulator estimate, 2026 (8.5 to 18.7 cents by province)
AUD 30 0.33 AER default market offer, 2026 to 2027 (26 to 44 cents by state)

Spool prices are rounded from shop prices for common brands such as eSun and Bambu Lab in November 2026. Your own spool and bill will differ, so type yours in.

Estimating weight from STL files

The calculator can estimate the weight of one part or a whole set from STL files when you have no slicer to hand. For each file it measures the model's volume and surface area, treats the outer shell (walls plus top and bottom layers) as solid, fills the rest at your infill percentage, and multiplies by the material's density. You can change the infill and shell thickness, and set the file units to inches if the models were saved that way.

You can drop or pick several files at once and add more later. Each file gets a row with its size and estimated weight, a quantity and a remove button. The calculator multiplies each part's weight by its quantity and adds them up. The total then covers the whole set, and the average per part is shown under it. A file that can't be read is listed with the reason, and the other files are still added.

A 3D preview shows all the parts side by side. Pick a file name in the list to see just that part, and pick it again to go back to all of them. The files and quantities aren't saved when you leave the page; your typed prices are.

The densities it uses are typical values for each plastic. Brands differ a little.

Material Density (g/cm³)
PLA 1.24
PETG 1.27
ABS 1.04
ASA 1.07
TPU 1.21

This is a rough estimate. Your slicer knows the real wall count, infill pattern, supports and brim, so its weight is the one to trust. Print time depends on speeds, acceleration and travel moves, which an STL doesn't contain, so the calculator asks you for the time instead of guessing it. For a set, type the time your slicer gives for everything you print together.

Need a part changed or made from scratch? AdderCAD designs it from a description. There are more free tools for 3D printing on this site.

Questions

How much does it cost to 3D print something?

It depends on the weight and print time. A print costs its weight in grams times the filament price per gram, plus the printer's power in kilowatts times the hours printed times your electricity price. A 50 g PLA part that takes 3 hours costs about USD 1.06 with a USD 20 spool, a 120 W printer and USD 0.18 per kWh.

How do I calculate filament cost for a print?

Divide the spool price by the spool weight in grams to get the price per gram, then multiply by the part weight from your slicer. A USD 20 spool of 1 kg (1000 g) is USD 0.02 per gram, so a 50 g print uses USD 1.00 of filament. Add supports and brim if your slicer lists them separately.

How much electricity does a 3D printer use?

Multiply the printer's average power in watts by the print time in hours, then divide by 1,000 to get kWh. At 120 W, a 3 hour print uses 0.36 kWh, which costs about USD 0.06 at USD 0.18 per kWh. A plug-in power meter shows your printer's real average over a whole print.

How do I find the weight of a 3D print before printing?

Slice the model. Slicers show the filament weight and length for the current settings, including infill, walls and supports. Without a slicer, drop the STL files into the calculator above: it estimates each part's weight from its volume, an adjustable shell and infill, and the material's density. Treat that as a rough figure.

How much should I charge for a 3D print?

Start from your full cost per print, including failed prints and printer wear, then add a markup for your time, design work, packing and profit. Open the extras in the calculator to see the price for a markup you choose. It doesn't add your time, so put that in the markup or the wear cost.

Can I work out the cost of several parts at once?

Yes. Drop all the STL files into the calculator, set how many of each you need, and type the total print time from your slicer. The calculator adds up each part's estimated weight times its quantity, works out the cost of the whole set, and shows the average cost per part. Typing a weight yourself replaces the estimate.

Does the calculator upload my STL files?

No. Your browser reads the STL files on your device and works out their volumes there, and the 3D preview is drawn on your device too. The files aren't sent anywhere. Your typed numbers are saved in your browser's storage on this device so they're there next time, and you can clear them with the reset button.

Be first to describe a part.

AdderCAD is launching soon. Join the waitlist and we'll email you once, when it opens.