TikoTools

3D Print Cost Calculator – Filament & Electricity

Work out what a 3D print really costs: filament (by grams or metres), electricity for the print time, a failed-print allowance and other costs. Add a markup to get a selling price for your prints.

Formula checked 23 Oct 2026 Free · no sign-up
Was this calculator helpful?

Found a bug or have a suggestion?

Leave it here and we will fix it and reply to you.

Embed this calculator on your website (free)

Copy this code into your page. It stays free and updates automatically.

How to use the 3D print cost calculator

  1. Slice your model and copy the filament weight (grams) — or the length in metres — from the slicer.
  2. Enter your spool price and spool weight (usually 1 kg).
  3. Enter the print time, your printer’s average power and your electricity price.
  4. Optional: add a failed-print allowance, other costs and a markup if you sell prints.

3D printing cost formulas

Filament weight (g) = π × (d ÷ 2)² × length (mm) × density (g/cm³) ÷ 1,000 Filament cost = grams ÷ spool grams × spool price Electricity = watts × hours ÷ 1,000 × price per kWh Print cost = (filament + electricity) × (1 + failure %) + other costs Selling price = print cost × (1 + markup %)

Worked example

A 50 g PLA print taking 3 hours on a 120 W printer, with a $20 1 kg spool and electricity at $0.15/kWh:

  • Filament = 50 ÷ 1,000 × $20 = $1.00
  • Electricity = 120 × 3 ÷ 1,000 = 0.36 kWh × $0.15 = $0.054
  • Total = $1.05; with 10% failures $1.16; at 100% markup $2.32

Filament weight per metre

MaterialDensity1.75 mm (g/m)2.85 mm (g/m)Metres per 1 kg (1.75 mm)
PLA1.242.987.91335
PETG1.273.058.10327
ABS1.042.506.63400
ASA1.072.576.83389
TPU1.212.917.72344
Nylon1.142.747.27365

Hidden costs to include when selling

  • Machine wear: nozzles, belts, build plates and eventually the printer itself. Many sellers add $0.10–0.50 per print hour.
  • Your time: modelling, slicing, removing supports, sanding and painting often cost more than the filament.
  • Packaging, fees and shipping for online orders.
  • Supports and purge waste: multi-colour printers can waste a lot of filament on purging — check the slicer’s total, not just the model weight.
  • Drying and storage: damp filament causes failures; dryer electricity is a small but real cost.
  • Test prints and calibration: first-layer tests and tuning prints use filament that never becomes a product, so spread that cost across your sales.

What about resin (SLA/MSLA) printing?

Resin printers use liquid photopolymer sold by the litre or kilogram instead of filament. To cost a resin print, take the model volume in millilitres from your slicer (Chitubox, Lychee), add supports and roughly 10% for resin left on the build plate and in the vat, and multiply by your price per millilitre. Most standard resins weigh about 1.1 g per mL, so a 1 kg bottle holds roughly 900 mL. Resin printers draw less power than FDM machines, but remember the isopropyl alcohol for washing, gloves, FEP film and curing time — they often add more cost than the electricity.

Frequently asked questions

How do I calculate the cost of a 3D print?

Filament cost = grams used ÷ spool weight in grams × spool price. Electricity = printer watts × hours ÷ 1,000 × price per kWh. Add them together, plus an allowance for failed prints and any other costs. A 50 g PLA print from a $20 1 kg spool costs $1.00 in filament.

How do I convert filament length to weight?

Weight = π × (diameter ÷ 2)² × length × density. For 1.75 mm PLA (1.24 g/cm³), one metre weighs about 2.98 g, so a 1 kg spool holds roughly 335 m.

How much electricity does a 3D printer use?

A typical desktop FDM printer averages 70–150 W while printing, with peaks when heating the bed. A 10-hour print at 120 W uses 1.2 kWh — about 18 cents at $0.15 per kWh.

What failure rate should I include?

Many hobbyists allow 5–10% for failed or reprinted parts. If you print commercially, track your actual failure rate over a month and use that number.

How should I price 3D prints to sell?

Start with the full cost, then add your time (design, setup, post-processing) and a markup for machine wear and profit. Markups of 100–300% on material and power are common for small-batch custom prints.

Where do I find filament weight for a print?

Your slicer (PrusaSlicer, Cura, Bambu Studio, OrcaSlicer) shows the estimated filament weight in grams and length in metres after slicing. Use the weight when available — it already accounts for density.

How we checked this calculator

We test this tool against worked examples before every release (last check: 23 Oct 2026, version 1.0.0). Results are estimates for planning — confirm critical figures with your supplier or a qualified professional.

References:

  • Typical filament densities (PLA 1.24, PETG 1.27, ABS 1.04 g/cm³) – manufacturer technical data sheets
  • Energy cost: kWh = watts × hours ÷ 1,000