Molarity formula explained simply
The molarity formula is short: M = n ÷ V. It says that molarity is the moles of solute divided by the litres of solution. One mole of salt in half a litre of solution is 2 M; the same mole in 4 litres is 0.25 M. Every part of those answers comes straight from the three letters in the formula.
The formula looks plain, but each letter carries one clear job, and the order matters: moles on top, litres underneath. This guide explains each letter, why the unit comes out as mol/L, and how to turn the formula around when you need a different answer.
What each letter means
- M — molarity, the answer, in moles per litre (mol/L), usually written as M. It tells you how many moles of solute each litre of the solution holds.
- n — moles of solute, the amount of the dissolved substance, in mol. If you are given grams, divide by the molar mass first: n = mass ÷ molar mass.
- V — volume of solution, in litres. This is the volume of the finished solution, after topping up — not the volume of water you started with.
Why the units work out as mol/L
Moles are a count of particles and litres are a volume, so dividing one by the other gives moles per litre — mol/L, written M. Read 0.4 M as “0.4 moles in every litre.” The unit is a concentration: it says how crowded the solute is, not how much of it there is in total. A thimble of 2 M solution and a bucket of 2 M solution have the same molarity, but very different amounts of solute.
Worked example: table salt
You dissolve 11.69 g of table salt and top the solution up to 500 mL. First find the moles: 11.69 ÷ 58.44 = 0.2 mol, because the molar mass of sodium chloride is 58.44 g/mol. Then turn the volume into litres: 500 mL is 0.5 L. Then divide: 0.2 ÷ 0.5 = 0.4 M.
M = n ÷ V n = 11.69 ÷ 58.44 = 0.2 mol V = 500 mL = 0.5 L M = 0.2 ÷ 0.5 = 0.4 M
Rearranging the formula
The same formula answers two other questions. To find the moles, use n = M × V: a 0.5 M solution of 2 L holds 0.5 × 2 = 1 mol of solute. To find the volume, use V = n ÷ M: to hold 0.25 mol at 0.5 M you need 0.25 ÷ 0.5 = 0.5 L of solution. The Molarity Calculator works with the first form, so use it to check answers from the rearranged ones.
The common mistake
People put grams on top of the line instead of moles. It only works when the mass happens to equal one mole. Dissolve 58.44 g of glucose — whose molar mass is 180.16 g/mol, not 58.44 — in 1 L of water and the molarity is 58.44 ÷ 180.16 = 0.324 M, not 1 M. The same mass of two different substances gives different molarities, because a mole of each weighs a different amount.
Frequently asked questions
Frequently asked questions
What is the difference between M and mol/L?
Nothing. M is shorthand for mol/L. A 0.5 M solution is a 0.5 mol/L solution.
Do I always need the molar mass?
Only when you start from grams. If the question gives you moles already, divide straight away.
Can molarity be more than 1?
Yes. A 2 M solution holds 2 moles in every litre. Table salt dissolves up to about 6 M in water at room temperature.
Why do I divide by litres and not millilitres?
Because the unit M means moles per litre. Dividing by millilitres gives moles per millilitre, a thousand times bigger, which is not the molarity.
More guides on the Molarity Calculator
- How to calculate molarity
- 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.