Percent Composition of Compounds
Calculating the mass percentage of each element in a compound from its formula and molar mass.
Quick answer
Percent composition is the mass percentage of each element in a compound: (total mass of the element in one mole ÷ molar mass of the compound) × 100%. It is an intensive property fixed by the formula.
Unit: %
Example: In water (18.015 g/mol), hydrogen is (2.016/18.015) × 100 ≈ 11.19% and oxygen is ≈ 88.81% of the mass.
What you will learn
- Compute percent composition from a chemical formula and molar mass.
- Use the 100% sum as a self-check on calculations.
- Distinguish percent composition from percent yield and empirical formula.
- Describe how combustion analysis determines composition experimentally.
The formula and what it means
The percent composition of a compound tells you what fraction of its mass comes from each element. For a compound with formula containing atoms of element X (atomic weight ) and molar mass :
Take carbon dioxide, CO2 (). Carbon contributes per mole: . Oxygen contributes : . Sum: — the built-in check passes.
Because composition derives from the formula alone, it is intensive: independent of sample size. A thimble of CO2 and a tanker of CO2 share the same percentages.
Worked example: fertilizer nitrogen content
Compute the composition of ammonium nitrate, NH4NO3 — a common fertilizer whose nitrogen content is its selling point. Molar mass: .
- Nitrogen:
- Hydrogen:
- Oxygen:
Sum: 100.00%. The 35% nitrogen figure is exactly what fertilizer bags advertise — percent composition translated directly into commercial value. Comparing two fertilizers' nitrogen percentages is comparing their compositions, computed just this way.
From composition to formula: the reverse direction
Percent composition is the forward direction: formula → percentages. The reverse — percentages → formula — gives the empirical formula, the simplest whole-number ratio of atoms. If analysis finds a compound is 40.0% C, 6.7% H, and 53.3% O, assume 100 g: 40.0 g C (3.33 mol), 6.7 g H (6.65 mol), 53.3 g O (3.33 mol). Dividing by the smallest (3.33) gives C1H2O1 — the empirical formula CH2O.
The molecular formula may be a multiple of this (CH2O, C2H4O2, C6H12O6 all share it). Molar mass distinguishes them: CH2O has , glucose C6H12O6 has . Composition plus molar mass uniquely nails the molecular formula — a two-step identification chemists use constantly.
Measuring composition: combustion analysis
In combustion analysis, a sample is burned in excess oxygen and the CO2 and H2O produced are weighed precisely. All the carbon in the CO2 came from the sample; all the hydrogen in the H2O came from the sample. From those two masses, the sample's C and H content — and thus percent composition — follows directly.
This is how unknown organic compounds were characterized for over a century, and modern automated analyzers still use the principle. It is a beautiful loop: burn the substance (a chemical change), weigh the products, and reason backward to the composition of what you started with.
Composition in regulation and industry
Regulators use percent composition to police labels. A fertilizer claiming 35% nitrogen had better deliver ~35% when analyzed; a drug's elemental composition must match its stated formula within tight tolerances. Food protein content is estimated from nitrogen percentage — the Kjeldahl method measures nitrogen and multiplies by a factor, because proteins have fairly consistent nitrogen composition.
In each case, the same calculation you do on paper becomes a legal and commercial standard. Percent composition is one of those classroom topics that quietly runs entire industries.
Common mistakes
It is intensive — 1 g and 1000 g of water both contain 11.19% hydrogen by mass. The percentages are a property of the compound's formula, not of the sample size.
Atom counts give mole ratios, not mass ratios, because atoms have different masses. Water is 2/3 hydrogen by atom count but only 11.19% hydrogen by mass — oxygen's heavier atoms dominate the mass.
They share an empirical formula but may differ molecularly: acetylene (C2H2) and benzene (C6H6) have identical percent compositions but very different properties. Composition alone does not identify a compound.
Real-world applications
Verifying fertilizer nutrient content against label claims
Quality control of pharmaceutical ingredients by elemental analysis
Determining empirical formulas from combustion analysis data
Checking ore grade in mining by metal mass percentage
Frequently asked questions
How do I calculate percent composition?
Divide the total mass of that element in one mole by the compound's molar mass, then multiply by 100. For H2O: hydrogen contributes 2(1.008) = 2.016 g per 18.015 g of water, so %H = (2.016/18.015) × 100 ≈ 11.19%.
Should the percentages add up to 100%?
They must sum to 100% (within rounding). This is a built-in error check: if your percentages total 97% or 103%, recheck subscripts or atomic weights before trusting the result.
What is the difference between percent composition and percent yield?
Percent composition describes a fixed compound — the mass fraction of each element. Percent yield describes a reaction — actual product divided by theoretical product. One is a property of a substance; the other measures how well a reaction performed.
How is percent composition measured experimentally?
Combustion analysis burns a sample and weighs the CO2 and H2O produced. From those masses you compute the sample's carbon and hydrogen content, which gives percent composition and leads to the empirical formula. It is the classic experimental route to composition data.