Proofwell
Menu

Oxidation State Calculator

Enter a formula to find the oxidation state of each element 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.

The 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

Is an oxidation state the same as a charge?

Only for simple ions. In general it is a formal charge, calculated by assigning all bonding electrons to the more electronegative atom. Manganese in KMnO₄ has oxidation state +7, but it does not carry a +7 charge.

Why can an oxidation state be a fraction?

A fraction is an average over atoms that are in different states. In Fe₃O₄ (magnetite), one iron is +2 and two are +3, averaging +8/3. The calculator labels fractional results as averages.

Why is oxygen −1 in hydrogen peroxide?

H₂O₂ contains an O–O bond. Electrons shared between two oxygen atoms are not assigned to either, so each oxygen is −1 rather than the usual −2.

Why does the calculator say some states cannot be determined?

The rules plus the charge balance give one equation. With two unknown elements, as in CH₃NH₂, that equation cannot separate them; it depends on how the atoms are bonded. The calculator gives the constraint instead of guessing.

What is the difference between oxidation state and oxidation number?

They are commonly used interchangeably. IUPAC uses "oxidation state" for the quantity and writes it as a Roman numeral in names, such as iron(III).

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.