Reactions and Stoichiometry

Percent Composition by Mass

Calculate the mass percentage of each element from a formula or from lab data, and use it to compare compounds and check purity.

Key takeaways

  • Mass percent of an element equals its mass in the formula divided by the molar mass, times 100.
  • The percentages of all elements in a compound add to 100, apart from small rounding differences.
  • A pure compound has the same percent composition whatever the size or source of the sample.
  • Atom counts and mass shares can look very different, because atoms of different elements differ in mass.
  • Comparing measured and calculated percentages helps test a proposed formula or a sample's purity.

Percent composition tells you what share of a compound's mass comes from each element. To find it from a formula, divide the mass of that element in one mole of compound by the molar mass of the compound, then multiply by 100.

Water, for example, is about 11.19% hydrogen and 88.81% oxygen by mass. That may look surprising, since there are two hydrogen atoms for every oxygen, but each oxygen atom is about sixteen times as heavy as a hydrogen atom.

The calculation

Use this relationship for each element:

mass % of element = (atoms of element × atomic weight) ÷ molar mass × 100

Take ammonia, NH₃, with N = 14.007 and H = 1.008. The molar mass is 14.007 + 3 × 1.008 = 17.031 g/mol.

% N = 14.007 ÷ 17.031 × 100 = 82.24%
% H =  3.024 ÷ 17.031 × 100 = 17.76%
sum = 100.00%

The sum is your first check. If it comes to 94% or 108%, an atom was missed or counted twice. If it is 99.99% or 100.01%, that is ordinary rounding.

If molar masses are not yet automatic, practice with calculating molar mass.

A larger example

Calcium carbonate, CaCO₃, has a molar mass of 40.078 + 12.011 + 3 × 15.999 = 100.086 g/mol.

Element Mass in one mole (g) Mass percent
Ca 40.078 40.04%
C 12.011 12.00%
O 47.997 47.96%

Oxygen is the largest share because there are three atoms of it. Calcium comes close behind with only one atom, thanks to its greater atomic weight.

You can also find the percentage of a group of atoms. The carbonate portion, CO₃, has a mass of 60.01 g per mole, about 59.96% of the total. The part released as carbon dioxide on strong heating, one CO₂ of 44.01 g, is about 43.97%.

Example: mass percent in calcium carbonate
Calcium 40.04% by mass Carbon 12% by mass Oxygen 47.96% by mass Calcium 40.04% by mass Carbon 12% by mass Oxygen 47.96% by mass

Hypothetical example: the numbers are made up to show the method, not a quote or an average.

Thinking in a 100 gram sample

A percentage is a statement about parts per hundred, so a handy mental move is to picture exactly 100 g of the compound. In 100 g of calcium carbonate there are about 40 g of calcium, 12 g of carbon and 48 g of oxygen. The percentages become grams with no further work.

This picture also shows the difference between mass share and atom share. Convert those grams to moles: 40.04 g of calcium is about 1.00 mol, 12.00 g of carbon is about 1.00 mol and 47.96 g of oxygen is about 3.00 mol. The 1 : 1 : 3 of the formula comes straight back, although the mass percentages looked nothing like it.

Whenever a result seems odd, ask which kind of share you are looking at. Heavy atoms take a large part of the mass while being few in number. Light atoms, hydrogen above all, can be numerous and barely register. In methane, CH₄, four of the five atoms are hydrogen, yet hydrogen is only about 25% of the mass.

You can estimate many percentages mentally with rounded atomic weights. For methane, 4 out of 16 gives 25%, close to the more careful 25.13%.

Why it never changes

A pure compound has a fixed formula, so every sample, large or small, has the same proportions. A grain of pure calcium carbonate and a metric ton of it are both about 40% calcium.

Percent composition is therefore an intensive property, one that does not depend on amount. The idea is explored in intensive and extensive properties.

Mixtures behave differently. Air, seawater and concrete can have varying compositions, so a percentage for a mixture describes one sample under one set of circumstances. That distinction sits at the heart of sorting elements, compounds and mixtures.

Natural isotope variation causes very small differences in measured percentages for some elements. It is usually far below the precision of introductory work.

Finding the mass of an element in a sample

Once you know the percentage, you can scale it to any amount. How much iron is in 250 g of pure iron(III) oxide, Fe₂O₃?

M(Fe₂O₃) = 2 × 55.845 + 3 × 15.999 = 159.687 g/mol
% Fe     = 111.690 ÷ 159.687 × 100 = 69.94%
mass Fe  = 0.6994 × 250 g = 175 g

The reverse question works too. To obtain 100 g of iron, you need at least 100 ÷ 0.6994 = 143 g of pure Fe₂O₃. Real ores contain other minerals, and real processes lose some material, so more ore is needed in practice.

A similar calculation compares nitrogen fertilizers. Ammonium nitrate, NH₄NO₃, has a molar mass of about 80.04 g/mol with 28.01 g of nitrogen, about 35.0%. Urea, CO(NH₂)₂, is about 60.06 g/mol with the same 28.01 g of nitrogen, about 46.6%. Mass percent alone does not settle which to use, since handling, storage rules and how plants take up the nitrogen also matter.

Ranking compounds by one element

Percent composition lets you compare sources of an element on equal terms. Take three iron compounds as an exercise.

Compound Molar mass (g/mol) Iron (g per mole) % Fe
FeO 71.84 55.85 77.7%
Fe₃O₄ 231.53 167.54 72.4%
Fe₂O₃ 159.69 111.69 69.9%

The order follows the oxygen-to-iron ratio. FeO has one oxygen atom per iron atom, Fe₃O₄ has about 1.33 and Fe₂O₃ has 1.5. More oxygen per iron means a smaller iron share.

Note that the compound with the most iron atoms in its formula, Fe₃O₄, does not have the highest percentage. Counting atoms within one formula tells you little until you divide by the whole molar mass.

The same approach compares hydrated and anhydrous forms of a salt, or different calcium compounds used in a recipe or a process. It answers only the question of mass share, not cost, safety or how readily the element can be released.

From lab data

When the formula is unknown, you measure masses directly. Percent composition is then the mass of each element found divided by the mass of sample analyzed.

Say, as a hypothetical case, that 2.430 g of magnesium is heated until it is fully converted to an oxide weighing 4.030 g. The oxygen gained is 4.030 − 2.430 = 1.600 g.

% Mg = 2.430 ÷ 4.030 × 100 = 60.30%
% O  = 1.600 ÷ 4.030 × 100 = 39.70%

These agree closely with the values calculated for MgO, which is 24.305 ÷ 40.304 = 60.30% magnesium. In a real classroom, results often fall a little off because some oxide escapes as smoke, some magnesium forms a nitride with nitrogen in the air or heating is incomplete. Burning magnesium is intensely bright and hot, so it needs eye protection, instructor supervision and no direct staring at the flame.

Water of hydration and purity

Mass percent also describes the water locked in a hydrate. In CuSO₄·5H₂O, five waters weigh about 90.08 g out of 249.68 g, which is 36.08% water. The experimental side appears in finding the formula of a hydrate.

Purity checks use the same arithmetic. Pure sodium chloride is 22.990 ÷ 58.44 = 39.34% sodium. Suppose an analysis of a salt sample finds 37.4% sodium, and you know the only impurity contains no sodium. The sample is then about 37.4 ÷ 39.34 = 95.1% sodium chloride.

That conclusion depends completely on the assumption about the impurity. If the contaminant were another sodium compound, the same number could mean something else.

How good must the agreement be?

Measured percentages never match calculated ones perfectly. The question is whether the gap is within the uncertainty of the method. Research journals in synthetic chemistry have commonly expected carbon, hydrogen and nitrogen results within about 0.4 percentage points of the calculated values, though expectations differ between publishers and have been debated.

A larger gap suggests leftover solvent, moisture, inorganic salt or a wrong formula. Chemists sometimes test an explanation by adding, say, half a water molecule to the formula and recalculating. That can be legitimate if other evidence shows the water is there. Adjusting the formula only until the numbers agree is not.

Agreement also does not prove a structure. Isomers, compounds with the same molecular formula and different arrangements, give identical results.

Telling compounds apart

Compounds made of the same elements usually differ in percent composition. Carbon monoxide is 42.88% carbon, and carbon dioxide is 27.29% carbon. A good analysis separates them easily.

Some compounds cannot be told apart this way. Ethyne, C₂H₂, and benzene, C₆H₆, both reduce to a 1 to 1 ratio of carbon to hydrogen, so both are 92.26% carbon. Formaldehyde, acetic acid and glucose all share the ratio CH₂O and have identical percentages.

Percent composition therefore leads to an empirical formula, the simplest atom ratio. A molar mass or other evidence is needed to go further, as shown in comparing kinds of formulas.

Reading percentages on labels

Product labels use percentages in several ways, and not all are mass percent of an element. A solution marked 3% might mean grams per 100 g, grams per 100 mL or milliliters per 100 mL. Fertilizer grades traditionally express phosphorus and potassium as equivalent amounts of oxides, not as the elements themselves.

Convert carefully before comparing. For concentrations in mixtures, see mass percent and volume percent in products.

Mistakes to avoid

  • Using the number of atoms as the percentage. Water is not 67% hydrogen by mass, although two of its three atoms are hydrogen.
  • Dividing by the molar mass of the wrong form, such as the anhydrous salt for a hydrate.
  • Forgetting subscripts outside parentheses.
  • Rounding each element heavily and then worrying that the total misses 100.

To run the logic backward and discover a formula from percentages, continue with finding an empirical formula.

Written for 4Chemistry with AI writing tools and not reviewed line by line by a person. Check anything you rely on against a textbook or primary source. Report an error.

Keep reading

All 42 articles in Reactions and Stoichiometry →

Latest news on this topic