MathemagiciansLibraryExplorationsDeep Dives
← Chemistry · Upper Secondary
ChemistryUpper Secondary

Empirical and molecular formulae

CU3 — Stoichiometry › CU3.1 — Moles and CalculationsLecture 3 of 5~2180 words

Three substances, one recipe

Here are three substances. Methanal is a gas with a sharp smell, used to preserve specimens. Ethanoic acid is the acid in vinegar. Glucose is the sugar your cells run on. They look, smell and behave nothing alike. Yet if you analyse each one, you find exactly the same result: 40.0% carbon, 6.7% hydrogen and 53.3% oxygen by mass.

How can three different substances have the same composition? Look at their formulae: methanal is CH₂O, ethanoic acid is C₂H₄O₂, and glucose is C₆H₁₂O₆. In all three, there are twice as many hydrogen atoms as carbon atoms, and as many oxygen atoms as carbon atoms. The ratio is the same, CH₂O. The numbers are different.

This is the problem this lecture solves. An analysis in a laboratory gives you masses. From masses, you can find the ratio of atoms. But the ratio alone cannot tell glucose from vinegar. You need one more piece of information to find the real formula.

Two kinds of formula

Empirical and molecular formulae

The empirical formula is the simplest whole-number ratio of the atoms of each element in a compound.

The molecular formula is the actual number of atoms of each element in one molecule. It is always a whole-number multiple of the empirical formula.

Sometimes the two are the same. Water, H₂O, cannot be simplified, so its empirical and molecular formulae are both H₂O. Sometimes they differ. Ethane is C₂H₆, and dividing by 2 gives the empirical formula CH₃. Benzene is C₆H₆, with empirical formula CH. Hydrogen peroxide is H₂O₂, with empirical formula HO.

The word "empirical" means "found by experiment". That is the point of the empirical formula. It is what an experiment gives you directly, before you know anything else about the molecule.

For ionic compounds, such as magnesium oxide or iron oxide, there are no molecules. A crystal is a huge lattice of ions. So for ionic compounds we only ever write the empirical formula. MgO means "magnesium and oxide ions in a 1 : 1 ratio".

From masses to a ratio of atoms

A laboratory finds that magnesium oxide is 60.3% magnesium and 39.7% oxygen by mass. What is its formula?

Start by imagining exactly 100 g of the compound. This is only a convenience: percentages then become grams directly. So 100 g of magnesium oxide contains 60.3 g of magnesium and 39.7 g of oxygen.

Stop and think

The mass ratio is 60.3 : 39.7, which is about 3 : 2. So is the formula Mg₃O₂?

Show the answer

No. A formula counts atoms, not grams. A magnesium atom is heavier than an oxygen atom (relative masses 24 and 16), so a gram of magnesium contains fewer atoms than a gram of oxygen. To compare numbers of atoms, you must turn each mass into moles first. When you do, the ratio becomes 1 : 1, and the formula is MgO. Comparing masses directly is like comparing a bag of oranges with a bag of grapes by weight and calling it a count of fruit.

The last lecture called the mole the hub of chemistry calculations, and promised that finding a formula from data is "a trip through the hub". Here it is. Divide each mass by its relative atomic mass:

Now the amounts are counts of atoms (in units of ). To see the simplest ratio, divide both by the smaller one, 2.48:

That is 1 : 1, so the empirical formula is MgO. The 1.01 is not exactly 1 only because the percentages were rounded.

Masses in 100 g 60.3 g Mg 39.7 g O Amounts in moles 2.51 mol Mg 2.48 mol O about 3 : 2 about 1 : 1 → MgO
The same 100 g of magnesium oxide. By mass, magnesium is about 3 parts in 5. Counted in moles, there is one magnesium atom for every oxygen atom.

That is it. That is the whole idea. Masses do not count atoms. Moles do. Turn every mass into moles, then compare. Everything else in this lecture is organisation.

The method, with the reason for each step

Write the working as a table, with one column for each element. Each row is one step:

Step 4 needs care. A value of 1.01 or 2.98 is a whole number spoiled by rounding. A value of 1.5 is not. It means that for every 2 atoms of one element there are 3 of the other. Learn to recognise the common fractions:

Value after Step 3 ends in aboutIt isMultiply everything by
.5a half2
.33 or .67a third or two thirds3
.25 or .75a quarter or three quarters4

The most common mistake in this whole topic is rounding 1.5 to 2. Find it in the working below.

Spot the error — an iron oxide

Tunde analyses an iron oxide: 70.0% iron and 30.0% oxygen by mass. One line of his working is wrong. Tap it.

Tunde's working for an iron oxide with 70.0% iron and 30.0% oxygen, with the error marked:

  • In 100 g: 70.0 g Fe and 30.0 g O. Correct.
  • Moles: Fe ; O . Correct.
  • Divide by the smaller, 1.25: Fe 1, O 1.5. Correct.
  • Round to whole numbers: Fe 1, O 2, so FeO₂. Wrong: 1.5 is not a rounding error. It is a half.
  • Correct: multiply both by 2. Fe 2, O 3, so the empirical formula is Fe₂O₃.

Notice the check in the last line. Any formula can be tested by working the percentage backwards. Fe₂O₃ has , and iron, which matches the data. FeO₂ gives 63.6%, which does not.

From the empirical formula to the molecular formula

Back to the three substances with the same recipe. The analysis gives CH₂O for all of them. To tell them apart, you need one more measurement: the relative molecular mass, , of the substance. Today this usually comes from a mass spectrometer, which measures the mass of whole molecules.

The empirical formula CH₂O has a mass of . We call this the empirical formula mass. The molecule must contain a whole number of these units, so

For methanal, , so and the formula is CH₂O. For ethanoic acid, , so : C₂H₄O₂. For glucose, , so : C₆H₁₂O₆. One analysis plus one mass gives each answer.

Combustion analysis: burning a compound to read its formula

Most compounds of carbon do not come with percentages printed on them. For two centuries, chemists found their formulae by burning them. When a compound of carbon, hydrogen and oxygen burns completely in oxygen, every carbon atom ends up in carbon dioxide and every hydrogen atom ends up in water. Catch and weigh the carbon dioxide and the water, and you know how much carbon and hydrogen were in the sample.

O₂ sample (weighed) heat calcium chloride absorbs H₂O potassium hydroxide absorbs CO₂ out Each absorber is weighed before and after.
A simple combustion train. The sample burns in a stream of oxygen. Calcium chloride absorbs the water, and potassium hydroxide absorbs the carbon dioxide. The gain in mass of each absorber is the mass of water or carbon dioxide formed.

In 1831, Justus von Liebig made this into a reliable routine: calcium chloride to absorb water, potassium hydroxide to absorb carbon dioxide (LibreTexts, Physical Methods in Chemistry). Oxygen cannot be found the same way, because the compound burns in a stream of oxygen. So oxygen is found last, by subtraction. Step through a full example below.

Step through — a liquid burned in oxygen

2.30 g of a liquid containing only carbon, hydrogen and oxygen burns completely. It forms 4.40 g of carbon dioxide and 2.70 g of water. Press Next to add one step.

2.30 g of a liquid containing only C, H and O burns completely, forming 4.40 g of CO₂ and 2.70 g of H₂O. Each step and its reason:

  • Step 1. mol, so mol. Each CO₂ holds one C atom, and all the carbon ends up in CO₂.
  • Step 2. Mass of C g. Needed for the subtraction later.
  • Step 3. mol, so mol. Each H₂O holds two H atoms.
  • Step 4. Mass of H g.
  • Step 5. Mass of O g, so mol. The rest of the sample's mass must be oxygen.
  • Step 6. Divide by 0.0500: C 2, H 6, O 1. The smallest amount becomes 1.

Result: the empirical formula is C₂H₆O. If , then , and the molecular formula is also C₂H₆O. This is ethanol.

The order matters: carbon from carbon dioxide, hydrogen from water, oxygen by subtraction. And check the result where you can. Ethanol, C₂H₆O, has , and 2.30 g of it is exactly 0.0500 mol. Burning 0.0500 mol would make 0.100 mol of CO₂ and 0.150 mol of H₂O, which is what was measured.

Worked examples

Relative atomic masses: H 1, C 12, N 14, O 16, Mg 24, S 32, Fe 56, Cu 64.

Worked Example 1 — From a crucible experiment

A student heats 1.20 g of magnesium ribbon in a crucible until it has all reacted with oxygen from the air. The product has a mass of 2.00 g. Find the empirical formula.

Masses. Magnesium: 1.20 g. Oxygen: the gain in mass, g.

Moles. Mg: mol. O: mol.

Ratio. 1 : 1, so the empirical formula is MgO.

Check. MgO has , and 0.0500 mol of it is g ✓. Notice that no percentages were needed: masses from the experiment work directly.

Worked Example 2 — A ratio ending in .33

A black iron oxide contains 72.4% iron and 27.6% oxygen by mass. Find its empirical formula.

Moles in 100 g. Fe: . O: .

Divide by the smaller. Fe 1, O .

Whole numbers. 1.334 is a third more than 1, so multiply by 3: Fe 3, O 4.00. The empirical formula is Fe₃O₄.

Check. , and iron ✓.

Worked Example 3 — The sugar

A white solid is 40.0% carbon, 6.7% hydrogen and 53.3% oxygen by mass. Its relative molecular mass is 180. Find its empirical and molecular formulae.

Moles in 100 g. C: . H: . O: .

Divide by 3.33. C 1.00, H 2.01, O 1.00. The 2.01 is within 0.05 of 2, so it is rounding: the empirical formula is CH₂O.

Molecular formula. Empirical formula mass . . So the molecular formula is C₆H₁₂O₆: glucose.

Check. ✓.

Three classic mistakes

Trap 1 — Rounding a real fraction

A value of 1.5, 1.33 or 1.25 after Step 3 is not a rounding error. Round only values within about 0.05 of a whole number. Otherwise multiply everything by 2, 3 or 4. A backwards check of the percentage will catch the mistake.

Trap 2 — Dividing oxygen by 32

Oxygen gas is O₂, with . But in a compound you are counting oxygen atoms, so divide by 16. The same is true for nitrogen (14, not 28) and chlorine (35.5, not 71).

Trap 3 — Forgetting the 2 in water

In combustion analysis, each mole of H₂O contains two moles of hydrogen atoms. Writing halves the hydrogen and gives a wrong formula. And never try to find oxygen from the CO₂ or H₂O: some of that oxygen came from the air. Find it by subtraction.

Try it yourself

Work each one on paper first. Open a hint only when you are stuck. Relative atomic masses: H 1, C 12, N 14, O 16, S 32, Cu 64.

  1. A gas is 75.0% carbon and 25.0% hydrogen by mass. Find its empirical formula.

    Hint 1

    Imagine 100 g, and divide each mass by its .

    Hint 2

    C: . H: . Then divide both by the smaller.

    Full answer

    C: mol. H: mol. Divide by 6.25: C 1, H 4. Empirical formula CH₄. Check: carbon ✓. (This gas is methane.)

  2. An oxide of nitrogen is 30.4% nitrogen and 69.6% oxygen by mass. Its relative molecular mass is 92. Find its empirical and molecular formulae.

    Hint 1

    Divide oxygen by 16, not 32. You are counting atoms.

    Hint 2

    The empirical formula mass of NO₂ is .

    Full answer

    N: mol. O: mol. Divide by 2.17: N 1, O 2.00. Empirical formula NO₂, with mass 46. , so the molecular formula is N₂O₄. Check: nitrogen ✓.

  3. 0.600 g of a compound containing only carbon and hydrogen burns completely, forming 1.76 g of carbon dioxide and 1.08 g of water. Its relative molecular mass is 30. Find its empirical and molecular formulae.

    Hint 1

    Carbon from CO₂ (), hydrogen from H₂O (). Remember the 2.

    Hint 2

    There is no oxygen in this compound. Check instead that the masses of C and H add up to 0.600 g.

    Full answer

    C: mol, mass g. H: mol of water, so mol of H atoms, mass 0.120 g. Check: g ✓, so there really is no oxygen. Ratio C : H = 0.0400 : 0.120 = 1 : 3. Empirical formula CH₃, mass 15. , so the molecular formula is C₂H₆ (ethane).

  4. Blue copper sulfate crystals contain water: their formula is CuSO₄·H₂O. A student heats 2.50 g of the crystals until all the water is driven off. The white solid left, CuSO₄, has a mass of 1.60 g. Find .

    Hint 1

    Treat CuSO₄ and H₂O as the two "units" whose ratio you want, exactly as you treated two elements.

    Hint 2

    Mass of water lost . of CuSO₄ .

    Full answer

    CuSO₄: mol. Water: g, and mol. Ratio CuSO₄ : H₂O , so : CuSO₄·5H₂O. Check: , and 0.0100 mol of it is 2.50 g ✓. The same method works for any "units", not just single atoms.

The bigger idea

Combustion analysis built organic chemistry. With it, nineteenth-century chemists found the formulae of sugars, acids and many natural substances, long before anyone could see a molecule. The method kept improving. In 1923, Fritz Pregl received the Nobel Prize in Chemistry "for his invention of the method of micro-analysis of organic substances". His method needed only about 5 mg of sample or less (Nobel Prize; LibreTexts). Automated versions of the same idea still run in laboratories today, because they are cheap and reliable.

But the hook of this lecture shows the method's limit. Methanal, vinegar's acid and glucose give identical analyses. A formula from masses alone tells you the ratio, never the molecule. Even the molecular formula is not the end: different molecules can share one molecular formula. C₂H₆O is ethanol, but it is also methoxymethane, a gas, with the atoms joined in a different order. Chemistry keeps asking the same question at deeper levels: first what ratio, then how many, then how are they joined?

The next lecture uses the same move in the other direction. Instead of turning measured masses into a formula, you will use a balanced equation to turn the moles of one substance into the moles of another.

Key concepts in this lesson