For example, in NO3– the nitrogen is assigned an oxidation number of +5 and each oxygen an oxidation number of –2.