Consider V dm3 (litres) of a solution
containing W2 mass of a solute of molar mass
M2 at a temperature T.
Number of moles of solute, n2 \(=\frac{W_2}{M_2}\)
The osmotic pressure π is given by,

By measuring osmotic pressure of a solution, the molar mass of a solute can be calculated. Since osmotic pressure can be measured more precisely, it is widely used to measure molar masses of the substances.