molecalculator

Moles & Molar Mass

Liter to Gram Conversion: Formula and Examples

Calculator No. 01-6223 · 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.

There is no single conversion factor from liters to grams: liters measure volume, while grams measure mass, so the result depends on the substance’s density. This calculator converts a volume in liters to mass in grams when you enter the density in grams per liter.

Formula

Mass in grams equals volume in liters multiplied by density in grams per liter:

m = V × ρ

  • m is mass, in grams (g).
  • V is volume, in liters (L).
  • ρ (rho) is density, in grams per liter (g/L).

The units cancel correctly: L × g/L = g. Density must refer to the same substance and relevant conditions as the volume. If density is supplied in grams per milliliter, convert it first: 1 g/mL = 1000 g/L. Equivalently, when volume is in milliliters, mass in grams is volume in milliliters multiplied by density in g/mL.

Worked Example

Using the calculator’s default values, convert 1 L of a material with density 1000 g/L:

  1. Write the relationship: m = V × ρ.
  2. Substitute the defaults: m = 1 L × 1000 g/L.
  3. Cancel liters: m = 1000 g.

The calculator displays 1000.00 g. The density default represents a convenient example, not a universal value for liquids or other materials.

Assumptions

  • The entered density applies to the substance and conditions being considered.
  • The volume and density refer to the same material; the substance is not being treated as a mixture with an unspecified average density.
  • The calculation uses the entered values as exact for arithmetic. Real measurements may have uncertainty, so the displayed decimal places do not establish measurement precision.

Why Liters Do Not Convert Directly to Grams

A liter tells you how much space something occupies; a gram tells you how much matter it contains. These are different physical quantities. Density connects them by describing mass per unit volume. Two equal volumes can therefore have different masses if their densities differ.

For example, 1 L of water near room temperature has a mass close to 1 kg, or 1000 g. But that familiar relationship is an approximation tied to water’s density under particular conditions. It is not a general rule that every liter weighs 1000 g. A liter of a less-dense liquid will have a lower mass, while a denser liquid may have a higher mass. Gases are especially dependent on temperature and pressure.

The same distinction explains why “liter to gram” searches need a substance or density to produce a definite answer. Without that information, the calculator can give the formula but cannot determine a unique mass.

How to Choose a Density

Use a density value that matches the material’s composition, temperature, and, when relevant, pressure. A product label, a reliable reference table, or a measurement for the specific sample may provide the needed value. For mixtures, density can change with proportions, so a value for one formulation may not apply to another.

  • Pure liquids: Find a reference density for the named substance and note its stated temperature.
  • Solutions and mixtures: Use a density for the actual concentration or composition, rather than assuming the solvent’s density.
  • Gases: Check temperature and pressure as well as gas composition. Gas density changes substantially when these conditions change.
  • Unknown samples: Obtain a suitable density measurement or reference value before interpreting the calculated mass.

Density is often reported in g/mL or kg/m³ rather than g/L. Convert units before multiplying. Since 1 g/mL = 1000 g/L and 1 kg/m³ = 1 g/L, using the numerical value without conversion can create an error by a factor of 1000.

Examples and Unit Conversions

Here are examples using stated densities. They illustrate the calculation rather than supply universal density values:

  • At 1000 g/L, a volume of 0.5 L has a mass of 0.5 × 1000 = 500 g.
  • At 800 g/L, a volume of 2 L has a mass of 2 × 800 = 1600 g.
  • If a liquid’s density is 1.2 g/mL, convert it to 1200 g/L. Then 0.25 L has a mass of 0.25 × 1200 = 300 g.

You can reverse the relationship if you know mass and density: volume in liters equals mass in grams divided by density in g/L. If you know mass and volume instead, density in g/L equals mass in grams divided by volume in liters. These are rearrangements of the same relationship, not separate conversion factors.

For everyday cooking, a volume measure cannot reliably be converted to a weight without knowing the ingredient and its packing or preparation. A liter of loosely packed chopped material, for instance, need not have the same mass as a liter of a compacted version. A weight-based recipe or a suitable ingredient-specific density is more reliable than treating liters and grams as interchangeable.

Common Mistakes and Limits

The most common mistake is assuming that 1 L always equals 1000 g. That only follows when the material’s density is 1000 g/L. Another frequent error is mixing up milliliters and liters or entering a density in g/mL as though it were in g/L. Check both units before multiplying.

Temperature can affect the density of liquids, and pressure and temperature affect gas density. For precise work, use a density measured or specified at the relevant conditions. Also consider significant figures: if volume and density are approximate, reporting many decimal places in the result does not make it more accurate. Round the final mass to a precision justified by the input measurements.

This calculator performs a direct density-based conversion. It does not identify the substance, look up a density, account for expansion or contraction, or correct for measurement uncertainty. Its answer is only as dependable as the entered volume and density.

Frequently Asked Questions

How many grams are in 1 liter?
It depends on the substance. Multiply 1 L by its density in g/L. For a material with density 1000 g/L, 1 L has a mass of 1000 g; a different density gives a different mass.

Is 1 liter equal to 1000 grams?
No. A liter is a volume and a gram is a mass. They are numerically related only when the substance’s density makes the relationship so; 1000 g is the mass of 1 L at a density of 1000 g/L.

How do I convert liters to grams without density?
You cannot calculate a unique mass from volume alone. Identify the substance and obtain an appropriate density, or measure the mass directly.

How do I convert g/mL to g/L?
Multiply the density in g/mL by 1000. For example, 0.9 g/mL equals 900 g/L, because 1 L contains 1000 mL.

Does temperature affect liters-to-grams conversion?
It can. A material’s density may vary with temperature, and gas density also depends on pressure. Use a density appropriate to the conditions of the volume you are converting.

Related

Formula used
in v | Volume | L | 1 | 0
in d | Density | g/L | 1000 | 0
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 →