In a peroxide compound, oxygen typically has an oxidation number of -1. This means that each oxygen atom in the compound has gained one electron, resulting in a net negative charge of 1. This is different from the usual oxidation number of oxygen in most other compounds, which is -2.