Overview

An empirical formula is the simplest whole-number ratio of atoms in a compound. This works it out from the mass or percentage of each element.

Choose up to three elements and enter their amounts. For a two-element compound, set the third amount to 0.

Worked examples

InputsResult
Element 1CElement 1 mass (% or g)40Element 2HElement 2 mass (% or g)6.7Element 3OElement 3 mass (% or g, 0 if none)53.3Empirical formula: CH₂OMole ratio: 1 : 1.996 : 1
Show 2 more examples
Element 1FeElement 1 mass (% or g)69.94Element 2OElement 2 mass (% or g)30.06Element 3CElement 3 mass (% or g, 0 if none)0Empirical formula: Fe₂O₃Mole ratio: 1 : 1.5
Element 1NElement 1 mass (% or g)30.4Element 2OElement 2 mass (% or g)69.6Element 3CElement 3 mass (% or g, 0 if none)0Empirical formula: NO₂Mole ratio: 1 : 2.004

How it works

Convert each mass to moles by dividing by atomic mass. Divide all of them by the smallest, and if the ratios aren’t whole, multiply them all by the smallest number that makes them whole. Ratios within 0.1 of a whole number are treated as whole, to allow for rounded data.

The formula

Moles = mass ÷ atomic mass
RatioMoles of each element ÷ smallest moles

Practical tips

  • 40% C, 6.7% H and 53.3% O gives CH₂O.
  • 69.94% Fe and 30.06% O gives a 1 : 1.5 ratio, so double it to get Fe₂O₃.
  • A percentage works as grams, since it’s the same as assuming a 100 g sample.

Frequently asked questions

How does this differ from a molecular formula?

A molecular formula is a whole-number multiple, so glucose, C₆H₁₂O₆, has the empirical formula CH₂O.

How do I get the molecular formula?

Divide the true molar mass by the empirical formula’s mass, and multiply the formula by the result.