Mass per volume density.
Grams per Gallon to Megagrams per Cubic Meter Converter — g/gal to Mg/m3
Convert Gram per Gallon (g/gal) to Megagram per Cubic Meter (Mg/m3) using the exact conversion factor (1 gram per gallon = 0.0002641721 megagram per cubic meter). See the formula, worked examples, and conversion table.
Grams per Gallon to Megagrams per Cubic Meter 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.2641720524 / 1000.
Density uses kilograms per cubic meter as the base unit.
Reserved above the conversion cards and below the converter.
About Converting Grams per Gallon to Megagrams per Cubic Meter
Gram per Gallon and Megagram per Cubic Meter 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 cubic meter = grams per gallon × 0.000264172052358
This factor comes from each unit's defined relationship to the category's base unit: 1 gram per gallon equals 0.264172052358 base units, and 1 megagram per cubic meter equals 1000 base units, so dividing one by the other gives the direct gram per gallon-to-megagram per cubic meter factor of 0.000264172052358.
Simple example
1 g/gal × 0.0002641720524 = 0.0002641721 Mg/m3
1 gram per gallon = 0.0002641721 megagrams per cubic meter.
Real-world example
1,000 g/gal × 0.0002641720524 = 0.2641720524 Mg/m3
1,000 grams per gallon = 0.2641720524 megagrams per cubic meter.
Conversion table
| Gram per Gallon (g/gal) | Megagram per Cubic Meter (Mg/m3) |
|---|---|
| 0.1 g/gal | 0.0000264172 Mg/m3 |
| 1 g/gal | 0.0002641721 Mg/m3 |
| 10 g/gal | 0.0026417205 Mg/m3 |
| 100 g/gal | 0.0264172052 Mg/m3 |
| 1,000 g/gal | 0.2641720524 Mg/m3 |
| 10,000 g/gal | 2.641720524 Mg/m3 |
Reverse conversion: Megagram per Cubic Meter to Gram per Gallon
0.0002641721 Mg/m3 × 3785.411784 = 1.00000018 g/gal
0.0002641721 megagrams per cubic meter = 1.00000018 grams per gallon.
grams per gallon = megagrams per cubic meter × 3785.411784
For a page dedicated to this direction, see Megagram per Cubic Meter to Gram per Gallon.
Understanding the Gram per Gallon (g/gal)
Mass per volume density.
Understanding the Megagram per Cubic Meter (Mg/m3)
Mass per volume density.
Reserved between the cards and the FAQ so the page stays balanced.
Frequently asked questions
How many megagrams per cubic meter are in 1 gram per gallon?
1 gram per gallon equals 0.0002641721 megagrams per cubic meter, using the exact defined conversion factor rather than an estimate.
How do I convert gram per gallon to megagram per cubic meter?
Multiply the gram per gallon value by 0.0002641720524. The converter above does this instantly to whatever precision you set.
How do I convert megagram per cubic meter back to gram per gallon?
Use the reverse factor: 1 megagram per cubic meter equals 3,785.411784 grams per gallon. You can also use the swap control in the converter above to flip the direction instantly.
What is a gram per gallon?
Gram per Gallon (g/gal) is a unit of density.
What is a megagram per cubic meter?
Megagram per Cubic Meter (Mg/m3) is a unit of density.
Is the gram per gallon to megagram per cubic meter conversion exact?
Yes. Both gram per gallon and megagram per cubic meter are defined by fixed standards rather than physical artifacts, so the factor of 0.0002641720524 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.