LayerTune
Calculators

3D print cost calculator

Enter the grams and hours your slicer reports. You get the true cost of the print, and a price if you sell it.

Your print

g
From the slicer preview
h
Filament
g
Electricity
W
Not the power supply rating. See note below
Optional: wear, failures, your time, margin
h
How many hours you expect the printer to last
%
min
%

Result

Cost to you
…
  • Filament
  • Electricity
  • Printer wear
  • Your time
  • Filament…
  • Electricity…
  • Printer wear…
  • Your time…
  • Allowance for failed prints…
  • Price with markup…

How it is calculated

filament     = grams × (spool price ÷ spool grams)
electricity  = (watts ÷ 1000) × hours × price per kWh
printer wear = (printer price ÷ expected life in hours) × hours
your time    = (minutes ÷ 60) × hourly rate
cost         = (filament + electricity + wear + time) ÷ (1 − failure rate)
price        = cost × (1 + markup)

Dividing by one minus the failure rate spreads the cost of failed prints over the ones that succeed. At 5% failures, every good print carries about 5.3% extra.

Use average power, not the number on the power supply. A printer rated at 350 W or 1,300 W only pulls that while the bed heats up. Over a whole print the average is far lower, because the heaters cycle once they reach temperature. The accurate way is a plug-in energy meter: run one print, read the kWh, divide by hours. We start you at 110 W. Swap in your own figure once you have measured it.

What usually dominates

With the starting figures above, filament is the largest part of a print's cost and electricity the smallest. Add even a few minutes of your own time at an hourly rate and it outweighs both, so a price built on filament alone undercounts.

Sources for the default prices

  • US average residential electricity, June 2026: 18.34 cents per kWh. U.S. Energy Information Administration. Checked 2026-09-20.
  • UK price cap unit rate, 1 October 2026 to 31 December 2026: 26.32 pence per kWh. Ofgem. Checked 2026-09-20.

Related: electricity cost calculator · filament length and weight.