Percent Composition & Empirical Formulas
Learn to calculate percent composition from a chemical formula and work backward from mass-percent data to find empirical and molecular formulas using mole ratios.
What you'll do in this lesson
A voice-first session with the Crimsora tutor on Percent Composition & Empirical Formulas, then targeted practice and FRQs — with the tutor adapting to where you get stuck.
What this lesson covers
Suppose a chemist isolates a white powder from a plant and burns a sample of it. The lab report comes back not as a formula but as a list of percentages: 40.00 percent carbon, 6.71 percent hydrogen, 53.29 percent oxygen. That is all the instrument can tell you. Turning those percentages into a real chemical formula is one of the most satisfying moves in chemistry, and it is exactly what this lesson teaches.
You already know how to find molar mass and convert between grams and moles. Percent composition runs that machinery forward: formula in, percentages out. Empirical formula determination runs it backward: percentages in, formula out. Then one extra piece of information, the molar mass of the whole compound, upgrades the empirical formula into the true molecular formula. Master the three-step mole-ratio routine here and you will use it in every analytical problem that follows.
You already know how to find molar mass and convert between grams and moles. Percent composition runs that machinery forward: formula in, percentages out. Empirical formula determination runs it backward: percentages in, formula out. Then one extra piece of information, the molar mass of the whole compound, upgrades the empirical formula into the true molecular formula. Master the three-step mole-ratio routine here and you will use it in every analytical problem that follows.
Percent Composition from a Formula
Percent composition tells you what fraction of a compound's mass comes from each element. For any element in a compound:The key phrase is in one mole of compound. If the formula has a subscript, you must multiply the element's atomic mass by that subscript before dividing.
Take calcium nitrate, . One mole contains 1 mol Ca, 2 mol N, and 6 mol O. The molar mass is g/mol. Then:
The percentages sum to 99.99%, which rounds to 100% — always check this. If your percentages sum to something like 87% or 115%, you made an arithmetic error, most often by forgetting a subscript inside parentheses.
Two places students slip. First, the parentheses in distribute to both N and O, giving 2 N and 6 O, not 2 N and 3 O. Second, percent composition is a property of the compound, not of your sample. A 2.0 g sample and a 500 g sample of calcium nitrate both have 24.42% calcium. That is why you can always assume a convenient sample size later on.
Percent composition is also useful in reverse for a single element: if a fertilizer bag is 17.07% nitrogen by mass and holds 20,000 g, it contains g of nitrogen.
Take calcium nitrate, . One mole contains 1 mol Ca, 2 mol N, and 6 mol O. The molar mass is g/mol. Then:
| Element | Mass in 1 mol | Percent |
|---|---|---|
| Ca | 40.08 g | 24.42% |
| N | 28.02 g | 17.07% |
| O | 96.00 g | 58.50% |
Two places students slip. First, the parentheses in distribute to both N and O, giving 2 N and 6 O, not 2 N and 3 O. Second, percent composition is a property of the compound, not of your sample. A 2.0 g sample and a 500 g sample of calcium nitrate both have 24.42% calcium. That is why you can always assume a convenient sample size later on.
Percent composition is also useful in reverse for a single element: if a fertilizer bag is 17.07% nitrogen by mass and holds 20,000 g, it contains g of nitrogen.
From Percentages to an Empirical Formula
The empirical formula is the smallest whole-number ratio of atoms in a compound. Formulas are ratios of atoms, but lab data comes as ratios of mass, and atoms of different elements have different masses. Moles are the bridge.
The routine has four steps, and the memory hook is "percent to mass, mass to mole, divide by small, multiply til whole."
Step 1 — Assume 100 g. Percentages become grams directly: 40.00% C becomes 40.00 g C. This is legal because percent composition does not depend on sample size.
Step 2 — Convert each mass to moles by dividing by that element's molar mass.
Step 3 — Divide every mole value by the smallest one. This forces the smallest element to 1 and expresses the others relative to it.
Step 4 — Clear fractions. If a ratio lands near 1.5, 1.33, 1.25, or 2.5, multiply every subscript by 2, 3, 4, or 2 respectively.
The biggest error is rounding too soon. A ratio of 1.48 is 1.5 and needs doubling; a ratio of 1.98 is 2 and does not. Anything within roughly 0.1 of a whole number is that whole number (experimental data is never perfect), but 1.5 is not "close to 2." Also, when you multiply to clear a fraction, multiply every subscript, not just the fractional one.
The routine has four steps, and the memory hook is "percent to mass, mass to mole, divide by small, multiply til whole."
Step 1 — Assume 100 g. Percentages become grams directly: 40.00% C becomes 40.00 g C. This is legal because percent composition does not depend on sample size.
Step 2 — Convert each mass to moles by dividing by that element's molar mass.
Step 3 — Divide every mole value by the smallest one. This forces the smallest element to 1 and expresses the others relative to it.
Step 4 — Clear fractions. If a ratio lands near 1.5, 1.33, 1.25, or 2.5, multiply every subscript by 2, 3, 4, or 2 respectively.
| Decimal near | Fraction | Multiply all by |
|---|---|---|
| .50 | 1/2 | 2 |
| .33 or .67 | 1/3 or 2/3 | 3 |
| .25 or .75 | 1/4 or 3/4 | 4 |
| .20, .40, .60, .80 | fifths | 5 |
Molecular Formulas: Scaling Up the Empirical Formula
An empirical formula gives the ratio, not the actual count. Both formaldehyde (, molar mass 30.03 g/mol) and glucose (, molar mass 180.18 g/mol) have the empirical formula and identical percent composition — 40.00% C, 6.71% H, 53.29% O. Mass percentages alone can never distinguish them.
What breaks the tie is the molar mass of the compound, measured separately (by mass spectrometry or a gas-density experiment). Compute the whole-number multiplier:Then multiply every subscript in the empirical formula by . For glucose, , so .
The value of must come out very close to a whole number. If you get 2.98, use 3. If you get 2.4, something is wrong upstream — usually an empirical formula that was not fully reduced or a molar-mass arithmetic slip. Go back and check rather than forcing the number.
Note that is a perfectly good answer. Water is both empirically and molecularly. Ionic compounds are always written as empirical formulas, since they have no discrete molecules — you would never write .
One subtlety worth remembering: molecular formula and structure are still different things. Both ethanol and dimethyl ether are , yet one is a drinkable liquid and the other a gas. Composition data can get you to a formula, never to a structure.
What breaks the tie is the molar mass of the compound, measured separately (by mass spectrometry or a gas-density experiment). Compute the whole-number multiplier:Then multiply every subscript in the empirical formula by . For glucose, , so .
The value of must come out very close to a whole number. If you get 2.98, use 3. If you get 2.4, something is wrong upstream — usually an empirical formula that was not fully reduced or a molar-mass arithmetic slip. Go back and check rather than forcing the number.
Note that is a perfectly good answer. Water is both empirically and molecularly. Ionic compounds are always written as empirical formulas, since they have no discrete molecules — you would never write .
One subtlety worth remembering: molecular formula and structure are still different things. Both ethanol and dimethyl ether are , yet one is a drinkable liquid and the other a gas. Composition data can get you to a formula, never to a structure.
Working from Raw Lab Masses Instead of Percentages
Real experiments rarely hand you percentages. More often you heat a known mass of metal in air and weigh the oxide, or burn a hydrocarbon and collect the and . The good news: you can skip Step 1 entirely.
If you already have masses in grams, convert straight to moles and divide by the smallest. The 100 g assumption exists only to turn percentages into masses; when you have real masses, use them.
A classic setup: a 2.500 g strip of magnesium is burned and the product weighs 4.146 g. The oxygen mass is not given directly — it is the difference, g O. Then mol Mg and mol O, a 1:1 ratio, giving .
The mass-by-difference move is where students most often stumble. In any "element plus oxygen forms oxide" problem, the mass of the oxide minus the mass of the element equals the mass of oxygen that combined. This is conservation of mass doing real analytical work.
A second common form gives you two percentages and expects you to find the third by subtraction. If a compound is 52.14% C and 13.13% H and the rest is oxygen, then oxygen is . Never assume the remainder is oxygen unless the problem states which elements are present — but when it does, subtraction is the intended path.
Finally, carry at least four significant figures through the mole calculations. Rounding 0.1029 to 0.10 early can turn a clean 1.50 into an ambiguous 1.4 or 1.6.
If you already have masses in grams, convert straight to moles and divide by the smallest. The 100 g assumption exists only to turn percentages into masses; when you have real masses, use them.
A classic setup: a 2.500 g strip of magnesium is burned and the product weighs 4.146 g. The oxygen mass is not given directly — it is the difference, g O. Then mol Mg and mol O, a 1:1 ratio, giving .
The mass-by-difference move is where students most often stumble. In any "element plus oxygen forms oxide" problem, the mass of the oxide minus the mass of the element equals the mass of oxygen that combined. This is conservation of mass doing real analytical work.
A second common form gives you two percentages and expects you to find the third by subtraction. If a compound is 52.14% C and 13.13% H and the rest is oxygen, then oxygen is . Never assume the remainder is oxygen unless the problem states which elements are present — but when it does, subtraction is the intended path.
Finally, carry at least four significant figures through the mole calculations. Rounding 0.1029 to 0.10 early can turn a clean 1.50 into an ambiguous 1.4 or 1.6.
Checking Your Work and Avoiding Common Traps
Every empirical formula problem has a built-in check: compute the percent composition of your answer and compare it to the data you started with. If you derive from data saying 81.7% C, verify that really is carbon. Matching within a few tenths of a percent means you are right.
Here is where things actually go wrong, in rough order of frequency:
One conceptual trap deserves its own mention. Percent composition by mass is not percent by atoms. Water is 11.19% hydrogen by mass but two-thirds of its atoms are hydrogen. Hydrogen is light, so it contributes little mass despite being numerous. Students who confuse these two ideas predict that the element with the largest subscript must have the largest mass percent, which is false whenever a light element is paired with a heavy one.
Here is where things actually go wrong, in rough order of frequency:
| Mistake | What it looks like | Fix |
|---|---|---|
| Dividing mass by mass | Using 40.00/12.01 as a "ratio" without labeling moles | Always write units |
| Rounding 1.33 to 1 | Getting instead of | Only round within 0.1 of a whole number |
| Multiplying one subscript | Turning 1:1.5 into 1:3 | Multiply every subscript |
| Skipping subscripts in parentheses | Molar mass of missing oxygens | Expand the formula first |
| Reporting the empirical formula when the molecular one was asked for | Answering for a 180 g/mol compound | Reread the question for a given molar mass |
Key terms
- Percent composition.
- The percentage by mass that each element contributes to a compound, found by dividing the mass of that element in one mole of compound by the compound's molar mass and multiplying by 100.
- Empirical formula.
- The formula showing the smallest whole-number ratio of atoms of each element in a compound, such as .
- Molecular formula.
- The formula giving the actual number of atoms of each element in one molecule; always a whole-number multiple of the empirical formula.
- Molar mass.
- The mass in grams of one mole of a substance, numerically equal to the sum of the atomic masses in the formula, in units of g/mol.
- Mole ratio.
- The ratio of moles of one element to moles of another in a compound; this ratio, reduced to whole numbers, becomes the subscripts in the empirical formula.
- 100-gram assumption.
- The technique of treating each mass percent as that many grams, valid because percent composition is independent of sample size.
- Mass by difference.
- Finding the mass of an unmeasured component by subtracting the measured masses from the total product mass, relying on conservation of mass.
- Whole-number multiplier ().
- The ratio of a compound's measured molar mass to the mass of its empirical formula unit; multiplying each empirical subscript by gives the molecular formula.
Worked example
A compound used as a food preservative is found by analysis to be 62.58% carbon, 4.38% hydrogen, and 33.04% oxygen by mass. A separate measurement gives its molar mass as 192.2 g/mol. Determine both the empirical formula and the molecular formula.
Step 1: Assume a 100.0 g sample. The percentages become masses directly: 62.58 g C, 4.38 g H, 33.04 g O.
Step 2: Convert each mass to moles.
mol
mol
mol
Step 3: Divide every value by the smallest, 2.065 mol.
Step 4: Clear the fraction. The carbon value 2.523 is close to 2.5, which is a half, so multiply every subscript by 2: C becomes 5.05, H becomes 4.21, O becomes 2. Rounding to whole numbers gives . Notice hydrogen's 4.21 is a bit off; that is ordinary experimental scatter, and 4 is the only sensible whole number nearby.
Empirical formula: .
Step 5: Find the multiplier. The empirical formula mass is g/mol.Step 6: Scale up. Multiply each subscript by 2.
Molecular formula: .
Check: carbon in is , matching the given 62.58% within rounding. The answer holds.
Step 2: Convert each mass to moles.
mol
mol
mol
Step 3: Divide every value by the smallest, 2.065 mol.
Step 4: Clear the fraction. The carbon value 2.523 is close to 2.5, which is a half, so multiply every subscript by 2: C becomes 5.05, H becomes 4.21, O becomes 2. Rounding to whole numbers gives . Notice hydrogen's 4.21 is a bit off; that is ordinary experimental scatter, and 4 is the only sensible whole number nearby.
Empirical formula: .
Step 5: Find the multiplier. The empirical formula mass is g/mol.Step 6: Scale up. Multiply each subscript by 2.
Molecular formula: .
Check: carbon in is , matching the given 62.58% within rounding. The answer holds.
Practice questions
Which of the following compounds has the highest percent by mass of nitrogen?
Answer:
Compute each one. : molar mass , so nitrogen is . : . : . : . Ammonia wins because its only other element, hydrogen, is extremely light and contributes almost no mass. Students often pick because it contains the most nitrogen atoms, but percent composition is about mass fraction, not atom count.
A 3.000 g sample of an unknown metal M is heated in oxygen until it fully converts to its oxide. The oxide weighs 4.200 g. Given that the metal's molar mass is 40.08 g/mol, determine the empirical formula of the oxide.
Answer: (that is, , with M identified as calcium)
First find the oxygen mass by difference: g O. Convert both to moles: metal is mol; oxygen is mol. Divide each by the smaller value, 0.07485: the metal gives 1.000 and oxygen gives 1.002. That is a 1:1 ratio, so the empirical formula is . Since 40.08 g/mol is calcium's molar mass, the oxide is . The step students most often miss is that oxygen's mass is never measured directly here — conservation of mass supplies it.
Two different compounds each have the empirical formula . One has a molar mass of 26.04 g/mol and the other 78.11 g/mol. Give the molecular formula of each and explain why percent composition alone cannot tell them apart.
Answer: and ; both have identical percent composition because they share the same atom ratio.
The empirical formula mass of is g/mol. For the first compound, , giving (acetylene). For the second, , giving (benzene). Percent composition depends only on the ratio of atoms, and both compounds are exactly 1 carbon per 1 hydrogen, so both analyze as 92.26% C and 7.74% H. Only an independently measured molar mass distinguishes them, which is why analytical reports pair combustion data with mass spectrometry.
FAQ
- Why do we assume a 100 gram sample when starting from percentages?
- Because percent composition does not depend on how much of the compound you have. Choosing 100 g is a convenience that makes each percentage translate into grams with no arithmetic at all: 25.4% becomes 25.4 g. You could assume 50 g or 1000 g and the final mole ratio would be identical, just with messier numbers along the way.
- How close to a whole number does my ratio need to be before I round?
- Roughly within 0.1. Values like 1.98, 2.04, or 3.07 are just experimental scatter and round to 2, 2, and 3. Values like 1.33, 1.50, 1.67, or 2.25 are genuine fractions and must be cleared by multiplying every subscript by 3, 2, 3, or 4. If you land at something like 1.7, recheck your arithmetic before deciding.
- When are the empirical and molecular formulas the same?
- Whenever the multiplier equals 1 — that is, when the subscripts in the actual molecule already have no common factor. Water (), ammonia (), and methane () are examples. Ionic compounds are always written as empirical formulas because they form extended lattices rather than discrete molecules.
- Can percent composition tell me the structure of a compound?
- No. It gives you the ratio of atoms only. Ethanol and dimethyl ether are both with identical percent composition, yet they behave completely differently. Determining structure requires other tools such as infrared or NMR spectroscopy; composition analysis stops at the formula.
Learn this with a teacher, not a page
The Crimsora tutor teaches Percent Composition & Empirical Formulas live — explaining on a whiteboard, asking you questions, and adapting to where you get stuck.