The oxidation state of an element in a compound is the hypothetical charge that an atom would have if all bonds to atoms of different elements were 100% ionic.