
Percent Composition: Finding an Element's Share of a Compound
Every sample of pure water, anywhere on Earth, is made of exactly 11.2% hydrogen and 88.8% oxygen by mass, without exception. This fixed ratio isn't a coincidence or an average; it's a direct consequence of water's chemical formula and the Law of Definite Proportions, which states that a given compound always contains the same elements in the same fixed mass ratio, regardless of its source or how it was made. Percent composition is simply the tool chemists use to express that fixed ratio as a set of percentages.
What Percent Composition Measures
Percent composition is the percentage, by mass, that each individual element contributes to a compound's total mass. It answers a very practical question: if you have a sample of a compound, exactly how many grams of each element does it actually contain?
The general formula for any element in a compound is:
% composition of element = (mass of element in one mole of compound ÷ molar mass of compound) × 100
Worked Example: Calculating Percent Composition From a Formula
Question: Calculate the percent composition of water, H₂O.
Step 1: Calculate the molar mass of the entire compound.
H₂O = (2 × 1.01) + 16.00 = 18.02 g/mol
Step 2: Calculate the mass contributed by each element within one mole of the compound.
Hydrogen: 2 × 1.01 = 2.02 g
Oxygen: 1 × 16.00 = 16.00 g
Step 3: Divide each element's mass by the total molar mass, then multiply by 100.
% Hydrogen = (2.02 ÷ 18.02) × 100 = 11.2%
% Oxygen = (16.00 ÷ 18.02) × 100 = 88.8%
Check your work: the percentages of every element in a compound should always add up to (approximately) 100%:
11.2% + 88.8% = 100.0% ✓
A Second Worked Example: A Compound With Three Elements
Question: Calculate the percent composition of glucose, C₆H₁₂O₆.
Step 1: Calculate the total molar mass.
C₆H₁₂O₆ = (6 × 12.01) + (12 × 1.01) + (6 × 16.00)
= 72.06 + 12.12 + 96.00
= 180.18 g/mol
Step 2: Calculate each element's contributed mass.
Carbon: 6 × 12.01 = 72.06 g
Hydrogen: 12 × 1.01 = 12.12 g
Oxygen: 6 × 16.00 = 96.00 g
Step 3: Divide and convert to percentages.
% Carbon = (72.06 ÷ 180.18) × 100 = 40.0%
% Hydrogen = (12.12 ÷ 180.18) × 100 = 6.7%
% Oxygen = (96.00 ÷ 180.18) × 100 = 53.3%
Notice these are exactly the percentages used in the empirical formula worked example for glucose, which is precisely how percent composition and empirical formula calculations connect: percent composition is the starting point, and finding the empirical (and eventually molecular) formula is the destination.
Why Percent Composition Matters in Practice
Percent composition isn't just an intermediate step toward finding a formula; it has direct, practical applications on its own:
- Fertilizer labeling: fertilizers are legally required to list their N-P-K percentages (nitrogen, phosphorus, potassium) by mass, which is a direct, real-world application of percent composition, letting farmers calculate exactly how much of each nutrient a given quantity of fertilizer actually delivers.
- Nutrition labels: while not always framed using the exact term "percent composition," the breakdown of a food's mass into fats, carbohydrates, and proteins relies on the same underlying mass-ratio concept.
- Quality control: manufacturers use percent composition to verify a product matches its expected chemical formula, since a batch with an unexpected percent composition signals contamination or an error in production.
- Ore and mineral analysis: mining and metallurgy rely on percent composition to determine how much of a valuable metal (like the percentage of iron in iron ore) is actually recoverable from a given quantity of raw material.
Percent Composition of a Specific Element From Multiple Sources
Sometimes you need to know the total percentage of an element across an entire compound where it appears in more than one place within a more complex formula, such as a hydrate or a polyatomic-ion-containing compound. The method stays the same, just make sure to account for every atom of that element in the full formula, not only the first instance you notice.
Example: In ammonium nitrate, NH₄NO₃, nitrogen appears in two separate places, once in the ammonium ion and once in the nitrate ion, for a total of 2 nitrogen atoms per formula unit. Both must be counted together when calculating nitrogen's overall percent composition, which is exactly why ammonium nitrate is such a popular nitrogen fertilizer: counting both nitrogen atoms gives it an unusually high nitrogen percentage per unit mass.
FAQ
Percent composition accounts for every atom present in the compound's formula, and since those atoms together make up the entire mass of the compound with nothing left over, their individual mass percentages must sum to the whole, 100%. If your calculated percentages don't add up closely to 100%, it usually signals an arithmetic or molar mass error somewhere in the calculation.
No, percent composition is an intrinsic property of a pure compound's formula, not its sample size. A single gram of water and a ton of water both have exactly the same percent composition (11.2% hydrogen, 88.8% oxygen), which is the direct consequence of the Law of Definite Proportions.
Yes, in fact this is how it's used in real laboratory practice, typically through combustion analysis or other quantitative techniques that measure the actual mass of each element recovered from a sample. That experimentally determined percent composition is then used to work backward toward an empirical formula, rather than starting from a known formula as in the worked examples above.
They measure entirely different things despite the similar name. Percent composition describes the fixed mass ratio of elements within a single compound's formula. Percent yield compares the actual amount of product obtained from a reaction to the theoretical maximum amount predicted by stoichiometry, an entirely separate calculation about reaction efficiency, not formula composition.
A hydrate's formula, like CuSO4·5H2O, includes water molecules as part of its total formula mass, so the water's hydrogen and oxygen atoms must be included when calculating the overall molar mass and any element's percent composition, in addition to being able to separately calculate the percent of water itself within the hydrate.
Conclusion
Percent composition answers a deceptively simple question, exactly what fraction of a compound's mass belongs to each element, but that answer underpins everything from fertilizer labels to the empirical formula calculations used to identify unknown compounds in a lab. The calculation itself is always the same three steps: find the total molar mass, find each element's contributed mass, then divide and convert to a percentage. Once that pattern is automatic, it becomes the reliable first step behind a much larger set of quantitative chemistry problems.
Here are some useful references if you want to go deeper:
- Khan Academy – Percent Composition — free lessons connecting percent composition to formula calculations.
- Chemguide – Percentage Composition by Mass — worked examples and explanations of the underlying calculation.
- LibreTexts Chemistry – Percent Composition — an open textbook resource with additional practice problems.


