Chemical Equation Balancer

Type any reaction — molecular, ionic, redox or with hydrates — and get the smallest whole-number coefficients, the algebra behind them and an atom-by-atom check.

Free, no sign-upRuns in your browserUpdated November 2026
Arrows: ->, = or →. Ions: Fe+3, Fe^3+, SO4-2, electron e- (put spaces around the + between ions). Hydrates: CuSO4·5H2O or CuSO4*5H2O.
Balanced equation
—
Atom-count check
ElementReactantsProductsBalanced
Step-by-step working

How to use the Chemical Equation Balancer

  1. Type the unbalanced equation with reactants on the left and products on the right, separated by ->, = or →. Leave out any coefficients.
  2. For ions, write the charge after the formula (Fe+3, SO4-2, e-) and put spaces around the + signs between species.
  3. Read the balanced equation as you type. Coefficients are highlighted, and Copy puts a plain-text version on your clipboard.
  4. Check the atom-count table, then read the step-by-step working to see how each coefficient was found.

How this chemical equation balancer works

A balanced equation obeys the law of conservation of mass: every atom on the reactant side must appear on the product side, and for ionic equations the total charge must be the same on both sides. This tool turns that rule into a small system of linear equations and solves it exactly, with whole-number fractions instead of rounded decimals. It does not guess, so the answer is always the set of smallest whole-number coefficients.

  1. Each substance gets an unknown coefficient: a, b, c and so on.
  2. For every element, the atoms on the left must equal the atoms on the right. That gives one equation per element, plus one for charge when ions or electrons are present.
  3. The system is row-reduced with exact rational arithmetic. When one unknown is left free, it is set to 1 and the rest follow.
  4. All values are multiplied by the lowest common denominator, which gives the smallest integers.
Atom balance for element E: Σ (coefficient × atoms of E) on the left = Σ (coefficient × atoms of E) on the right

Worked example: burning propane

For C3H8 + O2 → CO2 + H2O, call the coefficients a, b, c, d.

  • Carbon: 3a = c
  • Hydrogen: 8a = 2d
  • Oxygen: 2b = 2c + d

Setting d = 1 gives a = 1/4, c = 3/4 and b = 5/4. Multiplying by 4 gives C3H8 + 5O2 → 3CO2 + 4H2O. Check: 3 C, 8 H and 10 O atoms on each side.

Redox and ionic equations

Redox equations are where trial and error usually fails, and where CBSE, JEE and NEET questions concentrate. With the algebraic method you do not need oxidation numbers at all. The charge row makes sure electrons are conserved too. Two classics:

ReactionBalanced result
Potassium permanganate + hydrochloric acid2KMnO4 + 16HCl → 2KCl + 2MnCl2 + 8H2O + 5Cl2
Permanganate oxidising iron(II) in acidMnO4− + 5Fe2+ + 8H+ → Mn2+ + 5Fe3+ + 4H2O
Dichromate half-reactionCr2O72− + 14H+ + 6e− → 2Cr3+ + 7H2O

In the permanganate–iron equation, Mn goes from +7 to +2 (gains 5 electrons) while each Fe goes from +2 to +3 (loses 1). So five Fe2+ are needed per MnO4−. The tool reaches the same answer through the charge equation: −1 + 10 + 8 = 17 on the left and 2 + 15 = 17 on the right.

Input format

  • Element symbols are case-sensitive. Co is cobalt and CO is carbon monoxide.
  • Brackets: Ca(OH)2, Al2(SO4)3 and K4[Fe(CN)6] are all understood.
  • Hydrates: join the water with ·, * or ., as in CuSO4·5H2O.
  • Charges: Fe+3, Fe^3+, Fe{3+}, Na+, SO4-2 or SO4^2-. Use e- for an electron. Note that Fe3+ would mean an Fe3+ cluster, so write the charge with a sign first or a caret.
  • State symbols such as (s), (l), (g) and (aq) at the end of a formula are ignored.

When an equation cannot be balanced

The tool tells you exactly what went wrong instead of returning nonsense:

  • An element appears on one side only. This is usually a typo or a missing product.
  • Only the zero solution exists. No set of positive coefficients works, for example H2O → H2O2.
  • More than one independent solution. H2 + O2 → H2O + H2O2 can be balanced in infinitely many unrelated ways, because it is really two reactions written as one. Chemistry decides the actual ratio, not algebra.
  • A zero or negative coefficient. A substance takes no part in the reaction, or it is on the wrong side of the arrow.

Tips for exams

  • Balancing gives the ratio of moles. Use it with molar masses from the periodic table for stoichiometry problems.
  • In ionic equations, leave out spectator ions (such as K+ and SO42−) when the question asks for the net ionic equation.
  • Never change a subscript to balance an equation. That changes the substance. Only the coefficients in front may change.
  • The same algebra powers the matrix calculator, where you can row-reduce the system yourself.

Frequently asked questions

How do you balance a chemical equation step by step?
Give each substance an unknown coefficient, write one atom-balance equation per element (and one for charge if ions are present), solve the system, then scale to the smallest whole numbers. The working panel shows each of these steps for your equation.
Can it balance redox reactions and half-equations?
Yes. Write ions with their charge (MnO4-, Fe+2, H+) and electrons as e-. The tool adds a charge-balance equation, so it handles both full redox equations and half-reactions without needing oxidation numbers.
Why does it say my equation has more than one solution?
Some equations combine two independent reactions, such as H2 + O2 → H2O + H2O2. The atoms can balance in infinitely many ratios, so there is no unique answer. Balance each reaction separately.
How do I enter hydrates like copper sulphate pentahydrate?
Use a middle dot, asterisk or full stop: CuSO4·5H2O, CuSO4*5H2O or CuSO4.5H2O. The number after the dot multiplies the water molecule.
Should I type coefficients in my equation?
No. Any number you type in front of a formula is ignored, because the tool always works out the smallest whole-number coefficients itself.
Is the balancing exact?
Yes. It uses exact fractions with arbitrarily large integers, not floating-point decimals, so even large equations like K4[Fe(CN)6] + KMnO4 + H2SO4 come out exactly.

Last reviewed November 2026. Results are estimates for information only — see our disclaimer.