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.

CH4 + 2O2 → CO2 + 2H2O

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.

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.

← Chemistry calculators