Chemical Equation Balancer — Balance Any Reaction Instantly
Balance chemical equations automatically. Enter an unbalanced reaction and get the correct stoichiometric coefficients in seconds. Free, no sign-up needed.
Balancing chemical equations is one of those skills chemistry teachers want you to learn by hand first — and for good reason. But once you understand the underlying principle (atoms can't appear or disappear), having a tool that handles the tedious algebra is just practical. The CalcHub Chemical Equation Balancer takes an unbalanced equation and finds the smallest whole-number coefficients that satisfy conservation of mass.
What "Balanced" Actually Means
An equation is balanced when the number of each type of atom is identical on both sides. For example:
Unbalanced: H₂ + O₂ → H₂OCounting atoms: Left has 2H, 2O. Right has 2H, 1O. Oxygen doesn't balance.
Balanced: 2H₂ + O₂ → 2H₂ONow: Left has 4H, 2O. Right has 4H, 2O. Done.
How to Use It
- Go to CalcHub and open the Equation Balancer.
- Type the unbalanced equation using standard chemical notation. Use
+between reactants and products, and->or→for the arrow. - Click Balance.
- The tool returns the balanced equation with coefficients.
Ca(OH)2 or (NH4)2SO4.
Examples
| Unbalanced | Balanced |
|---|---|
| H₂ + O₂ → H₂O | 2H₂ + O₂ → 2H₂O |
| Fe + O₂ → Fe₂O₃ | 4Fe + 3O₂ → 2Fe₂O₃ |
| CH₄ + O₂ → CO₂ + H₂O | CH₄ + 2O₂ → CO₂ + 2H₂O |
| Al + HCl → AlCl₃ + H₂ | 2Al + 6HCl → 2AlCl₃ + 3H₂ |
| KMnO₄ + HCl → KCl + MnCl₂ + H₂O + Cl₂ | 2KMnO₄ + 16HCl → 2KCl + 2MnCl₂ + 8H₂O + 5Cl₂ |
The Math Behind It
The balancer sets up a system of linear equations: one equation per element, with coefficients as unknowns. It then solves the system using linear algebra (matrix methods), finding the smallest integer solution. For most reactions this is instant; for complex redox reactions with many elements it's still a fraction of a second.
Tips
- Charges must balance for ionic equations. If you're balancing net ionic equations, make sure both charge and atoms are conserved.
- State symbols are optional. Including (s), (l), (g), (aq) won't affect the balancing but helps with interpretation.
- If you get unexpected fractions, the tool will multiply through to get whole numbers — that's normal and correct.
Why do some equations need large coefficients?
When multiple elements interact in different ratios, the least common multiple of those ratios can be large. Combustion of complex hydrocarbons or redox reactions involving permanganate are classic examples. The coefficients are still correct as long as atoms balance.
Can this balance ionic and redox equations?
Yes. The algorithm treats every atom and charge as a separate constraint. For half-reactions or full redox equations with acid/base conditions, make sure to include H₂O, H⁺, or OH⁻ on the appropriate side if needed.
How is this different from just guessing and checking?
Trial and error works for simple equations with 3–4 atoms. For anything complex it becomes exponentially harder. The linear algebra approach always finds the correct minimal solution without guessing.
Related calculators: Stoichiometry Calculator · Limiting Reagent Calculator · Molar Mass Calculator