Tool in the box

Filament estimator

Convert metres of filament to grams, or grams to metres. Type in your filament's diameter and density and the page works the rest out with the volume of a cylinder. Results are estimates.

The estimator needs JavaScript, which is off or blocked in this browser. The controls stay locked and nothing is sent anywhere. The formulas are worked out by hand in the section below.

The buttons are general filament sizes. Original Prusa FFF printers are configured for 1.75 mm filament (see Prusa's glossary entry for 1.75 mm). A caliper reading of your own filament gives a closer estimate. Estimator limit: 0.1 to 10 mm.

Use the density printed on your filament maker's technical data sheet. This page does not supply one. Estimator limit: 0.1 to 25 g/cm³.

I know the filament's

Estimator limit: 0 to 10,000,000. For weight, use filament only: subtract the empty spool first.

Estimate

Enter your filament's diameter, its density and a length or weight.

How the estimate is worked out

V = π × (d ÷ 2)² × L

m = ρ × V

L = m ÷ (ρ × π × (d ÷ 2)²)

d is the diameter in mm, L the length in m, ρ the density in g/cm³, m the weight in g and V the volume in cm³. The units line up because 1 mm² × 1 m = 1,000 mm³ = 1 cm³.

Assumptions

  • The filament is a solid round cylinder of the diameter you enter, along its whole length.
  • The density is the value you enter, in g/cm³. The page has no material list and does not guess one.
  • Weight means filament only. The spool, packaging and any desiccant are not included.
  • Real filament varies a little in diameter. Weight scales with the diameter squared, so a 1% diameter error moves the result by about 2%.
  • Every result is an estimate rounded to four significant digits. The worked line shows your inputs exactly as you typed them, so only its results are rounded. Nothing you type leaves your browser.
  • Estimator limits: diameter 0.1 to 10 mm, density 0.1 to 25 g/cm³, length or weight 0 to 10,000,000. Anything outside these gets a message, not a result.

Sources

  1. OpenStax, "10.7 Volume and Surface Area" (volume of a cylinder)
  2. OpenStax, "14.1 Fluids, Density, and Pressure" (density as mass per volume)
  3. NIST, "SP 330 - Section 3" (SI prefixes and units)
  4. TC39, "21.3.1.6 Math.PI" (the value of π used by the script)
  5. Prusa Knowledge Base, glossary entry "1.75 mm" (filament diameter)

Worked example with sample numbers: 1,000 g of 1.75 mm filament at a density of 1.24 g/cm³ gives 1,000 ÷ (1.24 × π × 0.875²) ≈ 335.3 m.