Unless oxygen is combined with fluorine or isolated from other atoms, the oxidation number of oxygen atoms is always taken as -2. This gives a total oxidation number charge of -10 for the five oxygen atoms in N2O5. To maintain electrical neutrality as required for all compounds, the two nitrogen atoms must have a total oxidation charge of +10, so that each of the two nitrogen atoms has an oxidation number of +5.