Oxidation numbers help you track how electrons are distributed in compounds and ions. They are especially useful for identifying oxidation and reduction in chemical reactions, finding an unknown element’s charge, and checking whether a proposed formula is chemically consistent. This calculator uses charge balance rather than trying to interpret a typed chemical formula, so you enter the known atom counts yourself.
How to Calculate Oxidation Number (step by step)
Step One: Set up the charge-balance equation
The algebraic sum of every element’s oxidation-number contribution must equal the overall charge of the compound or ion.
Overall charge = (unknown oxidation number × unknown atom count) + (known oxidation state × known atom count)
For the default example, the unknown element appears once, oxygen has an oxidation state of -2, and the ion has an overall charge of -2.
-2 = (unknown oxidation number × 1) + (-2 × 4)
Step Two: Calculate the known contribution
Multiply the known element’s oxidation state by the number of atoms of that element. This gives the known portion of the total charge.
Known contribution = known oxidation state × known atom count
Using the default values:
Known contribution = -2 × 4 = -8
Step Three: Isolate the unknown oxidation number
Subtract the known contribution from the overall charge, then divide by the number of atoms whose oxidation number is unknown.
Unknown oxidation number = (overall charge - known contribution) ÷ unknown atom count
With the default values:
Unknown oxidation number = (-2 - (-8)) ÷ 1 = 6
The result is positive six, written as +6. This is the oxidation number of sulfur in sulfate, SO₄²⁻. If you need the compound’s formula mass before doing charge-balance work, use a molar mass calculator. For reaction accounting, a chemical equation balancer can help ensure the atom counts are correct.
What your results mean
A positive oxidation number means the atom is assigned fewer electrons than its neutral-atom reference state, while a negative value indicates greater assigned electron ownership. An oxidation number of zero commonly appears for an element in its uncombined form.
The result depends entirely on accurate atom counts and known oxidation states. Common rules include assigning oxygen an oxidation state of -2 in most compounds, hydrogen +1 when bonded to nonmetals, and the total oxidation-number sum equal to zero in a neutral compound. Exceptions exist, so use the result as a charge-balance calculation rather than a replacement for chemical context. More chemistry tools are available in the science calculator category.