Calculator AI Hub
Menu

Oxidation Number Calculator

This oxidation number calculator finds the oxidation state of each element in a formula and the rule that decides it. Peroxides, metal hydrides, polyatomic ions and mixed-valence compounds are handled, and the calculator says when a formula alone is not enough to decide.

Chemistry · RedoxUpdated Sources cited

Write charges with ^: SO4^2-, Fe^3+ (NH4+ and OH- also work).
Examples:

Result

KMnO₄

Oxidation state of each element
ElementAtomsOxidation state
K1+1
Mn1+7
O4−2
Assumptions behind this result
  • Oxidation states follow the IUPAC convention of assigning bonding electrons to the more electronegative atom.

Step-by-step solution

  1. Step 1: Apply the standard rules

    Group 1 metals are always +1 in compounds. Oxygen is usually −2.

    K:1,O:−2\text{K}: 1,\quad \text{O}: -2
  2. Step 2: Solve for Mn

    The oxidation states must add up to the overall charge of 0.

    (1)+(x)+4(−2)=0⇒x=7(1) + (x) + 4(-2) = 0 \Rightarrow x = 7

What the calculator does

For a neutral compound or an ion, the calculator gives:

  • the oxidation state of each element, with the reason;
  • separate values when an element appears in two different ions, as in NH₄NO₃;
  • averages, clearly labelled, for mixed-valence compounds such as Fe₃O₄;
  • the constraint that remains when the formula alone cannot decide.

How to enter a formula

Write formulas as usual, with charges after ^: KMnO4, Cr2O7^2-, Fe^3+. Brackets and hydrates work: K4[Fe(CN)6], CuSO4·5H2O.

Oxidation number rules, in priority order

  1. An uncombined element (Fe, O₂, S₈) is 0. A single-element ion carries its charge.
  2. Fluorine is always −1.
  3. Group 1 metals are +1 and group 2 metals are +2. Aluminium is +3, zinc +2 and silver +1.
  4. Hydrogen is +1 with non-metals and −1 with metals (in hydrides such as NaH).
  5. Oxygen is −2, except in peroxides (−1), superoxides (−1/2) and compounds with fluorine (positive).
  6. Halogens are usually −1, but not when combined with oxygen or a more electronegative halogen.
  7. The oxidation states add up to the overall charge.

When the rules contradict rule 7, as for oxygen in H₂O₂, the lower-priority rule gives way. The calculator explains which one and why.

Worked example: potassium permanganate, KMnO₄

  1. Potassium is a group 1 metal: +1.
  2. Oxygen is −2, four times: −8.
  3. Charge balance. The compound is neutral, so +1 + x + (−8) = 0.
  4. Solve. x = +7, so manganese is in its highest oxidation state, +7.

Common mistakes

  • Assuming oxygen is always −2. Check for peroxides and fluorides.
  • Forgetting the overall charge of an ion. In SO₄²⁻ the states must add up to −2, not 0.
  • Treating oxidation states as real charges. They are a bookkeeping device for electrons.
  • Reporting a fractional average as if every atom had it. Mixed-valence compounds contain atoms in different states.

Practical applications

  • Balancing redox equations by matching electrons lost and gained.
  • Naming compounds, such as iron(II) chloride versus iron(III) chloride.
  • Predicting reactivity. Elements in high oxidation states, such as Mn(VII) and Cr(VI), are strong oxidising agents.
  • Electrochemistry and corrosion, where changes in oxidation state drive cells and rusting.

Assumptions and limitations

The calculator works from the formula alone. That decides the oxidation states of most inorganic compounds and of common polyatomic ions. Where atoms of the same element are not equivalent, as in thiosulfate or organic molecules, it gives the average and says so. Where two different elements are both unknown, it gives the constraint rather than a guess. Unusual bonding, such as metal–metal bonds or non-innocent ligands, needs structural information beyond a formula.

Frequently asked questions

What is an oxidation state?

An oxidation state (oxidation number) is the charge an atom would have if all its bonds were fully ionic. It tracks electron transfer in reactions.

What are the rules for oxidation numbers?

Free elements are 0. A simple ion equals its charge. Fluorine is −1. Oxygen is usually −2. Hydrogen is usually +1. The total equals the overall charge.

What is the oxidation state of Mn in KMnO₄?

+7. K is +1 and four O atoms are −8, so Mn must be +7 for the total to be zero.

What is the oxidation state of Cr in K₂Cr₂O₇?

+6. Two K give +2 and seven O give −14, so the two Cr atoms total +12, or +6 each.

What is the oxidation state of S in H₂SO₄?

+6. Two H give +2 and four O give −8, so S must be +6.

When is oxygen not −2?

In peroxides like H₂O₂ it is −1, in superoxides −1/2, and in OF₂ it is +2.

Can an oxidation state be a fraction?

Yes, as an average. In Fe₃O₄, iron averages +8/3 because the compound has both Fe²⁺ and Fe³⁺.

Is oxidation state the same as charge?

Not always. It matches the real charge only for simple ions. In covalent compounds it is a bookkeeping number.

References

  1. Karen, P., McArdle, P. & Takats, J. (2016). Comprehensive definition of oxidation state (IUPAC Recommendations 2016). Pure and Applied Chemistry, 88(8), 831–839.
  2. IUPAC Compendium of Chemical Terminology (the Gold Book). Oxidation state.
  3. Atkins, P., Overton, T., Rourke, J., Weller, M. & Armstrong, F. (2014). Shriver and Atkins' Inorganic Chemistry (6th ed.). Oxford University Press.