Mass per volume density.
Grams per Cubic Meter to Megagrams per Gallon Converter — g/m3 to Mg/gal
Convert Gram per Cubic Meter (g/m3) to Megagram per Gallon (Mg/gal) using the exact conversion factor (1 gram per cubic meter = 3.785412e-9 megagram per gallon). See the formula, worked examples, and conversion table.
Grams per Cubic Meter to Megagrams per Gallon converter
Converter
Density Converter
Convert thousands of mass-per-volume density combinations for science, engineering, agriculture, and fluids.
Mass per volume density.
Result = input x 0.001 / 264172.0524.
Density uses kilograms per cubic meter as the base unit.
Reserved above the conversion cards and below the converter.
About Converting Grams per Cubic Meter to Megagrams per Gallon
Gram per Cubic Meter and Megagram per Gallon both measure density — mass per unit volume — a property used to identify materials, check manufacturing quality, and predict whether something floats or sinks. As a fixed reference point, water has a density of exactly 1000 kg/m³ (1 g/cm³, 1 g/mL) at its temperature of maximum density, which is why many density figures in science and engineering are quoted relative to water. Both are mass per volume density units.
Formula
megagrams per gallon = grams per cubic meter × 3.785412e-9
This factor comes from each unit's defined relationship to the category's base unit: 1 gram per cubic meter equals 0.001 base units, and 1 megagram per gallon equals 264172.052358 base units, so dividing one by the other gives the direct gram per cubic meter-to-megagram per gallon factor of 3.785412e-9.
Simple example
1 g/m3 × 3.785412e-9 = 3.785412e-9 Mg/gal
1 gram per cubic meter = 3.785412e-9 megagrams per gallon.
Real-world example
1,000 g/m3 × 3.785412e-9 = 0.0000037854 Mg/gal
1,000 grams per cubic meter = 0.0000037854 megagrams per gallon.
Conversion table
| Gram per Cubic Meter (g/m3) | Megagram per Gallon (Mg/gal) |
|---|---|
| 0.1 g/m3 | 3.785412e-10 Mg/gal |
| 1 g/m3 | 3.785412e-9 Mg/gal |
| 10 g/m3 | 3.785412e-8 Mg/gal |
| 100 g/m3 | 3.785412e-7 Mg/gal |
| 1,000 g/m3 | 0.0000037854 Mg/gal |
| 10,000 g/m3 | 0.0000378541 Mg/gal |
Reverse conversion: Megagram per Gallon to Gram per Cubic Meter
3.785412e-9 Mg/gal × 264172052.4 = 1.000000057 g/m3
3.785412e-9 megagrams per gallon = 1.000000057 grams per cubic meter.
grams per cubic meter = megagrams per gallon × 264172052.358
For a page dedicated to this direction, see Megagram per Gallon to Gram per Cubic Meter.
Understanding the Gram per Cubic Meter (g/m3)
Mass per volume density.
Understanding the Megagram per Gallon (Mg/gal)
Mass per volume density.
Reserved between the cards and the FAQ so the page stays balanced.
Frequently asked questions
How many megagrams per gallon are in 1 gram per cubic meter?
1 gram per cubic meter equals 3.785412e-9 megagrams per gallon, using the exact defined conversion factor rather than an estimate.
How do I convert gram per cubic meter to megagram per gallon?
Multiply the gram per cubic meter value by 3.785412e-9. The converter above does this instantly to whatever precision you set.
How do I convert megagram per gallon back to gram per cubic meter?
Use the reverse factor: 1 megagram per gallon equals 264,172,052.4 grams per cubic meter. You can also use the swap control in the converter above to flip the direction instantly.
What is a gram per cubic meter?
Gram per Cubic Meter (g/m3) is a unit of density.
What is a megagram per gallon?
Megagram per Gallon (Mg/gal) is a unit of density.
Is the gram per cubic meter to megagram per gallon conversion exact?
Yes. Both gram per cubic meter and megagram per gallon are defined by fixed standards rather than physical artifacts, so the factor of 3.785412e-9 used above is exact to as many digits as you choose to display.
What's the difference between density and mass concentration?
Density is the mass of a pure substance or material per unit volume. Mass concentration is the mass of one component — like a dissolved solute — within a mixture's total volume. The two use the same kind of units but describe different physical situations.