Molarity: Molarity (M) is defined as number of moles of solute dissolved in one litre (or one cubic decimetre) of solution,
Molality: Molality (m) is defined as the number of moles of the solute per kilogram (kg) of the solvent and is expressed as:
molality are independent of temperature, whereas molarity is a function of temperature. This is because volume depends on temperature and mass does not.