AP Chemistry · Topic 1.3 · Reading guide, about 5 min

From percent by mass to empirical formula

Turn mass or percent data into an empirical formula, then use molar mass to reach the molecular formula.

In one minute

A pure compound always has the same elements in the same mass proportions. That fact lets you work backward from lab data, such as the mass of each element in a sample, to the simplest whole-number ratio of atoms in the compound.

This topic is about that two-way translation: formula to percent by mass, and mass data to formula. It is the first example in the course of using measured numbers to decide what a substance really is.

Key terms

Law of definite proportions
A given pure compound always contains the same elements in the same fixed proportions by mass.
Percent composition
The percent of a compound's total mass contributed by each element.
Empirical formula
The simplest whole-number ratio of atoms (or ions) of each element in a compound.
Molecular formula
The actual numbers of each atom in one molecule; it is a whole-number multiple of the empirical formula.
Formula unit
The lowest whole-number ratio of ions in an ionic compound, used because ionic solids have no separate molecules.
Mole ratio
The ratio of moles of one element to another, which equals the ratio of atoms in the formula.
Molar mass
Mass per mole, used to find how many empirical units fit in the true molecular formula.

Percent composition from a formula

The mass percent of an element is mass of that element in one molemolar mass of compound×100\dfrac{\text{mass of that element in one mole}}{\text{molar mass of compound}} \times 100. For water, the two hydrogens contribute 2(1.008)=2.0162(1.008) = 2.016 g of the 18.02 g in one mole, giving 11.19% hydrogen and 88.81% oxygen. Any pure sample of water, from any source, shows these percents. That is the law of definite proportions at work.

Finding an empirical formula

Working backward, you rarely have moles; you have masses or percents. The recipe has four steps. If the data are percents, imagine a 100 g sample so each percent becomes grams. Convert each element's grams to moles using its atomic mass. Divide every mole value by the smallest one to get ratios. Finally, turn the ratios into whole numbers. If a ratio sits close to a whole number (within about 0.1), round it. If it is a recognizable fraction, multiply all ratios by the smallest number that clears it.

Clearing fractions in a mole ratio
Ratio looks likeMultiply every ratio byWhy
1.5021.50 is 3/2, so doubling gives 3
1.3331.33 is 4/3, so tripling gives 4
1.2541.25 is 5/4, so four times gives 5
1.6731.67 is 5/3, so tripling gives 5

Empirical versus molecular formula

The empirical formula is only a ratio. Hydrogen peroxide is H2O2\text{H}_2\text{O}_2, but its ratio is 1:1, so its empirical formula is HO\text{HO}. Glucose is C6H12O6\text{C}_6\text{H}_{12}\text{O}_6 with empirical formula CH2O\text{CH}_2\text{O}. To go from empirical to molecular, divide the compound's molar mass by the empirical formula mass. The result is a whole number, and you multiply every subscript by it.

Ionic compounds are written as formula units, which for nearly all ionic compounds are empirical formulas. Al2O3\text{Al}_2\text{O}_3 is the formula unit, and there is no separate molecule to name, so there is nothing larger to find. Rare exceptions contain a polyatomic ion such as peroxide, O22−\text{O}_2^{2-}: sodium peroxide is Na2O2\text{Na}_2\text{O}_2 even though its element ratio is 1:1.

Worked example: a sugar-like compound

Data. A compound is 40.0% carbon, 6.7% hydrogen and 53.3% oxygen by mass, and its molar mass is 180 g/mol. Find the empirical and molecular formulas.

Step 1: assume 100 g. That gives 40.0 g C, 6.7 g H and 53.3 g O.

Step 2: grams to moles. C: 40.0÷12.01=3.3340.0 \div 12.01 = 3.33 mol. H: 6.7÷1.008=6.656.7 \div 1.008 = 6.65 mol. O: 53.3÷16.00=3.3353.3 \div 16.00 = 3.33 mol.

Step 3: divide by the smallest (3.33). C: 1.00. H: 6.65÷3.33=2.006.65 \div 3.33 = 2.00. O: 1.00. The ratio is 1 : 2 : 1, already whole numbers.

Step 4: empirical formula. CH2O\text{CH}_2\text{O}, with an empirical mass of 12.01+2(1.008)+16.00=30.0312.01 + 2(1.008) + 16.00 = 30.03 g/mol.

Step 5: molecular formula. 180÷30.03=5.99180 \div 30.03 = 5.99, which rounds to 6. Multiply each subscript by 6 to get C6H12O6\text{C}_6\text{H}_{12}\text{O}_6. The check: 6(12.01)+12(1.008)+6(16.00)=180.26(12.01) + 12(1.008) + 6(16.00) = 180.2 g/mol, matching the data within the precision of the given 180.

The hydrogen value of 6.7 has only two significant figures, so the ratio 2.00 is really "2.0 give or take a little." Rounding to the nearest whole number is justified because the number is very close.

Checking your answer and avoiding traps

Whenever you find a formula, work out its mass percents again as a test. If an element's percent is far from the data, something went wrong earlier. When two ratios land at 1.0 and 1.5, do not round 1.5 down to 1; scale by 2. Round only if you are close to a whole number, because a small error in lab data can shift the third digit but not the first.

When the data are masses instead of percents, skip step 1 and go straight to moles. If the compound is ionic, report the empirical formula and stop; if the compound is molecular and a molar mass is given, finish with the multiple.

How it connects

  • Back to 1.1: converting grams to moles is the core step of every empirical formula problem.
  • Back to 1.2: the atomic masses used here are the weighted averages from isotope data.
  • Forward to 1.4: comparing a sample's measured mass percents with those of the pure compound tests purity.
  • Forward to 4.5: once you know a formula, its subscripts give the mole ratios used in reaction calculations.

Common mistakes

  • Using grams as if they were ratios. The ratio of atoms comes from moles, not from masses; 40 g of carbon and 53 g of oxygen are not in a 40:53 atom ratio.
  • Rounding 1.5 or 1.33 to a whole number. A ratio of 1.5 means multiply everything by 2, not round down.
  • Stopping at the empirical formula when a molar mass is given. The empirical formula alone cannot say whether the compound is CH2O\text{CH}_2\text{O} or C6H12O6\text{C}_6\text{H}_{12}\text{O}_6.
  • Giving an ionic compound a multiplied formula. Ionic compounds have only formula units, and for nearly all of them, such as aluminum oxide, the empirical formula is the formula.

How it shows up on the exam

  • Calculation questions give percent composition or masses of products from a lab analysis and ask for an empirical formula, sometimes followed by a molecular formula from a molar mass.
  • Data questions may offer several candidate formulas and ask which one is consistent with measured mass percents.
  • Short-answer questions ask you to explain, in words, why the empirical and molecular formulas can differ.

Check yourself

  1. Why does assuming a 100 g sample make the percent-to-gram step so easy?
  2. A compound has a mole ratio of 1 : 2.5 between two elements. What whole-number ratio do you report?
  3. How do you decide how many empirical units fit into the molecular formula?
  4. Why can you not find a molecular formula from percent data alone?

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.