Tool
Filament length and weight converter
Convert filament between meters and grams for PLA, PETG, ABS, ASA, TPU, and nylon at 1.75 mm or 2.85 mm.
Calculator
Diameter is in millimeters and density is in grams per cubic centimeter. Length is in meters and weight is in grams. The strand is treated as a solid cylinder, which is the filament before it is printed. The calculation stays in your browser.
1,000 g is 335.28 m. 2.983 g in each meter at this diameter and density.
- Grams
- 1,000
- Meters
- 335.28
- Grams per meter
- 2.983
- Meters in 1,000 g
- 335.28
Formula
A round strand has a cross-section of π times the radius squared. With the diameter in millimeters and the length in meters, the volume in cubic centimeters is π × diameter² ÷ 4 × length. Multiply by the density in grams per cubic centimeter and the result is grams:
grams = density × π × diameter² ÷ 4 × meters
meters = grams ÷ (density × π × diameter² ÷ 4)
The term in parentheses is the grams in one meter. Every preset below is the density on that product’s data sheet, not a universal constant for the plastic.
Worked example
The fields start on 1,000 g of Prusament PLA at the sheet density of 1.24 g/cm³ and a nominal diameter of 1.75 mm. Grams per meter are 1.24 × π × 1.75² ÷ 4 = 2.9825. Length is 1,000 ÷ 2.9825 = 335.28 m. Running that length back through the same formula returns 1,000 g.
Assumptions and limits
The strand is a solid circle at the diameter you type. Real filament varies. Prusament’s PLA sheet lists 1.75 ± 0.02 mm. Because weight follows the square of diameter, a strand at 1.77 mm instead of 1.75 mm is about 2.3% heavier per meter at the same density. Pigment and fillers move the density too. The TPU preset is the midpoint of Polymaker’s published range, 1.20–1.24 g/cm³, so that one number is an estimate. Nylon here is Polymaker PolyMide CoPA, a nylon 6 / 6,6 copolymer at 1.12 g/cm³, not every nylon on the market. Moisture is not added. Prusament’s PLA sheet lists 0.13% absorption in 24 hours under its test, about 1.3 g on a kilogram, and this page does not apply that correction.
Sources
- Prusament PLA technical data sheet: density 1.24 g/cm³, ISO 1183. Diameter 1.75 ± 0.02 mm. Moisture absorption 0.13% in 24 hours.
- Prusament PETG technical data sheet: density 1.27 g/cm³, ISO 1183.
- Polymaker PolyLite ABS product information: density 1.12 g/cm³ at 21.5°C, ASTM D792 / ISO 1183.
- Prusament ASA technical data sheet: density 1.07 g/cm³, ISO 1183.
- Polymaker PolyFlex TPU95 product information: density 1.20–1.24 g/cm³ at 21.5°C, ASTM D792 / ISO 1183.
- Polymaker PolyMide CoPA technical data sheet V5.5: density 1.12 g/cm³ at 23°C, ISO 1183. The sheet describes it as a copolymer of nylon 6 and nylon 6,6.
FAQ
Is 2.85 mm the same as 3 mm?
No. A spool marked 2.85 mm should be converted at 2.85. Treating it as 3 mm overstates the cross-section and the weight. If the label prints a different diameter, choose “A diameter I will type.”
Why is TPU not a single density?
Polymaker’s PolyFlex TPU95 sheet gives a range, 1.20–1.24 g/cm³, not one test value. The field starts at 1.22, the middle of that range, and it is marked as an estimate. Replace it when your spool lists one density.
Will this match the meters on the spool label?
Only if the label used the same density and diameter. A “1 kg” label is a weight. Divide 1,000 g by the grams-per-meter line in the result to see the length this page gets for a full kilogram. For the worked example, that length is 335.28 m.
Does this include infill?
No. This is the raw strand. The slicer’s gram estimate for a part already includes infill, walls, and supports. Convert that gram number if you want a length, or use it directly in theprint cost calculator. A commanded length and the length you actually measured are theextruder steps calculator, which is a firmware setting rather than a spool conversion.