This is my understanding of oxidation states/numbers:
oxidation states essentially means: pretend like covalent bonds are ionic bonds and give them charges.
Yeah, you can do it that way if it helps you. Although, that definition is a bit too narrow I think. Oxidation states can be defined even if there is no covalent bond in it.
For example, one can determine the oxidation state of copper atoms in copper metal (equals to 0), even though there is no covalent bond. You have metallic bonds.
To determine oxidation states, you consider that atoms with higher electronegativity keep electrons for themselves (gain electrons) and lower electronegative atoms lose electrons. Then, you look at how many electrons have been gained, how many lost.
For example, water H
2O.
Oxygen is more electronegative than hydrogen, so oxygen "keeps" electrons all for itself: O
2- and 2 H
+.
Oxygen has gained 2 extra electrons, so its oxidation state is -II.
Each hydrogen has lost 1 electron, so theirs oxidation states are +I.
Second example, OH
-.
Oxygen already has one electron, which explains the - charge on this anion. Then, it grabs another electron from the hydrogen
2 electron gained. Oxygen has oxidation number -II.
Similarly, hydrogen is +I.
Oxygen has ON of -2 because that's the way it is defined
Well. What about hydrogen peroxide H
2O
2? I wonder about the oxidation number of oxygen... gniak gniak