In this lesson
Take it with you
- Lesson slides (PDF)
- Practice worksheet (PDF)
- Answer key (PDF)
- AP Chemistry Unit 1 Practice (activity)
Essential Question
Is the recipe for a compound always the same?
By the end of this lesson, you should be able to find what percent of a compound’s mass comes from each element, and use percent data to find a compound’s empirical formula.
Video not loading? Watch it on YouTube.
Pure Substances
- Made of only one kind of particle
- Molecules: atoms bonded as a unit
- Formula units: ions in a fixed ratio

Water is made of separate molecules. Sodium chloride is made of ions packed in a repeating pattern, so there is no single NaCl molecule. Instead, a formula unit describes the simplest ratio of ions: one Na+ for every one Cl−.
Law of Definite Proportions
- A compound always has the same mass ratio of its elements.
- Sample size and source do not matter.

A small glass of water and a big tank of water both have about 1 gram of hydrogen for every 8 grams of oxygen. If the ratio is different, it’s a different compound.
Percent Composition
% element = (mass of element ÷ mass of compound) × 100
- Percent of a compound’s mass from each element
- Use the molar mass for 1 mol.

One mole of water is 18.02 g, and 2.016 g of that is hydrogen: 2.016 ÷ 18.02 × 100 = 11.2% hydrogen. The other 88.8% is oxygen. Your percents should always add up to 100.
Empirical vs. Molecular Formula
- Molecular formula: actual atoms in one molecule
- Empirical formula: lowest whole-number ratio
| Compound | Molecular formula | Empirical formula |
|---|---|---|
| Glucose | C6H12O6 | CH2O |
| Hydrogen peroxide | H2O2 | HO |
| Water | H2O | H2O |
Glucose divides evenly by 6 and hydrogen peroxide by 2. Water is already in its lowest ratio, so its molecular and empirical formulas are the same.
Finding an Empirical Formula
- Percent to mass (assume a 100 g sample)
- Mass to moles (÷ molar mass)
- Divide each by the smallest
- Multiply until whole
Here’s a rhyme to remember the steps: percent to mass, mass to mole, divide by small, multiply ’til whole.
Fixing Decimal Ratios
- Round only if very close: 1.98 → 2
- Otherwise multiply ALL by the same number.
| If the ratio ends in | Multiply by | Example |
|---|---|---|
| .5 | 2 | 1.5 → 3 |
| .33 or .67 | 3 | 1.33 → 4 |
| .25 or .75 | 4 | 1.25 → 5 |
Worked Examples
Try each problem on your own first, then open the solution to check your work.
Example 1: Percent Composition
What is the percent by mass of nitrogen in ammonium nitrate, NH4NO3?
Show the solution
- Count nitrogen: one N in NH4 and one in NO3: 2 × 14.01 = 28.02 g
- Hydrogen: 4 × 1.008 = 4.032 g
- Oxygen: 3 × 16.00 = 48.00 g
- Molar mass: 28.02 + 4.032 + 48.00 = 80.05 g/mol
- Percent: 28.02 ÷ 80.05 × 100 = 35.0%
- Answer: 35.0% N
- The trap: don’t forget the second nitrogen in NO3.
Example 2: Empirical Formula
A compound is 40.0% carbon, 6.7% hydrogen, and 53.3% oxygen by mass. Find its empirical formula.
Show the solution
- Percent to mass: assume 100 g: 40.0 g C, 6.7 g H, 53.3 g O
- Carbon: 40.0 ÷ 12.01 = 3.33 mol
- Hydrogen: 6.7 ÷ 1.008 = 6.65 mol
- Oxygen: 53.3 ÷ 16.00 = 3.33 mol
- Divide by the smallest: ÷ 3.33 gives C = 1.00, H = 2.00, O = 1.00
- Answer: CH2O
Example 3: Empirical Formula with a Ratio Fix
A compound contains 69.9% iron and 30.1% oxygen by mass. Find its empirical formula.
Show the solution
- Percent to mass: assume 100 g: 69.9 g Fe, 30.1 g O
- Iron: 69.9 ÷ 55.85 = 1.252 mol
- Oxygen: 30.1 ÷ 16.00 = 1.881 mol
- Divide by the smallest: ÷ 1.252 gives Fe = 1 and O = 1.50. That is not close enough to round.
- Multiply: it ends in .5, so multiply both by 2: Fe = 2, O = 3
- Answer: Fe2O3 (rust)
Example 4: Definite Proportions
Sample 1 of a compound contains 4.00 g Ca and 7.10 g Cl. Sample 2 contains 8.00 g Ca and 14.20 g Cl. Could these samples be the same compound? Justify your answer.
Show the solution
- Sample 1 ratio: 4.00 g Ca ÷ 7.10 g Cl = 0.563
- Sample 2 ratio: 8.00 g Ca ÷ 14.20 g Cl = 0.563
- Answer: Yes, the mass ratios are the same
Sample exam justification: According to the law of definite proportions, a pure compound always has the same mass ratio of its elements. Both samples have a Ca to Cl mass ratio of 0.563, so the data are consistent with the same compound. Sample 2 is just twice as big.
Practice
- 1.3 Elemental Composition of Pure Substances Practice Worksheet (PDF)
- 1.3 Elemental Composition of Pure Substances Practice Answer Key (PDF)
Practice with instant feedback
Answer original AP-style questions for Unit 1 and see an explanation right after each one. Choose Topic 1.3 or mix topics. No login needed.
Lesson Slides
Big Ideas
- A pure compound has a fixed mass ratio.
- % element = part ÷ whole × 100
- Empirical formula = lowest whole-number ratio
- Percent → mass → moles → divide → whole
Back to the essential question: yes, a pure compound always has the same recipe, the same mass ratio of its elements, and that ratio lets us work out its empirical formula. Next up, Topic 1.4 looks at mixtures, where the recipe can change.
AP Alignment
This lesson covers Topic 1.3, Elemental Composition of Pure Substances, in Unit 1 (Atomic Structure and Properties) of the College Board AP Chemistry Course and Exam Description (CED). Learning objective:
- 1.3.A: Explain the quantitative relationship between the elemental composition by mass and the empirical formula of a pure substance.
Essential knowledge: 1.3.A.1, 1.3.A.2, 1.3.A.3
Suggested skill: 2.A Question and Method. Identify a testable scientific question based on an observation, data, or a model.