What This Calculator Does
This tool converts a length of 3D printer filament into an estimated weight in grams. Whether you're checking how much material a print used, estimating cost, or figuring out if a partial spool has enough filament left, this calculator gives a quick, accurate answer from three simple inputs: filament length, filament diameter, and the material's density.
How to Use It
Enter the filament length in millimeters (slicers like Cura and PrusaSlicer report filament used in mm or meters — multiply meters by 1000). Choose your filament diameter — almost always 1.75 mm, though some printers use 2.85 mm. Then pick your material from the density list. Click calculate to see the weight in grams, along with the length in meters and the filament volume in cm³.
The Formula Explained
Filament is essentially a long cylinder. Its volume equals the cross-sectional area times the length. The cross-section is a circle, so its area is \(\pi \times (\text{diameter} \div 2)^2\). Multiplying by length gives volume in mm³. Because density is given in grams per cm³, we divide by 1000 to convert mm³ to cm³, then multiply by density to get weight:
$$W = \pi \left(\frac{\text{Diameter (mm)}}{2}\right)^{2} \cdot \frac{\text{Length (mm)}}{1000} \cdot \text{Density (g/cm}^3\text{)}$$
Worked Example
Suppose a print uses 10,000 mm (10 m) of 1.75 mm PLA (density 1.24 g/cm³). The radius is 0.875 mm, so the area is \(\pi \times 0.875^2 \approx 2.4053 \text{ mm}^2\). $$\text{Volume} = 2.4053 \times 10{,}000 = 24{,}053 \text{ mm}^3 = 24.053 \text{ cm}^3$$ $$\text{Weight} = 24.053 \times 1.24 \approx 29.83 \text{ g}$$ A typical 1 kg spool of 1.75 mm PLA holds roughly 330–335 m of filament.
Filament Density and Length-per-Kilogram Reference by Material
Filament weight depends on its cross-section area and the material density. For a round filament, the mass per metre is \(\pi (d/2)^2 \times \rho\) in g/m, with \(d\) in mm and \(\rho\) in g/cm³. Length per kilogram is therefore \(1000 \div (\pi (d/2)^2 \rho)\) in metres. The cross-section is about 2.405 mm² for 1.75 mm filament and about 6.379 mm² for 2.85 mm filament (often sold as "3 mm").
| Material | Typical density (g/cm³) | ≈ m per 1 kg at 1.75 mm | ≈ m per 1 kg at 2.85 mm |
|---|---|---|---|
| PLA | 1.24 | 335 | 126 |
| PETG | 1.27 | 327 | 123 |
| ABS | 1.04 | 400 | 151 |
| ASA | 1.07 | 389 | 147 |
| TPU | 1.21 | 344 | 130 |
| Nylon (PA) | 1.08–1.14 | 365–385 | 138–145 |
| PC | 1.20 | 347 | 131 |
| PVA | 1.23 | 338 | 127 |
| HIPS | 1.04 | 400 | 151 |
| Wood, carbon-fiber and other filled blends | Varies by filler content | Calculate from the density on the manufacturer's data sheet | |
Note: these are typical values only. Densities differ between manufacturers because of pigments, additives and fillers. Real filament diameter also varies by a few hundredths of a millimetre, which shifts the length per kilogram. ABS is about 1.04 g/cm³, lower than PLA and PETG, so a 1 kg ABS spool holds noticeably more length. Check your spool's data sheet when you need accuracy.
Weight Comparison: 1.75 mm vs 2.85 mm Across Materials
The table shows the weight of 10 m (10,000 mm) of filament, using \(W = \pi (d/2)^2 \times \frac{L}{1000} \times \rho\). The volume of 10 m is about 24.05 cm³ at 1.75 mm (\(2.4053 \times 10 = 24.053\)) and about 63.79 cm³ at 2.85 mm (\(6.3794 \times 10 = 63.794\)).
| Material | Density (g/cm³) | 10 m at 1.75 mm (g) | 10 m at 2.85 mm (g) |
|---|---|---|---|
| PLA | 1.24 | 29.83 | 79.10 |
| PETG | 1.27 | 30.55 | 81.02 |
| ABS | 1.04 | 25.01 | 66.35 |
| TPU | 1.21 | 29.10 | 77.19 |
Worked example (PLA, 1.75 mm):
$$W = \pi \left(\frac{1.75}{2}\right)^2 \times \frac{10000}{1000} \times 1.24 = 2.4053 \times 10 \times 1.24 \approx 29.83\ \text{g}$$
Because weight scales with the square of the diameter, 2.85 mm filament weighs about \((2.85/1.75)^2 \approx 2.65\) times as much as 1.75 mm filament of the same length and material. Within one diameter, the material ranking follows density: PETG is heaviest, then PLA, TPU and ABS.
FAQ
Why does my result differ slightly from the spool label? Real filament has small diameter tolerances (±0.02–0.05 mm) and density varies by manufacturer and color additives, so estimates are within a few percent.
What density should I use? PLA ≈ 1.24, ABS/PETG ≈ 1.27, TPU ≈ 1.21, Nylon ≈ 1.30, ASA ≈ 1.05 g/cm³. Check your filament's spec sheet for the exact value.
Can I go from weight to length? Yes — rearrange the formula: \(\text{Length} = \text{Weight} \times 1000 \div (\pi \times (d/2)^2 \times \text{density})\).