Chemical Equation Balancer

Enter an equation with + between compounds and -> (or =) between reactants and products — any coefficients you type are ignored and recomputed from scratch, so you can start from the plain formulas.

Try:

4Fe + 3O22Fe2O3

4 × Fe3 × O22 × Fe2O3

How it works

Balancing an equation means finding whole-number coefficients so the same number of atoms of every element appears on both sides. This solver treats that as a system of linear equations — one equation per element — and finds its solution space using exact fraction arithmetic (not floating-point, which can silently round off equations that need larger coefficients), then scales the result to the smallest whole numbers. Every result is re-verified against the original formulas before being shown.