Molar Mass Lab logo

22 min read

Percent Composition by Mass

Mass percent reveals which elements dominate a compound's mass — a complete guide covering the formula, real worked examples, fertilizer and combustion-analysis context, and the reverse process of finding empirical formulas from percentages.

Introduction

Two compounds can share an element in common yet feel completely different in the lab — carbon monoxide and carbon dioxide both contain carbon and oxygen, yet one is a deadly, nearly odorless gas associated with faulty heaters, and the other is the harmless gas you exhale with every breath. Percent composition by mass is one of the tools that helps explain differences like this: it tells you exactly what fraction of a compound's total mass comes from each individual element, revealing patterns that the formula alone doesn't make obvious at a glance.

This guide covers the formula for percent composition, walks through several real worked examples across simple oxides, hydrates, and organic molecules, and then shows how the same idea runs in reverse to determine an unknown compound's empirical formula from experimental composition data — a technique used constantly in analytical and forensic chemistry.

The simple explanation

Imagine a fruit smoothie made of banana, strawberry, and yogurt. If you wanted to describe the smoothie's composition, you might say "40% banana, 35% strawberry, 25% yogurt by weight" — that phrase tells you exactly how much each ingredient contributes to the total mass of the smoothie, even though the smoothie itself looks like one uniform liquid.

Percent composition does exactly this for a chemical compound. It breaks the compound's total molar mass down into the percentage contributed by each element. Water is "roughly 11% hydrogen and 89% oxygen by mass" — even though water is two-thirds hydrogen atoms by count, oxygen is so much heavier per atom that it dominates the mass.

The formula and how to apply it

Mass percent of an element = (total mass contribution of that element ÷ molar mass of the whole compound) × 100%. The "mass contribution" of an element is simply its atomic mass multiplied by how many atoms of it appear in the formula — the same contribution value calculated during any standard molar mass calculation.

For water, H₂O (molar mass 18.02 g/mol): hydrogen's contribution is 2 × 1.008 = 2.016 g/mol, and oxygen's contribution is 1 × 16.00 = 16.00 g/mol. Mass percent of hydrogen = (2.016 ÷ 18.02) × 100% = 11.19%. Mass percent of oxygen = (16.00 ÷ 18.02) × 100% = 88.79%. As a check, the percentages for all elements in a compound should always add up to almost exactly 100% (small rounding differences are normal).

Worked comparison: carbon monoxide vs. carbon dioxide

Carbon monoxide, CO (molar mass 28.01 g/mol), contains 1 carbon and 1 oxygen. Oxygen's contribution is 16.00 g/mol, so oxygen's mass percent is (16.00 ÷ 28.01) × 100% = 57.1%. Carbon dioxide, CO₂ (molar mass 44.01 g/mol), contains 1 carbon and 2 oxygens. Oxygen's contribution is 32.00 g/mol, giving a mass percent of (32.00 ÷ 44.01) × 100% = 72.7%.

The same carbon atom, paired with a different number of oxygens, produces two compounds with very different oxygen mass percentages — and, not coincidentally, very different chemistry: CO binds dangerously tightly to hemoglobin in blood, disrupting oxygen transport, while CO₂ is a normal, non-toxic product of respiration and combustion. Percent composition is a quantitative window into exactly this kind of oxidation-state difference.

Worked example: ammonia and nitrogen fertilizer chemistry

Ammonia, NH₃ (molar mass 17.03 g/mol), contains 1 nitrogen and 3 hydrogen. Nitrogen's contribution is 14.007 g/mol, giving a mass percent of (14.007 ÷ 17.03) × 100% = 82.3%. This extremely high nitrogen percentage is exactly why ammonia is such an efficient nitrogen fertilizer feedstock: per kilogram of ammonia transported and applied to soil, farmers deliver more actual nitrogen content than with almost any other common nitrogen fertilizer compound, which is a major reason the Haber process for industrial ammonia synthesis reshaped 20th-century agriculture.

Worked example: sucrose and organic compounds

Sucrose, common table sugar, has the formula C₁₂H₂₂O₁₁ and a molar mass of about 342.30 g/mol. Carbon's contribution is 12 × 12.011 = 144.13 g/mol (42.1%); hydrogen's contribution is 22 × 1.008 = 22.18 g/mol (6.5%); oxygen's contribution is 11 × 16.00 = 176.00 g/mol (51.4%).

Compare this to water, which is nearly 89% oxygen by mass — sucrose's oxygen percentage is noticeably lower because the substantial mass contributed by twelve carbon atoms "dilutes" oxygen's share of the total. This pattern — larger organic molecules generally showing lower percentages for any single element compared to small inorganic molecules — is a useful intuition to carry into more advanced organic chemistry.

Lab example: hydrates and why percent composition changes with water content

Copper sulfate pentahydrate, CuSO₄·5H₂O (molar mass 249.68 g/mol), is a favorite lab compound because heating it drives off water in a visually dramatic color change from vivid blue to pale gray-white. The water content itself has a mass percent: 5 × 18.02 = 90.08 g/mol of water out of the total 249.68 g/mol, giving (90.08 ÷ 249.68) × 100% = 36.08% water by mass.

This number is directly testable in a lab exercise: weigh a hydrate sample, heat it until no more mass is lost (driving off all the water), and weigh the anhydrous residue. The mass lost, divided by the original mass, should closely match the 36.08% predicted by the formula — a satisfying way to confirm that percent composition is not just abstract arithmetic but a directly measurable physical quantity.

Industrial example: percent composition in ore and mineral processing

Mining and metallurgy rely heavily on percent composition to evaluate how economically valuable a raw ore deposit is. An iron ore sample might be assayed and reported as "62% Fe₂O₃ by mass," and from there, metallurgists calculate the percent iron by mass within that iron oxide component, which tells them how many tonnes of usable metallic iron a given tonnage of raw ore is likely to yield after processing. The same core arithmetic covered in this guide — contribution divided by total, times 100% — scales directly from a classroom hydrate experiment to multi-million-dollar mining feasibility studies.

From percent composition to empirical formula

Percent composition can also run in reverse: given only the mass percentages of each element in an unknown compound (often obtained through combustion analysis or other instrumental methods), you can determine the compound's empirical formula. The standard procedure: assume you have exactly 100 g of the sample, so each element's mass percent converts directly into a mass in grams. Convert each element's mass to moles by dividing by its atomic mass. Divide every mole value by the smallest mole value in the set, producing a ratio. If the ratios are not close to whole numbers, multiply all of them by a small common factor until they are.

For a compound found to be 40.0% carbon, 6.7% hydrogen, and 53.3% oxygen by mass (this happens to match both acetic acid, CH₃COOH, and its empirical formula), assume 100 g: 40.0 g C ÷ 12.011 = 3.33 mol C; 6.7 g H ÷ 1.008 = 6.65 mol H; 53.3 g O ÷ 16.00 = 3.33 mol O. Dividing by the smallest (3.33): C = 1.00, H = 2.00, O = 1.00 — giving the empirical formula CH₂O.

Worked example: from ammonia's percent composition back to its formula

As a check on the reverse process, start from ammonia's known composition — 82.3% N and 17.7% H by mass — and confirm it produces the correct formula. Assume 100 g: 82.3 g N ÷ 14.007 = 5.87 mol N; 17.7 g H ÷ 1.008 = 17.56 mol H. Dividing by the smaller value (5.87): N = 1.00, H = 2.99 ≈ 3.00. This gives the empirical formula NH₃, matching ammonia's actual molecular formula exactly — a satisfying confirmation that the percent-to-formula method works correctly when the numbers are carried through with enough precision.

Student notes and memory tricks

A quick sanity check for any percent composition problem: the percentages of every element in a compound must sum to (very close to) 100%. If your calculated percentages sum to 94% or 108%, you have made an arithmetic error somewhere and should recheck your contributions before moving on.

For the reverse process (percent to empirical formula), remember the phrase "percent becomes grams, grams becomes moles, moles get divided down." Assuming exactly 100 g of sample is the trick that turns percentages directly into grams without any extra unit conversion, which is why this specific assumption is used almost universally in textbook treatments of this topic.

Common mistakes to avoid

A frequent mistake is calculating an element's mass contribution correctly but then forgetting to divide by the compound's total molar mass before multiplying by 100 — reporting the raw contribution (say, "16.00%") instead of the true percentage. Another common mistake, when reversing the process, is dividing mole values by the wrong reference number — always divide every element's mole value by the smallest mole value among all elements in the sample, not an arbitrary one.

A third mistake occurs when the mole ratios from the reverse process come out close to, but not exactly, whole numbers (like 1.98 or 3.02) — students sometimes round these too aggressively to the nearest whole number without checking whether multiplying everything by a small factor (2, 3, or 4) would produce a cleaner overall ratio, particularly for compounds whose true empirical formula involves larger whole numbers.

Practice questions with worked solutions

Question 1: What is the mass percent of nitrogen in urea, CO(NH₂)₂ (molar mass 60.06 g/mol, containing 2 N atoms)? Solution: nitrogen contribution = 2 × 14.007 = 28.014 g/mol; mass percent = (28.014 ÷ 60.06) × 100% = 46.6%.

Question 2: A compound is found to be 43.6% P and 56.4% O by mass. What is its empirical formula? Solution: assume 100 g: 43.6 g P ÷ 30.97 = 1.408 mol P; 56.4 g O ÷ 16.00 = 3.525 mol O. Dividing by the smaller (1.408): P = 1.00, O = 2.50. Multiplying both by 2 to clear the fraction: P = 2, O = 5, giving empirical formula P₂O₅.

Question 3: Which has a higher mass percent of oxygen: sulfur dioxide SO₂ (64.07 g/mol) or sulfur trioxide SO₃ (80.07 g/mol)? Solution: SO₂ oxygen percent = (32.00 ÷ 64.07) × 100% = 49.98%; SO₃ oxygen percent = (48.00 ÷ 80.07) × 100% = 59.97%. Sulfur trioxide has the higher oxygen percentage.

FAQ

Does percent composition depend on sample size? No — percent composition is an intrinsic property of the compound's formula, not the amount of sample you have. A single molecule of water and a swimming pool full of water both have the same percent composition: about 11% hydrogen and 89% oxygen by mass.

Why is the "assume 100 g" trick allowed in the reverse calculation? Because percent composition is a ratio, not tied to any specific sample size. Assuming exactly 100 g simply makes the arithmetic convenient, since a mass percent directly becomes a mass in grams without any additional conversion factor — the actual sample size used in a real experiment does not need to be 100 g at all.

Can percent composition distinguish between an empirical formula and the true molecular formula? No — by itself, no. Percent composition alone gives you only the simplest whole-number ratio (the empirical formula). Determining the true molecular formula requires an additional piece of information: the compound's actual molar mass, as covered in the "Empirical and Molecular Formulas" guide.

Summary

Percent composition by mass tells you what fraction of a compound's total mass comes from each constituent element, calculated as (element's mass contribution ÷ total molar mass) × 100%. It explains real chemical differences between related compounds, like carbon monoxide versus carbon dioxide, and provides a directly measurable quantity in hydrate experiments and combustion analysis.

Run in reverse, percent composition data becomes the starting point for determining an unknown compound's empirical formula — a technique with genuine analytical and forensic importance well beyond the classroom. Mastering both directions of this calculation, forward (formula to percentages) and backward (percentages to formula), rounds out a complete understanding of how mass, atoms, and chemical identity relate to one another.

One last habit worth building: whenever you see a percent composition problem, pause and ask which direction it's asking you to go. Forward problems give you a formula and ask for percentages; reverse problems give you percentages (or raw combustion masses) and ask for a formula. Misidentifying the direction of a problem, and trying to apply the wrong procedure, is a surprisingly common source of wasted time on exams — a five-second check at the start saves much longer confusion later.

References and further reading

Standard atomic mass values used in this guide's calculations follow IUPAC's published table of standard atomic weights. Combustion analysis, the classical experimental technique for determining an unknown organic compound's percent composition, is described in detail in most analytical chemistry and organic chemistry textbooks under headings such as "elemental analysis" or "quantitative combustion analysis." Agricultural and soil science references also discuss percent nitrogen content of fertilizers using this exact framework, offering a useful applied context beyond pure laboratory chemistry.

Related compounds

Related guides

Also try the molar mass calculator and periodic table.

Standards: how we calculate · editorial policy