The formulae of metal oxides can be found experimentally by reacting a metal with oxygen and recording the mass changes.

When magnesium is burned in air, it reacts with oxygen (O2) to form magnesium oxide (MgO).
• Weigh a crucible and lid
• Place the magnesium ribbon in the crucible, replace the lid, and reweigh
• Calculate the mass of magnesium
   (mass of crucible + lid + Magnesium – mass of crucible + lid)
• Heat the crucible with lid on until the magnesium burns
   (lid prevents magnesium oxide escaping therefore ensuring accurate results)
• Lift the lid from time to time (this allows air to enter)
• Stop heating when there is no sign of further reaction
   (this ensures all Mg has reacted)
• Allow to cool and reweigh
• Repeat the heating , cooling and reweigh until two consecutive masses are the same
   (this ensures all Mg has reacted and therefore the results will be accurate)
• Calculate the mass of magnesium oxide formed (mass of crucible + lid + Magnesium oxide – mass of crucible + lid)