Chemistry guide · 6 min read

How to Find Empirical Formula (and Molecular Formula)

An empirical formula shows the simplest whole number ratio of atoms in a compound, like CH2O. The molecular formula shows the actual number of atoms, like C6H12O6. This guide shows the four step method for empirical formulas, how to handle tricky decimals, and how to get the molecular formula.

Empirical vs Molecular Formula

  • Empirical formula: the simplest whole number ratio. Glucose is CH2O\mathrm{CH_2O}.
  • Molecular formula: the real formula of one molecule. Glucose is C6H12O6\mathrm{C_6H_{12}O_6}, which is (CH2O)6(\mathrm{CH_2O})_6.

The molecular formula is always a whole number multiple of the empirical formula. Sometimes the multiple is 1, so the two are the same. Water, H2O\mathrm{H_2O}, is an example.

The method for the empirical formula is often remembered as: percent to mass, mass to mole, divide by small, multiply till whole.

The Four Step Method (From Percent Composition)

Problem: A compound is 40.0% carbon, 6.71% hydrogen, and 53.3% oxygen by mass. Find its empirical formula.

  1. Percent to mass. Assume a 100 g sample, so the percents become grams: 40.0 g C, 6.71 g H, 53.3 g O.
  2. Mass to moles. Divide by each atomic mass:
    • C: 40.0÷12.01=3.33140.0 \div 12.01 = 3.331 mol
    • H: 6.71÷1.008=6.6576.71 \div 1.008 = 6.657 mol
    • O: 53.3÷16.00=3.33153.3 \div 16.00 = 3.331 mol
  3. Divide by the smallest (3.331):
    • C: 3.331÷3.331=1.0003.331 \div 3.331 = 1.000
    • H: 6.657÷3.331=1.998≈26.657 \div 3.331 = 1.998 \approx 2
    • O: 3.331÷3.331=1.0003.331 \div 3.331 = 1.000
  4. Multiply until whole. The ratio is already 1 : 2 : 1.

Answer: the empirical formula is CH2O\mathrm{CH_2O}.

Values within about 0.1 of a whole number, like 1.998, can be rounded. Values like 1.5 or 1.33 cannot. See the next section.

When the Ratio Is Not a Whole Number

If a ratio ends in a familiar decimal, multiply every subscript by the number that clears it:

Decimal endingMultiply all by
.502
.33 or .673
.25 or .754
.20, .40, .60, .805

Example: An iron oxide is 69.9% Fe and 30.1% O. Find the empirical formula.

  1. Assume 100 g: 69.9 g Fe and 30.1 g O.
  2. Moles: Fe: 69.9÷55.85=1.25269.9 \div 55.85 = 1.252. O: 30.1÷16.00=1.88130.1 \div 16.00 = 1.881.
  3. Divide by the smallest: Fe: 1.252÷1.252=1.0001.252 \div 1.252 = 1.000. O: 1.881÷1.252=1.5031.881 \div 1.252 = 1.503.
  4. 1.503 is about 1.5, so multiply both by 2: Fe = 2, O = 3.

Answer: Fe2O3\mathrm{Fe_2O_3}. Rounding 1.5 up to 2 would have given FeO, which is a different compound.

Starting From Grams Instead of Percents

If the problem gives masses, skip step 1 and go straight to moles.

Problem: A sample of a nitrogen oxide contains 0.700 g of nitrogen and 1.600 g of oxygen. Find the empirical formula.

  1. N: 0.700÷14.01=0.049960.700 \div 14.01 = 0.04996 mol.
  2. O: 1.600÷16.00=0.10001.600 \div 16.00 = 0.1000 mol.
  3. Divide by the smallest (0.04996): N = 1.000, O = 2.002.
  4. The ratio is 1 : 2.

Answer: NO2\mathrm{NO_2}.

You do not need to convert the masses to percents first. The mole ratio comes out the same either way.

Finding the Molecular Formula

To go from the empirical formula to the molecular formula, you need the compound's molar mass, which the problem will give you.

n=molar mass of compoundempirical formula massn = \frac{\text{molar mass of compound}}{\text{empirical formula mass}}

Then multiply every subscript in the empirical formula by nn.

Example 1: The empirical formula is CH2O\mathrm{CH_2O} and the molar mass is 180.16 g/mol.

  1. Empirical formula mass: 12.01+2(1.008)+16.00=30.0312.01 + 2(1.008) + 16.00 = 30.03 g/mol.
  2. n=180.16÷30.03=6.00n = 180.16 \div 30.03 = 6.00.
  3. Multiply: C1×6H2×6O1×6=C6H12O6\mathrm{C_{1 \times 6}H_{2 \times 6}O_{1 \times 6}} = \mathrm{C_6H_{12}O_6}.

Example 2: The nitrogen oxide above has a molar mass of 92.0 g/mol.

  1. Empirical formula mass of NO2\mathrm{NO_2}: 14.01+2(16.00)=46.0114.01 + 2(16.00) = 46.01 g/mol.
  2. n=92.0÷46.01=2.00n = 92.0 \div 46.01 = 2.00.
  3. Molecular formula: N2O4\mathrm{N_2O_4}.

nn should come out very close to a whole number. If it does not, recheck the empirical formula mass. Paste it into the VeilGPT solver to check your steps.

Common mistakes

  • Rounding a ratio like 1.5 or 1.33 to the nearest whole number instead of multiplying every subscript to clear the decimal.
  • Dividing the percents by each other directly instead of converting each one to moles first.
  • Dividing by the largest mole value instead of the smallest, which creates fractions less than 1.
  • Multiplying only one subscript when clearing a decimal, which changes the ratio between elements.

Try one yourself

A compound is 85.6% carbon and 14.4% hydrogen by mass, and its molar mass is 56.1 g/mol. Find its empirical formula and molecular formula.

Work it out, then check every step with the VeilGPT chemistry solver.

Check it with VeilGPT

Questions about this topic

Why do we assume a 100 g sample?

It turns each percent directly into grams, which keeps the math simple. Any sample size gives the same ratio, because the empirical formula only depends on proportions.

Can the empirical and molecular formulas be the same?

Yes. When the multiple n equals 1, they match. Water (H2O) and carbon dioxide (CO2) are examples.

How close to a whole number does a ratio need to be to round it?

A common rule is within about 0.1, so 1.98 or 2.04 can be rounded to 2. If a value is near .25, .33, .5, or .67, multiply instead of rounding.

More study guides