Quickly find the empirical and molecular formula of any compound from percent composition or elemental mass.
This calculator determines the empirical formula (simplest whole-number ratio of atoms) and molecular formula (actual number of atoms) of a compound based on elemental composition. These calculations are grounded in stoichiometry and the law of definite proportions. You can explore related concepts like reaction yields using our stoichiometry calculator for a broader view of chemical equations.
The calculation follows this systematic approach:
This tool uses IUPAC standard atomic masses (2019 values) from the periodic table of elements. Key reference values:
| Element | Atomic Mass (g/mol) | Element | Atomic Mass (g/mol) | Element | Atomic Mass (g/mol) |
|---|---|---|---|---|---|
| H (Hydrogen) | 1.008 | C (Carbon) | 12.011 | O (Oxygen) | 15.999 |
| N (Nitrogen) | 14.007 | S (Sulfur) | 32.06 | Cl (Chlorine) | 35.45 |
Empirical vs. Molecular Formula: The empirical formula shows the simplest ratio, while the molecular formula shows the actual atom count. For example, benzene has empirical formula CH (1:1 ratio) and molecular formula C6H6 (multiplier = 6).
Multiple Possibilities: Different compounds can share the same empirical formula. C2H2 (acetylene) and C6H6 (benzene) both have empirical formula CH. Using our chemical equation balancer can help confirm reaction stoichiometry for such compounds.
A: Experimental data often has small deviations. The tool allows calculations with totals close to 100% (within 0.1% tolerance) and warns for larger discrepancies. In research, normalization to 100% is standard practice.
A: The algorithm tests multiplication by common integers (2, 3, 4, etc.) to convert decimal ratios to whole numbers. For example, 1.33 × 3 = 4 (rounded), 2.5 × 2 = 5.
A: No. Empirical and molecular formulas provide composition only, not structural information. C4H10 could be butane or isobutane—both have identical formulas but different structures. Tools like our hydrocarbon nomenclature tool can help name and differentiate these isomers.
A: These terms are synonymous in modern chemistry. Both refer to the simplest whole-number ratio of atoms in a compound.
A: Atomic masses are from IUPAC 2019 standard values, typically with 3-5 significant figures appropriate for most laboratory calculations.
The calculation algorithm follows established chemical principles taught in undergraduate chemistry curricula worldwide. The step-by-step approach mirrors standard laboratory procedures for formula determination.
This tool complements but does not replace:
This calculator relates to other essential chemistry calculations:
Educational Note: While this calculator provides accurate results based on input data, students should understand the underlying chemical principles. Rote use without conceptual understanding limits learning value.
Formula Verification: Calculation methodology reviewed October 2025. Based on standard stoichiometric principles consistent with general chemistry textbooks (Chang, Zumdahl, Brown/LeMay).
| Example | Input Data | Molar Mass | Empirical Formula | Molecular Formula |
|---|---|---|---|---|
| Glucose | C: 40%, H: 6.7%, O: 53.3% | 180 g/mol | CH₂O | C₆H₁₂O₆ |
| Hydrogen Peroxide | H: 5.05%, O: 94.95% | 34 g/mol | HO | H₂O₂ |
| Unknown | C: 24g, H: 4g, O: 32g | 180 g/mol | CH₂O | C₆H₁₂O₆ |
Empirical Formula: The simplest ratio of atoms in a compound. It does not show the actual number of atoms—just the ratio.
Molecular Formula: Shows the exact number of atoms of each element in a compound. It is a multiple of the empirical formula, derived using the molar mass.