molecalculator

Moles & Molar Mass

Liters to Grams: How to Convert (Formula & Examples)

Calculator No. 01-7223 · Updated · Formula and assumptions shown below

Mass 1,000.00 g
Volume
1 L
Set in the form below
Density
1000 g/L
Set in the form below
You enter
Volume (L), Density (g/L)
You get
Mass (g)
Rounding
2 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

To convert liters to grams, you must multiply the volume in liters by the density of the substance (in grams per liter). Because liters measure volume and grams measure mass, the conversion depends entirely on what material you are measuring.

Formula

The relationship between mass, volume, and density is:

Mass (g) = Volume (L) × Density (g/L)

Where:

  • Mass is in grams (g)
  • Volume is in liters (L)
  • Density is in grams per liter (g/L)

Density tells you how many grams of a substance occupy one liter. For water at 4 °C, the density is 1000 g/L (since 1 L of water weighs 1000 g). For other liquids, gases, and solids, density values differ.

Worked Example

Using the default values: volume = 1 L, density = 1000 g/L (water at 4 °C).

Mass = 1 L × 1000 g/L = 1000 g

So 1 liter of water has a mass of exactly 1000 grams (which is 1 kilogram).

Assumptions

  • Density is constant at the given temperature (density changes with temperature).
  • The substance is pure and homogeneous.
  • Volume is measured at the same conditions as the density value.

Why Density Matters

Liters measure volume—the amount of space something occupies. Grams measure mass—the amount of matter in an object. Two different substances can have the same volume but very different masses. For example, 1 liter of water weighs 1000 g, but 1 liter of olive oil weighs about 915 g because oil is less dense. Conversely, 1 liter of honey weighs about 1420 g because honey is denser than water.

Density is the bridge between these two units. It is defined as mass per unit volume, and its value is specific to each material and its temperature and pressure. For solids and liquids, density is usually given in g/mL or g/cm³, which are equivalent. To use it in the formula, you may need to convert to g/L: multiply g/mL by 1000.

How to Choose the Correct Density

To convert liters to grams accurately, you must find the density of the exact substance at the relevant temperature. Here are common sources:

  • Water: 1000 g/L at 4 °C, but 997 g/L at 25 °C.
  • Milk: about 1030 g/L (varies with fat content).
  • Olive oil: about 915 g/L at 20 °C.
  • Ethanol: about 789 g/L at 20 °C.
  • Honey: about 1420 g/L (varies with moisture).
  • Air: about 1.225 g/L at sea level and 15 °C.

For a pure chemical, look up its density in a reference table (often given at 20 °C). For mixtures or solutions, density depends on concentration—you may need a specific table or a hydrometer measurement.

Common Mistakes and Misconceptions

Mistake 1: Assuming 1 L = 1000 g for everything. This is only true for water at 4 °C. For other substances, the mass will be different. Always use the density.

Mistake 2: Mixing up units. Density is often given in g/mL or kg/L. Remember: 1 g/mL = 1000 g/L, and 1 kg/L = 1000 g/L. If you plug in a density in g/mL without converting, your result will be off by a factor of 1000.

Mistake 3: Ignoring temperature. Density changes with temperature. For precise work, use the density at the same temperature as your volume measurement.

Misconception: “Liters and grams are the same for all liquids.” Not true. Only water has a density of exactly 1 g/mL at 4 °C. Even water at room temperature is slightly less dense.

When to Use This Conversion

You might need to convert liters to grams in cooking (measuring ingredients by weight), in science labs (preparing solutions), in engineering (calculating loads), or in everyday life (estimating the weight of a container of liquid). For example, if a recipe calls for 0.5 L of milk, you can find its mass using the density of milk (~1030 g/L) to get 515 g, which is useful if you only have a kitchen scale.

In chemistry, this conversion is essential for preparing solutions when you need a certain mass of a solute but only have its volume. For instance, to make a 1 M solution of NaCl, you need 58.44 g of NaCl per liter of solution—but if you have a concentrated stock solution, you might measure its volume and then use density to find the mass of solute present.

Alternatives and Related Calculations

If you know the amount of substance in moles, you can convert directly to grams using molar mass (g/mol) without density. For gases, the ideal gas law (PV = nRT) relates volume, pressure, temperature, and moles, which then converts to mass via molar mass. For solutions, molarity (mol/L) and volume give moles, then mass.

If you have a volume in milliliters, you can convert to liters first (divide by 1000) or use density in g/mL directly: mass (g) = volume (mL) × density (g/mL).

Frequently Asked Questions

Q: How many grams are in a liter of water?
A: At 4 °C, exactly 1000 grams. At room temperature (25 °C), about 997 grams because water expands slightly when warm.

Q: Can I convert liters to grams without density?
A: No. You must know the density of the substance. Without it, the conversion is impossible because volume and mass are different properties.

Q: Is 1 liter always 1 kilogram?
A: Only for pure water at 4 °C. For other substances, 1 liter may weigh more or less than 1 kg. For example, 1 L of honey weighs about 1.42 kg, while 1 L of ethanol weighs about 0.789 kg.

Q: How do I convert grams back to liters?
A: Divide the mass in grams by the density in g/L. For example, 500 g of water at 4 °C is 500 g ÷ 1000 g/L = 0.5 L.

Q: What is the density of common cooking oils?
A: Vegetable oil is about 920 g/L, olive oil about 915 g/L, and coconut oil about 924 g/L (liquid). These values vary slightly with temperature and brand.

Q: Does pressure affect the conversion?
A: For liquids and solids, pressure has a negligible effect on density. For gases, pressure significantly changes density—you must use the ideal gas law or a density table at the given pressure and temperature.

Related

Formula used
in v | Volume | L | 1 | 0 | 1000
in d | Density | g/L | 1000 | 0 | 20000
out m | Mass | g | v * d | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Moles & Molar Mass section →