Input the mass of solute and the volume of solvent to calculate the molarity (M, in moles/liter) of several common water-soluble salts. The number of moles equals the mass divided by the molecular weight MW. In highly accurate work, an alternative measure of concentration, molality, can be used. The molality is given by moles of solute per kg of solvent and so does not depend on the variation of solution volume with temperature or with addition of solute. In this case, the solvent volume in mL is reinterpreted as solvent mass in g.