The chemical formula for rust is Fe2O3. This chemical equation represents the reaction: 4Fe + 3O2 → 2Fe2O3.
The formation of rust requires iron, water and oxygen. Although it's a complex process, the chemical equation is simply 4Fe + 3O2 + 6H2O → 4Fe(OH)3.