Chemical Equation Balancer
Balance chemical equations automatically with the smallest whole-number coefficients, and check that every element is conserved.
How to use this calculator
Type the reactants and products separated by + signs, with an arrow (->, = or →) between the two sides. Leave out coefficients, or include them; they are recalculated. The calculator sets up one equation per element and solves it exactly with fractions, so even complicated redox equations balance correctly.
Formula
Each element gives one equation: the number of atoms on the left must equal the number on the right. With unknown coefficients for each substance this forms a homogeneous linear system, solved exactly by Gaussian elimination with fractions. The solution is scaled to the smallest positive whole numbers.
Calculator credits
Calculator developmentJulia Edwards
Editorial supervisionSamad Aslam Khan
Expert reviewAslamResearcher, Chemical Engineer
Published byThe Calculatorz
Last updated
Read how we research, test, review and correct our calculators in our editorial policy.
Frequently asked questions
Why must equations be balanced?
Atoms are neither created nor destroyed in a chemical reaction (conservation of mass), so each element must appear in equal numbers on both sides.
Can I change subscripts to balance an equation?
No. Subscripts define the substances. Only the coefficients in front of formulas can change.
What if the calculator says it cannot balance?
Check the formulas: a typing mistake, a missing product or an element on only one side makes balancing impossible.
What does 'more than one independent way' mean?
The equation combines two or more separate reactions, so many coefficient sets work. Write each reaction separately.
Does it balance ionic and redox equations?
It balances atoms, which handles most redox equations written with neutral formulas. Charges are not balanced, so for net ionic equations check the charge balance yourself.
What are state symbols?
(s), (l), (g) and (aq) show physical state. Leave them out here; they do not affect the coefficients.
References & methodology sources
These sources support the calculator’s formula, definitions, thresholds, units or result interpretation.
- Flowers, P., Theopold, K., Langley, R., & Robinson, W. R. (2019). Writing and balancing chemical equations. In Chemistry 2e (Section 4.1). OpenStax. View source
- Flowers, P., Theopold, K., Langley, R., & Robinson, W. R. (2019). Chemistry 2e. OpenStax. View source
- Commission on Isotopic Abundances and Atomic Weights. (n.d.). Standard atomic weights. International Union of Pure and Applied Chemistry. View source
- Abramson, J. (2021). College algebra 2e. OpenStax. View source