Molecular Formulas from Empirical Formulas

An empirical formula tells you the simplest whole-number ratio of atoms in a compound. But it hides how many atoms are actually in one molecule. Two very different substances, acetylene and benzene, share the exact same empirical formula, CH. Yet one is a gas with a tiny molecule. The other is a liquid whose molecule is six times larger. The missing piece is molar mass, measured independently. This lets you scale the empirical formula up to the true molecular formula. This article builds the bridge between the Determining Empirical Formulas result and a fully specified molecule. The logic is short. Divide the experimental molar mass by the empirical formula's own mass. Round to the nearest whole number. Multiply every subscript by that integer. The hard part is doing the arithmetic cleanly. You also need to know when the answer legitimately isn't a round number. Along the way you will use skills from Formula and Molar Mass in Reactions to compute masses accurately. This same procedure will resurface inside Combustion Analysis. There, empirical formulas are extracted from carbon dioxide and water masses. They are then scaled up exactly as shown here.

Key takeaways
  • The molecular formula is always a whole-number multiple of the empirical formula: (empirical formula)n_n.
  • Find nn by dividing the experimental molar mass by the empirical formula mass, then rounding.
  • Multiply every subscript in the empirical formula by nn to get the molecular formula.
  • If the empirical formula mass is a large fraction of the molar mass, n=1n=1 and the two formulas are identical.
  • Small deviations from a whole number come from rounding in the original mass-percent data, not from a broken theory.
  • Key idea: molecular formula = empirical formula × nn, where nn = (molar mass) ÷ (empirical formula mass), rounded to the nearest integer.
The core insight

Empirical formula mass tells you the mass of one "ratio unit"; dividing the true molar mass by that unit mass tells you how many ratio units are stacked into a single molecule.

The physical picture

An empirical formula is a ratio, stripped of scale — like knowing a rectangle has sides in the ratio 2∶3 without knowing whether it is 2 cm × 3 cm or 20 m × 30 m. Combustion analysis and percent-composition data (covered under Determining Empirical Formulas) can only ever hand you that ratio, because they measure relative masses of elements, and any common multiple of a ratio is still the same ratio. Molecular formulas remove that ambiguity by specifying the actual population of atoms in one discrete molecule. Since a molecule must contain whole atoms, the molecular formula's subscripts must be whole-number multiples of the empirical subscripts — there is no such thing as "1.5 empirical units" inside a real molecule. So the entire problem collapses to finding one positive integer, nn. The physical quantity that pins down nn is the molar mass, typically measured by a separate physical method — mass spectrometry, freezing-point depression, gas density, or vapor pressure measurements — entirely independent of the percent-composition experiment that gave the empirical formula. Comparing "how heavy the whole molecule really is" against "how heavy one empirical unit is" reveals how many units are packed into each molecule.

Figure
Two compounds sharing the empirical formula CH, distinguished only by molar mass
Empirical formula CH (mass = 13.02 g/mol) Acetylene, C₂H₂ M = 26.04 g/mol n = 26.04 / 13.02 = 2 molecular formula: C₂H₂ Benzene, C₆H₆ M = 78.11 g/mol n = 78.11 / 13.02 = 6 molecular formula: C₆H₆

The core relations

n=MmolecularMempiricaln = \frac{M_{\text{molecular}}}{M_{\text{empirical}}}

where:

  • MmolecularM_{\text{molecular}} is the experimentally measured molar mass of the compound (g/mol),
  • MempiricalM_{\text{empirical}} is the molar mass calculated from the empirical formula alone (g/mol),
  • nn is rounded to the nearest positive integer before use.
Molecular formula=(Empirical formula)n\text{Molecular formula} = (\text{Empirical formula})_n

where:

  • every subscript in the empirical formula is multiplied by the same integer nn,
  • n=1n=1 recovers the case where empirical and molecular formulas coincide.
Derivation AFrom empirical ratio to molecular formula

Goal. Show why multiplying every empirical subscript by the same integer n=Mmolecular/Mempiricaln = M_{\text{molecular}}/M_{\text{empirical}} is the only self-consistent way to recover the molecular formula.

Step 1. Let the empirical formula be AaBbCc…\mathrm{A}_a\mathrm{B}_b\mathrm{C}_c\ldots, meaning the true molecule contains atoms of A, B, C in the ratio a:b:ca:b:c. Because the ratio is already reduced to smallest whole numbers, the actual atom counts in one molecule must be

(na, nb, nc,…)(n a, \, n b, \, n c, \ldots)

for some positive integer nn — any non-integer multiple would produce fractional atoms, which is physically impossible, and any integer multiple other than a common factor of the true counts would fail to reduce to a:b:ca:b:c.

Step 2. The molar mass of the actual molecule is the sum of the masses of all its atoms:

Mmolecular=naMA+nbMB+ncMC+…M_{\text{molecular}} = n a M_A + n b M_B + n c M_C + \ldots

Factor out nn:

Mmolecular=n(aMA+bMB+cMC+…)M_{\text{molecular}} = n\left(a M_A + b M_B + c M_C + \ldots\right)

Step 3. The quantity in parentheses is exactly the molar mass calculated from the empirical formula itself, since that formula has subscripts a,b,ca, b, c:

Mempirical=aMA+bMB+cMC+…M_{\text{empirical}} = a M_A + b M_B + c M_C + \ldots

Substituting gives

Mmolecular=n⋅MempiricalM_{\text{molecular}} = n \cdot M_{\text{empirical}}

Step 4. Solve for nn:

n=MmolecularMempiricaln = \frac{M_{\text{molecular}}}{M_{\text{empirical}}}

Because nn must be a positive integer, any experimental value close to a whole number (say, 1.97 or 3.04) is rounded to that integer; the small deviation is attributed to rounding error accumulated while finding the empirical formula's atomic ratios, not to a flaw in the relation itself.

Step 5 (limiting case). If Mmolecular=MempiricalM_{\text{molecular}} = M_{\text{empirical}} exactly, then n=1n=1 and the molecular formula is identical to the empirical formula — this is the case for water, H₂O, and carbon dioxide, CO₂, where no scaling is needed. This confirms the formula behaves correctly at its simplest boundary.

Worked examples

Example 1 — Oxalic acid. A compound used in rust removal has the empirical formula CHO₂, and an independent freezing-point-depression measurement gives a molar mass of 89.9 g/mol89.9\ \text{g/mol}. Find the molecular formula.

Step 1. Empirical formula mass. Using MC=12.01M_C = 12.01, MH=1.008M_H = 1.008, MO=16.00 g/molM_O = 16.00\ \text{g/mol}:

Mempirical=12.01+1.008+2(16.00)=45.02 g/molM_{\text{empirical}} = 12.01 + 1.008 + 2(16.00) = 45.02\ \text{g/mol}

Step 2. Ratio.

n=89.945.02=1.997≈2n = \frac{89.9}{45.02} = 1.997 \approx 2

Step 3. Scale the subscripts.

Molecular formula=C1×2H1×2O2×2=C2H2O4\text{Molecular formula} = \mathrm{C}_{1\times2}\mathrm{H}_{1\times2}\mathrm{O}_{2\times2} = \mathrm{C_2H_2O_4}

Step 4. Sanity check. The molar mass of C₂H₂O₄ is 2(12.01)+2(1.008)+4(16.00)=90.04 g/mol2(12.01) + 2(1.008) + 4(16.00) = 90.04\ \text{g/mol}, matching the measured 89.9 g/mol89.9\ \text{g/mol} to within experimental rounding. This is oxalic acid, a genuine, isolable molecule — the empirical formula CHO₂ alone never appears as a stable species.

Example 2 — A nitrogen-hydrogen-oxygen compound with a non-trivial multiplier. Elemental analysis of a propellant ingredient gives mass percentages N = 35.00%, H = 5.03%, O = 59.96%, and its measured molar mass is 80.04 g/mol80.04\ \text{g/mol}. Find the molecular formula.

Step 1. Assume a 100 g sample and convert to moles.

nN=35.00 g14.01 g/mol=2.498 moln_N = \frac{35.00\ \text{g}}{14.01\ \text{g/mol}} = 2.498\ \text{mol}
nH=5.03 g1.008 g/mol=4.990 moln_H = \frac{5.03\ \text{g}}{1.008\ \text{g/mol}} = 4.990\ \text{mol}
nO=59.96 g16.00 g/mol=3.748 moln_O = \frac{59.96\ \text{g}}{16.00\ \text{g/mol}} = 3.748\ \text{mol}

Step 2. Divide by the smallest value (2.498 mol) to get a ratio.

N:2.4982.498=1.000,H:4.9902.498=1.998,O:3.7482.498=1.500N: \frac{2.498}{2.498} = 1.000, \quad H: \frac{4.990}{2.498} = 1.998, \quad O: \frac{3.748}{2.498} = 1.500

Step 3. Clear the 1.500 fraction by multiplying every subscript by 2.

N2H4O3N_{2}H_{4}O_{3}

giving the empirical formula N2H4O3\mathrm{N_2H_4O_3} — this doubling step belongs to the empirical-formula procedure itself (see Determining Empirical Formulas) and is completed before molar mass ever enters.

Step 4. Empirical formula mass.

Mempirical=2(14.01)+4(1.008)+3(16.00)=28.02+4.032+48.00=80.05 g/molM_{\text{empirical}} = 2(14.01) + 4(1.008) + 3(16.00) = 28.02 + 4.032 + 48.00 = 80.05\ \text{g/mol}

Step 5. Compute nn.

n=80.0480.05=0.9999≈1n = \frac{80.04}{80.05} = 0.9999 \approx 1

Step 6. Conclusion. Since n=1n=1, the molecular formula equals the empirical formula:

N2H4O3\mathrm{N_2H_4O_3}

This is ammonium nitrate written in atomic form; the calculation shows explicitly that a compound can have a fairly large empirical formula and still need no further scaling, because its measured molar mass already matches the empirical mass.

Limiting cases & common traps

SituationWhat to doWhy
nn computes to something very close to a whole number (e.g., 2.02, 2.97)Round to the nearest integer before scaling subscriptsSmall deviations come from rounding in atomic masses or percent data, not fractional atoms
nn computes to something like 1.5 or 2.33Re-examine the empirical formula — it was likely not fully reducedA genuine molecular formula multiplier is always a positive integer
Mmolecular≈MempiricalM_{\text{molecular}} \approx M_{\text{empirical}}Report n=1n=1; molecular = empiricalThis is the boundary case, not a special exception
Empirical formula mass is unusually large compared to plausible molar masses of similar compoundsDouble-check the empirical formula computation firstAn error upstream in the mole ratios will masquerade as a strange nn

The chemist behind it

The empirical-to-molecular scaling procedure is not attributed to a single discovery; it is the natural consequence of two separate lines of nineteenth-century work converging: percent-composition analysis, refined by Justus von Liebig's combustion methods, and independent molar-mass determinations, made possible once Amedeo Avogadro's hypothesis (1811) was accepted and later given a firm numerical footing by Stanislao Cannizzaro at the 1860 Karlsruhe Congress. Before that congress, chemists routinely disagreed about atomic weights, which meant the same percent-composition data could be scaled to wildly different molecular formulas by different research groups. Cannizzaro's systematic use of vapor densities to fix consistent molar masses is what turned "empirical formula plus a mass measurement" into the reliable, unambiguous procedure used today.

Origins · 1 minStanislao Cannizzaro and how this was discovered
SC
Stanislao Cannizzaro
1826–1910 · Karlsruhe Congress, 1860, and the standardization of atomic weights

Cannizzaro argued that Avogadro's hypothesis — equal volumes of gas at the same temperature and pressure contain equal numbers of molecules — could be used systematically to assign consistent molecular weights across many compounds of the same element. His pamphlet, distributed at the 1860 Karlsruhe Congress, resolved decades of disagreement over atomic weights and made the molar-mass measurements that underlie this very procedure trustworthy and reproducible across laboratories.

Ask the tutor: How do I get the empirical formula in the first place from raw combustion masses of CO₂ and H₂O?

Can n ever be a fraction in a correct calculation?

No. Because a molecule contains whole atoms, nn must be a positive integer once you have correctly reduced the empirical formula. If your calculation yields something like n=1.5n = 1.5, the most common cause is that the empirical formula itself was not fully reduced to lowest terms — go back and re-check the mole ratios from the original percent-composition or combustion data.

Why do we need an independently measured molar mass at all?

Percent-composition or combustion data only fix ratios of moles of elements, never absolute quantities, so they can never distinguish CH from C₂H₂ or C₆H₆ on their own. A molar-mass measurement — by mass spectrometry, freezing-point depression, or gas-density methods — supplies the one missing piece of absolute scale needed to fix nn.

What if the measured molar mass is slightly less than the empirical formula mass?

This normally indicates experimental error, since nn cannot be less than 1 for any real molecule containing that ratio of atoms. If Mmolecular<MempiricalM_{\text{molecular}} < M_{\text{empirical}} by more than the expected measurement uncertainty, revisit both determinations rather than forcing n=1n=1.

Is the molecular formula always different from the empirical formula?

No. Many common compounds, such as water (H₂O), carbon dioxide (CO₂), and ammonia (NH₃), have n=1n=1, meaning their molecular and empirical formulas are identical. Scaling only becomes visible when n≥2n \geq 2, as with acetylene versus benzene.

How does this connect to combustion analysis?

In Combustion Analysis, you first convert masses of CO₂ and H₂O collected after burning a sample into moles of carbon and hydrogen, then find the empirical formula exactly as in Determining Empirical Formulas. The molecular-formula step described here is the final stage of that same workflow: once you have the empirical formula and an independently measured molar mass, the scaling procedure is identical.