What Is the Molarity to g/L Calculator?
This tool converts a solution's molarity (moles per liter, mol/L) into mass concentration expressed in grams per liter (g/L). Molarity tells you how many moles of solute are dissolved in one liter of solution, while mass concentration tells you how many grams. To switch between them you only need the solute's molar mass.
How to Use It
Enter the molarity of your solution in mol/L, then enter the molar mass of the dissolved compound in g/mol (the molar mass is the sum of the atomic masses of every atom in the formula). The calculator instantly returns the concentration in grams per liter.
The Formula Explained
The conversion is a direct multiplication:
$$\text{Concentration (g/L)} = \text{Molarity (mol/L)} \times \text{Molar Mass (g/mol)}$$
Because 1 mole of a substance weighs exactly its molar mass in grams, multiplying the number of moles per liter by the grams-per-mole gives grams per liter. The units cancel cleanly: \((\text{mol/L}) \times (\text{g/mol}) = \text{g/L}\).
Worked Example
Suppose you have a 0.5 mol/L solution of sodium chloride (NaCl). The molar mass of NaCl is about 58.44 g/mol. Then:
$$\text{g/L} = 0.5 \times 58.44 = 29.22 \text{ g/L}$$
So each liter of that solution contains 29.22 grams of NaCl.
Molar Masses of Common Laboratory Compounds
Use these approximate molar masses (g/mol) as the second input of the calculator. Values are rounded to two decimals and are for the anhydrous forms listed. Hydrates have a higher molar mass, so check your reagent label.
| Compound | Formula | Molar mass (g/mol) |
|---|---|---|
| Sodium chloride | NaCl | 58.44 |
| Potassium chloride | KCl | 74.55 |
| Sodium hydroxide | NaOH | 40.00 |
| Hydrogen chloride (hydrochloric acid) | HCl | 36.46 |
| Sulfuric acid | H2SO4 | 98.08 |
| Nitric acid | HNO3 | 63.01 |
| Acetic acid | CH3COOH | 60.05 |
| Glucose | C6H12O6 | 180.16 |
| Calcium chloride (anhydrous) | CaCl2 | 110.98 |
| Sodium carbonate (anhydrous) | Na2CO3 | 105.99 |
| Potassium permanganate | KMnO4 | 158.03 |
| Ammonia | NH3 | 17.03 |
| Sodium bicarbonate | NaHCO3 | 84.01 |
| Magnesium sulfate (anhydrous) | MgSO4 | 120.37 |
Same Molarity, Different Solutes
Molarity counts moles of particles per liter, not mass. The same molarity therefore gives very different mass concentrations depending on the molar mass: \(\text{g/L} = \text{mol/L} \times \text{g/mol}\).
| Solute | Molar mass (g/mol) | 1 mol/L in g/L | 0.1 mol/L in g/L |
|---|---|---|---|
| HCl | 36.46 | 36.46 | 3.646 |
| NaCl | 58.44 | 58.44 | 5.844 |
| H2SO4 | 98.08 | 98.08 | 9.808 |
| Glucose | 180.16 | 180.16 | 18.016 |
Example: for 0.1 mol/L glucose, \(0.1 \times 180.16 = 18.016\) g/L. Note that this is the mass of solute per liter of solution, not per liter of solvent added.
FAQ
Where do I find the molar mass? Add up the atomic masses (from the periodic table) of every atom in the chemical formula. For example, water (H₂O) = \(2(1.008) + 16.00 \approx 18.02\) g/mol.
How do I convert g/L back to molarity? Divide the mass concentration by the molar mass: \(M = (\text{g/L}) \div \text{molar mass}\).
Does temperature matter? Molarity is defined per liter of solution and can vary slightly with temperature because volume changes, but for most lab work this conversion is treated as temperature-independent.