Empirical Formula Calculator

Find empirical formula from percent composition.

FreeNo accountOn your device

Runs in your browser. How to verify

Loading tool…

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

1
Step 1
Enter pairs as Symbol:percent separated by commas.
2
Step 2
Make sure the percents add to about 100.
3
Step 3
Press Calculate to read the whole-number ratio.

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?
CH2.
How do I get the molecular formula from the empirical formula?
Divide the molar mass by the empirical formula mass and multiply every subscript by that whole number.
What if my percents do not add to 100?
Check for a missing element, often oxygen, which is frequently found by difference.

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 YouTube
  • Crash Course Chemistry Preview

    CrashCourse

    Series overview for students using chemistry helpers.

    Watch on YouTube