molecalculator

Moles & Molar Mass

Grams per Liter Conversion Calculator and Formula

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

The calculator on this page is switched off while it is checked. The formula is below, and the worked example shows how to do the sum by hand.

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.

This calculator converts a mass of solute and a final solution volume into grams per liter (g/L), or converts a g/L concentration and volume into the required solute mass. Enter the known values in grams and liters; the calculator returns the corresponding concentration or mass, with milligrams per liter as a helpful equivalent.

Formula

Grams per liter is mass divided by the final volume of solution:

C = m / V

  • C is concentration in grams per liter (g/L).
  • m is solute mass in grams (g).
  • V is final solution volume in liters (L).

To find the mass when concentration and volume are known, rearrange the equation: m = C × V. The calculator’s first result shows the requested quantity selected in the drop-down: g/L in concentration mode, or grams in mass mode. Its second result expresses concentration in milligrams per liter, using 1 g = 1,000 mg.

Worked Example

The defaults select concentration mode, with a mass of 5 g and a final volume of 2 L:

C = m / V = 5 g / 2 L = 2.500 g/L

Convert to milligrams per liter:

2.500 g/L × 1,000 mg/g = 2,500 mg/L

The calculator therefore reports 2.500 g/L and 2,500.000 mg/L. The conversion factor changes the mass unit; it does not change the volume.

Assumptions

  • The volume entered is the final solution volume, not the volume of solvent added before dissolving the solute.
  • The specified mass is the mass of the substance being counted as solute.
  • The calculation is a mass-per-volume conversion; it does not assume a particular chemical reaction or dissolved-particle behavior.
  • Values are treated as exact for the arithmetic, though actual measurements have uncertainty.

How the Conversion Works

A concentration in g/L states how many grams of a substance are present in each liter of the complete solution. For example, 2.5 g/L means 2.5 g of solute per 1 L of solution. It does not mean 2.5 g is added to one liter of solvent and then ignored if the final volume changes.

For the basic conversion, make sure the mass and volume units match the equation. If a mass is given in milligrams, convert it to grams by dividing by 1,000. If a volume is in milliliters, convert it to liters by dividing by 1,000. Equivalently, when both are given in mg and mL, their numerical ratio is also the concentration in g/L: for instance, 250 mg in 100 mL is 2.5 g/L. This shortcut works because both units carry the same factor of 1,000.

For a volume stated in milliliters and a mass in grams, the direct expression is C (g/L) = m (g) × 1,000 / V (mL). Thus, 0.8 g in 400 mL gives 0.8 × 1,000 / 400 = 2 g/L.

Converting Between Common Units

Grams per liter and milligrams per liter differ by a factor of 1,000:

  • 1 g/L = 1,000 mg/L.
  • 1 mg/L = 0.001 g/L.
  • 0.025 g/L = 25 mg/L.
  • 3,400 mg/L = 3.4 g/L.

For water-like solutions, people sometimes treat mg/L as approximately equal to parts per million (ppm). That approximation relies on density near 1 kg/L and is not universally valid. In a solution with a substantially different density, mg/L and ppm by mass are not interchangeable without accounting for density. Also distinguish g/L from percent by mass: g/L measures mass per solution volume, while mass percent compares solute mass with total solution mass.

Choosing the Right Volume and Inputs

Use the volume of the finished solution. If a recipe or measurement gives 500 mL of final solution, enter 0.500 L. If you dissolve material in some solvent and then bring the mixture to a final volume of 500 mL, the relevant volume is still 500 mL. The initial amount of solvent may be less than that because dissolving the solute can change the total volume.

Check what the stated mass represents. A material may contain water, impurities, or another component, so its total weighed mass may not equal the mass of the active solute. If a reliable purity fraction is supplied, the solute mass is the weighed mass multiplied by that fraction. Do not apply a purity correction unless the data support it.

For a target concentration, multiply the concentration by the final volume. For example, a target of 4 g/L in 0.250 L corresponds to 4 × 0.250 = 1 g. This gives the solute mass implied by the arithmetic, not instructions for handling any particular chemical. For bench work, follow your lab method, the safety data sheet (SDS) and your supervisor.

Common Mistakes and Limits

  • Mixing up mL and L: 100 mL is 0.100 L, not 100 L. A missed factor of 1,000 produces a concentration error of the same factor.
  • Using solvent volume: g/L uses final solution volume. If the final volume differs from the solvent volume, use the final value.
  • Confusing concentration with total mass: a concentration alone does not tell you how many grams are present until the solution volume is known.
  • Rounding too early: keep extra digits during intermediate calculations, then round the final result to match the precision of the measurements.
  • Assuming g/L is molarity: g/L is a mass concentration. Molarity is moles per liter and requires the substance’s molar mass to convert between them.

The equation is a straightforward ratio, but it cannot establish whether a solution is homogeneous, whether a substance fully dissolves, or whether a reported mass and volume are accurate. It also does not account for temperature-related volume changes or chemical transformations. Those may matter in a specific measurement method, even though they are outside the basic unit conversion.

Frequently Asked Questions

How do you convert grams to grams per liter?
Divide the number of grams by the final solution volume in liters. For example, 6 g in 3 L is 6 / 3 = 2 g/L.

How many mg/L are in 1 g/L?
There are 1,000 mg/L in 1 g/L, because one gram contains 1,000 milligrams.

How do I convert mg/mL to g/L?
The numerical value is the same: 1 mg/mL equals 1 g/L. The numerator and denominator each change by a factor of 1,000 when converting mg/mL to g/L.

Is g/L the same as mol/L?
No. g/L measures mass per volume, while mol/L measures amount of substance per volume. To convert, divide g/L by the substance’s molar mass in g/mol.

Do I use the volume of water or the final solution?
Use the final solution volume. If the finished solution is brought to 1 L, use 1 L even if less than 1 L of solvent was used initially.

Related

Formula used
in m | Solute mass | g | 5 | 0
in v | Final solution volume | L | 2 | 0
in c | Concentration | g/L | 2.5 | 0
sel mode | Calculate | Concentration from mass and volume=1, Mass from concentration and volume=2
out result | Result | g/L or g | (mode=1) * (m / v) + (mode=2) * (c * v) | 3
out mgL | Equivalent concentration | mg/L | (mode=1) * (m / v * 1000) + (mode=2) * c * 1000 | 3

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 →