Filament cost calculator

Work out the cost of filament per gram, and the cost of the material in one print. Type in what the spool cost and what it weighs, then the weight of the print from your slicer, purge and supports included: the calculator adds an allowance for prints made twice, and works for PLA, PETG, ABS or anything else sold on a spool.

The plastic, not the plastic plus the reel.

The slicer’s weight, supports and purge included.

For prints that fail and are made again.

This print costs $3.15 $3.00 for the print + $0.15 for 5% rejects
Cost per gram $0.0263 what every gram of this spool costs you
Prints per spool 7 before you open the next one
Price models →

From filament cost to a profitable print

A worked example

The figures the calculator opens on, worked by hand: a $25 spool holding 1,000 g of filament, and a part your slicer weighs at 120 g.

  1. Price per gram: $25 ÷ 1,000 g = $0.025 a gram.
  2. The material in the part: 120 g × $0.025 = $3.00.
  3. Rejects: $3.00 plus 5% = $3.15. That is the figure in the calculator, and $0.0263 a gram once the rejects are counted.

The same part in several colours

Same spool, same 120 g part, but every colour change purges filament through the nozzle. The slicer now weighs the job at 165 g: 45 g of purge and prime tower on top of the part.

  1. Type 165 g, not 120 g: the purge comes off the same spool.
  2. The filament: 165 g × $0.025 = $4.13, plus 5% for rejects = $4.33.
  3. That is $1.18 more than in one colour, and the spool now makes 5 of these rather than 7.

A failed print and its reprint

The same part fails half way through, after 60 g, and is printed again.

  1. The failure: 60 g × $0.025 = $1.50.
  2. The reprint: 120 g × $0.025 = $3.00.
  3. One part delivered, 180 g of filament: $4.50, 1.5 times the plastic in it.
  4. Over twenty prints, one failure like this is 60 g in 2,400 g, or 2.5%. That is what the reject allowance is for.

Filament is one line of what a print costs. The 3D print cost calculator adds print time, your own hours, the printer’s wear and your margin, and LayerFlow3D works all of it out on every order from your own spools and printers.

What each number means

Spool price

What you paid, including delivery if you paid it. A spool that cost $25 and $6 to ship costs $31.

Spool weight

The plastic, not the plastic plus the reel. A "1 kg spool" is a kilo of filament on a reel that weighs a couple of hundred grams more.

Filament for the print

The weight the slicer shows for the whole job, not for the part alone. Supports, rafts, purge and the prime tower count - they came off the same spool.

Reject allowance

For the prints that fail or come out wrong and are made again. Purge is already in the slicer’s weight, so it does not go here. Count how often you print a part twice: a shop with settled profiles stays in single figures.

Questions people ask

How do I work out filament cost per gram?

Divide the spool price by the grams of plastic on it, then add your reject allowance. A $25 spool holding 1000 g is 2.5 cents a gram before rejects, and about 2.6 cents after a 5% allowance.

Does a 1 kg spool really hold 1 kg?

The filament does. The reel it is wound on does not count, so weigh an empty reel of the same brand once and subtract it if you are working backwards from a kitchen scale.

Why add a reject allowance at all?

Because not every print reaches the customer. One fails at hour nine, one comes out the wrong colour, and the reprint comes off the same spool. Purge and supports are already in the slicer’s weight; the allowance is for the prints you make twice, and a shop that leaves it at zero is quietly paying for them.

Is cheap filament worth it?

Sometimes. Work out the cost per gram including the failures it causes: a spool that is 20% cheaper and fails one print in ten is not cheaper.

How do I count purge on multi-colour prints?

By weight, not as a percentage. Every colour change purges filament through the nozzle, and on a small part with many changes the purge can outweigh the part. Type the slicer’s filament for the whole job, purge and prime tower included, as the filament for the print, and keep the reject allowance for prints that fail.

Should shipping go into the spool price?

Yes, if you paid it. A spool that cost $25 and $6 to deliver costs $31, and every gram on it carries its share of the delivery. Where one delivery brought several spools, split it across them.

Does it work for PETG, ABS, TPU and other materials?

Yes. The sum is the same for anything sold by weight on a spool: what it cost, divided by the grams of filament on it. What changes between materials is the price and how often a print fails - a material that is harder to print deserves a larger reject allowance than PLA.

Can I track this per spool rather than per brand?

That is what LayerFlow3D does. Each spool is tracked by weight as it is used, so an order shows what that particular spool cost you.

Know what every spool on the shelf is worth

LayerFlow3D tracks each spool by weight as it is used, so material cost on an order is what that spool actually cost you - not an average, and not a guess.