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.

Assumes solid, round filament of constant diameter.

Net material weight, without the spool or packaging.

Typical densities; your brand or grade may differ slightly. Pick Custom density to enter your own.

Output unit

Calculator Functions

FunctionWhat it doesWhat it requires
Length in mm from grams (filament)Finds the length of 3D printer filament in a given weightRequires 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 filamentRequires the filament length, the material or a custom density, and the filament diameter
Material volume from massConverts a mass to the volume of material it fillsRequires the material mass and the material or a custom density
Material mass from volumeConverts a volume of material to its massRequires 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 = M ÷ (ρ × A)
LFilament length (mm)
MMaterial mass (g)
ρDensity (g/mm³). 1 g/cm³ = 0.001 g/mm³
ACross-section area, π × (d ÷ 2)² (mm²)
dFilament 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)

M = L × A × ρ

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

V = M ÷ ρ

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

M = V × ρ

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.

Gramsmm of 1.75 mm PLAmm of 2.85 mm PLA
1335.28126.42
2670.57252.83
51,676.42632.08
103,352.841,264.15
206,705.672,528.30
258,382.093,160.38
3010,058.513,792.45
5016,764.186,320.75
10033,528.3612,641.50
17056,998.2221,490.56
20067,056.7225,283.01
25083,820.9031,603.76
300100,585.0937,924.51
400134,113.4550,566.01
500167,641.8163,207.52
1,000335,283.62126,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

  1. Wolfram MathWorld, Cylinder: volume of a cylinder
  2. Polymaker, Technical Data at a Glance: filament densities by product