Percentage composition by mass
Percentage composition by mass: calculate the element contribution, divide by the compound's total relative mass, then multiply by 100.
On this page
Percentage composition compares the mass of one element with the mass of the whole compound. It is a mass percentage, so counting atoms alone is not enough: different elements have different atomic masses.
Compare the element’s contribution with the whole
For an element X in a compound:
The numerator is the total number of X atoms in the formula multiplied by Aᵣ(X). The denominator includes every element. Both are on the same relative-mass scale, so their ratio is the same as the mass fraction in a sample of the pure compound.
For example, CO₂ contains one C atom and two O atoms. With Aᵣ(C) = 12 and Aᵣ(O) = 16, carbon contributes 12 and oxygen contributes 32 to the total relative molecular mass of 44. Oxygen is therefore about 72.7% of the mass, but two-thirds (about 66.7%) of the atom count. These are different comparisons.
Data table
| Element | CO₂ |
|---|---|
| C | 27.3 |
| O | 72.7 |
Count the requested element across the complete formula
In (NH₄)₂SO₄, the outside 2 multiplies both N and H: there are two N atoms and eight H atoms. It does not multiply the sulfate group. In NH₄NO₃, nitrogen occurs in two places, so there are two N atoms in total.
- Count each element and calculate the whole relative molecular or formula mass.
- Find the requested element’s relative mass contribution, including all of its atoms.
- Divide part by whole and multiply by 100. Label the answer with the element and %.
Check the numerator, denominator and rounding
- Use only the requested element in the numerator, rather than a whole bracketed group.
- Include every element in the denominator. Dividing by the requested element’s Aᵣ alone does not give its fraction of the compound.
- Keep unrounded intermediate values and round the final percentage as requested, or to a suitable precision.
- Each element’s percentage lies between 0% and 100%. Percentages for all elements add to 100%, apart from small rounding differences.
For a reminder of relative mass calculations, see Relative atomic, molecular and formula mass.
Worked examples
Modelled example 1
Carbon in carbon dioxide
Problem
Find the percentage by mass of carbon in carbon dioxide, CO₂. Given Aᵣ(C) = 12, Aᵣ(O) = 16.
Study the worked solution
Calculate the whole formula mass
Method
Add the mass contributions from one carbon and two oxygen atoms.
Reason
The denominator must represent the complete CO₂ formula.
Working
Mᵣ(CO₂) = 12 + 2(16) = 44.Identify the carbon contribution
Method
Use 12 as the mass due to carbon.Reason
Each formula contains one carbon atom.Working
Carbon contribution = 1(12) = 12.Convert the fraction to a percentage
Method
Divide the carbon contribution by the whole and multiply by 100.
Reason
Percentage by mass is part mass divided by total mass.
Working
%C = (12/44) × 100 = 27.3%.
Guided practice 2
Nitrogen in ammonium sulfate
Problem
Apply the bracket multiplier
Hints
Hint 1: expand the bracket
The outer 2 multiplies both N and H: N₂H₈.
Hint 2: form part over whole
Use nitrogen mass 28 over total formula mass 132, then multiply by 100.
View solution step by step
Expand and calculate formula mass
Method
Apply the outer 2 to N and H before adding all contributions.
Reason
The bracket means two complete NH₄ groups.Working
Mᵣ = 2(14) + 8(1) + 32 + 4(16) = 132.Find nitrogen mass
Method
Multiply two nitrogen atoms by Aᵣ(N).Reason
Only the nitrogen contribution belongs in the numerator.
Working
Mass of N = 2(14) = 28.Calculate percentage
Method
Divide part by whole and multiply by 100.Reason
This converts the nitrogen mass fraction into a percentage.
Working
%N = (28/132) × 100 = 21.2%.
Common misconception 3
Repair a missing subscript
Learner response
Locate the first incorrect quantity
View solution step by step
Locate the missing multiplier
Method
Replace 16 with 2(16) in the numerator.Reason
The formula CO₂ contains two oxygen atoms.Working
Oxygen contribution = 2(16) = 32.Correct the percentage
Method
Use the full oxygen contribution over the unchanged total mass.
Reason
Mᵣ(CO₂) = 44 was already correct.Working
%O = (32/44) × 100 = 72.7%.
Examiner practice 4
Compare nitrogen percentages in fertilisers
Examination question
Calculate both percentages before comparing
View solution step by step
Calculate ammonium nitrate formula mass
1 markMethod
Sum all atom contributions in NH₄NO₃.Reason
The complete formula mass is the denominator for nitrogen percentage.Working
Mᵣ(NH₄NO₃) = 14 + 4(1) + 14 + 3(16) = 80.Calculate ammonium nitrate nitrogen percentage
1 markMethod
Use the mass of both nitrogen atoms over formula mass.Reason
NH₄NO₃ contains two nitrogen atoms in total.Working
%N = [2(14)/80] × 100 = 35.0%.Calculate urea formula mass
1 markMethod
Apply the outer 2 to the complete NH₂ group.Reason
The bracket multiplier counts two nitrogen atoms and four hydrogen atoms.Working
Mᵣ(CO(NH₂)₂) = 12 + 16 + 2[14 + 2(1)] = 60.Calculate urea nitrogen percentage
1 markMethod
Divide the two-nitrogen contribution by 60.Reason
Percentage compares nitrogen mass with the whole urea formula mass.Working
%N = [2(14)/60] × 100 = 46.7%.Compare like quantities
2 marksMethod
Compare the two nitrogen percentages and name the richer fertiliser.Reason
Both values describe nitrogen mass per 100 g, so they are directly comparable.Working
46.7% > 35.0%, so urea is richer in nitrogen by mass.
Self-mark with the mark scheme
Compare your response with each mark point. Select a point only when your response contains that evidence.
Self-mark each formula mass, each percentage and the evidence-based comparison.
Challenge 5
Element percentage in an unfamiliar formula
Formula transfer
An oxide has formula X₂O₃, where Aᵣ(X) = 27. Calculate the percentage by mass of oxygen. Use Aᵣ(O) = 16.
Find part and whole from the formula
Hints
Hint 1: calculate the whole
Use two X atoms and three oxygen atoms in the denominator.
Hint 2: calculate the requested part
Only the three oxygen atoms belong in the numerator.
View solution step by step
Calculate the whole formula mass
Method
Add the two X and three O contributions.Reason
The denominator represents the complete X₂O₃ formula.
Working
Relative formula mass = 2(27) + 3(16) = 102.Calculate oxygen percentage
Method
Divide the oxygen contribution by the whole and multiply by 100.
Reason
Three oxygen atoms contribute 3(16) = 48.Working
%O = (48/102) × 100 = 47.1%.
Try it yourself
Mind stretcher 1: Find the remaining element’s percentageExtension
Question: A compound contains only carbon, hydrogen and oxygen. It has 40.0% carbon and 6.67% hydrogen by mass. What percentage is oxygen? Explain why your method is valid.
Show answer
Percentages of all elements in a pure compound must add to 100%.
Mind stretcher 2: Use a percentage to distinguish two candidatesExtension
Question: A pure carbonate contains 40.0% of its metal by mass. Which candidate fits: CaCO₃ or MgCO₃? Use Aᵣ(Ca) = 40, Aᵣ(Mg) = 24, Aᵣ(C) = 12 and Aᵣ(O) = 16.
Show answer
For CaCO₃, the relative formula mass is 40 + 12 + 3(16) = 100. Its calcium percentage is (40/100) × 100 = 40.0%.
For MgCO₃, the relative formula mass is 24 + 12 + 3(16) = 84. Its magnesium percentage is (24/84) × 100 ≈ 28.6%.
Of the two supplied candidates, CaCO₃ fits the data. A matching percentage alone does not identify a compound among every possible substance.
Practise and check
See what you know across this topic, then go back to anything you got wrong.
Syllabus and review details
- SEC G3 Pure Chemistry 2027 · 2027
Content structure and subject content, PDF pages 9–24
Last reviewed: