Chemistry: Atoms First 2e · Composition of Substances and Solutions

Determining Empirical and Molecular Formulas

8 min read
Want it in plain words first? Jump to Eli explains — the same idea, no jargon.
On this page 9 sections
  1. In 30 seconds
  2. Why this matters
  3. The college version
  4. Eli explains
  5. Worked example
  6. Key takeaway
  7. Check yourself
  8. Study tools
  9. Sources & references

In 30 seconds

When chemists isolate a new compound — a natural product, a drug candidate, a pollutant — one of the first questions is: what is it made of, and in what ratio? The answer comes in two layers. The gives the simplest whole-number ratio of atoms in the compound (CH₂O for glucose). The gives the actual number of each atom in one molecule (C₆H₁₂O₆ for glucose). The molecular formula is always a whole-number multiple of the empirical formula.

Both are derived from — the mass percentage of each element in the compound — obtained experimentally. Percent composition comes from (for C, H, and sometimes N, S, and halogens) or from instruments like mass spectrometers and elemental analyzers. The calculation pipeline is: mass data → moles of each element (using molar masses) → simplest ratio → empirical formula; then + measured molar mass → molecular formula.

Why this matters

Determining formulas is how chemists identify unknown substances, verify the purity of synthesized products, and check that a pharmaceutical matches its label. Every year, patients are harmed by counterfeit or mislabeled drugs; elemental analysis confirming the correct molecular formula is part of the quality-control chain that catches such problems. In research, percent composition data for a newly discovered natural compound (like a novel antibiotic) is the first step toward identifying it and eventually synthesizing it. The same mole math powers combustion engines' fuel analysis, environmental monitoring of pollutants, and forensic identification of unknown powders. For students, this topic is also where "do I use the empirical or molecular formula?" first appears — and it reappears in every stoichiometry and solution problem that follows.

The college version

Core Concepts

Percent composition

The percent composition of an element in a compound is the fraction of the compound's mass contributed by that element, times 100%:

% element = mass of element in 1 mol of compoundmolar mass of compound × 100%

For a formula like C₆H₁₂O₆, you find the mass of carbon in one mole (6 × 12.011 = 72.07 g), divide by the molar mass (180.16 g/mol), and multiply by 100%. The percentages of all elements in a compound add to 100% (within rounding), which is a handy check.

From percent composition to empirical formula

The strategy: assume a convenient sample size — exactly 100 g makes each percentage equal to a mass in grams. Then:

  1. Convert each element's mass to moles using its molar mass: n = m/M.
  2. Divide every mole value by the smallest mole value to get a ratio.
  3. If ratios are not whole numbers, multiply all of them by the smallest integer that makes them whole (e.g., 1.5 → ×2 gives 3, 1.33 → ×3 gives 4, 1.25 → ×4 gives 5).
  4. Write the empirical formula with those subscripts.

The empirical formula is the reduced, simplest ratio — it carries no information about the actual number of atoms in the molecule.

From empirical to molecular formula

The molecular formula is n times the empirical formula, where:

n = molar mass of the compoundempirical formula mass

The compound's actual molar mass must be measured separately (e.g., by mass spectrometry or freezing-point depression). If n = 1, the empirical and molecular formulas are the same (H₂O, CO₂, NaCl). If n = 2, the molecular formula has twice every subscript (C₂H₄O₂ for acetic acid, whose empirical formula is CH₂O).

Combustion analysis

For compounds containing carbon and hydrogen (and often oxygen), combustion analysis burns a known mass of sample in excess oxygen. The carbon becomes CO₂ and the hydrogen becomes H₂O, both collected and weighed. The moles of carbon equal the moles of CO₂; the moles of hydrogen equal twice the moles of H₂O (each water has two H). Oxygen is usually found : subtract the measured masses of C and H from the sample mass. This method gives the empirical formula directly from measurable masses — no percentages needed as an intermediate.

Common Confusions

Do Not ConfuseWithDifference
Empirical formulaMolecular formulaCH₂O is a ratio; C₆H₁₂O₆ is the real molecule. Molecular = empirical × n.
Moles of H₂OMoles of HEach water molecule contains two H atoms: nH = 2 × nH2O. Forgetting the 2 is the #1 combustion-analysis error.
"Divide moles, then round 1.5 to 1 or 2"Whole-number ratios1.5 must be multiplied by 2 (→3), 1.33 by 3 (→4); rounding to nearest integer invents a wrong formula.
Percent composition massesActual sample massesPercentages are per 100 g; use the 100 g assumption, not the real sample mass, when given only percentages.
Empirical formula massMolecular molar massThey differ by factor n; using the wrong one gives the wrong molecular formula.
Eli, the EliExplains learning guide

Eli explains

The same idea, in plain words

Explain it like I’m 10

Imagine a recipe that only says "1 part flour, 2 parts sugar, 1 part salt" — that's an empirical formula: it tells the ratio, not the amount. The molecular formula tells the real recipe: "2 cups flour, 4 cups sugar, 2 cups salt" — the same ratio, just scaled up. Chemists figure out the ratio by burning a little of the stuff and weighing the smoke and water it makes, then scaling up using the measured total weight of one molecule.

Worked example

Example 1: Empirical formula from percent composition

A compound is 40.00% C, 6.71% H, and 53.29% O by mass. Find its empirical formula.

Assume 100.00 g of sample, so masses are 40.00 g C, 6.71 g H, 53.29 g O. Convert each to moles:

nC = 40.00 g12.011 g/mol = 3.330 mol

nH = 6.71 g1.008 g/mol = 6.657 mol

nO = 53.29 g15.999 g/mol = 3.331 mol

Divide by the smallest (3.330 mol): C = 1.000, H = 1.999 ≈ 2, O = 1.000. The empirical formula is CH₂O.

Example 2: Molecular formula from empirical formula + molar mass

The compound above has a measured molar mass of 180.16 g/mol. First compute the empirical formula mass:

Empirical formula mass = 12.011 + 2(1.008) + 15.999 = 30.026 u

Then:

n = 180.16 g/mol30.026 g/mol = 6.00

Multiply every subscript of CH₂O by 6: the molecular formula is C₆H₁₂O₆ — glucose. If the molar mass had instead been 60.05 g/mol, n would be 2 and the compound would be C₂H₄O₂ (acetic acid); at 30.03 g/mol, n = 1 and it would be CH₂O (formaldehyde). Same empirical formula, three different chemicals — the molar mass decides.

Example 3: Combustion analysis with oxygen by difference

A 0.2500 g sample of a C/H/O compound burns completely, producing 0.3664 g of CO₂ and 0.1500 g of H₂O. Find the empirical formula.

Moles of carbon (from CO₂, molar mass 44.009 g/mol):

nC = nCO2 = 0.3664 g44.009 g/mol = 0.008326 mol

Moles of hydrogen (two per water molecule, H₂O = 18.015 g/mol):

nH = 2 × 0.1500 g18.015 g/mol = 0.01665 mol

Find oxygen by difference. Mass of C = 0.008326 × 12.011 = 0.1000 g; mass of H = 0.01665 × 1.008 = 0.01678 g. Remaining mass:

mO = 0.2500 - 0.1000 - 0.01678 = 0.1332 g

nO = 0.1332 g15.999 g/mol = 0.008326 mol

Ratios C : H : O = 0.008326 : 0.01665 : 0.008326 = 1 : 2 : 1. The empirical formula is CH₂O — the same ratio as Example 1, showing that many real compounds (sugars, acids, aldehydes) share it.

Key takeaways

  • Empirical formula = simplest whole-number ratio; molecular formula = actual atom count; molecular = n × empirical, with n = molar mass / empirical formula mass.
  • The 100 g assumption converts percentages directly into grams; divide by smallest moles; multiply ratios to clear fractions.
  • Percent composition of every element sums to 100% — use it to check work.
  • Combustion analysis: moles C = moles CO₂; moles H = 2 × moles H₂O; O often by difference.
  • Common fraction traps: ×2 for 1.5, ×3 for 1.33, ×4 for 1.25.
  • Different compounds can share an empirical formula (CH₂O = glucose, acetic acid, formaldehyde); the molar mass is what tells them apart.

Check yourself

5 review questions from the chapter. Try each one, then open the answer.

  1. A compound is 92.3% C and 7.7% H by mass. What is its empirical formula? (C = 12.011, H = 1.008)

    Show answer

    Assume 100 g: 92.3 g C → 7.685 mol; 7.7 g H → 7.638 mol. Ratio ≈ 1 : 1, so CH.

  2. The same compound has a molar mass of 78.11 g/mol. What is its molecular formula?

    Show answer

    Empirical formula mass of CH = 13.019; n = 78.11/13.019 = 6.00; molecular formula C₆H₆ (benzene).

  3. In combustion analysis, why do you multiply the moles of water by 2 to get moles of hydrogen?

    Show answer

    Every water molecule contains two hydrogen atoms, so moles of H atoms = 2 × moles of H₂O molecules.

  4. Why is oxygen usually found "by difference" rather than measured directly?

    Show answer

    Combustion traps carbon as CO₂ and hydrogen as H₂O, but oxygen from the sample is indistinguishable from the excess O₂ used for burning; subtracting the measured C and H masses from the sample mass is the reliable way to get O.

  5. Two compounds have the same empirical formula but different molar masses. What does that tell you?

    Show answer

    They contain the same elements in the same ratio but different numbers of atoms per molecule — the molecular formulas differ by the integer factor n.

Keep learning

Ready to build on this? Continue to the next lesson.

Study tools & related lessonsKey vocabulary · Related

Key vocabulary

empirical formula
Simplest whole-number ratio of atoms in a compound (CH₂O).
molecular formula
Actual number of each atom in one molecule (C₆H₁₂O₆).
percent composition
Mass percentage of each element in a compound.
combustion analysis
Burning a sample in O₂, collecting CO₂ and H₂O to find C and H.
empirical formula mass
Sum of atomic masses in the empirical formula.
by difference
Finding oxygen's mass by subtracting C + H masses from the sample mass.

Sources & references

  1. openstax.org — Chemistry Atoms First 2e

This lesson was adapted from the open educational references above; their licenses and attributions are preserved. See Copyright & Licensing.

Educational content only. It is not medical, legal or professional advice. Found an error? Tell us.