Skip to main content

Empirical Formula Calculator

Enter each element with its percent composition (or measured mass) and get the simplest whole-number formula, with the mole conversion, smallest-ratio division and any scaling multiplier laid out step by step.

The method

  1. Treat percentages as grams (imagine a 100 g sample).
  2. Convert each element's grams to moles (÷ atomic mass).
  3. Divide every mole value by the smallest one.
  4. If ratios aren't whole, multiply all of them by 2, 3, 4… until they are.

Worked example

A compound is 69.9% iron and 30.1% oxygen. Find its empirical formula.

  1. Fe: 69.9 ÷ 55.85 = 1.25 mol • O: 30.1 ÷ 16.00 = 1.88 mol
  2. Divide by 1.25 → Fe: 1.00, O: 1.50
  3. 1.5 isn't whole — multiply both by 2 → Fe: 2, O: 3

Answer: Fe₂O₃ — iron(III) oxide, the main component of rust.

Empirical vs molecular formulas

The empirical formula is the simplest ratio; the molecular formula counts real atoms per molecule. Glucose's molecular formula C₆H₁₂O₆ reduces to the empirical CH₂O. To go from empirical to molecular you need the compound's molar mass: divide it by the empirical formula's mass to find the multiplier (180 ÷ 30 = 6 for glucose).

⚠ Common mistake: Rounding too early is the classic trap: a ratio of 1.33 is ⅓ short of whole — multiply by 3 (→ 4), don't round down to 1. This calculator warns when ratios don't settle cleanly, which usually signals measurement or rounding error in the input data.

Frequently asked questions

What is an empirical formula?

The simplest whole-number ratio of atoms in a compound. It may equal the molecular formula (H₂O) or be a reduced version of it (CH₂O for glucose).

Why do I treat percentages as grams?

In a 100 g sample, each percentage is literally that many grams. It's a convenient sample size, and ratios don't depend on sample size anyway.

What if my ratios come out like 1.02 or 2.98?

Small deviations from whole numbers reflect experimental rounding — read them as 1 and 3. Deviations near .25, .33 or .5 are real fractions needing a multiplier.

Related chemistry tools

Learn the concepts