Empirical Formula Calculator
Calculate the empirical formula from percent composition or element masses. Determine the molecular formula from empirical formula and molecular weight.
%
%
%
%
Empirical Formula MW (g/mol)
—
C subscript —
H subscript —
O subscript —
N subscript —
Empirical Formula —
Extended More scenarios, charts & detailed breakdown ▾
%
%
%
%
Empirical Formula
—
Empirical MW (g/mol) —
Professional Full parameters & maximum detail ▾
g
g
g
g/mol
Empirical Formula
—
Mass of C (g) —
Mass of H (g) —
Mass of O (g, by diff) —
Empirical MW (g/mol) —
Molecular Formula —
Multiplier n —
How to Use This Calculator
- Enter the percent composition for each element (C, H, O, N). Percentages should sum to ~100%.
- The calculator converts to moles, finds the smallest whole-number ratio, and returns the empirical formula subscripts.
- Use the Empirical to Molecular tab to find the molecular formula.
Formula
moles_X = %X / MM_X
ratio_X = moles_X / min(all moles)
n = MW_molecular / MW_empirical
Example
Example: C: 40%, H: 6.67%, O: 53.33%. Moles: C=3.33, H=6.67, O=3.33. Divide by 3.33 → C:1, H:2, O:1. Empirical formula: CH₂O.
Frequently Asked Questions
- The empirical formula gives the simplest whole-number ratio of atoms in a compound. For example, glucose C₆H₁₂O₆ has the empirical formula CH₂O (ratio 1:2:1).
- Assume 100 g of compound. Convert each % to grams, divide by molar mass to get moles, then divide all mole values by the smallest to get ratios. Multiply to get whole numbers if needed.
- Divide the molecular weight by the empirical formula weight to get the multiplier n. Multiply each subscript in the empirical formula by n.
- Combustion analysis burns a compound in excess O₂ and measures the CO₂ and H₂O produced. Mass of C = mass of CO₂ × (12/44). Mass of H = mass of H₂O × (2/18). Mass of O = sample mass − C − H.
- Compounds with the same molecular formula but different structural arrangements. For example, butane and isobutane both have formula C₄H₁₀. The empirical formula (C₂H₅) cannot distinguish them — additional data (spectroscopy) is needed.
Related Calculators
Sources & References (5) ▾
- Empirical and Molecular Formulas — ACS Education — American Chemical Society
- OpenStax Chemistry 2e, Chapter 3 — Empirical and Molecular Formulas — OpenStax
- IUPAC — Nomenclature of Inorganic Chemistry (Red Book) — IUPAC
- NIST Chemistry WebBook — Compound Data — NIST
- LibreTexts Chemistry — Empirical Formula Determination — LibreTexts