Two definitions
Molarity c = moles of solute ÷ litres of solution
Molality b = moles of solute ÷ kilograms of solvent
Molarity refers to the volume of the finished solution, which changes slightly with temperature. Molality refers to the mass of the solvent alone, which does not. More on molarity in what is molarity.
Converting with density
b = 1000 × c ÷ (1000 × ρ − c × M)
c = 1000 × b × ρ ÷ (1000 + b × M)
Here ρ is the density of the solution in g/mL and M the molar mass in g/mol. One litre of 1 M NaCl with a density of 1.037 g/mL weighs 1037 g, of which 58.44 g is NaCl, so the water is 1037 − 58.44 = 978.56 g. The molality is 1 ÷ 0.97856 = 1.022 mol/kg.
Density is also what links molarity with percent by mass; see the density explainer and the w/w to molarity calculator.
When the difference matters
For dilute water solutions, below about 0.1 M, the two numbers differ by less than 1 % and are often used interchangeably. Molality is the quantity behind osmolality (mOsm/kg), which is compared with osmolarity in the osmolarity explainer.
Where the calculation goes wrong
- Dividing by the mass of the solution instead of the mass of the solvent.
- Using a density in g/L or kg/m³ in a formula that expects g/mL.
- Assuming a density of 1 g/mL for a concentrated solution.
Common questions
- Is 1 M the same as 1 mol/kg?
- Not exactly. 1 M NaCl is about 1.022 mol/kg, because a litre of the solution contains less than a kilogram of water.
- Why is molality independent of temperature?
- It is based on masses, and masses do not change with temperature; volumes do.
- What do I need to convert molarity to molality?
- The density of the solution and the molar mass of the solute.
