Works on this device
Oxidation Number Calculator
Type a formula or an ion. The calculator uses the oxidation number rules in order and shows which rule gave each number. Where the rules cannot decide, it says so.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use this calculator
- Type the formula, for example
H2SO4,KMnO4orCH4. - For an ion, add the charge at the end after ^ or a space:
SO4^2-,NH4^+,Fe 3+,Cr2O7 2-. Signs alone also work after a letter or a bracket:OH-,Na+,[Fe(CN)6]4-. - If you already know the oxidation number of an element, type it in the second box, for example
H=-1. - Choose Calculate. The table shows each element, the rule used and the sum.
The rules, in order
An earlier rule wins over a later one. The last rule, the sum rule, finds the element that is left.
- An element on its own (Fe, O2, S8) is 0. An ion of one element (Fe 3+, O2 2-) shares its charge between its atoms.
- Fluorine is −1 in its compounds.
- Group 1 metals (Li, Na, K, Rb, Cs) are +1. Group 2 metals (Be, Mg, Ca, Sr, Ba) are +2.
- Hydrogen is +1. In a metal hydride, where every other element is a metal (NaH, CaH2, LiAlH4), it is −1.
- Oxygen is −2. With fluorine it is not (OF2 has oxygen +2), and in peroxides (H2O2, Na2O2) and superoxides (KO2) the sum rule gives −1 and −1/2.
- Chlorine, bromine and iodine are −1 when the compound has no oxygen and no lighter halogen (NaCl, FeCl3). Otherwise they are found by the sum rule (HClO4, ICl).
- The oxidation numbers of all atoms add up to the charge: 0 for a neutral compound, the ion charge for an ion.
Worked example: sulfur in H2SO4
Hydrogen is +1 (rule 4) and oxygen is −2 (rule 5). The compound is neutral, so 2 × (+1) + S + 4 × (−2) = 0. Then S = 0 − (2 − 8) = +6.
For the dichromate ion Cr2O7 2-: 2 × Cr + 7 × (−2) = −2, so the two chromium atoms together are +12 and each is +6 on average.
For Fe3O4: 3 × Fe + 4 × (−2) = 0, so Fe is +8/3 on average. In the real crystal one iron atom is +2 and two are +3.
When the rules cannot decide
- Average oxidation numbers. When one element has several atoms, the sum rule gives their average. The atoms may differ: in ethanol (C2H6O) one carbon is −3 and the other −1, while the average is −2.
- Two or more unknown elements. In CuFeS2 or [Fe(CN)6]4- no simple rule fixes the metal or the other atoms, so the tool says "not decided". Type a number you know, for example
C=+2, N=-3for cyanide, and the rest follows. - Hydrogen with boron or silicon. In NaBH4 or SiH4 the simple rules do not settle the sign of hydrogen. Type
H=-1if your course uses that value.
Limits you should know
- The rules work from the formula only. They cannot see the structure, so atoms of one element in different places get the same (average) number.
- A number written straight before a sign, such as
Fe3+orNH4+, is unclear: it can be a number of atoms or the size of the charge. WriteFe^3+orNH4^+instead. - This tool does not balance redox equations. For that, use the Chemical Equation Balancer.