Formula
Mass concentration: Cm = m ÷ V, reported here in g/L.
When molar mass is supplied, amount of substance is n = m ÷ Mm and molarity is M = n ÷ V = m ÷ (Mm × V), reported in mol/L.
- m = solute mass in grams (g).
- V = final total solution volume in litres (L), not the volume of solvent alone.
- Mm = molar mass in g/mol for the same solute.
- Cm = mass concentration (g/L); M = molarity (mol/L).
Worked example — sodium chloride illustration
Use 5.00 g solute, final solution volume 1.00 L and molar mass 58.44 g/mol.
- Mass concentration: 5.00 g ÷ 1.00 L = 5.00 g/L.
- Amount of solute: 5.00 g ÷ 58.44 g/mol ≈ 0.08556 mol.
- Molarity: 0.08556 mol ÷ 1.00 L ≈ 0.08556 mol/L.
This is a calculation example only, not a mixing or laboratory-preparation instruction.
How to use this calculator
- Enter the solute mass in grams.
- Enter the measured final solution volume in litres.
- Leave molar mass blank when you only need g/L. Enter the correct molar mass in g/mol to also calculate mol/L.
- Press Calculate and inspect the output labels and units. Change one value at a time to compare scenarios.
Assumptions and limitations
- Mass and volume must describe the same solute and final solution. Do not use solvent volume in place of final solution volume.
- Molarity is returned only when a positive molar mass is provided. That molar mass must correspond to the chemical species represented by the solute mass.
- The page does not identify chemicals, recommend chemical handling, prescribe preparation steps, or model reactions, purity, dissociation, temperature-related volume changes or non-ideal solution effects.
- Use appropriate laboratory methods, validated measurements and qualified supervision for real laboratory or industrial work.
Related chemistry learning
For the molarity definition and worked examples converting solute mass through molar mass, see OpenStax Chemistry 2e, Section 3.3: Molarity.