Chemical Equation Balancer
Automatically balance complex chemical equations and stoichiometry matrices using Gaussian elimination.
Balanced stoichiometric coefficients for reactants and products.
Free, runs in your browser. Nothing you enter is uploaded.
How to use it
- Enter your unbalanced equation using + and = symbols
- Click Balance
What you enter
- Unbalanced equation with reactants and products
What you get
- Balanced equation string
Formula
Ax = 0
Solves the homogeneous linear system where rows represent atomic elements and columns represent molecules. Finding the null space yields the stoichiometric coefficients.
Balancing Combustion of Glucose
Input: C6H12O6 + O2 = CO2 + H2O
Result: 1C6H12O6 + 6O2 → 6CO2 + 6H2O
1 mole of glucose reacts with 6 moles of oxygen gas to produce 6 moles of carbon dioxide and 6 moles of water.
Questions
Can it handle parentheses?
Yes, it parses nested groups like (CN)6.
Limitations
- Only handles valid elemental symbols
- Equations with multiple independent solutions (e.g. undetermined systems) will return one minimal integer solution
More Laboratory Tools
All free tools · By Dr. Zubair Khalid, DVM, MS, PhD.