Percent composition by mass, step by step
Percent composition by mass tells you what percentage of a compound's mass comes from each element. For each element: percent = (atoms × atomic mass) ÷ molar mass × 100. The percentages always add up to 100%.
Water, H₂O, has a molar mass of 18.015 g/mol. The two hydrogens contribute 2.016 g/mol, so water is 2.016 ÷ 18.015 × 100 = 11.19% hydrogen and 88.81% oxygen by mass.
The steps
- Count the atoms of each element in the formula (remember brackets and hydrate dots).
- Multiply each count by the element's atomic mass: that's its mass contribution.
- Add the contributions to get the molar mass.
- Divide each contribution by the molar mass and multiply by 100.
- Check that the percentages add up to 100% (within rounding).
Why it doesn't depend on the sample size
A 5-gram sample of water and a 5-kilogram sample are both 11.19% hydrogen by mass, because every molecule has the same make-up. That's why percent composition is used to identify compounds, and why a mass-percent result from a lab can be compared with the theoretical value for the formula.
Working backwards, from percent composition to the formula, gives you the empirical formula: assume a 100 g sample, change each element's grams to moles, and divide by the smallest number of moles.
Mass percent is not atom percent
In water, two out of three atoms are hydrogen, but hydrogen is only 11.19% of the mass, because a hydrogen atom is so light. Percent composition by mass always uses the atomic masses, never just the atom counts.
Worked example: water and glucose
- H2O: molar mass 18.015 g/mol. H: 2 × 1.008 = 2.016 g/mol → 11.19%. O: 15.999 g/mol → 88.81%.
- C6H12O6 (glucose): molar mass 180.156 g/mol.
- C: 6 × 12.011 = 72.066 g/mol → 40.00%.
- H: 12 × 1.008 = 12.096 g/mol → 6.71%.
- O: 6 × 15.999 = 95.994 g/mol → 53.28%. Total: 40.00 + 6.71 + 53.28 = 99.99%, which is 100% within rounding.
Common mistakes
- Using atom counts instead of masses: two of water's three atoms are H, but H is only 11.19% of the mass.
- Forgetting the subscript: glucose has 6 carbons, so carbon contributes 6 × 12.011, not 12.011.
- Dividing by the wrong total: divide by the molar mass of the whole compound, not by the element's mass.
- Forgetting to multiply by 100: 0.1119 is a fraction; the percent is 11.19%.
Check yourself
Three questions from the Molar Mass Learning Lab, Stage 4. Work each one out, then open the answer.
In CaCO₃, what is the mass contribution of oxygen? (Atomic mass of O = 15.999 g/mol)
Show the answer
Answer: 47.997 g/mol g/mol
- Atoms of O: 3 (subscript 3)
- Contribution = 3 × 15.999 g/mol = 47.997 g/mol
Mass contribution = number of atoms × atomic mass. Count the atoms carefully first.
In (NH₄)₃PO₄, what is the mass contribution of nitrogen? (Atomic mass of N = 14.007 g/mol)
Show the answer
Answer: 42.021 g/mol g/mol
- Atoms of N: 1 × 3 = 3 (1 per NH₄ × 3 NH₄ groups)
- Contribution = 3 × 14.007 g/mol = 42.021 g/mol
Mass contribution = number of atoms × atomic mass. Count the atoms carefully first.
Why do we multiply an element's atomic mass by its number of atoms?
- To convert grams into moles
- Each atom of that element adds its own mass to the total
- Because the subscript is the atomic number
- To find how many protons the element has
Show the answer
Answer: B. Each atom of that element adds its own mass to the total
- If a formula has 2 H atoms, they add 1.008 + 1.008 = 2 × 1.008 = 2.016 g/mol. Multiplying is a quick way to add the same mass many times.
Think about 2 hydrogen atoms: how much mass do they add together?
Try it in the lab
- Molar Mass Learning Lab, Stage 4: Mass contributions →
- Molar Mass Learning Lab, Stage 5: Total molar mass →
Questions students ask
Do the percentages always add to 100%?
Yes, apart from rounding. If they're far off, a contribution or the molar mass is wrong.
Is percent composition the same as mass percent of a solution?
No. Percent composition is about elements in one compound; mass percent of a solution compares solute to solution.
Can I use percent composition to find a formula?
Yes, it gives the empirical formula. You need the molar mass as well to find the molecular formula.
Related calculators
More guides on this topic
- How to find the molar mass of a hydrate
- Molar mass with parentheses: Ca(OH)₂ and Al₂(SO₄)₃
- How to memorize the periodic table (and what to learn first)
- Polyatomic ions: the list to learn, and tricks to remember them
- Molar mass vs. molecular weight vs. formula mass
- Why aren't atomic masses whole numbers?
- How to name ionic compounds, step by step
- Roman numerals in compound names: how to find the charge
- Naming molecular compounds with prefixes
- Element symbols: the list, and the ones from Latin
- Periodic table groups and periods explained
- Organic functional groups: the list, and how to spot each one