# 3D Printing Filament Cost Calculator

Calculate the true cost of a 3D print from filament weight, spool price, electricity, and a failure-rate allowance for occasional failed prints.

---

- **Canonical URL:** https://dothecalculation.com/calculators/3d-printing-filament-cost-calculator
- **Category:** Hobbies & Leisure Utilities
- **Publisher:** Do The Calculation (https://dothecalculation.com)
- **Cost:** Free, no account or sign-up required
- **Privacy:** Runs entirely in the browser; inputs are never sent to a server
- **Methodology:** https://dothecalculation.com/methodology

---

## 3D Printing Filament Cost Calculator

Find the real cost of a 3D print — material, electricity, and a failure/waste allowance — instead of just eyeballing the spool price.

- Material cost from print weight, spool weight and spool price
- Electricity cost from printer wattage, print time and your utility rate
- A failure/waste allowance that spreads failed-print cost across successful ones

## Quick Answer — How Much Does a 3D Print Cost?

**The core formula:** Material cost = (Print weight ÷ Spool weight) × Spool price. Electricity cost = (Printer wattage ÷ 1,000) × Print hours × Electricity rate. Total = (Material + Electricity) × (1 + Failure rate %).

**Quick reference:**

• 20 g print, $20/kg spool, 1 hr at 100 W, $0.12/kWh, 10% failure → **$0.45** total

• 50 g print, $22/kg spool, 3 hr at 120 W, $0.15/kWh, 10% failure → **$1.27** total

• 200 g print, $25/kg spool, 8 hr at 150 W, $0.15/kWh, 15% failure → **$5.96** total

• 500 g print, $30/kg premium spool, 20 hr at 180 W, $0.18/kWh, 20% failure → **$18.78** total

**Worked example:** a 50 gram print from a 1 kg, $22 spool, printed over 3 hours on a printer drawing 120 W, with electricity at $0.15/kWh: material = (50 ÷ 1,000) × 22 = **$1.10**. Electricity = (120 ÷ 1,000) × 3 × 0.15 = **$0.054**. Subtotal = **$1.154**. Adding a 10% failure allowance: $1.154 × 1.10 = **$1.27 total**.

For almost any print, material dominates the cost — electricity is typically only a few cents to a few dollars even on long prints, because desktop FDM printers draw relatively little power compared to appliances like space heaters or ovens.

## How to Use This Calculator

Enter the **print weight** in grams — most slicer software (Cura, PrusaSlicer, Bambu Studio) displays this estimate before you start printing.

Enter your **spool weight** (1,000 g / 1 kg is the standard consumer spool size) and the **spool price** you paid, to get a per-gram material cost.

Enter the **print time** in hours and your printer's approximate **power draw** in watts, plus your local **electricity rate**, for the electricity cost.

Add a **failure/waste allowance** percentage — this spreads the cost of occasional failed prints, purge towers, and support material waste across your successful prints, rather than pretending failures don't happen.

**Example input:** Print weight = 200 g • Spool = 1,000 g at $25 • Print time = 8 hrs • Power = 150 W • Rate = $0.15/kWh • Failure = 15%.

**Output:** Material = $5.00 • Electricity = $0.18 • Subtotal = $5.18 • Failure allowance = $0.777 • **Total = $5.96**.

If you're also budgeting the electricity cost of other equipment alongside the printer — a filament dryer, an enclosure heater — the [appliance energy calculator](/calculators/appliance-energy-calculator) handles that running-cost math generally.

## The Formula This Calculator Uses

Every term here is visible, not buried in a black box.

**Material cost.** Cost per gram = Spool price ÷ Spool weight. Material cost = Print weight × Cost per gram. A $22, 1,000 g spool costs $0.022 per gram — for a 50 g print, that's $1.10.

**Electricity cost.** Power in kilowatts = Watts ÷ 1,000. Electricity cost = Power (kW) × Hours × Rate ($/kWh). A printer drawing 120 W (0.12 kW) running for 3 hours at $0.15/kWh costs 0.12 × 3 × 0.15 = $0.054.

**Failure/waste allowance.** Applied as a percentage on top of the material-plus-electricity subtotal: Total = Subtotal × (1 + Failure rate ÷ 100). A 10% allowance on a $1.154 subtotal adds $0.115, for a $1.27 total.

**Why the allowance is a percentage of the whole print, not a flat fee:** larger, longer prints represent more sunk cost if they fail, so a percentage-based allowance scales the risk budget with the print's own cost rather than under- or over-charging small versus large jobs equally.

## Step-by-Step Worked Derivation

Take the 50 g print, $22/kg spool, 3-hour, 120 W example and do it by hand.

**Step 1 — Cost per gram.** $22 ÷ 1,000 g = **$0.022/g**.

**Step 2 — Material cost.** 50 g × $0.022 = **$1.10**.

**Step 3 — Power in kilowatts.** 120 W ÷ 1,000 = **0.12 kW**.

**Step 4 — Electricity cost.** 0.12 kW × 3 hours × $0.15/kWh = **$0.054**.

**Step 5 — Subtotal.** $1.10 + $0.054 = **$1.154**.

**Step 6 — Failure allowance.** $1.154 × 10% = **$0.1154**.

**Step 7 — Total.** $1.154 + $0.1154 = **$1.27** (rounded).

**Answer:** the print costs about $1.27 including a reasonable margin for the occasional failed attempt.

## Why Material Cost Dominates — and What Doesn't Get Counted

Across every scenario this calculator handles, filament cost is almost always the largest line item, and electricity is a rounding error by comparison — a 20-hour print at 180 W and a relatively high $0.18/kWh electricity rate still only costs about $0.65 in power, against $15 in material for the same print.

That said, this calculator deliberately keeps its scope to material, electricity and a failure allowance — the three costs that scale directly and predictably with a specific print. It does not attempt to amortize the printer's own purchase price, nozzle and belt wear, or your own labor time (design, slicing, post-processing, supports removal, sanding), because those are fixed or highly variable overhead costs that depend on your printer, your usage volume and your business model (if any) rather than on any single print.

If you're pricing prints commercially, those overhead costs matter and should be added on top of this calculator's material-plus-electricity-plus-failure figure as your own hourly shop rate or amortization schedule — this tool gives you the honest floor, not the full price you should charge a customer.

## Realistic Scenarios

**Scenario 1 — A small keychain or trinket.** 20 g, $20/kg spool, 1 hour at 100 W, $0.12/kWh, 10% failure: **$0.45 total** — almost entirely material.

**Scenario 2 — A typical hobby print.** 50 g, $22/kg spool, 3 hours at 120 W, $0.15/kWh, 10% failure: **$1.27 total**.

**Scenario 3 — A larger functional part.** 200 g, $25/kg spool, 8 hours at 150 W, $0.15/kWh, 15% failure (longer prints carry more failure risk): **$5.96 total**.

**Scenario 4 — A large, premium-material print.** 500 g, $30/kg premium spool (e.g. a specialty PETG or nylon blend), 20 hours at 180 W, $0.18/kWh, 20% failure allowance for the longer, riskier print: **$18.78 total**, of which $15.00 is material and $3.13 is the failure allowance alone — a reminder that long prints are exactly where a realistic failure allowance matters most.

## Common Mistakes When Estimating 3D Print Cost

• **Pricing only the material and ignoring electricity and risk entirely.** Individually small, but on a long or failure-prone print the electricity and failure allowance can add up to a meaningful fraction of the total.

• **Using the sticker price of a full spool as the cost of every print.** A print rarely uses the whole spool — the relevant number is cost per gram, not cost per spool.

• **Assuming filament price scales linearly with print time.** It doesn't — filament cost scales with the grams of material extruded, which depends on part volume and infill percentage, not directly on how long the printer runs.

• **Ignoring failure rate on long prints.** A 20-hour print has far more opportunity for a mid-print failure (clog, layer shift, power flicker) than a 1-hour print, so a flat failure percentage applied to both under-prices the riskier long print.

• **Forgetting purge towers, rafts, supports and skirts.** Slicer software typically includes these in its weight estimate, but if you're estimating manually from a model's raw volume, remember these add real material weight beyond the visible part.

• **Confusing material cost with a fair sale price.** If you're selling prints, this calculator's total is your cost floor, not your price — printer amortization, labor, and profit margin sit on top of it.

## What This Calculator Can and Cannot Do

**It can:**

• Calculate exact material cost from print weight, spool weight and spool price

• Calculate electricity cost from printer wattage, print time and your utility rate

• Apply a failure/waste allowance as a percentage of the material-plus-electricity subtotal

• Show how the total shifts across different failure-rate assumptions

**It cannot:**

• Estimate print weight or print time for you — those come from your slicer software based on your specific model, infill and settings

• Account for printer purchase cost amortization, nozzle or belt wear, or your own labor time

• Set a fair sale price if you're printing commercially — that requires adding your own overhead and margin on top of this calculator's material-plus-electricity floor

**The honest summary:** this calculator gets the direct, per-print costs exactly right. Anything about pricing your time or your printer's long-term wear is a business decision this tool intentionally leaves to you.

## Final Summary

**The formula worth remembering:** Total = [(Print weight ÷ Spool weight) × Spool price + (Watts ÷ 1,000) × Hours × Rate] × (1 + Failure rate %).

**Quick reference:** a typical 50 g hobby print on a $22/kg spool costs a little over a dollar all-in; a 500 g print on premium filament can run $15-19 once electricity and a realistic failure allowance are included.

**The one thing to actually do:** weigh a few of your own completed prints against your slicer's weight estimate once, so you know how close the estimate runs for your specific printer and settings before trusting it for cost planning.

Related tools worth a look: the [appliance energy calculator](/calculators/appliance-energy-calculator) for electricity cost on any equipment, and the [scale converter](/calculators/scale-converter) for sizing scaled models and miniatures before you print them. For real 2026 filament pricing and failure-rate data by experience level, see our [3D printing cost guide](/blog/hobby/3d-printing-cost-guide).

## Frequently asked questions

### How much does it cost to 3D print something?

It depends mainly on filament weight and spool price. A small 20-50 gram print typically costs $0.50 to $1.50 in material and electricity combined. Cost = (print weight ÷ spool weight) × spool price, plus a small electricity charge and an allowance for occasional failed prints.

### How do I calculate the cost of filament used in a print?

Divide the spool price by the spool weight to get a cost per gram, then multiply by the print's weight in grams. A $22, 1,000-gram spool costs $0.022 per gram, so a 50-gram print uses $1.10 of filament.

### How much electricity does a 3D printer use?

Most desktop FDM printers draw 100-200 watts while printing. At $0.15 per kWh, a printer drawing 120 watts for 3 hours costs about 5.4 cents in electricity — small compared to material cost, but it adds up on long prints.

### Why include a failure rate in a 3D print cost estimate?

Failed prints (clogs, layer shifts, power interruptions) are a normal part of 3D printing, especially on long prints. Budgeting a failure allowance — often 10-20% of the material and electricity cost — spreads that risk across your successful prints instead of ignoring it.

### Does this calculator include the cost of the 3D printer itself?

No. It calculates only the per-print costs that scale directly with a specific job: material, electricity, and a failure allowance. Printer purchase cost, nozzle and belt wear, and your labor time are overhead costs you'd add separately, especially if pricing prints commercially.

### How much filament is in a typical 3D print?

It varies enormously by part size and infill percentage — anywhere from a few grams for a small trinket to several hundred grams for a large functional part. Your slicer software (Cura, PrusaSlicer, Bambu Studio) estimates this before you print, based on your specific model and settings.

### Is $20-25 per kg a normal price for filament?

Yes, that's a typical range for standard consumer PLA or PETG. Specialty filaments (nylon, carbon-fiber blends, flexible TPU, or premium color-matched materials) commonly run $30-50 per kilogram or more.

### Is this 3D printing cost calculator free?

Yes — completely free, no registration, and no data leaves your browser. Every figure recalculates instantly as you change an input.

## Related concepts

- **Cost per gram** — Spool price divided by spool weight. The more useful unit for pricing individual prints than the sticker price of a full spool, since most prints use only a fraction of one spool.
- **Failure/waste allowance** — A percentage added to a print's direct cost to account for occasional failed prints, purge towers, and support material waste, spreading that risk across successful prints rather than ignoring it.
- **Overhead vs. direct cost** — Direct costs (material, electricity) scale with a specific print. Overhead costs (printer amortization, wear, labor) are fixed or usage-based over time and are not included in this calculator's total.

## Related guides

- [What 3D Printing Actually Costs (Beyond the Spool Price)](https://dothecalculation.com/blog/hobby/3d-printing-cost-guide) — Material cost per gram, electricity draw, and failure-rate waste all factor into real 3D printing cost — here is how PLA, PETG, and ABS actually compare in 2026.

## Related calculators

- [Invoice Factoring Cost Calculator](https://dothecalculation.com/calculators/invoice-factoring-cost-calculator) — Calculate the true cost, APR, and discount rate of factoring invoices to access immediate cash flow instead of waiting on client payments.
- [Overhead Rate Calculator](https://dothecalculation.com/calculators/overhead-rate-calculator) — Calculate your business overhead rate as a percentage of sales or labor cost to price products and services effectively and profitably.
- [Aquarium Bioload & Fish Stocking Capacity Calculator](https://dothecalculation.com/calculators/aquarium-bioload-stocking-calculator) — Estimate safe fish stocking limits, total fish length, and required filter flow rate for your healthy aquarium bioload setup.
- [Cat Food Portion Calculator](https://dothecalculation.com/calculators/cat-food-portion-calculator) — Calculate your cat's daily food portion in cups and grams from body weight, life stage, and your food's calorie density.
- [Crochet Blanket Size & Yardage Calculator](https://dothecalculation.com/calculators/crochet-blanket-dimensions-calculator) — Calculate the yarn yardage, skein count, and finished blanket weight based on your stitch density, gauge, and yarn class.
- [Dog Food Portion Calculator](https://dothecalculation.com/calculators/dog-food-portion-calculator) — Calculate your dog's daily food portion in cups and grams from body weight, life stage, and your food's calorie density.

---

_This calculator computes direct per-print costs: material, electricity, and a user-set failure allowance. It does not estimate print weight or time for you (use your slicer software for that), and it does not include printer amortization, maintenance, or labor costs — those are business or budgeting decisions left to the person running the printer._

---

_Source: [Do The Calculation](https://dothecalculation.com/calculators/3d-printing-filament-cost-calculator). Quote freely with attribution and a link to this page._
