Empirical Formula Calculator
Find empirical formula from percent composition.
About this tool
Enter mass percent for each element as symbol:percent pairs, for example C:40,H:6.7,O:53.3. The tool assumes 100 g, converts to moles and divides by the smallest.
How to use
How it works
The empirical formula is the simplest whole-number ratio of atoms. Take each percent as grams in a 100 g sample, divide by atomic mass to get moles, then divide every mole value by the smallest. The molecular formula is a whole-number multiple of the empirical one and needs the molar mass.
moles = % ÷ atomic mass ratio = moles ÷ smallest moles
Worked example
A 40 / 6.7 / 53.3 compound
- Input
- C:40,H:6.7,O:53.3
- Output
- CH2O
- Walkthrough
- C 40 ÷ 12.011 = 3.33, H 6.7 ÷ 1.008 = 6.65, O 53.3 ÷ 15.999 = 3.33. Dividing by 3.33 gives 1: 2: 1.
Limitations
- Gives the empirical formula only, not the molecular formula.
- Percents that give ratios far from whole numbers (such as 1.5) may need doubling by hand.
Questions
What is the empirical formula of 85.7% C and 14.3% H?
How do I get the molecular formula from the empirical formula?
What if my percents do not add to 100?
Features
- Percent composition input
- Uses standard atomic masses
- Runs in your browser
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
The Periodic Table: Crash Course Chemistry #4
CrashCourse
Periodic table context for element and molar mass tools.
Watch on YouTubeCrash Course Chemistry Preview
CrashCourse
Series overview for students using chemistry helpers.
Watch on YouTube
- Periodic Table
Royal Society of Chemistry
Interactive table for element property lookups.
- Chemistry | Khan Academy
Khan Academy
Practice path for stoichiometry and solutions math.