Skip to content

Chemical Equation Balancer

Type an equation to balance it exactly, with each element checked on both sides.

Type any chemical equation to balance it exactly, ions, hydrates and redox included. An atom ledger checks every element on both sides, and every step of the working is shown.

Read as KMnO4+HCl→KCl+MnCl2+Cl2+H2O

Try
Redox in solutionAs written

Solution

Adds H₂O and H⁺ (acidic) or H₂O and OH⁻ (basic) where the balance needs them.

ExampleBalanced

2KMnO4+16HCl→2KCl+2MnCl2+5Cl2+8H2O

10 electrons transferred. Every element balances.

Type your own equation to balance it.

ReactantsEvery element balancesProducts
Atoms of each element on each side of the equation
ElementReactantsProductsBalanced
K
2
2
Mn
2
2
O
8
8
H
16
16
Cl
16
16
Reaction type
Redox (electron transfer)
Redox
Chlorine oxidised, manganese reduced
How this works: 4 sources,

How this works

Method

Every species gets an unknown coefficient and every element (and the total charge, for ions) gives one equation: atoms on the left equal atoms on the right. The balancer row-reduces that matrix in exact fractions on BigInt, reads the balance off its null space and scales it to the smallest whole numbers. No null space means no balance (and it says why); more than one dimension means independent reactions mixed together. For redox in solution, H2O and H⁺ or OH⁻ are added as unknowns free to land on either side, and oxidation numbers follow the IUPAC rules.

How it’s tested

13 worked examples for this page are checked by automated tests before every release: given the inputs, the tool must show the expected answer.

Privacy

On your device. Nothing you enter or open leaves this browser. About privacy labels

Changes

  • First published: exact balancing with an atom ledger, ions, hydrates and redox in acidic or basic solution, worked steps, a practice mode, and combustion, redox and famous-equation pages.

Every change on What’s new

How we make toolsReport a mistake

Key facts

  • A balanced equation has the same number of atoms of each element on both sides, because atoms are rearranged in a reaction, never created or destroyed.
  • Coefficients multiply whole formulas; subscripts are part of a formula and never change when balancing (2H2O is two water molecules, H2O2 is hydrogen peroxide).
  • Balancing is a set of linear equations, one per element, so it can be solved exactly, and the smallest whole-number solution is the conventional answer.

Common questions

How do I type an equation?

Write the reactants, an arrow (-> or → or =), then the products, with + between species: Fe + O2 -> Fe2O3. Use brackets for groups, Ca(OH)2, a dot or * for hydrates, CuSO4·5H2O, and a charge at the end of an ion: Fe+3, Fe^3+ or SO4^2-. The line under the box shows how each formula was read, so you can catch a typo before it matters.

How does the balancer work?

Every species gets an unknown coefficient, and every element gives one equation: the atoms on the left must equal the atoms on the right. The balancer solves those equations together, exactly in fractions, and scales the answer to the smallest whole numbers. The worked steps show the matrix, its reduced form and the scaling, so you can follow every number.

What if an equation can’t be balanced?

The balancer says why. Usually an element appears on only one side, which means a product or reactant is missing or mistyped. If a species can only balance with a coefficient of 0, or only on the other side of the arrow, it shows the equation that does balance and lets you use it. Some equations mix two independent reactions and balance in infinitely many ways; it lists the separate reactions.

Can I practise instead of seeing the answer?

Yes. Press Try it yourself and every coefficient starts at 1, with − and + buttons. The atom ledger shows each element’s count on both sides and turns green row by row as you balance it, and tells you when you have found the smallest whole numbers.

Does it balance redox reactions and ions?

Yes. Charges are balanced like an extra element, electrons can be typed as e-, and under Redox in solution you can pick acidic or basic, which lets the balancer add H2O with H⁺ or OH⁻ where they are needed. For half-reactions and oxidation numbers, use the redox page.