Mass per volume density.
Milligrams per Gallon to Grams per Cubic Centimeter Converter — mg/gal to g/cm3
Convert Milligram per Gallon (mg/gal) to Gram per Cubic Centimeter (g/cm3) using the exact conversion factor (1 milligram per gallon = 2.641721e-7 gram per cubic centimeter). See the formula, worked examples, conversion table, and common uses.
Milligrams per Gallon to Grams per Cubic Centimeter 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.0002641720524 / 1000.
Density uses kilograms per cubic meter as the base unit.
Reserved above the conversion cards and below the converter.
About Converting Milligrams per Gallon to Grams per Cubic Centimeter
Milligram per Gallon and Gram per Cubic Centimeter 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
grams per cubic centimeter = milligrams per gallon × 2.641721e-7
This factor comes from each unit's defined relationship to the category's base unit: 1 milligram per gallon equals 0.000264172052358 base units, and 1 gram per cubic centimeter equals 1000 base units, so dividing one by the other gives the direct milligram per gallon-to-gram per cubic centimeter factor of 2.641721e-7.
Simple example
1 mg/gal × 2.641721e-7 = 2.641721e-7 g/cm3
1 milligram per gallon = 2.641721e-7 grams per cubic centimeter.
Real-world example
1,000 mg/gal × 2.641721e-7 = 0.0002641721 g/cm3
1,000 milligrams per gallon = 0.0002641721 grams per cubic centimeter.
Conversion table
| Milligram per Gallon (mg/gal) | Gram per Cubic Centimeter (g/cm3) |
|---|---|
| 0.1 mg/gal | 2.641721e-8 g/cm3 |
| 1 mg/gal | 2.641721e-7 g/cm3 |
| 10 mg/gal | 0.0000026417 g/cm3 |
| 100 mg/gal | 0.0000264172 g/cm3 |
| 1,000 mg/gal | 0.0002641721 g/cm3 |
| 10,000 mg/gal | 0.0026417205 g/cm3 |
Reverse conversion: Gram per Cubic Centimeter to Milligram per Gallon
2.641721e-7 g/cm3 × 3785411.784 = 1.00000018 mg/gal
2.641721e-7 grams per cubic centimeter = 1.00000018 milligrams per gallon.
milligrams per gallon = grams per cubic centimeter × 3785411.784
For a page dedicated to this direction, see Gram per Cubic Centimeter to Milligram per Gallon.
Understanding the Milligram per Gallon (mg/gal)
Mass per volume density.
Understanding the Gram per Cubic Centimeter
Gram per Cubic Centimeter (g/cm3) measures density. Numerically identical to kilograms per liter, since one cubic centimeter equals one milliliter — this is the form most commonly used in chemistry and materials-science textbooks. It is classified as a metric derived density unit.
Where it's used: Standard density unit in chemistry and materials science worldwide
Uses of the Gram per Cubic Centimeter today
- Material identification in chemistry and geology (mineral density tables)
- Materials science and engineering specifications
- Laboratory density measurements
Gram per Cubic Centimeter — sources
- BIPM SI Brochure — Gram and cubic centimeter as accepted units for expressing density.
Reserved between the cards and the FAQ so the page stays balanced.
Frequently asked questions
How many grams per cubic centimeter are in 1 milligram per gallon?
1 milligram per gallon equals 2.641721e-7 grams per cubic centimeter, using the exact defined conversion factor rather than an estimate.
How do I convert milligram per gallon to gram per cubic centimeter?
Multiply the milligram per gallon value by 2.641721e-7. The converter above does this instantly to whatever precision you set.
How do I convert gram per cubic centimeter back to milligram per gallon?
Use the reverse factor: 1 gram per cubic centimeter equals 3,785,411.784 milligrams per gallon. You can also use the swap control in the converter above to flip the direction instantly.
What is a milligram per gallon?
Milligram per Gallon (mg/gal) is a unit of density.
What is a gram per cubic centimeter?
Gram per Cubic Centimeter (g/cm3) measures density. Numerically identical to kilograms per liter, since one cubic centimeter equals one milliliter — this is the form most commonly used in chemistry and materials-science textbooks. It is classified as a metric derived density unit.
Is the milligram per gallon to gram per cubic centimeter conversion exact?
Yes. Both milligram per gallon and gram per cubic centimeter 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.