In the compound Co2O3, cobalt has an oxidation number of 3, while oxygen's oxidation number is -2.
An oxidation number is a number assigned to an element in chemical combination that represents the number of electrons lost (or gained, if the number is negative) by an atom of that element in the compound.