Convert grams per liter (g/L) to molarity by dividing the mass concentration by the solute’s molar mass in grams per mole: mol/L = (g/L) ÷ (g/mol). Enter the solute mass, its molar mass, and the final solution volume to calculate molarity and millimolar concentration.
Formula
The general conversion from mass concentration to molarity is:
c = Cm / M
- c is molarity, in mol/L.
- Cm is mass concentration, in g/L.
- M is the solute’s molar mass, in g/mol.
The units cancel as (g/L) ÷ (g/mol) = mol/L. For a known mass and final solution volume, first calculate mass concentration: Cm = m / V, where m is solute mass in grams and V is final solution volume in liters. The calculator accepts volume in milliliters and converts it using V in liters = V in milliliters / 1000. Combining these expressions gives c = m / [M × (VmL / 1000)].
To express the answer in millimolar, use c in mol/L × 1000 = concentration in mM. One millimole per liter is one millimolar. The calculator’s first result is molarity; its second is the equivalent value in mM.
Worked Example
The example uses the calculator’s default inputs: 2.922 g of solute, a molar mass of 58.44 g/mol, and a final solution volume of 250 mL.
- Convert the final volume to liters: 250 mL / 1000 = 0.25 L.
- Find the amount of solute: 2.922 g / 58.44 g/mol = 0.05 mol.
- Divide moles by final volume: 0.05 mol / 0.25 L = 0.2000 mol/L.
- Convert to millimolar: 0.2000 mol/L × 1000 = 200.00 mM.
The result is 0.2000 mol/L, or 200.00 mM, at the calculator’s selected display precision.
Assumptions
- The input mass is the mass of the solute alone, and its molar mass is appropriate for the chemical form used.
- The entered volume is the final solution volume, not the amount of solvent added before dissolving.
- The calculation treats the stated mass, molar mass, and volume as exact input values; it does not estimate measurement uncertainty.
- This is a concentration conversion. It does not account for chemical reaction, dissociation, or changes in composition.
When to Use This Conversion
Use the conversion when a concentration is reported by mass but you need the amount of substance per unit volume. Molarity is useful in stoichiometry and solution calculations because chemical equations relate quantities in moles. A mass concentration alone does not give the number of moles unless the compound’s molar mass is known.
If the mass concentration is already given in g/L, use Cm / M directly. For example, if a solution contains 11.688 g/L of a compound with molar mass 58.44 g/mol, its molarity is 11.688 / 58.44 = 0.2000 mol/L. The calculator instead starts with mass and final volume, then performs the equivalent calculation through those inputs.
For bench work, follow your lab method, the safety data sheet (SDS), and your supervisor.
Choosing the Correct Molar Mass
Molar mass depends on the substance’s molecular formula and chemical form. For a pure compound, add the atomic masses of every atom in its formula, counting subscripts. For instance, water, H2O, has a molar mass of about 18.015 g/mol from two hydrogen atoms and one oxygen atom. Use a suitable reference value for the specific compound rather than using a familiar molar mass from another substance.
Pay attention to hydrates, salts, and mixtures. A hydrated salt includes water molecules in its formula and therefore has a different molar mass from the anhydrous salt. Likewise, a salt’s molar mass is for the whole formula unit, not just one ion. If a reagent’s label gives a purity or assay, the simple calculation assumes the stated mass is entirely the compound; correcting for purity requires reliable purity information and a separate calculation.
Common Mistakes and Limits
- Using the wrong direction: To go from g/L to mol/L, divide by g/mol. Multiplying by molar mass moves in the opposite direction.
- Mixing up units: The formula expects g/L and g/mol. Convert mg/L to g/L by dividing by 1000, or use consistent units throughout.
- Entering solvent volume: Solution volume is the final volume after the solute is dissolved and the solution is brought to its intended volume. It is not necessarily the volume of solvent initially used.
- Rounding too soon: Keep sufficient digits in intermediate calculations and round the final answer to match the precision of the measurements.
- Confusing molarity with mass concentration: Molarity is mol/L; mass concentration is g/L. Their numerical values are not generally interchangeable.
The arithmetic assumes the input describes the actual solution. It cannot determine whether a solid dissolved completely, whether a reaction changed the solute, or whether the measured final volume is accurate. At temperatures or conditions where volume changes matter, the reported molarity applies to the solution volume at the relevant conditions. For mixtures without a single defined molar mass, one molarity value may not be meaningful unless the concentration is specified for a particular component.
Frequently Asked Questions
What is the formula to convert g/L to molarity?
Divide the mass concentration in g/L by the molar mass in g/mol. The result is mol/L: molarity = (g/L) / (g/mol).
Can I convert g/L to molarity without molar mass?
No. The same mass per liter can represent different numbers of moles for substances with different molar masses. Identify the compound and obtain its molar mass first.
How do I convert mg/L to mol/L?
First convert mg/L to g/L by dividing by 1000, then divide by molar mass in g/mol. Equivalently, divide the value in mg/L by 1000 times the molar mass.
Is g/L the same as mol/L?
No. g/L measures mass per volume, while mol/L measures amount of substance per volume. Convert between them using the relevant molar mass.
How do I convert molarity back to g/L?
Multiply molarity in mol/L by molar mass in g/mol. The units give g/L: mass concentration = molarity × molar mass.
Related
Formula used
in m | Mass of solute | g | 2.922 | 0 in mm | Molar mass | g/mol | 58.44 | 0.001 in v | Final solution volume | mL | 250 | 0.001 out c | Molarity | mol/L | m / mm / (v / 1000) | 4 out cmm | Concentration in millimolar | mM | c * 1000 | 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
- MD Calc I:T Ratio Calculator and Explanation0.0500 ratio
- Oxygen Mass Number: Isotope Values Explained16 nucleons
- Mass-to-Light Ratio: Meaning and Calculation1.000 M☉/L☉
- M/z Ratio in Mass Spectrometry: Meaning and Calculation1,000.00 Th
- Mass Fraction to Molar Fraction Calculator
- K2 Molar Mass Calculation Steps and Formula78.1966 g/mol