When iron rusts, it forms
iron oxide, specifically
hydrated iron(III) oxide, also known as
ferric oxide. This is a reddish-brown compound with the chemical formula
Fe₂O₃·nH₂O, where "n" represents the variable number of water molecules associated with the iron oxide.