In this lesson
Take it with you
- Lesson slides (PDF)
- Practice worksheet (PDF)
- Answer key (PDF)
Essential Question
How do we find a formula from lab data?
When chemists discover a new compound, they don’t start with its formula. They measure how much of each element it contains, then work out the formula from that data. By the end of this lesson, you should be able to find an empirical formula from percents or masses, and use the molar mass to find the molecular formula.
Video not loading? Watch it on YouTube.
Empirical vs. Molecular
- Molecular formula: actual atoms in one molecule
- Empirical formula: simplest whole-number ratio
Glucose’s molecular formula is C6H12O6. Dividing every subscript by 6 gives the empirical formula, CH2O. H2O2 simplifies to HO. Water’s subscripts can’t be simplified, so its empirical and molecular formulas are both H2O. Lab data gives only the ratio, so it gives the empirical formula first.
Subscripts Are Mole Ratios
- Subscripts compare atoms, so they compare moles
- Not grams!
- Find moles of each element, then compare

In Fe2O3 there are 2 iron atoms for every 3 oxygen atoms, so there are also 2 mol Fe for every 3 mol O. The masses are not in a 2:3 ratio, because iron atoms are much heavier. To find a formula, always convert to moles first.
The 4 Steps
- Percent to mass: assume 100 g
- Mass to mole: divide by molar mass
- Divide by small: divide every mole amount by the smallest one
- Multiply ’til whole: if needed
Remember the rhyme: percent to mass, mass to mole, divide by small, multiply ’til whole. Turn percents into grams, convert grams to moles, divide every mole amount by the smallest one, and multiply by a whole number if needed.
Step 1: Assume 100 g
- Pretend you have exactly 100 g
- Then each percent becomes grams
Percents don’t depend on sample size, so assume you have exactly 100 g. Then 40.0% C becomes 40.0 g C, 6.7% H becomes 6.7 g H, and 53.3% O becomes 53.3 g O. If a problem gives you masses instead of percents, skip this step.
Step 4: Fixing Decimals
- Within 0.1 of a whole number? Round it
- Otherwise, multiply every number
If a ratio is within about 0.1 of a whole number, like 1.98 or 3.03, round it. If not, multiply every number by the same whole number: ×2 for numbers ending in .5, ×3 for .33 or .67, and ×4 for .25 or .75. For example, Fe 1 : O 1.5 times 2 gives Fe2O3.
Finding the Molecular Formula
- Need the molar mass of the compound
- Find the empirical formula mass (EFM)
- Multiply subscripts by n
To find the molecular formula, divide the compound’s molar mass by the empirical formula mass (EFM) to get n, then multiply every subscript by n. For glucose, 180.18 ÷ 30.03 = 6, so CH2O becomes C6H12O6.
Worked Examples
Try each problem on your own first, then open the solution to check your work.
Example 1: Two Elements
A compound is 75.0% carbon and 25.0% hydrogen by mass. Find its empirical formula.
Show the solution
- Percent to mass: assume 100 g, so 75.0 g C and 25.0 g H
- Mass to mole: C: 75.0 ÷ 12.01 = 6.245 mol. H: 25.0 ÷ 1.01 = 24.75 mol
- Divide by small: C: 6.245 ÷ 6.245 = 1. H: 24.75 ÷ 6.245 = 3.96
- Whole numbers: 3.96 is within 0.1 of 4, so round
- Answer: CH4
Example 2: From Masses
A sample of an iron oxide contains 5.45 g of iron and 2.34 g of oxygen. Find its empirical formula.
Show the solution
- Masses: already given in grams, so skip the 100 g step
- Mass to mole: Fe: 5.45 ÷ 55.85 = 0.09758 mol. O: 2.34 ÷ 16.00 = 0.1463 mol
- Divide by small: Fe: 1. O: 0.1463 ÷ 0.09758 = 1.50
- Multiply ’til whole: 1.50 ends in .5, so × 2 → Fe 2, O 3
- Answer: Fe2O3 Don’t round 1.5 to 2. That would give FeO2, which is wrong.
Example 3: Three Elements
A compound is 52.2% carbon, 13.0% hydrogen, and 34.8% oxygen by mass. Find its empirical formula.
Show the solution
- Percent to mass: 52.2 g C, 13.0 g H, 34.8 g O
- Mass to mole: C: 52.2 ÷ 12.01 = 4.346. H: 13.0 ÷ 1.01 = 12.87. O: 34.8 ÷ 16.00 = 2.175
- Divide by small (2.175): C: 2.00. H: 5.92. O: 1
- Whole numbers: 5.92 is within 0.1 of 6, so round
- Answer: C2H6O
Example 4: Molecular Formula
A compound has the empirical formula CH and a molar mass of 78.12 g/mol. Find its molecular formula.
Show the solution
- Empirical formula mass: 12.01 + 1.01 = 13.02 g/mol
- Find n: 78.12 ÷ 13.02 = 6.00
- Multiply subscripts by 6: C: 1 × 6 = 6, H: 1 × 6 = 6
- Check: 6(12.01) + 6(1.01) = 78.12 g/mol
- Answer: C6H6
Practice
Lesson Slides
Big Ideas
- Empirical formula = simplest ratio
- Subscripts are mole ratios
- Percent to mass, mass to mole, divide by small, multiply ’til whole
- Molecular: n = molar mass ÷ EFM
Back to the essential question: we convert the data to moles of each element, divide by the smallest number of moles to find the simplest whole-number ratio, and multiply if needed. That gives the empirical formula. The molar mass tells us how many times bigger the real molecule is. Next, we’ll see how chemists collect this kind of data in the lab using gravimetric analysis. Next lesson: Gravimetric Analysis.
NGSS Alignment
This lesson builds toward these Next Generation Science Standards (NGSS) performance expectations:
- HS-PS1-7: Use mathematical representations to support the claim that atoms, and therefore mass, are conserved during a chemical reaction.
Disciplinary core ideas: PS1.A Structure and Properties of Matter; PS1.B Chemical Reactions