The oxidation state of oxygen is −2 in nearly every compound it is in. In a few compounds, the oxidation state is −1, such as peroxides. Compounds of oxygen with other oxygen states are very uncommon.