Empirical and molecular formula

A chemist burns an unknown compound, weighs the carbon dioxide and water it produces, and from those two numbers must reconstruct the compound's formula. The raw data never arrives as a formula — it arrives as masses or percentages of each element, and turning that into a real chemical structure is the job of this topic. This is the natural capstone of the ISC Class 11 chapter "Some Basic Concepts of Chemistry": having built up atomic mass, molar mass, the mole, and percentage composition, the syllabus now asks you to run the whole chain in reverse — from measured masses back to the empirical formula (simplest whole-number ratio of atoms) and then, using the molar mass, to the true molecular formula. It is one of the most dependable, fully algorithmic calculations on the paper.

The core insight

The molecular formula is always a whole-number multiple nn of the empirical formula, where nn is found by dividing the compound's molar mass by its empirical formula mass.

The core idea

Every compound has two related but distinct formulas. The empirical formula records only the simplest whole-number ratio of atoms of each element — it says nothing about how many atoms are actually in one molecule. The molecular formula records the true, actual number of atoms of each element in one molecule. For a compound like glucose, the empirical formula CH2O\text{CH}_2\text{O} and the molecular formula C6H12O6\text{C}_6\text{H}_{12}\text{O}_6 describe the same substance at two different levels of detail — the molecular formula is simply the empirical formula scaled up by a whole number. That scaling factor has a name and a formula:

n=Molecular massEmpirical formula mass,Molecular formula=n×(Empirical formula)n = \frac{\text{Molecular mass}}{\text{Empirical formula mass}}, \qquad \text{Molecular formula} = n \times (\text{Empirical formula})

where: nn is a positive integer, the molecular mass is the compound's experimentally measured molar mass (found separately, e.g. by vapour density or a mass spectrometer), and the empirical formula mass is the sum of atomic masses implied by the empirical formula's subscripts. Finding the empirical formula itself is a short, mechanical sequence: convert every element's mass (or assumed-100 g percentage) into moles using n=m/Matomicn = m/M_{\text{atomic}}, divide every mole value by the smallest one to get a ratio anchored at 1, and — if any ratio still isn't close to a whole number — scale the whole set up by a small integer until it is.

Figure
Four-stage flow from percent composition to mole ratio to empirical formula to molecular formula
From percent composition to a molecular formula Mass or % of each element (assume 100 g) Moles of each n = mass / atomic mass Divide by smallest whole-number ratio Empirical formula then x n using molar mass The empirical formula only becomes the molecular formula once you multiply by n = molar mass / empirical formula mass.
Derivation APercentage composition to molecular formula

The goal is to take a compound's percentage composition by mass together with its independently measured molar mass, and turn both pieces of data into a fully specified molecular formula, using nothing beyond mole calculations and one division for the scale factor nn — this is the complete method examiners expect you to reproduce step by step, and it is worth memorising as a fixed five-step routine rather than reconstructing from first principles under time pressure.

Step 1. A compound of carbon, hydrogen and oxygen is found by combustion analysis to contain 40.0%40.0\% carbon, 6.7%6.7\% hydrogen and 53.3%53.3\% oxygen by mass, with molar mass 180 g mol−1180\ \text{g mol}^{-1}. Since percentages by mass are independent of sample size, assume exactly 100 g100\ \text{g} of compound: this converts the percentages directly into masses, 40.0 g40.0\ \text{g} C, 6.7 g6.7\ \text{g} H, 53.3 g53.3\ \text{g} O, with nothing else in the calculation changing.

Step 2. Convert each mass to moles using n=m/Matomicn = m/M_{\text{atomic}}:

nC=40.012=3.33 mol,nH=6.71=6.7 mol,nO=53.316=3.33 moln_{\text{C}} = \frac{40.0}{12} = 3.33\ \text{mol}, \quad n_{\text{H}} = \frac{6.7}{1} = 6.7\ \text{mol}, \quad n_{\text{O}} = \frac{53.3}{16} = 3.33\ \text{mol}

These numbers are mole counts, not mass ratios — dividing by atomic mass is what makes them comparable atom-for-atom.

Step 3. Divide every mole value by the smallest one (3.333.33) to anchor the ratio at 1: C gives 3.33/3.33=13.33/3.33 = 1, H gives 6.7/3.33≈26.7/3.33 \approx 2, O gives 3.33/3.33=13.33/3.33 = 1. All three come out at, or very close to, whole numbers, so no further scaling is needed here. The ratio C : H : O is 1:2:11:2:1, giving the empirical formula CH2O\text{CH}_2\text{O}.

Step 4. Compute the empirical formula mass by summing atomic masses using the subscripts just found: 12+2(1)+16=30 g mol−112 + 2(1) + 16 = 30\ \text{g mol}^{-1}. Then find the scale factor nn by dividing the given molar mass by this empirical formula mass: n=180/30=6n = 180/30 = 6, a clean whole number, which is the check that the empirical formula and the molar mass are mutually consistent.

Step 5. Multiply every subscript in the empirical formula by n=6n = 6 to obtain the molecular formula: (CH2O)6=C6H12O6(\text{CH}_2\text{O})_6 = \text{C}_6\text{H}_{12}\text{O}_6, the formula of glucose. The empirical formula told us only the atom ratio; the molar mass was essential to recover the true molecular size.

Worked example

0.246 g0.246\ \text{g} of an organic compound of carbon, hydrogen and oxygen was burnt completely, producing 0.352 g0.352\ \text{g} of CO2\text{CO}_2 and 0.144 g0.144\ \text{g} of H2O\text{H}_2\text{O}. Its molar mass was separately found to be 180 g mol−1180\ \text{g mol}^{-1}. Find its empirical and molecular formula. (Atomic masses: C=12\text{C} = 12, H=1\text{H} = 1, O=16\text{O} = 16; molar masses CO2=44\text{CO}_2 = 44, H2O=18\text{H}_2\text{O} = 18.)

Step 1. Find the mass of carbon from the CO2\text{CO}_2 produced — all the carbon in the sample ends up there:

mC=0.352×1244=0.0960 gm_{\text{C}} = 0.352 \times \frac{12}{44} = 0.0960\ \text{g}

Step 2. Find the mass of hydrogen from the H2O\text{H}_2\text{O} produced — all the hydrogen ends up there:

mH=0.144×218=0.0160 gm_{\text{H}} = 0.144 \times \frac{2}{18} = 0.0160\ \text{g}

Step 3. Find the mass of oxygen by difference, since only C, H and O are present:

mO=0.246−(0.0960+0.0160)=0.134 gm_{\text{O}} = 0.246 - (0.0960 + 0.0160) = 0.134\ \text{g}

Step 4. Convert each mass to moles: nC=0.0960/12=0.00800n_{\text{C}} = 0.0960/12 = 0.00800, nH=0.0160/1=0.0160n_{\text{H}} = 0.0160/1 = 0.0160, nO=0.134/16=0.00838n_{\text{O}} = 0.134/16 = 0.00838.

Step 5. Divide by the smallest value (0.008000.00800): C :1.00: 1.00, H :2.00: 2.00, O :1.05≈1: 1.05 \approx 1. Small deviations like 1.051.05 are expected experimental scatter and round to the nearest whole number. The ratio C : H : O is 1:2:11:2:1, so the empirical formula is CH2O\text{CH}_2\text{O}.

Step 6. Scale up to the molecular formula. The empirical formula mass is 12+2(1)+16=30 g mol−112 + 2(1) + 16 = 30\ \text{g mol}^{-1}, so n=180/30=6n = 180/30 = 6, and the molecular formula is (CH2O)6(\text{CH}_2\text{O})_6.

The compound has empirical formula CH2O\text{CH}_2\text{O} and molecular formula C6H12O6\text{C}_6\text{H}_{12}\text{O}_6 — the same result as for glucose, obtained here directly from combustion data rather than from a stated percentage composition.

Common traps

  • Dividing by the largest mole value instead of the smallest in the "divide by smallest" step — this always distorts the ratio.
  • Rounding a ratio like 1.331.33 straight to 11 instead of recognising it as 4/34/3 and scaling the whole set by 33 to clear the fraction.
  • Forgetting that in combustion analysis, all the carbon appears in the CO2\text{CO}_2 produced and all the hydrogen in the H2O\text{H}_2\text{O} produced — the factors 12/4412/44 and 2/182/18 come directly from this, and oxygen (if present) must be found by mass difference, not measured directly.
  • Confusing empirical formula mass with molecular mass when finding nn — nn is molecular mass divided by empirical formula mass, and a correct calculation always lands close to a whole number.

Ask the tutor: if you have a percentage composition or combustion data set you want to convert into an empirical or molecular formula, ask the AI tutor to walk through the "divide by smallest" step with you.

Why do we divide by the smallest mole value instead of, say, the largest?

Dividing by the smallest value guarantees that every element's ratio comes out at 1 or above, with the smallest becoming exactly 1. That gives the simplest possible whole-number comparison. If you divided by the largest instead, every ratio would end up as a fraction less than 1, which cannot be turned into whole-number subscripts without extra, error-prone scaling. Dividing by the smallest is simply the shortest route to clean, comparable numbers.

What if a mole ratio comes out as something like 1.5 instead of a whole number?

Do not round 1.5 to either 1 or 2 — both would be wrong, because 1.5 is a genuine fraction, not experimental noise. Instead recognise it as 3/2 and multiply every ratio in the set (not just the 1.5) by 2, so it becomes a whole number along with all the others. Only round a value that is already close to a whole number, like 1.05 or 0.98; a value like 1.5, 1.33 or 1.25 signals that the whole set needs scaling by 2, 3 or 4 respectively.

Can two different compounds have the same empirical formula?

Yes, and this is exactly why the molecular formula step matters. Formaldehyde (CH2O, molar mass 30), acetic acid (C2H4O2, molar mass 60) and glucose (C6H12O6, molar mass 180) all share the empirical formula CH2O but are chemically very different substances. Percentage composition alone can never distinguish them — you need the independently measured molar mass to find n and pin down which actual molecule you have.

Before this

Where this leads