CHEM-6.3

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.

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:% element=mass of that element in one mole of compoundmolar mass of compound×100\%\text{ element} = \frac{\text{mass of that element in one mole of compound}}{\text{molar mass of compound}} \times 100The 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, Ca(NO3)2\text{Ca(NO}_3)_2. One mole contains 1 mol Ca, 2 mol N, and 6 mol O. The molar mass is 40.08+2(14.01)+6(16.00)=164.1040.08 + 2(14.01) + 6(16.00) = 164.10 g/mol. Then:
ElementMass in 1 molPercent
Ca40.08 g24.42%
N28.02 g17.07%
O96.00 g58.50%
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 Ca(NO3)2\text{Ca(NO}_3)_2 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 0.1707×20,000=34140.1707 \times 20{,}000 = 3414 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.
Decimal nearFractionMultiply all by
.501/22
.33 or .671/3 or 2/33
.25 or .751/4 or 3/44
.20, .40, .60, .80fifths5
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.

Molecular Formulas: Scaling Up the Empirical Formula

An empirical formula gives the ratio, not the actual count. Both formaldehyde (CH2O\text{CH}_2\text{O}, molar mass 30.03 g/mol) and glucose (C6H12O6\text{C}_6\text{H}_{12}\text{O}_6, molar mass 180.18 g/mol) have the empirical formula CH2O\text{CH}_2\text{O} 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:n=molar mass of compoundmass of empirical formula unitn = \frac{\text{molar mass of compound}}{\text{mass of empirical formula unit}}Then multiply every subscript in the empirical formula by nn. For glucose, n=180.18/30.03=6.00n = 180.18 / 30.03 = 6.00, so (CH2O)6=C6H12O6(\text{CH}_2\text{O})_6 = \text{C}_6\text{H}_{12}\text{O}_6.

The value of nn 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 n=1n = 1 is a perfectly good answer. Water is H2O\text{H}_2\text{O} both empirically and molecularly. Ionic compounds are always written as empirical formulas, since they have no discrete molecules — you would never write Na2Cl2\text{Na}_2\text{Cl}_2.

One subtlety worth remembering: molecular formula and structure are still different things. Both ethanol and dimethyl ether are C2H6O\text{C}_2\text{H}_6\text{O}, 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 CO2\text{CO}_2 and H2O\text{H}_2\text{O}. 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, 4.1462.500=1.6464.146 - 2.500 = 1.646 g O. Then 2.500/24.31=0.10292.500/24.31 = 0.1029 mol Mg and 1.646/16.00=0.10291.646/16.00 = 0.1029 mol O, a 1:1 ratio, giving MgO\text{MgO}.

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 10052.1413.13=34.73%100 - 52.14 - 13.13 = 34.73\%. 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 C3H8\text{C}_3\text{H}_8 from data saying 81.7% C, verify that C3H8\text{C}_3\text{H}_8 really is 36.03/44.11=81.7%36.03/44.11 = 81.7\% 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:
MistakeWhat it looks likeFix
Dividing mass by massUsing 40.00/12.01 as a "ratio" without labeling molesAlways write units
Rounding 1.33 to 1Getting CH\text{CH} instead of C3H4\text{C}_3\text{H}_4Only round within 0.1 of a whole number
Multiplying one subscriptTurning 1:1.5 into 1:3Multiply every subscript
Skipping subscripts in parenthesesMolar mass of Al2(SO4)3\text{Al}_2(\text{SO}_4)_3 missing oxygensExpand the formula first
Reporting the empirical formula when the molecular one was asked forAnswering CH2O\text{CH}_2\text{O} for a 180 g/mol compoundReread the question for a given molar mass
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.

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 CH2O\text{CH}_2\text{O}.
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 (nn).
The ratio of a compound's measured molar mass to the mass of its empirical formula unit; multiplying each empirical subscript by nn 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.

C:  62.58÷12.01=5.211\text{C}: \; 62.58 \div 12.01 = 5.211 mol

H:  4.38÷1.008=4.345\text{H}: \; 4.38 \div 1.008 = 4.345 mol

O:  33.04÷16.00=2.065\text{O}: \; 33.04 \div 16.00 = 2.065 mol

Step 3: Divide every value by the smallest, 2.065 mol.

C:  5.211÷2.065=2.523\text{C}: \; 5.211 \div 2.065 = 2.523

H:  4.345÷2.065=2.104\text{H}: \; 4.345 \div 2.065 = 2.104

O:  2.065÷2.065=1.000\text{O}: \; 2.065 \div 2.065 = 1.000

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 C5H4O2\text{C}_5\text{H}_4\text{O}_2. 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: C5H4O2\text{C}_5\text{H}_4\text{O}_2.

Step 5: Find the multiplier. The empirical formula mass is 5(12.01)+4(1.008)+2(16.00)=60.05+4.03+32.00=96.085(12.01) + 4(1.008) + 2(16.00) = 60.05 + 4.03 + 32.00 = 96.08 g/mol.n=192.296.08=2.002n = \frac{192.2}{96.08} = 2.00 \approx 2Step 6: Scale up. Multiply each subscript by 2.

Molecular formula: C10H8O4\text{C}_{10}\text{H}_8\text{O}_4.

Check: carbon in C10H8O4\text{C}_{10}\text{H}_8\text{O}_4 is 120.1÷192.2=62.5%120.1 \div 192.2 = 62.5\%, 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?
  1. NH3\text{NH}_3
  2. N2O\text{N}_2\text{O}
  3. NO2\text{NO}_2
  4. NH4NO3\text{NH}_4\text{NO}_3

Answer: NH3\text{NH}_3

Compute each one. NH3\text{NH}_3: molar mass 14.01+3(1.008)=17.0314.01 + 3(1.008) = 17.03, so nitrogen is 14.01/17.03=82.3%14.01/17.03 = 82.3\%. N2O\text{N}_2\text{O}: 28.02/44.02=63.7%28.02/44.02 = 63.7\%. NO2\text{NO}_2: 14.01/46.01=30.5%14.01/46.01 = 30.5\%. NH4NO3\text{NH}_4\text{NO}_3: 28.02/80.05=35.0%28.02/80.05 = 35.0\%. Ammonia wins because its only other element, hydrogen, is extremely light and contributes almost no mass. Students often pick NH4NO3\text{NH}_4\text{NO}_3 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: CaO\text{CaO} (that is, MO\text{MO}, with M identified as calcium)

First find the oxygen mass by difference: 4.2003.000=1.2004.200 - 3.000 = 1.200 g O. Convert both to moles: metal is 3.000÷40.08=0.074853.000 \div 40.08 = 0.07485 mol; oxygen is 1.200÷16.00=0.075001.200 \div 16.00 = 0.07500 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 MO\text{MO}. Since 40.08 g/mol is calcium's molar mass, the oxide is CaO\text{CaO}. 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 CH\text{CH}. 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: C2H2\text{C}_2\text{H}_2 and C6H6\text{C}_6\text{H}_6; both have identical percent composition because they share the same atom ratio.

The empirical formula mass of CH\text{CH} is 12.01+1.008=13.0212.01 + 1.008 = 13.02 g/mol. For the first compound, n=26.04/13.02=2n = 26.04/13.02 = 2, giving C2H2\text{C}_2\text{H}_2 (acetylene). For the second, n=78.11/13.02=6n = 78.11/13.02 = 6, giving C6H6\text{C}_6\text{H}_6 (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 nn equals 1 — that is, when the subscripts in the actual molecule already have no common factor. Water (H2O\text{H}_2\text{O}), ammonia (NH3\text{NH}_3), and methane (CH4\text{CH}_4) 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 C2H6O\text{C}_2\text{H}_6\text{O} 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.