Convert liters to grams for water, milk, oil, honey or petrol using typical densities, or enter your own density. Grams to liters works too.

Presets are typical densities; pick Custom to enter a measured value.

Optional settings

Calculator Functions

FunctionWhat it doesWhat it requires
Liters to grams (mass)Converts a volume of a liquid to its massRequires the volume and a substance or measured density
Grams to liters (volume)Converts a mass of a liquid to its volumeRequires the mass and a substance or measured density
Density from mass and volumeFinds the average density of a sampleRequires the mass and the volume

The substance list holds water at 20 °C (0.998207 g/mL), whole milk (1.03), non-palm oil (0.92), honey (1.42) and gasoline at 15 °C (0.745), plus a custom density in g/mL, g/L, kg/m³ or lb/US gal. Volume is entered in L, mL, US gallons or US cups and mass in g, kg, oz or lb. Every result also shows the mass and volume in the other units.

Liters to Grams Formulas

g = L × ρ × 1,000
gMass (grams)
LVolume (liters)
ρDensity of the liquid (g/mL)

Liters to grams (mass)

One liter of water at 20 °C is 1 × 0.998207 × 1,000 = 998.207 g. A liter and a half of whole milk is 1.5 × 1.03 × 1,000 = 1,545 g. A US gallon is 3.785412 L [3], so a gallon of water is 3,778.62 g.

Grams to liters (volume)

L = g ÷ (ρ × 1,000)

500 g of oil at 0.92 g/mL fills 500 ÷ 920 = 0.5435 L. One kilogram of honey at 1.42 g/mL fills 0.7042 L.

Density from mass and volume

ρ = g ÷ (L × 1,000)

A sample that weighs 1,420 g and fills 1 L has a density of 1.42 g/mL. The volume must be greater than zero.

How Many Grams Are in a Liter?

Liters to grams has no single answer, because a liter measures volume and a gram measures mass. The number of grams in one liter is the density of the liquid in g/mL times 1,000.

LiquidDensity (g/mL)Grams in 1 liter
Water at 20 °C0.998207998.207
Whole milk1.031,030
Non-palm oil0.92920
Honey1.421,420
Gasoline at 15 °C0.745745

For water at 20 °C, common volumes convert as follows.

Liters of waterGrams
0.25249.6
0.5499.1
1998.2
1.51,497.3
1.891,886.6
21,996.4
2.52,495.5
32,994.6
3.53,493.7
3.793,783.2
43,992.8
54,991.0
109,982.1
2019,964.1

Limits of This Estimate

  • Density changes with temperature and with what the liquid is made of. The listed densities describe typical liquids, not a measured sample, so a measured density gives a better answer.
  • The water value is for air-free water at 20 °C. NIST lists 0.998202 g/cm³ at that temperature [1], which matches the value used here to five figures. Water is closest to 1,000 g per liter near 4 °C.
  • An international food density database lists whole milk at 1.03 g/mL and most vegetable oils between 0.91 and 0.93 g/mL, with palm oil as low as 0.89 [2]. The honey and gasoline values are typical figures, and fuel blends vary. These estimates are based on the best available data and estimations.

Sources