How to calculate molarity
Molarity tells you how strong a solution is: how many moles of solute are dissolved in each litre of solution. Dissolve 58.44 g of table salt — exactly 1 mole of sodium chloride — in water and top the solution up to 1 litre, and you have a 1 M solution. The whole calculation is one division, and you can do it with two numbers: the moles of solute and the volume of the solution in litres.
The formula is M = n ÷ V, where M is molarity in mol/L, n is the moles of solute, and V is the volume of the finished solution in litres. The Molarity Calculator does this sum for you, but knowing the steps means you can check any answer it gives you.
The three steps
- Find the moles of solute. If you are given moles, use that number. If you are given grams, divide the mass by the molar mass: moles = mass ÷ molar mass. For table salt the molar mass is 58.44 g/mol, so 5.844 g is 5.844 ÷ 58.44 = 0.1 mol.
- Measure the volume in litres. The volume is the finished solution, after the flask is topped up — not just the water you started with. If the volume is given in millilitres, divide by 1,000: 500 mL is 0.5 L.
- Divide moles by litres. The answer is the molarity, written with the unit M, which means mol/L.
Worked example: table salt
You dissolve 5.844 g of table salt and top the solution up to 500 mL. First find the moles: 5.844 ÷ 58.44 = 0.1 mol. Then turn the volume into litres: 500 mL is 0.5 L. Then divide: 0.1 ÷ 0.5 = 0.2 M. Each litre of this solution holds 0.2 mol of salt.
M = n ÷ V n = 5.844 ÷ 58.44 = 0.1 mol V = 500 mL = 0.5 L M = 0.1 ÷ 0.5 = 0.2 M
A second example: the tool’s own numbers
Open the Molarity Calculator and it already holds a worked example: 2 mol of solute in 4 L of solution. No conversion is needed this time, so the sum is one step: 2 ÷ 4 = 0.5 M. The same answer comes from 0.25 mol in 0.5 L — 0.25 ÷ 0.5 = 0.5 M — because halving both numbers leaves the ratio unchanged.
The common mistake
The most common mistake is dividing by millilitres as if they were litres. For the salt example above, typing 500 instead of 0.5 gives 0.1 ÷ 500 = 0.0002 M — a thousand times too small, and plainly wrong for a solution you can taste. The second most common mistake is putting grams straight into the formula: 5.844 g is not 5.844 mol, it is 0.1 mol, and only the mole number belongs on top of the line.
Frequently asked questions
Frequently asked questions
What does 1 M actually mean?
Each litre of the solution contains 1 mole of solute, spread evenly through it. A 1 M salt solution holds 58.44 g of salt in every litre.
Is the volume the water or the solution?
The solution: the total volume after the solute is dissolved and the flask is topped up, not the water alone.
How do I turn grams into moles?
Divide the mass by the molar mass. For table salt the molar mass is 58.44 g/mol, so 5.844 g is 0.1 mol.
What if the volume is zero?
Dividing by zero has no answer. The volume must be above zero, even a small number like 0.05 L.
More guides on the Molarity Calculator
- Molarity formula explained simply
- Molarity: worked example step by step
- Molarity for beginners
- Common mistakes when calculating molarity
- Molarity vs molality: what's the difference
- How to use a molarity calculator
- Molarity quick reference table
- Molarity in real life: everyday examples
- Molarity practice questions with answers
Try the Molarity Calculator — free, in your browser.