There is no single grams-to-liters conversion rate: grams measure mass, while liters measure volume, so the conversion depends on the substance’s density. This calculator estimates volume from mass and density; enter grams and density in g/mL to get liters and milliliters.
Formula
Volume equals mass divided by density. In symbols, V (L) = m (g) ÷ ρ (g/mL) ÷ 1000. The factor 1000 converts milliliters to liters because 1 L = 1000 mL. The equivalent milliliter formula is V (mL) = m (g) ÷ ρ (g/mL).
- m is mass, in grams (g).
- ρ (rho) is density, in grams per milliliter (g/mL).
- V is volume, reported in liters (L) or milliliters (mL).
The calculator uses mass divided by density to get milliliters, then divides by 1000 to get liters. Its density input must be greater than zero. The result assumes the entered density applies to the substance at the relevant temperature and conditions.
Worked Example
Using the calculator’s defaults—100 g and a density of 1 g/mL:
- Volume in milliliters = 100 g ÷ 1 g/mL = 100 mL.
- Convert to liters: 100 mL ÷ 1000 = 0.1 L.
The calculator therefore returns 0.1000 L and 100.00 mL. The displayed precision is a formatting choice, not a claim that the measurements are accurate to those decimal places.
Why Grams Do Not Convert Directly to Liters
A gram tells you how much matter there is by mass. A liter tells you how much space it occupies. Density connects the two: it describes how much mass is contained in a given volume. For example, 100 g of a dense liquid occupies less space than 100 g of a less dense liquid.
Water is often used as a rough everyday reference. Its density is close to 1 g/mL under ordinary room-temperature conditions, so 100 g of water is about 100 mL, or 0.1 L. But that convenient approximation is not a universal conversion rate. Temperature and pressure can affect density, and other substances can have very different densities.
How to Use the Conversion
For a reliable estimate, use a density value that matches the exact material and, when relevant, its temperature and concentration.
- Enter the measured mass in grams.
- Find the material’s density in g/mL. If your reference gives g/L, divide that value by 1000 to obtain g/mL.
- Enter the density and read the result in liters or milliliters.
- Keep meaningful measurement precision in mind when rounding the answer.
For instance, if a material has a density of 0.8 g/mL, 100 g occupies 125 mL, or 0.125 L: 100 ÷ 0.8 = 125 mL, then 125 ÷ 1000 = 0.125 L. This is an illustration of the calculation, not a density value that applies to every oil or liquid.
Density, Temperature, and Material Form
Density is a property of a particular material under stated conditions, not a fixed conversion factor for all substances. A lookup value should identify the substance and its state—such as liquid, solid, or gas—and may specify temperature, pressure, or concentration. A solution’s density can differ from that of its pure solvent, so using the solvent’s value for a concentrated solution may give a poor estimate.
For gases, volume depends strongly on pressure and temperature. A gas density is meaningful only under specified conditions; do not apply a room-temperature liquid density or an unspecified reference value. If a task involves a gas law, use the pressure, temperature, and amount-of-substance information required by that law instead.
Some materials are mixtures or change composition, and some solids contain pores or trapped air. In such cases, the relevant density depends on how the material is defined and measured. If the exact density is unknown, the calculator cannot supply it from mass alone.
Common Mistakes and Limits
- Assuming grams equal milliliters: This is only approximately true for water near conditions where its density is about 1 g/mL. It is not a general rule.
- Using the wrong density units: The calculator expects g/mL. A value in kg/m³ must be divided by 1000 to convert to g/mL; for example, 1000 kg/m³ = 1 g/mL.
- Confusing mass and volume: A kitchen scale measures mass, not liters. The volume calculation still requires density.
- Rounding too early: Keep extra digits during intermediate steps, then round the final result to suit the precision of the input measurements.
- Ignoring conditions: Density can vary with temperature, pressure, or mixture composition. A result based on an unsuitable density is only an estimate.
The formula calculates volume from a supplied density; it does not identify a material or determine its density. For a non-uniform mixture, an unknown composition, or a substance whose density changes substantially during measurement, a single density may not be adequate.
Frequently Asked Questions
How many liters are in 1 gram?
There is no fixed answer without a substance’s density. At 1 g/mL, 1 g occupies 1 mL, which is 0.001 L. At a different density, its volume will differ.
How many grams are in 1 liter?
Multiply the density in g/mL by 1000 to find the mass in grams for 1 L. For a material with density 1 g/mL, 1 L has a mass of 1000 g; other materials have different masses.
Can I use this for water?
Yes, as an estimate if you use a water density appropriate to the temperature. Using 1 g/mL is a convenient approximation for many everyday calculations, but it is not exact under every condition.
How do I convert grams to liters without density?
You cannot determine the volume from mass alone. Find or measure the material’s density first, or use another source of information that establishes its volume per unit mass.
Is 1 gram always 1 milliliter?
No. That equivalence follows only when the density is 1 g/mL. It is a useful approximation for water in common contexts, not a universal conversion between mass and volume.
Related
Formula used
in m | Mass | g | 100 | 0 in d | Density | g/mL | 1 | 0.000001 out l | Volume | L | m / d / 1000 | 4 out ml | Volume | mL | m / 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
- Liters to Cubic Meters: Conversion and Examples0.001000 m³
- Normal Cubic Meter to Liters Calculator1,000.00 L
- Qt to Liters Conversion: US and Imperial Quarts0.946353 L
- Meters to Liters Formula: Convert Length to Volume?1,000.000 L
- Meters to Litres: Why Length Alone Is Not Enough1,000.00 L
- Cubic Meters per Hour to Liters per Second0.2778 L/s