← All resources
Free filament calculator

Filament cost per gram calculator

Enter what you paid for a spool, including shipping and tax, to see what your filament really costs per gram, per kilogram and per metre. Then add the grams or metres from your slicer to price the filament in a print.

Filament cost per gram calculator

Filament cost per gram$0.02
$2.54this print
$19.99per kg
$0.0596per metre
335 mon the spool

The formula

Cost per gram = (spool price + shipping + tax) ÷ grams of filament on the spool

Filament cost of a print = grams used × cost per gram

A $19.99 spool with 1,000 g of filament is about 2 cents a gram. A print that uses 127 g costs about $2.54 in filament. If the same spool cost $4 to ship, the real rate is $23.99 ÷ 1,000 = 2.4 cents a gram, and that print costs $3.05.

Cost per gram at common spool prices (1 kg spools)

Price per kgPer gram50 g print150 g print500 g print
$12.00$0.012$0.60$1.80$6.00
$15.00$0.015$0.75$2.25$7.50
$18.00$0.018$0.90$2.70$9.00
$20.00$0.020$1.00$3.00$10.00
$25.00$0.025$1.25$3.75$12.50
$30.00$0.030$1.50$4.50$15.00
$40.00$0.040$2.00$6.00$20.00

Grams or metres?

Slicers report filament use in grams, metres or both. Grams are easier for cost because spools are priced by weight. If you only have metres, the calculator converts them using the material's density and the filament diameter. Lighter materials such as ABS give you more metres per kilogram than denser ones such as PETG, so the same length of ABS weighs, and costs, less.

MaterialDensityMetres per kg, 1.75 mmMetres per kg, 2.85 mm
PLA1.24 g/cm³~335 m~126 m
PETG1.27 g/cm³~327 m~123 m
ABS1.04 g/cm³~400 m~151 m
ASA1.07 g/cm³~389 m~146 m
TPU1.21 g/cm³~344 m~130 m
Nylon (PA)1.14 g/cm³~365 m~138 m
Polycarbonate1.2 g/cm³~346 m~131 m

Typical densities for each material family. Individual brands and blends vary by a few percent; carbon-fibre and silk blends can differ more.

Use the price you actually paid

The sticker price is rarely what a spool costs you. Shipping, sales tax, bulk discounts and multi-spool deals all change the real rate. If you buy in bulk, divide the whole order, shipping included, by the total grams of filament you received. That number is the one that belongs in your prices.

The filament you don't see

The slicer estimate is the filament in the finished print plus supports and brims. It does not include purge on multi-colour printers, test prints, calibration, or prints that fail. On a multi-colour print the purge can rival the part itself. A simple way to stay honest is to add a waste allowance, often 5 to 15 percent, or to weigh what is left on your spools each month and compare it with what your slicer said you used.

How to calculate filament waste → · How much filament is left on a spool →

Common questions

How do I calculate filament cost per gram?

Divide what you paid for the spool by the grams of filament on it. A $19.99 spool with 1,000 g of filament costs about $0.020 per gram. Include shipping and sales tax in the price if you paid them, because that is what the filament really cost you.

How much does the filament for a print cost?

Multiply the grams your slicer reports by your cost per gram. A 127 g print at $0.020 per gram uses about $2.54 of filament. Slicers often report metres as well; the calculator converts metres to grams using the material's density and the filament diameter.

How many metres are on a 1 kg spool?

About 330 metres of 1.75 mm PLA, about 325 metres of PETG and about 400 metres of ABS, because lighter materials give more length per kilogram. In 2.85 mm, a 1 kg spool of PLA holds roughly 125 metres.

Does the empty spool count toward the weight?

No. Spools are sold by filament weight, so a 1 kg spool has 1 kg of filament plus the empty spool. Use the filament weight on the label for cost per gram, not what the full spool weighs on a scale.

Should I add waste to the filament cost?

For pricing, yes. Purge, supports, brims, test prints and failed prints all use filament that never ends up in the finished part. Many makers add 5 to 15 percent on top of the slicer's estimate, or track waste separately.

Is cheaper filament always cheaper per print?

Per gram, yes. Per sellable print, not always. Filament that causes more failed prints, slower speeds or extra cleanup can cost more overall than a dearer spool that prints reliably.

Stop recalculating the same spool

Makeratory keeps each spool's price, remaining weight, material, colour and location together, and uses your real cost per gram in every product estimate.

Start a free workspace
A free Makeratory resource for 3D printing makers and small production shops.