Calculate grams to cubic millimeters using density, or convert gigameters to millimeters with quick results in common volume and length units.

Grams to mm Calculator

Enter a value, choose units, then calculate.

g to mm³
Gm to mm
Show Calculation Steps

Grams To Mm Formula

The following formula is used to calculate the volume in cubic millimeters from mass in grams.

V = M / D

Variables:

  • V is the volume in cubic millimeters (mm^3)
  • M is the mass in grams (g)
  • D is the density in grams per cubic millimeter (g/mm^3)

To calculate the volume in cubic millimeters, divide the mass in grams by the density in grams per cubic millimeter. This will give you the volume of the material in cubic millimeters.

Grams to Millimeters Conversion Table (PLA filament, d = 1.75 mm; ρ = 1.24 g/cm³)
Mass (g) Length (mm)
1335.284
2670.568
51676.420
103352.840
206705.680
258382.100
3010058.520
5016764.200
7525146.300
10033528.400
15050292.600
20067056.800
25083821.000
300100585.200
400134113.600
500167642.000
750251463.000
1000335284.000
1500502926.000
2000670568.000
* Rounded to 3 decimals. Assumes solid cylindrical PLA filament (ρ = 1.24 g/cm³) with 1.75 mm diameter. Derived linear density ≈ 0.002983 g/mm (≈ 2.983 g/m), so 1 g ≈ 335.284 mm.

What is a Grams To Mm?

Grams to millimeters (g to mm) is not a direct conversion because grams is a unit of mass and millimeters is a unit of length. These two units measure different aspects of an object and cannot be directly converted. However, if you know the density of the material, you can convert grams to cubic millimeters, which is a measure of volume. This is done by dividing the mass (in grams) by the density (in grams per cubic millimeter).

How to Calculate Grams To Mm?

The following steps outline how to calculate the Grams To Mm using the formula: V = M / D.


  1. First, determine the mass in grams (M).
  2. Next, determine the density in grams per cubic millimeter (D).
  3. Next, use the formula V = M / D to calculate the volume in cubic millimeters (V).
  4. Finally, calculate the Grams To Mm.
  5. After inserting the variables and calculating the result, check your answer with the calculator above.

Example Problem : 

Use the following variables as an example problem to test your knowledge.

mass in grams (M) = 50

density in grams per cubic millimeter (D) = 2