An oxidation number is a formal count of how far an atom in a compound has lost (or gained) electrons. ## The basic rules Atoms in a pure element have oxidation number 0. In an ion it equals the ion's charge. In compounds, oxygen is usually assigned −2 and hydrogen +1, with the sum over all atoms matching the compound's overall charge. ## Elements with several values Transition metals take multiple oxidation numbers. Iron is typically +2 or +3, with different colours and properties for each. Manganese ranges from −3 to +7, and its compounds are famous for changing colour with the value. ## A bookkeeping device Oxidation numbers are not literal charges. They are a bookkeeping convention for assigning electrons, used to organise redox reactions.