The first step is to calculate the mass of one mole of the compound by summing up the relative atomic masses of the constituent atoms Eg 1 mole of calcium carbonate CaCO3 will have a mass of 40  12  48  100g