Balancing Chemical Equations

General Chemistry · Reaction Stoichiometry

Dr. Ray’s Learning Center · covers: Balancing Chemical Equations

  • 20–30 min
  • 7 figures
  • 1 simulator
  • 3 worked examples
  • 4 practice sets

Before this lesson:

No earlier lesson is needed: only chemical formulas and counting atoms.

A chemical equation is a recipe written in formulas, and like any recipe it has to account for every ingredient. Atoms are not created or destroyed in a chemical reaction; they are only rearranged. A balanced equation shows the same number of atoms of each element on both sides.

Balancing follows the same loop every time (Figure 1): count the atoms, change a coefficient, count again, until every element matches with the smallest whole numbers.

  1. startFormulaswrite them correctly; never change them
  2. count the atoms on each side
  3. Counteach element, both sides
  4. change one coefficient
  5. Recountrepeat until every element matches
  6. divide by any common factor
  7. answerBalancedlowest whole numbers

Change coefficients, never subscripts.Balance H and O last.

Figure 1. The balancing loop: count, change one coefficient, recount, and finish with the lowest whole numbers.

Learning Objectives

After this lesson, you should be able to:

  1. Balance a chemical equation by inspection.
  2. Check a balanced equation by counting atoms of each element.

Key Ideas

1. Atoms Are Conserved

Hydrogen burns in oxygen to form water. The unbalanced equation H2+O2→H2O\mathrm{H_2} + \mathrm{O_2} \rightarrow \mathrm{H_2\!O} has 2 O atoms on the left but only 1 on the right. Two water molecules need two hydrogen molecules:

2H2+O2→2H2O2\,\mathrm{H_2} + \mathrm{O_2} \rightarrow 2\,\mathrm{H_2\!O}

Now each side has 4 H atoms and 2 O atoms (Figure 2). Because each atom keeps its mass, a balanced equation also conserves mass.

Particle diagram of 2 H2 plus O2 forming 2 H2OTwo hydrogen molecules and one oxygen molecule on the reactant side; two water molecules on the product side. Hydrogen: 4 atoms in, 4 out. Oxygen: 2 in, 2 out.+→REACTANTSPRODUCTSHHHH2 H2​OOO2​HHOHHO2 H2​O✓ Atoms balance: H 4 in, 4 out · O 2 in, 2 out
Figure 2. Every atom on the left appears on the right: 2H2+O2→2H2O2\,\mathrm{H_2} + \mathrm{O_2} \rightarrow 2\,\mathrm{H_2\!O}.

Key idea: balanced means the same number of atoms of every element on both sides of the arrow.

2. Change Coefficients, Never Subscripts

A coefficient is the number written in front of a formula. It multiplies the whole formula: 2H2O2\,\mathrm{H_2\!O} means two water molecules, 4 H and 2 O atoms in all. A subscript is part of the formula itself. Changing H2O\mathrm{H_2\!O} to H2O2\mathrm{H_2\!O_2} does not make more water; it makes hydrogen peroxide, a different substance (Figure 3).

Two water molecules compared with one hydrogen peroxide moleculeLeft, marked correct: 2 H2O, two water molecules with 4 hydrogen and 2 oxygen atoms in all. Right, marked wrong: H2O2, hydrogen peroxide, made by changing the subscript; it is a different substance.A coefficient counts molecules; a subscript changes the substanceHHOHHO2 H2​Otwo water molecules4 H atoms, 2 O atomsOOHHH2​O2​hydrogen peroxidea different substance
Figure 3. Writing 2 in front of H₂O doubles the whole molecule; changing the subscript to H₂O₂ makes hydrogen peroxide.

A formula with no coefficient has a coefficient of 1. The final coefficients should be the smallest whole numbers that balance the equation: 4H2+2O2→4H2O4\,\mathrm{H_2} + 2\,\mathrm{O_2} \rightarrow 4\,\mathrm{H_2\!O} balances, but every coefficient can be divided by 2.

Key idea: to balance, change only coefficients, and finish with the lowest whole numbers.

3. A Strategy That Works

  • Start with an element that appears in only one formula on each side, often a metal or carbon.
  • Keep a polyatomic group such as NO3, SO4 or PO4 together when it appears unchanged on both sides (Figure 4).
  • Leave H and O, and any element that appears as the free element (O2, Al), for last.
  • If you need half a molecule, such as 72O2\frac{7}{2}\,\mathrm{O_2}, double every coefficient.
  • Recount every element at the end, and divide by any common factor.
Balancing silver nitrate and calcium chloride with the nitrate group as one unitThe equation 2 AgNO3 plus CaCl2 gives 2 AgCl plus Ca(NO3)2. The nitrate groups are highlighted: 2 times 1 on the left, 1 times 2 on the right, so 2 nitrate groups on each side.Keep a polyatomic group together2 AgNO3​+CaCl2​→2 AgCl+Ca(NO3​)2​2 NO3​ groups (2 × 1)2 NO3​ groups (1 × 2)count NO3​ as one unit: 2 on each side
Figure 4. The nitrate group stays intact, so it can be balanced as one unit: 2AgNO3+CaCl2→2AgCl+Ca(NO3)22\,\mathrm{AgNO_3} + \mathrm{CaCl_2} \rightarrow 2\,\mathrm{AgCl} + \mathrm{Ca(NO_3)_2}.

Try it: balance an equation

Use the + and − buttons to set the coefficients. The atom counts on each side update as you go; the simulator tells you when every element matches in the smallest whole numbers.

Loading the simulator…

Worked Example 1: Aluminum and Oxygen

Problem: Aluminum metal reacts with oxygen to form aluminum oxide. Balance the equation Al+O2→Al2O3\mathrm{Al} + \mathrm{O_2} \rightarrow \mathrm{Al_2\!O_3}.

Step 1. Count the atoms of each element in the unbalanced equation.

  • Al: 1 on the left, 2 on the right
  • O: 2 on the left, 3 on the right

Step 2. Balance O first, using the least common multiple of 2 and 3. Six O atoms on each side need 3 O2\mathrm{O_2} and 2 Al2O3\mathrm{Al_2\!O_3}:

Al+3O2→2Al2O3\mathrm{Al} + 3\,\mathrm{O_2} \rightarrow 2\,\mathrm{Al_2\!O_3}

Step 3. Balance Al. The right side now has 2×2=42 \times 2 = 4 Al atoms, so put 4 in front of Al:

4Al+3O2→2Al2O34\,\mathrm{Al} + 3\,\mathrm{O_2} \rightarrow 2\,\mathrm{Al_2\!O_3}

Step 4. Check every element.

  • Al: 4\mathrm{Al}:\ 4 on the left, 2×2=42 \times 2 = 4 on the right
  • O: 3×2=6\mathrm{O}:\ 3 \times 2 = 6 on the left, 2×3=62 \times 3 = 6 on the right

Final Answer: 4 Al + 3 O2 → 2 Al2O3

Atom counts for aluminum and oxygen before and after balancingLeft, the skeleton Al plus O2 gives Al2O3: aluminum 1 left and 2 right, oxygen 2 left and 3 right, not equal. Right, 4 Al plus 3 O2 gives 2 Al2O3: aluminum 4 and 4, oxygen 6 and 6, equal.Worked Example 1: atom counts before and afterAl + O2​ → Al2​O3​skeletonatomleftrightAl12✗ notO23✗ not4 Al + 3 O2​ → 2 Al2​O3​balancedatomleftrightAl44✓ equalO66✓ equal
Figure 5. Worked Example 1: the counts from Step 1 and the check in Step 4, 4Al+3O2→2Al2O34\,\mathrm{Al} + 3\,\mathrm{O_2} \rightarrow 2\,\mathrm{Al_2\!O_3}.

The coefficients 4, 3 and 2 share no common factor, so they are the lowest whole numbers (Figure 5).

Your turn: find a coefficient

Same method as Worked Example 1: balance the equation, then read the coefficient the question asks for. Remember that no number means 1.

Loading the practice problem…

Worked Example 2: Burning Ethane

Problem: Ethane burns completely in oxygen: C2H6+O2→CO2+H2O\mathrm{C_2\!H_6} + \mathrm{O_2} \rightarrow \mathrm{CO_2} + \mathrm{H_2\!O}. Balance the equation and find the sum of the coefficients.

Step 1. Balance C. 2 C atoms on the left need 2 CO2\mathrm{CO_2}.

Step 2. Balance H. 6 H atoms on the left need 3 H2O\mathrm{H_2\!O}:

C2H6+O2→2CO2+3H2O\mathrm{C_2\!H_6} + \mathrm{O_2} \rightarrow 2\,\mathrm{CO_2} + 3\,\mathrm{H_2\!O}

Step 3. Balance O last. The right side has 2×2+3×1=72 \times 2 + 3 \times 1 = 7 O atoms. That would take 72O2\dfrac{7}{2}\,\mathrm{O_2}, half a molecule, so double every coefficient:

2C2H6+7O2→4CO2+6H2O2\,\mathrm{C_2\!H_6} + 7\,\mathrm{O_2} \rightarrow 4\,\mathrm{CO_2} + 6\,\mathrm{H_2\!O}

Step 4. Check every element, then add the coefficients.

  • C: 2×2=4\mathrm{C}:\ 2 \times 2 = 4 on the left, 44 on the right
  • H: 2×6=12\mathrm{H}:\ 2 \times 6 = 12 on the left, 6×2=126 \times 2 = 12 on the right
  • O: 7×2=14\mathrm{O}:\ 7 \times 2 = 14 on the left, 4×2+6×1=144 \times 2 + 6 \times 1 = 14 on the right
2+7+4+6=192 + 7 + 4 + 6 = 19

Final Answer: 2 C2H6 + 7 O2 → 4 CO2 + 6 H2O; sum of coefficients 19

  1. SkeletonC2H6+O2→CO2+H2O\mathrm{C_2\!H_6} + \mathrm{O_2} \rightarrow \mathrm{CO_2} + \mathrm{H_2\!O}
  2. Step 1C: 2 on the left
  3. C balancedC2H6+O2→2CO2+H2O\mathrm{C_2\!H_6} + \mathrm{O_2} \rightarrow 2\,\mathrm{CO_2} + \mathrm{H_2\!O}
  4. Step 2H: 6 on the left
  5. H balancedC2H6+O2→2CO2+3H2O\mathrm{C_2\!H_6} + \mathrm{O_2} \rightarrow 2\,\mathrm{CO_2} + 3\,\mathrm{H_2\!O}
  6. Step 3O: 7 on the right needs half a molecule
  7. O balanced, with a fractionC2H6+72O2→2CO2+3H2O\mathrm{C_2\!H_6} + \frac{7}{2}\,\mathrm{O_2} \rightarrow 2\,\mathrm{CO_2} + 3\,\mathrm{H_2\!O}
  8. Step 3×2\times 2clear the fraction
  9. Balanced2C2H6+7O2→4CO2+6H2O2\,\mathrm{C_2\!H_6} + 7\,\mathrm{O_2} \rightarrow 4\,\mathrm{CO_2} + 6\,\mathrm{H_2\!O}sum of coefficients 19
Figure 6. Worked Example 2 on the balancing loop (Figure 1): C, then H, then O, then clear the fraction.

Exam tip: in a combustion equation, balance C, then H, then O last, because O appears in both products.

Your turn: sum of the coefficients

Same method as Worked Example 2: balance, then add every coefficient, including the 1s.

Loading the practice problem…

Worked Example 3: Checking by Counting Atoms

Problem: Calcium hydroxide neutralizes phosphoric acid: Ca(OH)2+H3PO4→Ca3(PO4)2+H2O\mathrm{Ca(OH)_2} + \mathrm{H_3\!PO_4} \rightarrow \mathrm{Ca_3\!(PO_4)_2} + \mathrm{H_2\!O}. Balance it and check the result by counting the atoms of every element.

Step 1. Balance Ca, then the phosphate group. Ca3(PO4)2\mathrm{Ca_3\!(PO_4)_2} has 3 Ca and 2 PO4\mathrm{PO_4} groups, so take 3 Ca(OH)2\mathrm{Ca(OH)_2} and 2 H3PO4\mathrm{H_3\!PO_4}.

Step 2. Balance H with water. The left side has 3×2+2×3=123 \times 2 + 2 \times 3 = 12 H atoms, so the right needs 6 H2O\mathrm{H_2\!O}:

3Ca(OH)2+2H3PO4→Ca3(PO4)2+6H2O3\,\mathrm{Ca(OH)_2} + 2\,\mathrm{H_3\!PO_4} \rightarrow \mathrm{Ca_3\!(PO_4)_2} + 6\,\mathrm{H_2\!O}

Step 3. Check: count the atoms of every element on both sides.

  • Ca: 3×1=3\mathrm{Ca}:\ 3 \times 1 = 3 on the left, 1×3=31 \times 3 = 3 on the right
  • O: 3×2+2×4=14\mathrm{O}:\ 3 \times 2 + 2 \times 4 = 14 on the left, 1×8+6×1=141 \times 8 + 6 \times 1 = 14 on the right
  • H: 3×2+2×3=12\mathrm{H}:\ 3 \times 2 + 2 \times 3 = 12 on the left, 6×2=126 \times 2 = 12 on the right
  • P: 2×1=2\mathrm{P}:\ 2 \times 1 = 2 on the left, 1×2=21 \times 2 = 2 on the right

Final Answer: 3 Ca(OH)2 + 2 H3PO4 → Ca3(PO4)2 + 6 H2O; 3 Ca, 14 O, 12 H and 2 P on each side

Atom counts on each side of the balanced calcium phosphate equationPaired bars, left side and right side, drawn to scale. Calcium 3 and 3, oxygen 14 and 14, hydrogen 12 and 12, phosphorus 2 and 2.Worked Example 3: atoms of each element on each sideleft (reactants)right (products)Ca33O1414H1212P22every pair equal: the equation is balanced
Figure 7. Worked Example 3 checked: 3Ca(OH)2+2H3PO4→Ca3(PO4)2+6H2O3\,\mathrm{Ca(OH)_2} + 2\,\mathrm{H_3\!PO_4} \rightarrow \mathrm{Ca_3\!(PO_4)_2} + 6\,\mathrm{H_2\!O}, with atoms=coefficient×subscript\text{atoms} = \text{coefficient} \times \text{subscript} for every element.

Count atoms in the balanced equation as coefficient × subscript. In Ca3(PO4)2\mathrm{Ca_3\!(PO_4)_2}, the 2 after the parenthesis also multiplies: 8 O atoms (Figure 7).

Your turn: count the atoms

Same check as Worked Example 3: balance, then count one element on either side as coefficient × subscript.

Loading the practice problem…

Common Mistakes

Common mistake: Changing a subscript. Writing H2O2 to fix the oxygen count makes hydrogen peroxide, not water. Only coefficients may change.

Common mistake: Stopping before every element balances. In Worked Example 2, 2 CO2 + 3 H2O fixes C and H, but O is still 2 on the left and 7 on the right. Recount every element after each change.

Common mistake: Not using the lowest whole numbers. 8 Al + 6 O2 → 4 Al2O3 balances, but every coefficient can be divided by 2. The answer is 4, 3, 2.

Common mistake: Leaving out the 1s. A formula with no number in front has a coefficient of 1, and it counts. The coefficients in Worked Example 3 add up to 3 + 2 + 1 + 6 = 12, not 11.

Common mistake: Counting subscripts without coefficients. In Worked Example 3 the formulas alone show 6 O atoms on the left (2 + 4); the balanced equation has 3 × 2 + 2 × 4 = 14. Multiply every subscript by its coefficient.

Key Takeaway

Atoms are conserved, so a balanced equation has the same number of atoms of each element on both sides. Change only the coefficients, balance one element at a time with H and O last, and finish with the smallest whole numbers. Check by counting every element as coefficient × subscript.

Practice: randomized problems

Each problem below uses fresh numbers every time: work it out, check your answer, then open the worked solution to compare your steps.

Loading the practice problem…

Your results

This summary collects every practice problem you try on this page and suggests what to review next.

Loading your results…

Figures: original diagrams by Dr. Ray’s Learning Center, licensed CC BY 4.0. Atomic weights: IUPAC 2021 abridged standard atomic weights. The simulator and the practice problems are audited; see the lesson audit log.