Skip to content
AllCalcHub

Empirical Formula Calculator

Find an empirical formula from mass percentages, the molecular formula from molar mass, or % composition from a formula.

About the Empirical Formula Calculator

The empirical formula is the simplest whole-number ratio of atoms. Divide each element's mass (or mass %, as grams in 100 g) by its atomic weight to get moles, divide by the smallest, then multiply by a small whole number if needed (ratios like 1.5 or 1.33 mean ×2 or ×3). The molecular formula is a whole-number multiple of it, found from the molar mass. Atomic weights are IUPAC standard values.

The formula

molᵢ = massᵢ ÷ Aᵢ; ratio = molᵢ ÷ min(mol); molecular = empirical × (M ÷ M_empirical)

Worked example

Glucose: C 40.0%, H 6.71%, O 53.29%

  1. mol: 3.330, 6.657, 3.331 → ratio 1 : 2 : 1 → CH₂O (30.03 g/mol)
  2. Molar mass 180.16 ÷ 30.03 = 6 → C₆H₁₂O₆

Questions people ask

Can I enter grams?

Yes; grams work the same as percentages.

Is the empirical formula the same as the molecular formula?

Not always. The empirical formula is the simplest whole-number ratio (CH₂O for glucose); the molecular formula is a whole-number multiple of it (C₆H₁₂O₆). The molar mass tells you the multiple.