Chemical equation balancer

Type an unbalanced equation to get the smallest whole-number coefficients, with the atom count on each side so you can see it balances. Works for ionic and redox equations too.

Separate the sides with -> or =. Write charges like Fe^3+ or SO4^2-, and electrons as e^-.

Balanced

4Fe + 3O₂ → 2Fe₂O₃

Coefficients: 4, 3, 2 (the smallest whole numbers that work)

Check: atoms on each side
ElementLeftRightMatches
Fe44✓
O66✓

How to balance an equation by hand

A balanced equation has the same number of each kind of atom on both sides, and the same total charge. You can only change the coefficients in front of each formula, never the subscripts inside it.

  1. Write the correct formula for every reactant and product.
  2. Start with the element that appears in the fewest substances, and balance it with a coefficient.
  3. Leave hydrogen and oxygen, and elements that appear on their own (like O₂), until last.
  4. If you end up with a fraction, multiply every coefficient by the same number to clear it.
  5. Count every atom on both sides once more, and the charge if there are ions.

Example: burning propane. Carbon first: 3 C on the left means 3CO₂. Then hydrogen: 8 H means 4H₂O. That makes 3 × 2 + 4 = 10 oxygen atoms on the right, so 5O₂ on the left:

CX3HX8+5 OX2→3 COX2+4 HX2O\ce{C3H8 + 5O2 -> 3CO2 + 4H2O}

Ionic and redox equations

With ions, the charges have to balance as well as the atoms. Type charges after a caret, like Fe^3+ or MnO4^-, and electrons as e^-. The check table then includes a row for charge.

MnOX4X−+5 FeX2++8 HX+→MnX2++5 FeX3++4 HX2O\ce{MnO4^- + 5Fe^2+ + 8H+ -> Mn^2+ + 5Fe^3+ + 4H2O}

Questions

Why can't I just change a subscript?
Subscripts say what the substance is. Changing H₂O to H₂O₂ turns water into hydrogen peroxide. Coefficients only change how much of it there is.
It says an element appears on only one side. What's wrong?
Usually a typo in a formula, or a product left out. Atoms can't appear or vanish in a reaction, so every element has to be on both sides.
Can an equation balance in more than one way?
Some can, when two separate reactions are hidden in one equation. The balancer gives the simplest answer it finds; check it matches the reaction you mean.

Still getting stuck? Read the 7 most common mistakes when balancing equations.