In short
A pure substance has a fixed composition: every sample of a compound contains its elements in the same ratio by mass (the law of definite proportions). That fixed ratio is described by the percent composition and by the empirical formula, the simplest whole-number ratio of atoms. The empirical formula comes from converting masses to moles and dividing by the smallest; the molecular formula is a whole-number multiple of it.
What you need to know
- Explain the law of definite proportions for pure compounds.
- Calculate the percent composition by mass of a compound from its formula.
- Determine an empirical formula from mass or percent data.
- Use a molar mass to turn an empirical formula into a molecular formula.
Pure substances have a fixed composition
A pure substance is either an element (one kind of atom) or a compound (two or more elements chemically combined in a fixed ratio). Water from a glacier, a laboratory tap or a distant comet is always 11.2% hydrogen and 88.8% oxygen by mass. This is the law of definite proportions, and it follows from the particle model: every molecule of water is H₂O, so the ratio of atoms, and therefore the ratio of masses, cannot change.
Percent composition by mass
To find the mass percent of an element, divide the total mass of that element in one mole of the compound by the compound's molar mass and multiply by 100.
For carbon dioxide, CO₂ (44.01 g/mol): %C = 12.01 ÷ 44.01 × 100 = 27.29%, and %O = 2(16.00) ÷ 44.01 × 100 = 72.71%. The percentages of all elements in a compound add up to 100%, which is a useful check.
Percent composition also lets you compare compounds of the same elements. Carbon monoxide, CO, is 42.88% carbon, a different value from CO₂, because it is a different compound with a different fixed ratio of atoms.
From data to an empirical formula
The empirical formula is the simplest whole-number ratio of atoms in a compound. Since formulas count atoms, not grams, you must convert masses to moles first.
- If you have percentages, assume a 100 g sample so each percent becomes grams.
- Convert the mass of each element to moles with n = m/M.
- Divide every mole value by the smallest one.
- If any result is not close to a whole number (such as 1.5 or 1.33), multiply all of them by the same small integer (2 or 3) to clear it.
| Element | Grams in 100 g | Moles | ÷ smallest |
|---|---|---|---|
| C | 40.0 | 40.0 ÷ 12.01 = 3.33 | 1 |
| H | 6.7 | 6.7 ÷ 1.008 = 6.65 | 2 |
| O | 53.3 | 53.3 ÷ 16.00 = 3.33 | 1 |
The empirical formula is CH₂O. Its formula mass is 30.03 g/mol. If the compound's molar mass is measured as 180 g/mol, then 180 ÷ 30.03 = 6, so the molecular formula is (CH₂O)₆ = C₆H₁₂O₆, glucose.
Key terms
- Pure substance
- An element or a compound with a fixed composition throughout.
- Law of definite proportions
- Every sample of a given compound contains its elements in the same proportion by mass.
- Percent composition
- The percentage by mass of each element in a compound.
- Empirical formula
- The simplest whole-number ratio of atoms of each element in a compound.
- Molecular formula
- The actual number of each kind of atom in a molecule; a whole-number multiple of the empirical formula.
Common mistakes
Divide the mass percentages by each other to get the empirical formula.
Convert each mass to moles first; formulas are ratios of atoms, not grams.
A mole ratio of 1 : 1.5 rounds to 1 : 2.
Multiply by 2 to get 2 : 3; only round values very close to whole numbers.
The empirical formula and molecular formula are always different.
They can be the same, as for H₂O or CO₂, where the simplest ratio is also the actual formula.
A compound's percent composition depends on how big the sample is.
Percent composition is fixed for a pure compound; a bigger sample has more mass of each element in the same ratio.
How this topic is tested
- Set the work out as a table (grams, moles, ÷ smallest); graders can follow it and award method points.
- Check that your percentages add up to 100% and that your empirical formula's mass divides evenly into any given molar mass.
- If combustion data are given (grams of CO₂ and H₂O), find moles of C from CO₂ and moles of H from H₂O (two H per water) before building the ratio.
Practice questions
Original AP-style multiple-choice questions. Pick an answer to see the explanation.
Question 1 · SP 5 · Mathematical Routines
What is the percent by mass of nitrogen in ammonium nitrate, NH₄NO₃ (M = 80.05 g/mol)?
Question 2 · SP 5 · Mathematical Routines
A compound contains 0.40 mol of iron and 0.60 mol of oxygen. What is its empirical formula?
Question 3 · SP 5 · Mathematical Routines
A compound has the empirical formula CH₂ and a molar mass of 56.1 g/mol. What is its molecular formula?
Question 4 · SP 6 · Argumentation
Two samples of a white solid are analysed. Sample 1 is 39.3% sodium by mass; sample 2 is 39.3% sodium by mass but has twice the total mass. Which conclusion is best supported?
Question 5 · SP 2 · Question and Method
A student wants to find the empirical formula of a magnesium oxide by heating a strip of magnesium in air. Which pair of measurements is needed?
Free-response practice
Write your answer first, then mark it against the scoring guide.
Short answer (4 points) · 4 points
A compound used in nail-polish remover contains only carbon, hydrogen and oxygen. Analysis shows it is 62.0% carbon and 10.4% hydrogen by mass. Its molar mass is 58.1 g/mol.
- (a) Calculate the percent by mass of oxygen.
- (b) Determine the empirical formula. Show your work.
- (c) Determine the molecular formula and justify your answer.
Scoring guide: one point for each of the following
Part (a)
- 100 − 62.0 − 10.4 = 27.6% O.
Part (b)
- Moles in 100 g: C 62.0/12.01 = 5.16, H 10.4/1.008 = 10.3, O 27.6/16.00 = 1.73.
- Divide by 1.73: C 3, H 6, O 1, so C₃H₆O.
Part (c)
- The empirical formula mass is 58.08 g/mol, equal to the molar mass, so the molecular formula is also C₃H₆O.
Connected topics
Frequently asked questions
Why do we assume a 100 g sample?
It turns each percentage straight into grams (62.0% becomes 62.0 g), which makes converting to moles quick. Any sample size gives the same ratio.
Can two different compounds have the same empirical formula?
Yes. Formaldehyde (CH₂O), acetic acid (C₂H₄O₂) and glucose (C₆H₁₂O₆) all have the empirical formula CH₂O. A molar mass is needed to tell them apart.
Is the formula of an ionic compound empirical or molecular?
Ionic compounds are written as formula units, which are their simplest ion ratio, so their formulas are empirical formulas.