Relative formula mass (Mr) is mass of a molecule or compound (on a scale compared to carbon-12).

It is calculated by adding up the relative atomic masses (Ar) of all the atoms present in the formula.

Example:

The relative formula mass (Mr) for water (H2O) is 18.

Water                     = H2O

Atoms present      = (2 x H) + (1 x O)

Mr                           = (2 x 1) + (1 x 16) = 18