A little context. A clearer answer.
When this calculator is useful
Use this oxidation state calculator to solve a charge-balance exercise for a compound or ion. Enter the formula and its overall charge, then supply the oxidation numbers you already know. The table shows the atom counts and assigned states; one unassigned element can be solved from the remaining charge. You can also enter every assignment to check the balance. The calculator does not choose chemical rules for you, balance a redox reaction or distinguish different sites of the same element. For a related calculation, try Protons, neutrons and electrons calculator.
What to enter
| Input | What it means | Example value |
|---|---|---|
| Chemical formula | Use standard symbols and integer subscripts, including () or []; for example Ca(NO3)2. No leading coefficients, hydrate dots or charge suffixes. | Na2SO4 |
| Net ion charge | Signed net charge: 0 for a neutral formula, −2 for sulfate, +1 for ammonium. | 0 |
| Known states · element; state | One element; state per line, for example O; -2. Leave exactly one element unassigned to solve it. Decimal dots; assignments from −8 to +8. | Na; 1 O; -2 |
How the calculation works
- Enter the formula with ordinary element symbols and subscripts, and put the net ionic charge in its separate field.
- Add each known element and its oxidation number on a separate line. Leave one element unassigned to calculate its state, or assign all elements to check the charge balance.
- Read the calculated oxidation number together with the balance status and atom table. Multiple unknown elements remain unresolved; a fractional value is an average, not an assignment to individual sites.
Σ(nᵢsᵢ) = q; sₓ = (q − Σknown(nᵢsᵢ))/nₓA worked example
Na2SO4, charge 0, Na = +1 and O = −2: sulfur = (0 − 2 × 1 − 4 × (−2))/1 = +6.
Example you can load
What to enterThis is a fixed example; changing the form above does not change these numbers.
Assumptions & limits
Educational charge bookkeeping. Known states are supplied by you; exceptions such as peroxides and metal hydrides are not guessed. Several unknown elements are underdetermined. Mixed-valence sites cannot be resolved.
Frequently asked questions
Are oxidation number and oxidation state the same calculation here?
Yes. Both names refer to the oxidation-state bookkeeping used by this tool. You supply the known assignments; they are not inferred from the formula. For H2O2, entering H = +1 gives O = −1.
Why can an oxidation number be fractional?
Fe3O4 with O = −2 gives an average iron oxidation state of +8/3. The formula and total charge alone do not identify the individual iron sites or their different states.
Can I find several unknown oxidation states at once?
One charge equation cannot uniquely determine two or more unassigned elements. Add a chemically justified known assignment. If every element is assigned, the calculator checks the charge sum; a balanced sum alone does not prove that each chemical assignment is correct.