Cost calculator / Filament conversion

Filament length to weight calculator.

Turn meters of filament into grams, material cost, and remaining spool capacity before you quote the print.

FILAMENT CONVERSION

Filament Length to Weight Calculator

meters to grams
ESTIMATED MATERIAL WEIGHT
Adjusted grams per item379.4 g357.9 g before waste from 120.0 m
Cross-section area2.405 mm2
Filament volume per item288.6 cm3
Total adjusted material758.8 g
Material cost per item$9.11
Total material cost$18.21
Usable remaining grams425.0 g
Equivalent remaining length142.5 m
Complete items left on spool1 items

This converts geometry to material weight. It does not price machine time, electricity, labor, failures, packaging, marketplace fees, or profit.

Some slicers, printer dashboards, and spool trackers expose filament length in meters instead of weight. That is useful for motion planning, but maker pricing usually needs grams because filament is bought and inventoried by net weight. This calculator converts length to weight from three editable inputs: filament diameter, material density, and length.

Source status: verified July 22, 2026Density presets are editable starting values from manufacturer data sheets and material guides. Use the technical data sheet for the exact brand, color, additive, and batch when accuracy matters.

The meters-to-grams formula

Filament is modeled as a round cylinder. First calculate the cross-section area, then multiply by length to get volume, then multiply by material density.

Cross-section areaarea = pi x (diameter mm / 2)^2
Volume from lengthvolume cm3 = area mm2 x length meters
Weight from densitygrams = volume cm3 x density g/cm3

The middle formula works because one meter is 1,000 millimeters and 1,000 cubic millimeters equal 1 cubic centimeter. For 1.75 mm filament, the cross-section area is about 2.405 mm2. At PLA density of 1.24 g/cm3, each meter is about 2.98 g before supports, purge, and waste.

Worked example: 120 meters of PLA

Suppose a job uses 120 m of 1.75 mm PLA and the shop adds a 6% purge and remnant allowance. Using a PLA density of 1.24 g/cm3:

area = 3.14159 x (1.75 / 2)^2 = 2.405 mm2
volume = 2.405 x 120 = 288.6 cm3
base grams = 288.6 x 1.24 = 357.9 g
adjusted grams = 357.9 x 1.06 = 379.4 g

At $24 per kg, that is about $9.10 of material for one item. Two identical items use about 758.7 g and cost about $18.21 before machine time, electricity, labor, failures, packaging, fees, and profit.

Density presets and when to override them

Density is material-specific and brand-specific. Additives, fiber fills, pigments, recycled content, foaming TPU, and moisture can move the result enough to matter for large jobs.

PresetStarting densityWhy it is only a starting point
PLA1.24 g/cm3Prusament PLA lists 1.24 g/cm3; blends and filled PLA can differ.
PETG1.27 g/cm3Prusament PETG V0 lists 1.27 g/cm3; standard PETG and additives vary.
ASA / ABS family1.07 g/cm3Prusament ASA lists 1.07 g/cm3; ABS and ASA are not interchangeable data sheets.
TPU / flex1.22 g/cm3Polymaker PolyFlex TPU95 lists 1.20-1.24 g/cm3; foaming and flexible grades can vary widely.

Use length conversion before cost-per-print math

This page should stop once it has produced grams, material cost, and remaining spool capacity. For a quote, move the adjusted grams into the filament cost per print calculator, then add machine time, labor, energy, failures, and fees in the 3D print pricing guide.

If you are deciding whether FDM or resin is the better process, convert the filament estimate here and then compare the full workflows in the FDM vs resin cost calculator. For power-heavy jobs, add a separate estimate from the 3D printer electricity cost calculator.

Remaining spool capacity

A remaining-spool estimate needs net filament weight, not the weight of the spool plus plastic hub. Weigh an empty spool of the same type or use a known tare if the manufacturer provides one, then subtract it from the scale reading.

Complete items leftfloor((remaining net grams - reserve grams) / adjusted grams per item)

Keep a small reserve instead of promising the last few grams to customer work. Spool tails, sensor runout behavior, purge before the next print, and partial color changes can make the mathematical last meter unusable.

Sources

Privacy and scopeInputs are calculated in the browser and do not require a model file, customer name, order ID, or store connection. Results are educational estimates, not engineering, safety, tax, accounting, or financial advice.

Once the length is converted to grams, carry the material estimate into the full filament cost workflow.

Open filament cost per print