Convert grams to gallons or gallons to grams using the density of water by default, or pick milk, oil, honey, paint or your own density.
Calculator Functions
| Function | What it does | What it requires |
|---|---|---|
| Gallons from grams | Converts a mass in grams to a volume in US or Imperial gallons | Requires the mass in grams, a density preset and the result gallon |
| Grams from gallons | Converts a volume in gallons to a mass in grams | Requires the volume in US or Imperial gallons and a density preset |
The density presets are water (about 1 g/mL), milk (1.03), cooking oil (0.92), honey (1.42) and latex paint (1.3). Custom / measured density takes any other value in g/mL. Every result also lists the mass, both gallon sizes and liters, and the volume box accepts fractions such as 1/2.
Grams to Gallons Formulas
| gal | Volume in gallons |
| g | Mass in grams |
| ρ | Density of the liquid (g/mL), 1 for water [2] |
| V | Milliliters in one gallon: 3,785.41 for US, 4,546.09 for Imperial [1] |
Grams measure mass and gallons measure volume, so the conversion depends on the liquid. Dividing the grams by the density gives milliliters, and dividing by the milliliters in a gallon gives gallons. The calculator carries the US gallon as 3,785.411784 mL and the Imperial gallon as 4,546.09 mL [1].
Gallons from grams
For water, 1,000 g is 1,000 ÷ 1 ÷ 3,785.41 = 0.2642 US gallons, or 0.22 Imperial gallons. The same 1,000 g of honey is only 0.186 US gallons, because honey is denser.
| Grams of water | US gallons | Imperial gallons |
|---|---|---|
| 100 g | 0.0264 | 0.022 |
| 250 g | 0.066 | 0.055 |
| 300 g | 0.0793 | 0.066 |
| 500 g | 0.1321 | 0.11 |
| 750 g | 0.1981 | 0.165 |
| 1,000 g | 0.2642 | 0.22 |
| 1,500 g | 0.3963 | 0.33 |
| 1,892 g | 0.4998 | 0.4162 |
| 2,000 g | 0.5283 | 0.4399 |
| 3,000 g | 0.7925 | 0.6599 |
| 4,000 g | 1.0567 | 0.8799 |
| 5,000 g | 1.3209 | 1.0998 |
| 10,000 g | 2.6417 | 2.1997 |
Grams from gallons
V is 3,785.41 for a US gallon and 4,546.09 for an Imperial gallon. Half a US gallon of milk is 0.5 × 3,785.41 × 1.03 = 1,949.49 g.
How Many Grams in a Gallon
One US gallon of water is about 3,785 g (3.785 kg), and one Imperial gallon of water is about 4,546 g. Other liquids differ with their density:
| Liquid | Density (g/mL) | Grams in 1 US gallon | Grams in 1/2 US gallon |
|---|---|---|---|
| Water | 1 | 3,785 | 1,893 |
| Milk | 1.03 | 3,899 | 1,949 |
| Cooking oil | 0.92 | 3,483 | 1,741 |
| Honey | 1.42 | 5,375 | 2,688 |
| Latex paint | 1.3 | 4,921 | 2,461 |
Limits of This Estimate
- Water is taken as 1 g/mL. Its real density is slightly lower and falls as it warms [2], which changes a gallon by a few grams to a few tens of grams.
- The milk, cooking oil, honey and latex paint densities are typical round values, and real products vary with recipe and temperature. These estimates are based on the best available data and estimations. A measured density gives a closer answer.
- The US gallon here is the liquid gallon. The US dry gallon is a different size and is not used.
Sources
- NIST, Guide for the Use of the International System of Units (SP 811), Appendix B.8: the US gallon as 3.785412 L and the Imperial gallon as exactly 4.54609 L
- U.S. Geological Survey, Water Density: water at roughly 1 g/mL, and how its density changes with temperature
