Molarity Calculator
Molarity is the concentration of a solution: the number of moles of solute dissolved in each litre of solution. It is measured in moles per litre (mol/L), and the unit is written as M. The formula is M = moles of solute ÷ litres of solution.
This molarity calculator finds the concentration from moles and volume, or from mass and molar mass. Type the numbers in, press Calculate, and the answer appears with the working shown underneath.
How this calculator works
A mole is the amount of a substance that contains 6.022 × 10²³ particles (Avogadro’s number). One mole of sodium chloride (NaCl) weighs 58.44 g, which is its molar mass.
The formula is M = n ÷ V, where n is the moles of solute and V is the volume of the solution in litres. If you know the mass instead, first find the moles with moles = mass ÷ molar mass, then divide by the volume.
Molarity is measured in moles per litre (mol/L) and written as M. So 1 M means 1 mol per litre, and 0.5 M means half a mole per litre.
Worked examples
0.5 mol in 1 litre
0.5 mol of solute in 1 L gives a molarity of 0.5 M. The calculation is M = 0.5 mol ÷ 1 L = 0.5 mol/L.
1 mol in 2 litres
1 mol of solute in 2 L gives a molarity of 0.5 M. The calculation is M = 1 mol ÷ 2 L = 0.5 mol/L.
58.44 g of NaCl in 1 litre
58.44 g of sodium chloride (NaCl) in 1 L gives a molarity of 1 M. First find the moles: 58.44 g ÷ 58.44 g/mol = 1 mol. Then M = 1 mol ÷ 1 L = 1 mol/L.
Frequently asked questions
What is molarity?
Molarity is the concentration of a solution, measured in moles of solute per litre of solution (mol/L), and written as M. A 1 M solution contains 1 mole of solute in each litre.
How do I calculate molarity?
Divide the moles of solute by the litres of solution: M = moles ÷ litres. For example, 0.5 mol in 1 L gives 0.5 mol ÷ 1 L = 0.5 M.
What is the difference between molarity and molality?
Molarity is moles of solute per litre of solution; molality is moles of solute per kilogram of solvent. Molarity depends on the volume of the solution, so it changes with temperature, while molality does not.
How do I find moles from molarity?
Rearrange the formula: moles = molarity × litres of solution. For a 0.5 M solution, 2 L contains 0.5 × 2 = 1 mol.
How do I calculate molarity from mass?
First find the moles by dividing the mass by the molar mass, then divide by the litres of solution. For 58.44 g of NaCl (molar mass 58.44 g/mol) in 1 L, the moles are 58.44 ÷ 58.44 = 1 mol, and the molarity is 1 mol ÷ 1 L = 1 M.
What unit is molarity measured in?
Molarity is measured in moles per litre (mol/L), usually written as M. So 0.5 M means 0.5 mol/L.
