# Milligrams to Gallons Conversion Calculator

Enter the weight in milligrams below to calculate the volume in gallons.

## Result in Gallons:

1 mg = 2.6417E-7 gal
Hint: use a scientific notation calculator to convert E notation to decimal

Do you want to convert gallons to milligrams?

## How to Convert Milligrams to Gallons

Since milligrams are a unit of mass and gallons are a unit of volume, which are different physical quantities, we need to know one more physical quantity of the ingredient or substance to convert between them. In this case, we need to account for the density of the substance whenever we do a conversion.

Therefore, to convert between milligrams and gallons of an ingredient or substance, we must either multiply or divide by its density, depending on which direction we are performing the conversion.

### Milligrams to Gallons Formula

To convert a measurement in milligrams to gallons, divide the weight by the density of the ingredient or material. Note that in order for this to work, the density must be in milligrams per gallon (mg/gal).

If the density is given in grams per milliliter (g/mL), then first multiply the density by 3,785,411.78 to convert to mg/gal.

For a density given in g/mL, you can use this simple formula to convert:

gallons = milligrams / 3,785,411.78 × density

Thus, the volume in gallons is equal to the weight in milligrams divided by 3,785,411.78 times the density (in g/mL) of the ingredient, substance, or material.

For example, here's how to convert 5,000,000 milligrams to gallons for an ingredient with a density of 0.7 g/mL.
gallons = 5,000,000 mg / 3,785,411.78 × 0.7 g/mL = 1.8869 gal

## When to Convert Milligrams to Gallons

Milligrams and gallons are both commonly used to measure cooking ingredients.

For cooking applications, most chefs suggest measuring dry ingredients by weight rather than volume to improve accuracy in the measurements.[1] The density of dry ingredients can vary for a variety of reasons, such as compaction and clumping.

The best way to ensure an accurate conversion is to use a scale. When a scale is not available, a calculator like the one above is a good way to estimate the weight to volume conversion.

Another useful application of weight and volume conversions is chemistry. When performing chemical reactions by combining separate chemicals to produce a new chemical, one must know the exact amount of each chemical to add in order to maximize the yield of the reaction.

It is common to mix powdered chemicals with liquid, or aqueous, chemicals, and this is where it becomes very useful to convert between weights and volumes.[2]

A third application of weight and volume conversions is when shipping freight when calculating the volumetric weight for cargo and packages. Trucks, ships, and airplanes are limited in the amount of weight or volume they can transport, so if one of those quantities is known, but the limitation is on the other, then it becomes necessary to convert between the two so as not to overload the shipping vehicle.

Keep reading to learn more about each unit of measure.

## What Is a Milligram?

The milligram is a unit of mass equal to 1/1,000 of a gram, or 0.0154 grains.

The milligram, or milligramme, is an SI unit of mass in the metric system. In the metric system, "milli" is the prefix for thousandths, or 10-3. Milligrams can be abbreviated as mg; for example, 1 milligram can be written as 1 mg.

A milligram is frequently referred to as a unit of weight. While technically, a milligram is a measure of mass, and weight is actually a measure of force, the two are equivalent as long as we are performing our calculations on Earth.

For example, an object with a mass of 1 milligram weighs 1 milligram on Earth, but only weighs one-sixth of that on the moon, yet still has the same mass.

Learn more about milligrams.

## What Is a Gallon?

The US liquid gallon is a unit of fluid volume equal to four quarts, eight pints, or sixteen cups.[3] The US liquid gallon should not be confused with the US dry gallon or the imperial gallon, which are different units of measure.

The gallon is a US customary unit of volume. Gallons can be abbreviated as gal; for example, 1 gallon can be written as 1 gal.

Learn more about gallons.

## Milligram to Gallon Conversion Table

Milligram measurements converted to gallons for commonly used cooking and baking ingredients.
Weight in Milligrams: Volume in Gallons of:
Water Milk Cooking Oil All Purpose Flour Granulated Sugar
10,000 mg 0.002642 gal 0.002565 gal 0.003002 gal 0.004994 gal 0.003125 gal
20,000 mg 0.005283 gal 0.00513 gal 0.006004 gal 0.009988 gal 0.00625 gal
30,000 mg 0.007925 gal 0.007694 gal 0.009006 gal 0.014981 gal 0.009375 gal
40,000 mg 0.010567 gal 0.010259 gal 0.012008 gal 0.019975 gal 0.0125 gal
50,000 mg 0.013209 gal 0.012824 gal 0.01501 gal 0.024969 gal 0.015625 gal
60,000 mg 0.01585 gal 0.015389 gal 0.018012 gal 0.029963 gal 0.01875 gal
70,000 mg 0.018492 gal 0.017953 gal 0.021014 gal 0.034957 gal 0.021875 gal
80,000 mg 0.021134 gal 0.020518 gal 0.024016 gal 0.03995 gal 0.025 gal
90,000 mg 0.023775 gal 0.023083 gal 0.027018 gal 0.044944 gal 0.028125 gal
100,000 mg 0.026417 gal 0.025648 gal 0.03002 gal 0.049938 gal 0.03125 gal
110,000 mg 0.029059 gal 0.028213 gal 0.033022 gal 0.054932 gal 0.034375 gal
120,000 mg 0.031701 gal 0.030777 gal 0.036023 gal 0.059926 gal 0.0375 gal
130,000 mg 0.034342 gal 0.033342 gal 0.039025 gal 0.064919 gal 0.040625 gal
140,000 mg 0.036984 gal 0.035907 gal 0.042027 gal 0.069913 gal 0.04375 gal
150,000 mg 0.039626 gal 0.038472 gal 0.045029 gal 0.074907 gal 0.046875 gal
160,000 mg 0.042268 gal 0.041036 gal 0.048031 gal 0.079901 gal 0.05 gal
170,000 mg 0.044909 gal 0.043601 gal 0.051033 gal 0.084895 gal 0.053125 gal
180,000 mg 0.047551 gal 0.046166 gal 0.054035 gal 0.089888 gal 0.05625 gal
190,000 mg 0.050193 gal 0.048731 gal 0.057037 gal 0.094882 gal 0.059375 gal
200,000 mg 0.052834 gal 0.051296 gal 0.060039 gal 0.099876 gal 0.0625 gal
210,000 mg 0.055476 gal 0.05386 gal 0.063041 gal 0.10487 gal 0.065625 gal
220,000 mg 0.058118 gal 0.056425 gal 0.066043 gal 0.109864 gal 0.06875 gal
230,000 mg 0.06076 gal 0.05899 gal 0.069045 gal 0.114857 gal 0.071875 gal
240,000 mg 0.063401 gal 0.061555 gal 0.072047 gal 0.119851 gal 0.075 gal
250,000 mg 0.066043 gal 0.064119 gal 0.075049 gal 0.124845 gal 0.078125 gal
260,000 mg 0.068685 gal 0.066684 gal 0.078051 gal 0.129839 gal 0.08125 gal
270,000 mg 0.071326 gal 0.069249 gal 0.081053 gal 0.134833 gal 0.084375 gal
280,000 mg 0.073968 gal 0.071814 gal 0.084055 gal 0.139826 gal 0.0875 gal
290,000 mg 0.07661 gal 0.074379 gal 0.087057 gal 0.14482 gal 0.090625 gal
300,000 mg 0.079252 gal 0.076943 gal 0.090059 gal 0.149814 gal 0.09375 gal
310,000 mg 0.081893 gal 0.079508 gal 0.093061 gal 0.154808 gal 0.096875 gal
320,000 mg 0.084535 gal 0.082073 gal 0.096063 gal 0.159802 gal 0.1 gal
330,000 mg 0.087177 gal 0.084638 gal 0.099065 gal 0.164795 gal 0.103125 gal
340,000 mg 0.089818 gal 0.087202 gal 0.102066 gal 0.169789 gal 0.10625 gal
350,000 mg 0.09246 gal 0.089767 gal 0.105068 gal 0.174783 gal 0.109375 gal
360,000 mg 0.095102 gal 0.092332 gal 0.10807 gal 0.179777 gal 0.1125 gal
370,000 mg 0.097744 gal 0.094897 gal 0.111072 gal 0.184771 gal 0.115625 gal
380,000 mg 0.100385 gal 0.097462 gal 0.114074 gal 0.189764 gal 0.11875 gal
390,000 mg 0.103027 gal 0.100026 gal 0.117076 gal 0.194758 gal 0.121875 gal
400,000 mg 0.105669 gal 0.102591 gal 0.120078 gal 0.199752 gal 0.125 gal

## References

1. National Institute of Standards & Technology, Culinary Measurement Tips, https://www.nist.gov/pml/owm/culinary-measurement-tips
2. CK-12 Foundation, Introductory Chemistry (CK-12) - 12.6: Mass-Volume Stoichiometry, https://chem.libretexts.org/Bookshelves/Introductory_Chemistry/Introductory_Chemistry_(CK-12)/12%3A_Stoichiometry/12.06%3A_Mass-Volume_Stoichiometry
3. National Institute of Standards and Technology, Specifications, Tolerances, and Other Technical Requirements for Weighing and Measuring Devices, Handbook 44 - 2019 Edition, https://nvlpubs.nist.gov/nistpubs/hb/2019/NIST.HB.44-2019.pdf