Worked example 1
A compound is 40.00 % C, 6.71 % H and 53.29 % O by mass. Find its empirical formula.
Try it first: What mass of each element would a 100.00 g sample contain?
0 of 4 steps revealed.
What you'll be able to do: Turn mass or percent data into an empirical formula, then use a molar mass to find the molecular formula.
Best after: The Mole and Molar Mass, Percent Composition
Percent composition goes from a formula to masses. Empirical formula work runs that process backwards: you start with laboratory masses and finish with the simplest whole-number ratio of atoms. This is how unknown compounds were identified long before modern instruments, and it is still how most introductory analysis questions are framed.
These are recommended, not required. You can start this lesson at any time.
The empirical formula is the simplest whole-number atom ratio; the molecular formula is the actual number of atoms in one molecule. Glucose has the empirical formula CH₂O and the molecular formula C₆H₁₂O₆. Both describe the same substance, but only the molecular formula gives the true molecule. Ionic compounds are always written as empirical formulas because there is no discrete molecule.
If you are given percentages rather than masses, assume a 100.00 g sample. Then each percentage is directly a mass in grams: 40.00 % C becomes 40.00 g C. Nothing is lost, because the ratio of atoms does not depend on how much of the compound you have.
After converting each mass to moles, divide every mole value by the smallest of them. That forces the least-abundant element to 1 and expresses the others relative to it. Small deviations such as 1.98 or 3.01 are experimental noise and round to 2 and 3.
ratioX = nX / n_smallest
A result near 0.5 means multiply everything by 2; 0.33 or 0.67 means multiply by 3; 0.25 or 0.75 means multiply by 4. Multiply every element, not just the fractional one. A value like 2.5 that you round to 3 changes the compound entirely, so resist rounding anything between about 0.2 and 0.8 away from its fraction.
Compute the empirical formula mass, then divide the measured molar mass by it. The result should be very close to a whole number n, and the molecular formula is the empirical formula with every subscript multiplied by n. If n comes out as 2.6 rather than 3, either the empirical formula or the molar mass is wrong.
n = M(molecular) / M(empirical)
In combustion analysis a hydrocarbon is burned and the CO₂ and H₂O produced are weighed. All carbon in the CO₂ came from the sample, and all hydrogen in the H₂O came from the sample, so mol C = mol CO₂ and mol H = 2 x mol H₂O. Any oxygen in the compound is found by difference: mass O = sample mass minus mass C minus mass H. This material goes beyond the core requirement and is optional on a first pass.
The simplest whole-number ratio of atoms in a compound.
The actual number of each kind of atom in one molecule; always a whole-number multiple of the empirical formula.
Atom ratios only appear after masses are converted to moles. Comparing grams directly gives a meaningless ratio.
Ratios ending in 0.5, 0.33 or 0.25 are real fractions. Scale the entire ratio up instead of rounding.
Empirical formula analysis assumes every gram of the sample belongs to one compound.
nX = mX / AX
n = M(molecular) / M(empirical)
A compound is 40.00 % C, 6.71 % H and 53.29 % O by mass. Find its empirical formula.
Try it first: What mass of each element would a 100.00 g sample contain?
0 of 4 steps revealed.
The compound above has a measured molar mass of 180.2 g/mol. What is its molecular formula?
0 of 3 steps revealed.
A 2.50 g sample of a compound contains 1.66 g of iron and the rest oxygen. Find the empirical formula.
Try it first: Get the oxygen mass by difference before doing anything else.
0 of 4 steps revealed.
Why it's wrong: Grams weigh atoms of different mass, so 1 g of H and 1 g of O are not equal numbers of atoms.
Check instead: Convert every mass to moles first, then form the ratio.
Why it's wrong: 1.5 is a real 3:2 ratio; rounding it produces a different compound, for example FeO instead of Fe₂O₃.
Check instead: Multiply every element in the ratio by 2, 3 or 4 to clear the fraction.
Why it's wrong: Scaling one element changes the composition instead of rewriting the same ratio.
Check instead: Apply the multiplier to every element, then confirm the ratio is unchanged.
Why it's wrong: A supplied molar mass is a signal that the molecular formula is wanted.
Check instead: If the problem gives M, always divide by the empirical formula mass and check the multiplier.
Why it's wrong: In many analyses the oxygen mass is only available by subtracting the other elements from the sample mass.
Check instead: Add up the listed element masses; any shortfall against the sample mass is usually oxygen.
No practice questions are available for this topic yet. You can still practice the whole unit.
Convert each element's mass to moles, divide every value by the smallest, and clear any fraction to whole numbers. That gives the empirical formula. Comparing the empirical formula mass with a measured molar mass gives the whole-number multiplier that produces the molecular formula.
Chemistry 2e, OpenStax, Rice University, licensed CC BY 4.0. License