Everyday Calculators › Chemistry › Equation balancer
Chemical equation balancer
Type an unbalanced reaction and get it balanced with the smallest whole-number coefficients. Use = or → between reactants and products, and + between substances.
Try:
How it works
The balancer counts every element on each side and finds coefficients so each element appears the same number of times before and after the reaction (conservation of mass). It solves this as a system of linear equations and reduces the answer to the smallest whole numbers.
Worked example
CH4 + O2 = CO2 + H2O. Carbon: 1 on each side. Hydrogen: 4 on the left, so 2 H2O on the right. Oxygen: 2 + 2 = 4 on the right, so 2 O2 on the left. Balanced: CH4 + 2O2 → CO2 + 2H2O.
More worked examples
Each answer below is what this balancer returns for the reaction typed on the left.
- Rusting of iron: Fe + O2 = Fe2O3 → 4Fe + 3O2 → 2Fe2O3. Iron 4 = 4, oxygen 6 = 6.
- Brackets: Ca(OH)2 + H3PO4 = Ca3(PO4)2 + H2O → 3Ca(OH)2 + 2H3PO4 → Ca3(PO4)2 + 6H2O. Everything inside a bracket is multiplied by the number after it, so Ca3(PO4)2 holds 2 phosphorus and 8 oxygen.
- Respiration: C6H12O6 + O2 = CO2 + H2O → C6H12O6 + 6O2 → 6CO2 + 6H2O.
- Hydrate: CuSO4.5H2O = CuSO4 + H2O → CuSO4.5H2O → CuSO4 + 5H2O. The dot joins the water of crystallisation to the salt.
- Redox reaction: KMnO4 + HCl = KCl + MnCl2 + H2O + Cl2 → 2KMnO4 + 16HCl → 2KCl + 2MnCl2 + 8H2O + 5Cl2. Reactions with many substances are solved the same way, with no guessing.
When it shows an error
You will see a message instead of an answer when an equation has no = or → between the two sides, when one side is empty, when an element appears on only one side, or when the reaction can be balanced in more than one independent way. Check the formulas and try again.
Tips
Write element symbols with the correct capitals (Co is cobalt, CO is carbon monoxide). Brackets like Ca(OH)2 and hydrates like CuSO4.5H2O are supported. Ionic charges are not supported yet.