molecalculator

Moles & Molar Mass

Grams to Liters Chemistry Calculator and Conversion Guide

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

Volume 0.1000 L
Volume
100.00 mL
= Mass ÷ Density
Mass
100 g
Set in the form below
Density
1 g/mL
Set in the form below
You enter
Mass (g), Density (g/mL)
You get
Volume (L), Volume (mL)
Rounding
4 dp · 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.

Convert a mass in grams to a volume in liters by dividing the mass by the material’s density. This calculator uses grams and grams per milliliter, then returns the equivalent volume in liters; enter the density for the substance and conditions you are working with.

Formula

Volume equals mass divided by density. In symbols, V (L) = m (g) ÷ ρ (g/mL) ÷ 1000. The first division gives milliliters because grams divided by grams per milliliter leaves milliliters; dividing by 1000 converts milliliters to liters. The calculator also reports that intermediate volume in milliliters.

  • V is volume in liters (L).
  • m is mass in grams (g).
  • ρ (rho) is density in grams per milliliter (g/mL).
  • 1000 mL/L is the exact conversion factor between milliliters and liters.

This calculation requires density. Mass alone cannot determine volume: the same mass of two different substances may occupy different volumes. Density may also vary with temperature, pressure, composition, and physical state, so use a value that matches the material and conditions.

Worked Example

Using the calculator’s default inputs, the mass is 100 g and the density is 1 g/mL.

  1. Divide mass by density: 100 g ÷ 1 g/mL = 100 mL.
  2. Convert to liters: 100 mL ÷ 1000 = 0.1 L.
  3. At the calculator’s displayed precision, the volume is 0.1000 L (and 100.00 mL).

The unit cancellation confirms the method: g ÷ (g/mL) = mL, followed by mL ÷ 1000 mL/L = L.

Assumptions

  • The density entered represents the material at the relevant temperature and pressure.
  • The sample is treated as uniform, and the entered mass is the mass of the material being converted.
  • The result is a calculated volume, not a measurement of a final solution volume. For a solution, use its density only if you are converting the mass of that solution itself.
  • This is study and lab-planning arithmetic, not a substitute for a laboratory measurement or method. For bench work, follow your lab method, the safety data sheet (SDS) and your supervisor.

Step-by-Step

  1. Identify what the mass describes. Decide whether you have the mass of a pure substance, a liquid mixture, or a whole solution. The density must refer to that same material. Do not use the density of water for a different liquid simply because the sample is liquid.
  2. Find a suitable density. Check a reliable reference, product specification, or your lab method. Confirm the substance, concentration or composition, physical state, temperature, and density units. If the value is given in another unit, convert it to g/mL before using this calculator.
  3. Enter the mass in grams. If the mass is in kilograms, multiply by 1000 to convert it to grams. If it is in milligrams, divide by 1000. Keep track of the unit conversion rather than entering a number with an unstated unit.
  4. Enter the density in g/mL. Density must be greater than zero. If you have density in g/L, divide it by 1000 to obtain g/mL. If you have density in kg/m³, its numerical value is the same as g/L, so divide by 1000 to obtain g/mL. For example, 1000 kg/m³ = 1 g/mL.
  5. Calculate and read both outputs. The main answer is volume in liters. The second output is the same calculated volume in milliliters, which can make small sample volumes easier to interpret. The two values should satisfy 1 L = 1000 mL.
  6. Check whether the answer makes physical sense. Compare it with a known density or expected scale. For a density near 1 g/mL, a mass of 100 g corresponds to roughly 100 mL, or 0.1 L. A much larger density should produce a smaller volume for the same mass.
  7. Round only at the end. Keep extra digits through unit conversions, then round the final answer to match the precision of the mass and density data. More digits in a calculator display do not make an uncertain density more precise.

Common Mistakes

  • Trying to convert grams to liters with no density. Grams measure mass; liters measure volume. There is no universal grams-to-liters conversion factor for all substances.
  • Multiplying instead of dividing. The relationship is volume = mass ÷ density. Multiplying mass by density gives the wrong units and does not give volume.
  • Mixing density units. Entering a value in kg/m³ as though it were g/mL can make the answer wrong by a factor of 1000. Convert first and write down the units.
  • Using water’s density for every material. Water is close to 1 g/mL under ordinary room-temperature conditions, but other liquids, solids, mixtures, and solutions can have substantially different densities.
  • Confusing solute mass with solution volume. Dividing the mass of a dissolved solid by the density of the solvent does not calculate the finished solution volume. Dissolving can change the total volume; use the measured final volume or an appropriate solution density.
  • Reporting excessive precision. A result such as 0.1000 L is only justified if the inputs support that many significant digits. Treat it as a calculator display, not a claim about measurement accuracy.

Tips

  • Record density with its units and reference conditions, especially temperature, alongside the calculated result.
  • For a substance whose density changes with temperature, use the density at the sample’s temperature or state the approximation clearly.
  • Use the milliliter output for small volumes and the liter output for larger quantities; both come from the same calculation.
  • Keep the original measurements and conversion steps so another person can check the arithmetic.
  • If your goal is to prepare a solution at a specified concentration, use the required concentration and final-volume method. A mass-to-volume conversion by density alone does not determine how much solvent to add.

Troubleshooting

The calculator rejects my density. Density must be a positive number in g/mL. Check for a zero, negative value, missing decimal point, or an entry in different units.

The volume seems 1000 times too large or too small. Recheck whether the density was entered in kg/m³ or g/L rather than g/mL. Convert by dividing those numerical values by 1000 to get g/mL. Also check whether the mass was entered in grams rather than milligrams or kilograms.

The answer does not match a reference value. Confirm that the reference uses the same substance, mixture composition, state, and temperature. Then check the equation and conversion: mass ÷ density gives mL, and mL ÷ 1000 gives L.

I need the volume of a finished solution. This calculator can convert the mass of that solution if you know its density. It cannot infer final solution volume from the mass of solute alone; use a validated preparation method or measure the final volume.

Frequently Asked Questions

Can you convert grams directly to liters?
No. You need the material’s density to connect mass and volume. The conversion depends on what the sample is and, in some cases, its conditions.

What is the formula for grams to liters?
Liters = grams ÷ density in g/mL ÷ 1000. First, mass divided by density gives milliliters; dividing by 1000 converts them to liters.

How many liters is 1 gram?
It depends on density. At exactly 1 g/mL, 1 g occupies 1 mL, which is 0.001 L. A different density gives a different volume.

Can I use this for a dissolved chemical?
Only if you are converting the mass of a material whose relevant density is known. It does not calculate final solution volume from the mass of solute, because dissolving may change the total volume.

Does temperature affect grams-to-liters conversion?
Mass stays the same, but density and volume can change with temperature. Use density at the sample’s temperature when accuracy matters.

What if I only know the substance’s molar mass?
Molar mass relates mass to amount of substance, not directly to volume. You still need density for a liquid or solid, or additional information and an appropriate model for a gas.

Related

Formula used
in m | Mass | g | 100 | 0
in d | Density | g/mL | 1 | 0.000001
out v | Volume | L | m / d / 1000 | 4
out vm | 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

The whole Moles & Molar Mass section →