Prof. Whiskers, a grey cartoon mouse in a white lab coat, blue bow tie and round blue glasses, beside a balance scale holding CH4 + 2 O2 on one pan and CO2 + 2 H2O on the other, with the balanced equation on a chalkboard

Chemistry Lecture 3: Atoms Don't Vanish: How to Balance Chemical Equations (Without Guessing Forever)

"Someone once told me a candle 'disappears' as it burns. Nonsense. Every atom of that wax walks out the door as carbon dioxide and water vapor. Chemistry is an accounting job, and today we audit the books." — Prof. Whiskers

The rule that runs everything: atoms are conserved

In a chemical reaction, atoms rearrange. They are not created, destroyed, or turned into atoms of a different element (that's nuclear physics, a different lecture). So every atom on the left of the arrow must show up on the right.

This is the law of conservation of mass (OpenStax calls it the law of conservation of matter). Antoine Lavoisier made it a cornerstone of modern chemistry in the late 1700s by weighing everything that went into and came out of his reactions, sealed containers included. He set out the new chemistry in his 1789 textbook Traité élémentaire de chimie, whose lab plates were drawn by his collaborator Marie-Anne Paulze Lavoisier.

A balanced equation is simply an equation where the count of each kind of atom is the same on both sides.

Coefficients vs. subscripts: the one thing you must never do

Look at burning methane (natural gas):

$$ \text{CH}_4 + \text{O}_2 \rightarrow \text{CO}_2 + \text{H}_2\text{O} \quad \text{(unbalanced)} $$

  • Subscripts (the small numbers, like the 4 in CH₄) describe what the substance is. Change one and you've made a different chemical. H₂O is water; H₂O₂ is hydrogen peroxide. You don't want to drink the second one.
  • Coefficients (big numbers in front) say how many molecules (or moles) take part. These are the only things you're allowed to change.

The atom count for an element in one term is coefficient × subscript. So $3\,\text{H}_2\text{O}$ contains $3 \times 2 = 6$ H atoms and $3 \times 1 = 3$ O atoms.

3 H2O with the coefficient 3 labeled how many (3 molecules) and the subscript 2 labeled what it is (2 H atoms per molecule), next to three water molecules: 3 × 2 = 6 H and 3 × 1 = 3 O

Figure 1. In $3\,\text{H}_2\text{O}$, the coefficient 3 says how many molecules there are, and the subscript 2 says each molecule has 2 H atoms (O has an implied 1). Atom count = coefficient × subscript: 6 H and 3 O.

Method 1: Balancing by inspection (step by step)

This works for most textbook equations.

  1. Write correct formulas for every reactant and product. Never touch them again.
  2. Make an atom inventory: list each element and count it on both sides.
  3. Start with an element that appears in only one substance on each side, usually a metal or carbon. Leave H and O for later, and leave any pure element (like O₂, Fe, Cl₂) for last, because changing its coefficient doesn't disturb anything else.
  4. Adjust coefficients one at a time, updating the inventory after every change.
  5. Clean up: clear any fractions by multiplying everything by the same number, and make sure the coefficients are the smallest whole numbers possible.
  6. Check every element one final time.

Worked example 1: methane

$\text{CH}_4 + \text{O}_2 \rightarrow \text{CO}_2 + \text{H}_2\text{O}$

Element Left Right
C 1 1 ✔
H 4 2 ✘
O 2 3 ✘
  • C is already balanced.
  • H: 4 on the left, so put a 2 in front of H₂O → 4 H on the right.
  • O: right side now has $2 + 2 = 4$ O. O₂ is a pure element, so fix it last: $2\,\text{O}_2$ gives 4 O.

$$ \boxed{\text{CH}_4 + 2\,\text{O}_2 \rightarrow \text{CO}_2 + 2\,\text{H}_2\text{O}} $$

Check: C 1 = 1, H 4 = 4, O 4 = 4. ✔

Atom inventory for burning methane: unbalanced CH4 + O2 → CO2 + H2O has C 1/1, H 4/2, O 2/3; balanced CH4 + 2 O2 → CO2 + 2 H2O has C 1/1, H 4/4, O 4/4, all checked

Figure 2. The atom inventory for burning methane. Unbalanced, H (4 vs. 2) and O (2 vs. 3) don't match; after adding the coefficients, C, H and O all match on both sides.

Watch Prof. Whiskers balance methane in under a minute:

Can't see the video? Watch it on YouTube.

Worked example 2: ethane, and the odd-oxygen trick

$\text{C}_2\text{H}_6 + \text{O}_2 \rightarrow \text{CO}_2 + \text{H}_2\text{O}$

  • C: $2\,\text{CO}_2$. H: $3\,\text{H}_2\text{O}$ (6 H).
  • O on the right: $2(2) + 3(1) = 7$, an odd number. But O₂ only delivers oxygen in pairs, so no whole number of O₂ molecules gives 7 atoms. On paper we can write the provisional equation $\text{C}_2\text{H}_6 + \tfrac{7}{2}\,\text{O}_2 \rightarrow 2\,\text{CO}_2 + 3\,\text{H}_2\text{O}$ (that's 3½ O₂), which balances the atoms.
  • Fractions aren't allowed in the final answer (you can't have half a molecule), so double everything:

$$ \boxed{2\,\text{C}_2\text{H}_6 + 7\,\text{O}_2 \rightarrow 4\,\text{CO}_2 + 6\,\text{H}_2\text{O}} $$

Check: C 4 = 4, H 12 = 12, O 14 = 14. ✔

Worked example 3: aluminum oxidizing, and the odd–even trick

$\text{Al} + \text{O}_2 \rightarrow \text{Al}_2\text{O}_3$

Oxygen comes in 2s on the left and 3s on the right. The smallest number both 2 and 3 divide into is 6, so aim for 6 O: $3\,\text{O}_2$ and $2\,\text{Al}_2\text{O}_3$. That makes 4 Al on the right, so put 4 in front of Al:

$$ \boxed{4\,\text{Al} + 3\,\text{O}_2 \rightarrow 2\,\text{Al}_2\text{O}_3} $$

(This thin oxide skin is exactly why aluminum foil doesn't keep corroding the way iron rusts.)

Method 2: The algebra method (a derivation that never fails)

When inspection turns into an endless game of whack-a-mole, turn the problem into math. Since every element must be conserved, each element gives one linear equation.

Take photosynthesis:

$$ a\,\text{CO}_2 + b\,\text{H}_2\text{O} \rightarrow c\,\text{C}_6\text{H}_{12}\text{O}_6 + d\,\text{O}_2 $$

Write "atoms in = atoms out" for each element:

  • C: $a = 6c$
  • H: $2b = 12c \Rightarrow b = 6c$
  • O: $2a + b = 6c + 2d$

There are 4 unknowns but only 3 equations. That's expected: if an equation is balanced, doubling every coefficient keeps it balanced. So we're free to pick one value. Let $c = 1$:

$a = 6$, $b = 6$, and $2(6) + 6 = 6 + 2d \Rightarrow 18 = 6 + 2d \Rightarrow d = 6$.

$$ \boxed{6\,\text{CO}_2 + 6\,\text{H}_2\text{O} \rightarrow \text{C}_6\text{H}_{12}\text{O}_6 + 6\,\text{O}_2} $$

If the free choice leaves fractions, multiply through by the lowest common denominator. That's it: the algebra method is just conservation of atoms, written once per element.

🐭 Whiskers Tip Box

  • Never change a subscript. If your "fix" turns H₂O into H₂O₂, you've balanced a different reaction.
  • Pure elements last. O₂, H₂, Cl₂, Fe... their coefficients only affect one element, so they make perfect final adjusters.
  • Polyatomic ions are a team. If SO₄²⁻ appears unchanged on both sides, count it as one unit instead of S and O separately.
  • Smallest whole numbers. $2\,\text{H}_2 + \text{O}_2 \rightarrow 2\,\text{H}_2\text{O}$ is right. $4\,\text{H}_2 + 2\,\text{O}_2 \rightarrow 4\,\text{H}_2\text{O}$ is balanced but not simplified.
  • Stuck? Switch to the algebra method. It always works for a single reaction.

Why this matters: balanced equations are recipes in moles

In our mole lecture we said coefficients compare moles. Here's the payoff. For propane, the gas in a barbecue tank:

$$ \text{C}_3\text{H}_8 + 5\,\text{O}_2 \rightarrow 3\,\text{CO}_2 + 4\,\text{H}_2\text{O} $$

Using standard atomic weights (C 12.011, H 1.008, O 15.999):

  • Reactants: 1 mol C₃H₈ (44.10 g) + 5 mol O₂ (159.99 g) = 204.09 g
  • Products: 3 mol CO₂ (132.03 g) + 4 mol H₂O (72.06 g) = 204.09 g

Same mass in, same mass out. Lavoisier would be pleased.

Stacked bars for C3H8 + 5 O2 → 3 CO2 + 4 H2O: reactants 44.10 g propane plus 159.99 g oxygen, products 132.03 g CO2 plus 72.06 g water, both totaling 204.09 g

Figure 3. Burning 1 mol of propane: 44.10 g of C₃H₈ plus 159.99 g of O₂ gives 132.03 g of CO₂ plus 72.06 g of H₂O, so 204.09 g goes in and 204.09 g comes out.

Your turn: three practice problems

Problem 1 (warm-up). Balance the combustion of butane, the fuel in a pocket lighter:

$\text{C}_4\text{H}_{10} + \text{O}_2 \rightarrow \text{CO}_2 + \text{H}_2\text{O}$

Problem 2 (industrial). In a blast furnace, carbon monoxide pulls oxygen out of iron ore. Balance:

$\text{Fe}_2\text{O}_3 + \text{CO} \rightarrow \text{Fe} + \text{CO}_2$

Problem 3 (boss level, use algebra). Potassium permanganate reacts with hydrochloric acid to release chlorine gas. Balance:

$\text{KMnO}_4 + \text{HCl} \rightarrow \text{KCl} + \text{MnCl}_2 + \text{Cl}_2 + \text{H}_2\text{O}$

Answers (click to reveal)
  1. $2\,\text{C}_4\text{H}_{10} + 13\,\text{O}_2 \rightarrow 8\,\text{CO}_2 + 10\,\text{H}_2\text{O}$. C first (4 CO₂), then H (10 H → 5 H₂O), then O: $4(2) + 5(1) = 13$ O, which needs $\tfrac{13}{2}\,\text{O}_2$. Double everything to clear the fraction. Check: C 8 = 8, H 20 = 20, O 26 = 26.
  2. $\text{Fe}_2\text{O}_3 + 3\,\text{CO} \rightarrow 2\,\text{Fe} + 3\,\text{CO}_2$. Fe: 2 Fe. Each CO picks up one O from the ore to become CO₂, and the ore has 3 O, so 3 CO and 3 CO₂. Check: Fe 2 = 2, C 3 = 3, O 6 = 6.
  3. $2\,\text{KMnO}_4 + 16\,\text{HCl} \rightarrow 2\,\text{KCl} + 2\,\text{MnCl}_2 + 5\,\text{Cl}_2 + 8\,\text{H}_2\text{O}$. With $a\,\text{KMnO}_4 + b\,\text{HCl} \rightarrow c\,\text{KCl} + d\,\text{MnCl}_2 + e\,\text{Cl}_2 + f\,\text{H}_2\text{O}$: K gives $a = c$, Mn gives $a = d$, O gives $4a = f$, H gives $b = 2f = 8a$, and Cl gives $b = c + 2d + 2e$, so $8a = 3a + 2e$ and $e = \tfrac{5}{2}a$. Choose $a = 2$ to clear the fraction. Check: K 2 = 2, Mn 2 = 2, O 8 = 8, H 16 = 16, Cl 16 = 16.

"So the candle didn't vanish. It just moved out, one carbon dioxide molecule at a time, and it left the books perfectly balanced. Next time, we use these recipes to answer the real question: how much product can you actually make? Bring your calculator, and maybe a snack."

Further reading: OpenStax Chemistry 2e, Section 4.1: Writing and Balancing Chemical Equations, free online. For the history, the Science History Institute's biography of Antoine-Laurent Lavoisier.

Support us by wearing our merch at rsquarel7.com, and follow us on YouTube, Instagram, Facebook and TikTok.

Wear, Learn, Laugh with Science 👉 https://rsquarel7.com

Back to blog