Convert grams to mm of 3D printer filament: enter the weight, pick PLA, PETG, ABS or another material and 1.75 or 2.85 mm, or convert mm back to grams.
Calculator Functions
| Function | What it does | What it requires |
|---|---|---|
| Length in mm from grams (filament) | Finds the length of 3D printer filament in a given weight | Requires the material mass, the material or a custom density, and the filament diameter |
| Grams from length in mm (filament) | Finds the weight of a given length of filament | Requires the filament length, the material or a custom density, and the filament diameter |
| Material volume from mass | Converts a mass to the volume of material it fills | Requires the material mass and the material or a custom density |
| Material mass from volume | Converts a volume of material to its mass | Requires the material volume and the material or a custom density |
The material list sets the density: PLA 1.24, PETG 1.27, ABS 1.04, TPU 1.21, ASA 1.07, Nylon 1.04 and PC 1.20 g/cm³, or a custom density in g/cm³, g/mm³ or kg/m³. The filament diameter is 1.75 mm, 2.85 mm or a custom value. Mass can be entered in g, kg, oz or lb, and length in mm, cm, m, in or ft.
Grams to mm Formulas
| L | Filament length (mm) |
| M | Material mass (g) |
| ρ | Density (g/mm³). 1 g/cm³ = 0.001 g/mm³ |
| A | Cross-section area, π × (d ÷ 2)² (mm²) |
| d | Filament diameter (mm) |
Grams measure mass and millimeters measure length, so the conversion needs a material and a shape. Mass divided by density gives the volume of material, and a round filament is a long cylinder whose volume is its cross-section area times its length [1].
Length in mm from grams (filament)
A 1.75 mm filament has a cross-section of 2.405282 mm². For PLA at 1.24 g/cm³, 1 g is 806.45 mm³ of plastic, which is 335.28 mm of filament. 50 g is 16,764.18 mm, or 16.76 m, and a 1 kg spool holds 335.28 m. The same gram of PLA is only 126.42 mm of 2.85 mm filament, and 100 g of PETG at 1.75 mm is 32,736.35 mm.
Grams from length in mm (filament)
1,000 mm of 1.75 mm PLA weighs 2.98 g, so the filament runs 2.98 g per meter. 10 mm weighs 0.0298 g.
Material volume from mass
Volume needs only the density, not a diameter. 50 g of PLA fills 40,322.58 mm³, which is 40.32 cm³.
Material mass from volume
1,000 mm³ of PLA, which is 1 cm³, weighs 1.24 g.
How Many mm Is 1 Gram?
1 gram to mm has no single answer, because the length depends on the material and on how thick it is. For 1.75 mm PLA filament, 1 g is 335.28 mm. For 2.85 mm PLA it is 126.42 mm, and for 1.75 mm PETG it is 327.36 mm. The table lists PLA at 1.24 g/cm³ for both common diameters.
| Grams | mm of 1.75 mm PLA | mm of 2.85 mm PLA |
|---|---|---|
| 1 | 335.28 | 126.42 |
| 2 | 670.57 | 252.83 |
| 5 | 1,676.42 | 632.08 |
| 10 | 3,352.84 | 1,264.15 |
| 20 | 6,705.67 | 2,528.30 |
| 25 | 8,382.09 | 3,160.38 |
| 30 | 10,058.51 | 3,792.45 |
| 50 | 16,764.18 | 6,320.75 |
| 100 | 33,528.36 | 12,641.50 |
| 170 | 56,998.22 | 21,490.56 |
| 200 | 67,056.72 | 25,283.01 |
| 250 | 83,820.90 | 31,603.76 |
| 300 | 100,585.09 | 37,924.51 |
| 400 | 134,113.45 | 50,566.01 |
| 500 | 167,641.81 | 63,207.52 |
| 1,000 | 335,283.62 | 126,415.03 |
Limits of This Estimate
- The material densities are typical values, and real filament varies by brand and color. One manufacturer lists its PLA grades from 1.17 to 1.37 g/cm³ and its PETG from 1.24 to 1.30 g/cm³, with ABS at 1.04, TPU at 1.21 to 1.22 and PC at 1.19 g/cm³ [2]. The same list has ASA at 1.13 and a nylon copolymer at 1.12 g/cm³, both above the 1.07 and 1.04 used here, so enter a custom density from the spool or data sheet when it matters. These estimates are based on the best available data and estimations.
- The filament functions assume a solid, round strand of constant diameter. A sheet, tube or other shape needs its own cross-section area: divide the volume from Material volume from mass by that area to get a length.
- Use the net weight of the material. A spool, core or packaging adds weight that is not filament.
Sources
- Wolfram MathWorld, Cylinder: volume of a cylinder
- Polymaker, Technical Data at a Glance: filament densities by product
