Skip to content

Empirical formula calculator with working

Free TutorAura tool · no sign-up · Updated

The empirical formula is the simplest whole-number ratio of atoms of each element in a compound. Enter each element with its mass in grams or its percentage by mass, and the calculator shows every step:

  1. Divide each mass (or percentage) by the element's relative atomic mass (ArA_r) to get moles.
  2. Divide each answer by the smallest.
  3. If any ratio isn't close to a whole number, multiply them all by 2, 3 or 4 until they are.
Loading the tool

Worked examples

Magnesium oxide: 2.4 g of Mg combines with 1.6 g of O.

MgO
Moles2.4÷24=0.12.4 \div 24 = 0.11.6÷16=0.11.6 \div 16 = 0.1
Ratio11

Empirical formula: MgO.

A hydrocarbon: 80% carbon, 20% hydrogen. C: 80÷12=6.6780 \div 12 = 6.67; H: 20÷1=2020 \div 1 = 20. Dividing by 6.67 gives 1 : 3, so CH₃.

When you need to multiply

Iron oxide: 70% Fe, 30% O.

  • Fe: 70÷56=1.2570 \div 56 = 1.25; O: 30÷16=1.87530 \div 16 = 1.875.
  • Divide by 1.25: Fe 1, O 1.5.
  • 1.5 isn't a whole number, so multiply both by 2: Fe 2, O 3.

Empirical formula: Fe₂O₃. Ratios ending in .5 need ×2; ending in .33 or .67 need ×3; ending in .25 or .75 need ×4. Don't round 1.5 to 2.

From empirical to molecular formula

The molecular formula is a whole-number multiple of the empirical formula. Divide the compound's MrM_r by the empirical formula's mass. CH₃ has a mass of 15; if the compound's MrM_r is 30, the multiplier is 2, so the molecular formula is C₂H₆ (ethane). Our relative formula mass calculator gives the MrM_r of any formula.

In the lab

A classic practical heats magnesium ribbon in a crucible to form magnesium oxide. Weigh the crucible empty, with magnesium, and with the oxide after heating; the gain in mass is the oxygen. Lift the lid now and then to let air in, without letting the white smoke escape, or the oxygen mass will come out too low.

Common mistakes

  • Dividing by the atomic number instead of the relative atomic mass.
  • Rounding too early (keep at least 2 decimal places in the ratio).
  • Using a capital letter wrongly in symbols (Co is cobalt; CO is carbon monoxide).

Practise with our empirical formula questions.

Exam tips

  • Lay out your working as a table with a column for each element.
  • Ratios within about 0.1 of a whole number can be rounded; anything ending in .5, .33 or .25 needs multiplying.
  • If the masses don't add up to the compound's mass, the missing mass may be oxygen: subtract to find it.

Frequently asked questions

How do you find the empirical formula?

Divide each element's mass or percentage by its Ar to get moles, divide by the smallest number of moles, then multiply to make whole numbers if needed.

What is the difference between empirical and molecular formula?

The empirical formula is the simplest ratio of atoms; the molecular formula is the actual number of each atom in a molecule, a whole-number multiple of the empirical formula.

What if my ratio is 1 : 1.5?

Multiply both by 2 to get 2 : 3. Don't round 1.5 up or down.

Is anything I type sent to a server?

No. The calculation runs in your browser and nothing is stored.

Sources

  1. GCSE Chemistry (8462) specification: subject content. AQA.
  2. Cambridge IGCSE Chemistry 0620 syllabus for 2026, 2027 and 2028. Cambridge International.