Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuition

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labs

Reference

GlossaryBlogDiscoveries
Tools › Chemistry

Empirical formula calculator

Simplest whole-number formula from percentage composition.

CH₂O

  1. Moles in 100 g: C 40/12.011 = 3.33; H 6.7/1.008 = 6.647; O 53.3/15.999 = 3.331
  2. Divide by the smallest (3.33): C 1, H 2, O 1
  3. Round: 1 : 2 : 1
  4. Empirical formula: CH₂O

How it works

Treat the percentages as grams in 100 g, divide each by its atomic mass to get moles, divide all by the smallest, then round (or multiply by 2 or 3 to clear halves and thirds).

Worked example

With Element and %, e.g. C 40, H 6.7, O 53.3 = C 40, H 6.7, O 53.3:

  1. Moles in 100 g: C 40/12.011 = 3.33; H 6.7/1.008 = 6.647; O 53.3/15.999 = 3.331
  2. Divide by the smallest (3.33): C 1, H 2, O 1
  3. Round: 1 : 2 : 1
  4. Empirical formula: CH₂O

Answer: CH₂O

Questions

How do I get the molecular formula?
Divide the molar mass by the empirical formula mass, and multiply every subscript by that whole number. CH₂O × 6 = C₆H₁₂O₆ (glucose).

Learn the method properly

The chapter behind this tool, with animations, an experiment and an AI tutor who checks each step you write.

Open the chapter

More chemistry tools

  • Molar mass calculator
  • Moles and grams converter
  • pH calculator
  • Electron configuration finder
  • Percentage composition calculator
  • Ideal gas law calculator (PV = nRT)