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:
- Divide each mass (or percentage) by the element's relative atomic mass () to get moles.
- Divide each answer by the smallest.
- If any ratio isn't close to a whole number, multiply them all by 2, 3 or 4 until they are.
Worked examples
Magnesium oxide: 2.4 g of Mg combines with 1.6 g of O.
| Mg | O | |
|---|---|---|
| Moles | ||
| Ratio | 1 | 1 |
Empirical formula: MgO.
A hydrocarbon: 80% carbon, 20% hydrogen. C: ; H: . Dividing by 6.67 gives 1 : 3, so CH₃.
When you need to multiply
Iron oxide: 70% Fe, 30% O.
- Fe: ; O: .
- 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 by the empirical formula's mass. CH₃ has a mass of 15; if the compound's is 30, the multiplier is 2, so the molecular formula is C₂H₆ (ethane). Our relative formula mass calculator gives the 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
- GCSE Chemistry (8462) specification: subject content. AQA.
- Cambridge IGCSE Chemistry 0620 syllabus for 2026, 2027 and 2028. Cambridge International.
Keep reading
Empirical formula questions and answers
8 GCSE and IGCSE questions with worked answers, checked as you type.
Relative formula mass (Mr) calculator
Mr for any formula, including brackets and water of crystallisation, with a breakdown table.
Percentage by mass calculator
The percentage by mass of every element in a compound, from its formula, with the working.
Moles in chemistry explained: formula and examples
Moles = mass ÷ Mr, Avogadro's constant, reacting masses, limiting reactants and concentration.