Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

Empirical & Molecular Formula Calculator

Three tools in one. Compute the empirical formula from percent composition or measured masses, find the molecular formula from the empirical formula and molar mass, or calculate the percent composition of any chemical formula. Every calculation shows full working.

Calculator Mode

Presets

Element Composition

ElementMass %
%
%
%

Tip: percentages do not need to sum to exactly 100.

Results

Empirical Formula

Empirical molar mass: 30.026 g/mol

Step-by-Step Working

ElementMass %Atomic MassMolesRatioSubscript
C40.00012.0113.330281.00001
H6.7001.0086.646831.99592
O53.30015.9993.331461.00041

Reference Guide

What is an Empirical Formula

An empirical formula shows the simplest whole-number ratio of atoms in a compound. It tells you the relative proportions of elements but not the actual count of atoms.

Glucose (C6H12O6) and acetic acid (C2H4O2) both have the empirical formula CH2O because all three have C:H:O in a 1:2:1 ratio.

Empirical formula=simplest integer ratio of elements\text{Empirical formula} = \text{simplest integer ratio of elements}

Steps to Find the Empirical Formula

  1. Convert each mass percent (or gram amount) to moles by dividing by the atomic mass.
  2. Divide all mole values by the smallest mole value.
  3. If the ratios are not whole numbers, multiply by the smallest integer that clears all fractions (e.g. multiply 1:1.5 by 2 to get 2:3).
  4. Write the formula with the whole-number subscripts.
moles=massatomic mass\text{moles} = \frac{\text{mass}}{\text{atomic mass}}

Empirical vs Molecular Formula

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

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

For glucose: empirical is CH2O (M = 30.03 g/mol), molecular is C6H12O6 (M = 180.16 g/mol), so n = 6.

Percent Composition

Percent composition is the mass fraction of each element in a compound, expressed as a percentage. It is determined experimentally by combustion analysis or other methods.

%element=n×MelementMcompound×100\%\, \text{element} = \frac{n \times M_{\text{element}}}{M_{\text{compound}}} \times 100

All percentages in a compound add to 100%.

Worked Example: Glucose

Empirical formula from composition

Glucose has 40.0% C, 6.7% H, 53.3% O. Assume 100 g sample.

  1. C: 40.0 / 12.011 = 3.330 mol
  2. H: 6.7 / 1.008 = 6.647 mol
  3. O: 53.3 / 15.999 = 3.332 mol
  4. Divide by 3.330: C=1.00, H=2.00, O=1.00
  5. Empirical formula: CH2O

Molecular formula from empirical

Molar mass of CH2O = 12.011 + 2(1.008) + 15.999 = 30.026 g/mol.

Measured molecular mass = 180.16 g/mol.

n = 180.16 / 30.026 = 5.999 which rounds to 6.

Molecular formula = (CH2O)6 = C6H12O6.

Related Content