Dove's LibraryDove's Library

1.3 - Elemental Composition of Pure Substances

Overview

Every pure compound has a fixed recipe: the same elements in the same proportions by mass, no matter where the sample came from. This topic connects that mass recipe to the empirical formula, the simplest whole-number ratio of atoms in a compound. You'll calculate percent composition from a formula and work backward from mass data to a formula, which is how chemists identify an unknown substance.

Molecules and formula units

A pure substance has a fixed composition. It's either an element (one kind of atom) or a compound (two or more elements chemically combined). Pure substances are built from particles in one of two ways:
  • Molecular substances are made of separate molecules. Water, carbon dioxide, and glucose are examples. The formula H2O\mathrm{H_2O} describes one actual molecule: 2 H atoms bonded to 1 O atom.
  • Ionic compounds and network solids have no separate molecules. They are huge, repeating arrangements of ions or atoms held together in a fixed ratio. The formula gives that ratio, called a formula unit. In sodium chloride, NaCl means one Na+\mathrm{Na^+} for every Cl−\mathrm{Cl^-}. In magnesium chloride, MgCl2\mathrm{MgCl_2} means two Cl−\mathrm{Cl^-} for every Mg2+\mathrm{Mg^{2+}}. Quartz, SiO2\mathrm{SiO_2}, is a network of atoms with two O for every Si.
1.3 - Elemental Composition of Pure Substances
Either way, the formula fixes how many atoms of each element there are relative to each other. That's why every pure sample of a compound has the same composition.

The law of definite proportions

The law of definite proportions says that in any pure sample of a compound, the ratio of the masses of its elements is always the same. Water from a glacier, a lab, or a puddle always has 7.94 g of oxygen for every 1.00 g of hydrogen.
The reason is the formula. Every water molecule has 2 H atoms (2×1.008=2.0162 \times 1.008 = 2.016 amu) and 1 O atom (16.00 amu). A sample is just many copies of the same molecule, so the mass ratio of the whole sample equals the ratio in one molecule:
mass of Omass of H=16.00 amu2.016 amu=7.937\frac{\text{mass of O}}{\text{mass of H}} = \frac{16.00\ \mathrm{amu}}{2.016\ \mathrm{amu}} = 7.937
Double the sample and both masses double, so the ratio doesn't change. On a graph of oxygen mass against hydrogen mass, every water sample falls on the same straight line through the origin.
1.3 - Elemental Composition of Pure Substances
Hydrogen peroxide, H2O2\mathrm{H_2O_2}, is made of the same two elements in a different ratio (2 O atoms for every 2 H atoms), so its samples fall on a different, steeper line: 15.9 g of O per gram of H. A different mass ratio means a different compound. That makes the mass ratio a tool for identifying a substance or testing whether a sample is pure.

Percent composition by mass

The percent composition of a compound is the percent of its mass that comes from each element. Use one mole of the compound:
mass percent of an element=(atoms of the element in the formula)×(molar mass of the element)molar mass of the compound×100%\text{mass percent of an element} = \frac{(\text{atoms of the element in the formula}) \times (\text{molar mass of the element})}{\text{molar mass of the compound}} \times 100\%

Example 1: Percent composition of ethanol

Find the percent composition by mass of ethanol, C2H6O\mathrm{C_2H_6O} (often written C2H5OH\mathrm{C_2H_5OH}).
The molar mass is 2(12.01)+6(1.008)+16.00=46.072(12.01) + 6(1.008) + 16.00 = 46.07 g/mol. One mole contains 24.02 g of C, 6.048 g of H, and 16.00 g of O.
% C=24.02 g46.07 g×100%=52.14%\%\,\mathrm{C} = \frac{24.02\ \mathrm{g}}{46.07\ \mathrm{g}} \times 100\% = 52.14\%% H=6.048 g46.07 g×100%=13.13%\%\,\mathrm{H} = \frac{6.048\ \mathrm{g}}{46.07\ \mathrm{g}} \times 100\% = 13.13\%% O=16.00 g46.07 g×100%=34.73%\%\,\mathrm{O} = \frac{16.00\ \mathrm{g}}{46.07\ \mathrm{g}} \times 100\% = 34.73\%
Answer: 52.14% C, 13.13% H, and 34.73% O. Check: the percents add up to 100.00%.

Empirical formulas

The empirical formula of a compound lists the lowest whole-number ratio of atoms of its elements. The molecular formula gives the actual number of each atom in one molecule. The molecular formula is always a whole-number multiple of the empirical formula.
Compound
Molecular formula
Empirical formula
Glucose
C6H12O6\mathrm{C_6H_{12}O_6}
CH2O\mathrm{CH_2O}
Hydrogen peroxide
H2O2\mathrm{H_2O_2}
HO
Benzene
C6H6\mathrm{C_6H_6}
CH
Water
H2O\mathrm{H_2O}
H2O\mathrm{H_2O}
Sodium chloride
none (no molecules)
NaCl
Different compounds can share an empirical formula. Formaldehyde (CH2O\mathrm{CH_2O}), acetic acid (C2H4O2\mathrm{C_2H_4O_2}), and glucose all reduce to CH2O\mathrm{CH_2O}, so all three have the same percent composition. Formulas of ionic compounds are always empirical formulas, because a formula unit is already the lowest ratio.

Finding an empirical formula from mass data

Mass data gives you grams of each element, but formulas count atoms. So you have to convert to moles:
  1. Get grams of each element. If you're given percents, assume a 100 g sample, so 40.91% becomes 40.91 g.
  1. Convert grams to moles by dividing by each element's molar mass.
  1. Divide every mole amount by the smallest one. This gives the ratio.
  1. Make the ratio whole numbers. If a value is within about 0.1 of a whole number, round it. If it ends in about .5, multiply every value by 2. If it ends in about .33 or .67, multiply by 3. If it ends in about .25 or .75, multiply by 4.
Never round 1.33 down to 1 or 1.5 up to 2. Those decimals are real fractions telling you to multiply.

Example 2: Empirical and molecular formulas of vitamin C

Vitamin C is 40.91% C, 4.58% H, and 54.51% O by mass, and its molar mass is 176.12 g/mol. Find its empirical and molecular formulas.
Assume 100 g, then convert each mass to moles:
C:40.91 g12.01 g/mol=3.406 molH:4.58 g1.008 g/mol=4.54 molO:54.51 g16.00 g/mol=3.407 mol\mathrm{C}: \frac{40.91\ \mathrm{g}}{12.01\ \mathrm{g/mol}} = 3.406\ \mathrm{mol} \qquad \mathrm{H}: \frac{4.58\ \mathrm{g}}{1.008\ \mathrm{g/mol}} = 4.54\ \mathrm{mol} \qquad \mathrm{O}: \frac{54.51\ \mathrm{g}}{16.00\ \mathrm{g/mol}} = 3.407\ \mathrm{mol}
Divide by the smallest amount (3.406 mol, carbon):
C:3.4063.406=1H:4.543.406=1.33O:3.4073.406=1.000\mathrm{C}: \frac{3.406}{3.406} = 1 \qquad \mathrm{H}: \frac{4.54}{3.406} = 1.33 \qquad \mathrm{O}: \frac{3.407}{3.406} = 1.000
The H value, 1.33, is 1131\frac{1}{3}, so multiply everything by 3: C = 3, H = 4, O = 3. The empirical formula is C3H4O3\mathrm{C_3H_4O_3}.
To get the molecular formula, compare the molar mass to the mass of one empirical formula unit:
MC3H4O3=3(12.01)+4(1.008)+3(16.00)=88.06 g/mol176.1288.06=2.000\mathcal{M}_{\mathrm{C_3H_4O_3}} = 3(12.01) + 4(1.008) + 3(16.00) = 88.06\ \mathrm{g/mol} \qquad\qquad \frac{176.12}{88.06} = 2.000
Answer: the empirical formula is C3H4O3\mathrm{C_3H_4O_3}. The molecular formula has twice as many of each atom: C6H8O6\mathrm{C_6H_8O_6}.

Asking testable questions with composition data

Composition data lets you ask questions an experiment can actually answer. A testable question names something you can measure and compare. For example:
  • Not testable: "Is this copper oxide any good?"
  • Testable: "Does this black copper oxide have the same mass percent of copper as pure CuO (79.89%)?"
The law of definite proportions is what makes the second question useful. If the sample is pure CuO, its copper percent must be 79.89%. A different value means it's a different compound or it isn't pure (Topic 1.4).

Example 3: Same compound or not?

A chemist analyzes three samples of copper oxide:
Sample
Color
Mass of sample
Mass of copper
1
black
3.18 g
2.54 g
2
black
7.95 g
6.35 g
3
red
5.00 g
4.44 g
(a) Which samples could be the same compound? Justify your answer.
Compare the mass percent of copper in each sample:
1: 2.543.18×100%=79.9%2: 6.357.95×100%=79.9%3: 4.445.00×100%=88.8%\text{1: } \frac{2.54}{3.18} \times 100\% = 79.9\% \qquad \text{2: } \frac{6.35}{7.95} \times 100\% = 79.9\% \qquad \text{3: } \frac{4.44}{5.00} \times 100\% = 88.8\%
Samples 1 and 2 have the same composition even though their masses are very different, so they could be the same compound (and 79.9% matches CuO). Sample 3 has a different composition, so it must be a different compound. By the law of definite proportions, one compound can't have two different compositions.
(b) Find the empirical formula of sample 3.
Sample 3 contains 5.00−4.44=0.565.00 - 4.44 = 0.56 g of oxygen.
Cu:4.44 g63.55 g/mol=0.0699 molO:0.56 g16.00 g/mol=0.035 mol\mathrm{Cu}: \frac{4.44\ \mathrm{g}}{63.55\ \mathrm{g/mol}} = 0.0699\ \mathrm{mol} \qquad\qquad \mathrm{O}: \frac{0.56\ \mathrm{g}}{16.00\ \mathrm{g/mol}} = 0.035\ \mathrm{mol}
Dividing by the smaller amount gives Cu : O = 2.0 : 1. The oxygen mass has only two significant figures (from the subtraction), but that's plenty to see a 2 to 1 ratio. Answer: Cu2O\mathrm{Cu_2O}, which is 88.82% copper, matching the data.

Example 4: Magnesium oxide lab (AP-style)

A student heats a strip of magnesium in a crucible until it reacts completely with oxygen from the air, forming a white solid. The data are below.
Measurement
Mass (g)
Crucible and lid
28.415
Crucible, lid, and magnesium
28.861
Crucible, lid, and product after heating
29.155
(a) Calculate the mass of oxygen that combined with the magnesium.
Magnesium: 28.861−28.415=0.44628.861 - 28.415 = 0.446 g. Product: 29.155−28.415=0.74029.155 - 28.415 = 0.740 g. The extra mass is oxygen: 0.740−0.446=0.2940.740 - 0.446 = 0.294 g of O.
(b) Determine the empirical formula of the product.
Mg:0.446 g24.30 g/mol=0.0184 molO:0.294 g16.00 g/mol=0.0184 mol\mathrm{Mg}: \frac{0.446\ \mathrm{g}}{24.30\ \mathrm{g/mol}} = 0.0184\ \mathrm{mol} \qquad\qquad \mathrm{O}: \frac{0.294\ \mathrm{g}}{16.00\ \mathrm{g/mol}} = 0.0184\ \mathrm{mol}
The mole ratio is 1 : 1, so the empirical formula is MgO.
(c) Write a testable question that this experiment answers.
"Does magnesium combine with oxygen in a 1 to 1 ratio of atoms?" Any question that names a measured quantity, like the mass ratio of magnesium to oxygen in the product, works.
(d) When the student lifted the lid to let air in, some white smoke (the product) escaped. How does this affect the calculated ratio of Mg to O? Explain.
Losing product makes the final mass too small, so the calculated mass of oxygen is too small. The moles of O come out too low while the moles of Mg (from the mass measured before heating) don't change. So the calculated Mg : O ratio is too high, and the formula would look like it has more than one Mg for every O.

Common mistakes

  • Using mass ratios as subscripts. Subscripts count atoms, not grams. Always convert grams to moles before finding a ratio.
  • Rounding the ratio too much. A ratio of 1 : 1.33 means multiply by 3, not round to 1 : 1. A value of 1.5 means multiply by 2.
  • Dividing by the wrong number. Divide every mole amount by the smallest one, so the smallest becomes 1.
  • Mixing up empirical and molecular formulas. C6H12O6\mathrm{C_6H_{12}O_6} is glucose's molecular formula, and its empirical formula is CH2O\mathrm{CH_2O}. For ionic compounds, the formula unit is the empirical formula.
  • Thinking a bigger sample changes the composition. A 1 g sample and a 1 kg sample of pure water have the same percent oxygen. Only the masses change, not the ratio.

AP® is a registered trademark of the College Board, which is not affiliated with Dove's Library and was not involved in the production of, and does not endorse, this website.

Providing free, high-quality AP notes to help students succeed, earn college credit, and reach their educational goals, ensuring everyone has access to the resources they need.

© 2026 Standard Learning Group, Inc., which operates Dove's Library. All rights reserved.