Grams per Gallon to Megagrams per Liter Converter — g/gal to Mg/L

Convert Gram per Gallon (g/gal) to Megagram per Liter (Mg/L) using the exact conversion factor (1 gram per gallon = 2.641721e-7 megagram per liter). See the formula, worked examples, and conversion table.

Grams per Gallon to Megagrams per Liter converter

Converter

Density Converter

Convert thousands of mass-per-volume density combinations for science, engineering, agriculture, and fluids.

Result 1 gram per gallon = 2.641721e-7 megagram per liter
Advertisement Converter ad slot

Reserved below the result so the calculator remains usable.

From definition

Mass per volume density.

To definition

Mass per volume density.

Formula

Result = input x 0.2641720524 / 1e+6.

Density uses kilograms per cubic meter as the base unit.

Advertisement Ad slot: content top (728x90)

Reserved above the conversion cards and below the converter.

About Converting Grams per Gallon to Megagrams per Liter

Gram per Gallon and Megagram per Liter 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 liter = grams per gallon × 2.641721e-7

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 liter equals 1000000 base units, so dividing one by the other gives the direct gram per gallon-to-megagram per liter factor of 2.641721e-7.

Simple example

1 g/gal × 2.641721e-7 = 2.641721e-7 Mg/L

1 gram per gallon = 2.641721e-7 megagrams per liter.

Real-world example

1,000 g/gal × 2.641721e-7 = 0.0002641721 Mg/L

1,000 grams per gallon = 0.0002641721 megagrams per liter.

Conversion table

Gram per Gallon (g/gal)Megagram per Liter (Mg/L)
0.1 g/gal2.641721e-8 Mg/L
1 g/gal2.641721e-7 Mg/L
10 g/gal0.0000026417 Mg/L
100 g/gal0.0000264172 Mg/L
1,000 g/gal0.0002641721 Mg/L
10,000 g/gal0.0026417205 Mg/L

Reverse conversion: Megagram per Liter to Gram per Gallon

2.641721e-7 Mg/L × 3785411.784 = 1.00000018 g/gal

2.641721e-7 megagrams per liter = 1.00000018 grams per gallon.

grams per gallon = megagrams per liter × 3785411.784

For a page dedicated to this direction, see Megagram per Liter to Gram per Gallon.

Understanding the Gram per Gallon (g/gal)

Mass per volume density.

Understanding the Megagram per Liter (Mg/L)

Mass per volume density.

Advertisement Ad slot: content middle (728x90)

Reserved between the cards and the FAQ so the page stays balanced.

Frequently asked questions

How many megagrams per liter are in 1 gram per gallon?

1 gram per gallon equals 2.641721e-7 megagrams per liter, using the exact defined conversion factor rather than an estimate.

How do I convert gram per gallon to megagram per liter?

Multiply the gram per gallon value by 2.641721e-7. The converter above does this instantly to whatever precision you set.

How do I convert megagram per liter back to gram per gallon?

Use the reverse factor: 1 megagram per liter equals 3,785,411.784 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 liter?

Megagram per Liter (Mg/L) is a unit of density.

Is the gram per gallon to megagram per liter conversion exact?

Yes. Both gram per gallon and megagram per liter are defined by fixed standards rather than physical artifacts, so the factor of 2.641721e-7 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.