Molarity is the standard measure of concentration, moles per litre of solution. How it is defined, calculated and used when making and using solutions.
Molarity, written M, is the number of moles of dissolved substance in one litre of finished solution. A 1 molar solution of sodium chloride contains 58.44 grams of the salt made up to exactly one litre with water. The phrase made up to matters: the volume is measured after dissolving, in the final solution, not as the volume of water added, because dissolving changes volumes slightly. Molarity is the default concentration unit in laboratories because reactions in solution are counted in moles, and a molarity times a volume gives moles directly, which is exactly what titration and stoichiometry calculations need.
The calculation has two steps. First find the moles: divide the mass used by the molar mass. Then divide those moles by the volume of solution in litres. Dissolving 5.85 grams of sodium chloride, which is 0.1 moles, and making the solution up to 500 millilitres, half a litre, gives 0.1 divided by 0.5, a 0.2 molar solution. Volumes given in millilitres cause most mistakes, so convert to litres before dividing. The molarity calculator on the tools page takes mass, molar mass and volume and returns both the moles and the concentration, which makes the intermediate step easy to check.
Because molarity is built on volume, and liquids expand when warmed, a solution's molarity drifts slightly with temperature. A flask made up carefully at 20 degrees holds a fractionally lower concentration on a hot afternoon. For school and most laboratory work the effect is far too small to matter, but it is the reason precise analytical work is done at a stated temperature, and the reason molality, which is built on mass instead of volume, exists for work where temperature varies. For nearly every purpose, though, molarity remains the working unit, and fluency with it unlocks dilution, titration and solution stoichiometry. One more habit protects nearly every molarity answer: check that the volume belongs to the solution and not to the solvent. Adding 500 millilitres of water to a salt does not make exactly 500 millilitres of solution, because the dissolved particles take up room of their own and the liquid can even contract slightly. That is why volumetric work uses a flask with a mark: dissolve in part of the water, then fill exactly to the line. The difference is small in school work and decisive in analytical work, and it explains why careful procedures always say made up to the mark rather than mixed with a stated volume of water.
The calculator that goes with this guide is ready on the tools page.
Open the molarity calculator