Balancing Equations
Adjust coefficients and watch atom counts on each side until the equation balances
Not balanced yet. H: 4 on the left, 2 on the right; O: 2 on the left, 3 on the right.
Atom count per element
Reactants
7 atoms in total
1 × CH4
1 × O2
Products
6 atoms in total
1 × CO2
1 × H2O
Why equations must balance
A chemical equation is a bookkeeping statement. In a reaction, bonds break and new bonds form, but the atoms themselves are neither created nor destroyed. If four hydrogen atoms go in, four hydrogen atoms must come out, just arranged into different molecules. An equation is balanced when every element has the same number of atoms on the reactant side as on the product side.
You balance an equation by choosing coefficients, the numbers in front of each formula. The coefficient multiplies every atom in that formula: 3H₂O contains 6 hydrogen atoms and 3 oxygen atoms. You never change a subscript, because H₂O₂ is hydrogen peroxide, not "more water".
By convention the coefficients are the smallest whole numbers that work. 4H₂ + 2O₂ → 4H₂O is balanced, but every coefficient shares a factor of 2, so it is written 2H₂ + O₂ → 2H₂O. The balanced coefficients are also the mole ratios you use in every later stoichiometry calculation.
Atoms are conserved
Coefficients, not subscripts
Mass follows automatically
It is a linear system
Key formulas
Atom balance, one equation per element
Σreactants νᵢ · nₑ,ᵢ = Σproducts νⱼ · nₑ,ⱼ for every element e
- νᵢ
- coefficient of species i
- nₑ,ᵢ
- number of atoms of element e in one formula unit of species i
Conservation of mass
Σreactants νᵢ · Mᵢ = Σproducts νⱼ · Mⱼ
- Mᵢ
- molar mass of species i (g/mol)
Example: methane combustion
a CH₄ + b O₂ → c CO₂ + d H₂O ⇒ C: a = c, H: 4a = 2d, O: 2b = 2c + d ⇒ a = 1, b = 2, c = 1, d = 2
Balanced presets
| Unbalanced | Balanced | Reaction type |
|---|---|---|
| H₂ + O₂ → H₂O | 2H₂ + O₂ → 2H₂O | Synthesis |
| N₂ + H₂ → NH₃ | N₂ + 3H₂ → 2NH₃ | Synthesis (Haber process) |
| CH₄ + O₂ → CO₂ + H₂O | CH₄ + 2O₂ → CO₂ + 2H₂O | Combustion |
| C₃H₈ + O₂ → CO₂ + H₂O | C₃H₈ + 5O₂ → 3CO₂ + 4H₂O | Combustion |
| Fe + O₂ → Fe₂O₃ | 4Fe + 3O₂ → 2Fe₂O₃ | Synthesis (rusting) |
| Al + HCl → AlCl₃ + H₂ | 2Al + 6HCl → 2AlCl₃ + 3H₂ | Single displacement |
| KClO₃ → KCl + O₂ | 2KClO₃ → 2KCl + 3O₂ | Decomposition |
| CO₂ + H₂O → C₆H₁₂O₆ + O₂ | 6CO₂ + 6H₂O → C₆H₁₂O₆ + 6O₂ | Photosynthesis |
| Ca(OH)₂ + H₃PO₄ → Ca₃(PO₄)₂ + H₂O | 3Ca(OH)₂ + 2H₃PO₄ → Ca₃(PO₄)₂ + 6H₂O | Neutralisation |
A reliable method by hand
- Write the correct formula for every reactant and product. Never change these again.
- Balance elements that appear in only one species on each side first (usually metals, then carbon).
- Balance hydrogen next, then oxygen last, because oxygen often appears in several species (O₂, CO₂ and H₂O).
- Treat a polyatomic ion that stays intact, like SO₄ or PO₄, as a single unit.
- If you end up needing a half (for example 7/2 O₂), multiply every coefficient by 2.
- Finish by counting every element on both sides, and divide out any common factor.
How to use this visualizer
- 1Pick a preset reaction, or type your own equation using -> or = for the arrow (parentheses, square brackets and hydrate dots such as CuSO4·5H2O are understood).
- 2Use the + and − buttons above each formula to change its coefficient. The equation, the atom-count bars and the molecule pictures update immediately.
- 3Compare the blue (reactant) and violet (product) bars for each element. A green tick means that element is balanced.
- 4When every element balances, the banner turns green and shows that the mass of reactants equals the mass of products.
- 5Stuck? Press Show solution to see the system of element equations and the smallest whole-number coefficients that solve it.
Common mistake: changing subscripts
To balance H₂ + O₂ → H₂O it is tempting to write H₂O₂ on the right, since that has two oxygens. But H₂O₂ is hydrogen peroxide, a different substance. Only coefficients may change: 2H₂ + O₂ → 2H₂O.Practice problems
Problem 1: Butane combustion
Show solutionHide solution
Carbon: 4 C on the left, so 4CO₂ on the right.
Hydrogen: 10 H on the left, so 5H₂O on the right.
Oxygen on the right: 4 × 2 + 5 × 1 = 13 O, so 13/2 O₂ on the left.
C₄H₁₀ + 13/2 O₂ → 4CO₂ + 5H₂O; multiply everything by 2 to clear the fraction.
Check: C 8 = 8, H 20 = 20, O 26 = 16 + 10.
2C₄H₁₀ + 13O₂ → 8CO₂ + 10H₂O
Problem 2: Blast furnace
Show solutionHide solution
Iron: 2 Fe on the left, so 2Fe on the right.
Each CO takes one O to become CO₂, and Fe₂O₃ gives up 3 O, so 3CO → 3CO₂.
Check: Fe 2 = 2, C 3 = 3, O 3 + 3 = 6 = 3 × 2.
Left: 159.687 + 3 × 28.010 = 159.687 + 84.030 = 243.717 g
Right: 2 × 55.845 + 3 × 44.009 = 111.690 + 132.027 = 243.717 g
Fe₂O₃ + 3CO → 2Fe + 3CO₂ (243.717 g on each side)
Related visualizations
Discussion
Questions, ideas or a different approach? Join the conversation.