MeshMath

Filament cost per gram calculator

Turn any spool price into cost per gram, per kilogram and per metre, then see what a part really costs in material.

Spool

Cost per gram—
Cost per kg—
Cost per metre—
Material cost of part—
Weight per metre—
Metres on spool—

The formula

cost per gram = (price + shipping) × (1 + tax%) ÷ net grams
cost per metre = cost per gram × weight of 1 m (π × (d/2)² × density)

Densities for common materials are in the filament density table.

Why price per gram matters

Filament is sold on spools from 250 g to several kilograms, and the smaller the spool, the higher the price per gram is likely to be. Dividing the total price by the net weight gives a number you can compare across brands, sizes and materials.

Cost per metre is useful because slicers often report length, not weight. It depends on the diameter and the density of the material, because thicker or denser filament carries more plastic per metre.

grams per metre = π × (diameter ÷ 2)² × density

Worked example: a $21.99 spool with shipping

Worked example

1 kg PLA spool, 1.75 mm, density 1.24 g/cm³, tax 0%

Spool price$21.99
Shipping$4.99
Total paid$26.98
Cost per gram26.98 ÷ 1000 = $0.02698
Cost per kg$26.98
Weight of 1 m of filament2.98 g
Cost per metre2.98 g × $0.02698 = $0.0805
A 35 g part35 × 0.02698 = $0.94

Shipping moved the real price from $21.99 to $26.98 per kilo, about 23% more. Compare brands on total landed cost per gram, not on sticker price. For a full job cost including power and wear, use the print cost calculator.

Comparing different spool sizes

SpoolPriceCost per gramCost per kg
1000 g$21.99$0.0220$21.99
750 g$17.99$0.0240$23.99
500 g$13.99$0.0280$27.98
250 g$8.99$0.0360$35.96

Example prices only, to show the calculation. Check actual prices before buying.

Why the net weight matters

Spool prices are for the filament, not the spool. A “1 kg” spool is 1000 g of filament; the weight on a scale is higher because of the spool itself. Use the net figure printed on the label, and the filament remaining calculator to see what is actually left.

How to compare filament prices

  1. Enter the spool price and the net filament weight from the label.
  2. Add shipping and tax so you compare what you actually pay.
  3. Read the cost per gram and cost per kg.
  4. Enter your slicer's weight for a part to see its material cost.
  5. Use per-metre cost to compare against the length your slicer reports (see length / weight converter).

Common mistakes

FAQ

How do I calculate filament cost per gram?

Add the spool price, shipping and tax, then divide by the net weight in grams. A $21.99 spool with $4.99 shipping and 1000 g of filament costs $0.02698 per gram.

How much does 1 metre of 1.75 mm PLA cost?

1 m of 1.75 mm PLA at density 1.24 g/cm³ weighs 2.98 g. At $0.02698 per gram that is about $0.0805 per metre.

Should I use gross or net weight?

Use the net filament weight on the label. The empty spool is not filament.

How do I find the material cost of a print?

Take the weight from your slicer or the STL weight calculator and multiply it by the cost per gram.

Does material cost cover the full cost of a print?

No. Electricity, machine wear, failed prints and your time also count. Use the print cost calculator for the whole picture.

Recommended gear

Some links are affiliate links. MeshMath earns a commission on purchases made through Overture and Anycubic (via Awin) links, at no extra cost to you. Picks are chosen for usefulness, not paid placement.

Related tools

See all tools →