Empirical Formula Calculator

Determine empirical and molecular formulas from percent composition or element masses.

Workspace

The tool interface appears here.

Empirical Formula Calculator: what this tool is for

The online Empirical Formula Calculator automatically determines the simplest whole-number ratio of atoms in a chemical compound from elemental mass percentages or measured sample weights.

The empirical formula represents the fundamental simplest ratio of elements in a chemical substance, whereas the molecular formula specifies the actual number of atoms composing each distinct molecule.

The tool converts mass percentages or masses into moles, computes relative molar ratios, and mathematically resolves fractional multipliers (such as 1.5 → ×2 or 1.33 → ×3) to yield exact integer subscripts.

When you provide the experimental molecular molar mass (e.g., from mass spectrometry), the calculator automatically derives the integer scaling factor n to reveal the true molecular formula.

All stoichiometry computations execute 100% locally in your web browser with zero server data communication, ensuring complete privacy for your research data and chemical formulations.

  • No file stored

    Nothing is saved on our servers, during or after processing.

  • Local processing

    The computation runs in your browser whenever the technology allows it.

  • Instant result

    No waiting and no export queue: the result appears live.

  • Free, no account

    No sign-up, no daily limit and no intrusive ads.

What this tool gives you

  • Dual Input: Mass Percentages & Weights

    Enter either elemental percent composition (%) or measured laboratory weights (g, mg, kg) with automatic unit normalization.

  • Intelligent Fractional Multiplier Solver

    Accurately resolves non-integer mole ratios (.50 → ×2, .33/.67 → ×3, .25/.75 → ×4, .20 → ×5) without improper rounding.

  • Molecular Formula Determination

    Computes the true molecular formula from experimental molar mass using the scaling factor n = M_molecular / M_empirical.

  • Comprehensive Stoichiometric Breakdown

    Inspects full step-by-step calculations including IUPAC atomic weights, mole amounts, relative ratios, and final integer subscripts.

Real-world examples

Comparative overview between empirical formulas and molecular formulas for representative chemical compounds.

Empirical vs Molecular Formulas for Common Compounds
Chemical CompoundEmpirical FormulaEmpirical Molar Mass (g/mol)Scaling Factor (n)Molecular FormulaMolecular Molar Mass (g/mol)
WaterH₂O18.0151H₂O18.015
Hydrogen PeroxideHO17.0072H₂O₂34.014
GlucoseCH₂O30.0266C₆H₁₂O₆180.156
BenzeneCH13.0196C₆H₆78.114
EthyleneCH₂14.0272C₂H₄28.054
Iron(III) OxideFe₂O₃159.691 (ionic lattice)Fe₂O₃159.69
Step-by-Step Method to Calculate Empirical Formula
StepMathematical OperationFormula / PrincipleStandard Example (C = 40%, H = 6.71%, O = 53.29%)
1. Assume 100 g SampleConvert % directly to gramsMass (g) = % mass valueC = 40.00 g; H = 6.71 g; O = 53.29 g
2. Convert to MolesDivide by atomic weightn_i = m_i / M_atomic_in(C) = 3.330 mol; n(H) = 6.657 mol; n(O) = 3.331 mol
3. Divide by Smallest MoleFind relative molar ratiosr_i = n_i / n_minr(C) = 1.00; r(H) = 2.00; r(O) = 1.00
4. Convert to Whole NumbersMultiply if fractionalSubscripts = r_i × factorSubscripts: C = 1, H = 2, O = 1 → CH₂O
5. Molecular Scale FactorCompare molar massesn = M_mol / M_empn = 180.16 / 30.03 ≈ 6 → C₆H₁₂O₆

Determining glucose formula: C = 40.00%, H = 6.71%, O = 53.29%, M = 180.16 g/mol

Assuming 100 g: n(C) = 40.00 / 12.011 = 3.330 mol; n(H) = 6.71 / 1.008 = 6.657 mol; n(O) = 53.29 / 15.999 = 3.331 mol. Dividing by 3.330 mol gives C = 1.00, H = 2.00, O = 1.00 → Empirical Formula = CH₂O (M = 30.03 g/mol). With molecular molar mass = 180.16 g/mol, scaling factor n = 180.16 / 30.03 = 6 → Molecular Formula = C₆H₁₂O₆.

Compound requiring fractional multiplication (Iron Oxide): Fe = 69.94%, O = 30.06%

n(Fe) = 69.94 / 55.845 = 1.2524 mol; n(O) = 30.06 / 15.999 = 1.8789 mol. The raw ratio is Fe = 1.00 and O = 1.8789 / 1.2524 = 1.50. Multiplying by 2 removes the half: Fe = 1 × 2 = 2 and O = 1.5 × 2 = 3 → Empirical Formula = Fe₂O₃.

How to use Empirical Formula Calculator

  1. Choose input mode (Percentages or Masses)

    Select whether your input data consists of mass percentages (%) from elemental combustion analysis or measured sample weights (g, mg, kg).

  2. Add elements and enter values

    Select each element symbol from the periodic table and input its corresponding mass or percentage. Add additional elements using the '+' button.

  3. Provide experimental molar mass (optional)

    If you have measured the molecular molar mass, enter it to automatically derive the integer multiple and true molecular formula.

  4. Review empirical formula and copy results

    Inspect the stoichiometric summary table, review the calculated formulas, and copy all results to your clipboard for laboratory reports.

Tips and mistakes to avoid

Experimental percentage tolerance

In practical combustion analysis, elemental percentages often sum between 98.5% and 101.5% due to analytical limits. The algorithm processes raw moles directly without forced scaling.

Identifying fractional ratios

When mole ratios have fractional decimals near .50 (×2), .33/.67 (×3), or .25/.75 (×4), do not round them: they represent true fractional stoichiometric ratios.

Standard Hill system notation

Formulas for carbon-containing compounds are standardly written with Carbon (C) first, Hydrogen (H) second, and remaining elements in alphabetical order (e.g., C₆H₁₂O₆).

Avoid : Premature rounding of mole ratios

Rounding a ratio of 1.50 to 1 or 2 produces chemically invalid formulas (e.g., obtaining FeO instead of the correct Fe₂O₃).

Avoid : Confusing empirical with molecular formula

Formaldehyde (CH₂O), acetic acid (C₂H₄O₂), and glucose (C₆H₁₂O₆) all share the identical empirical formula CH₂O but represent entirely different chemical compounds.

Frequently asked questions

Answers to the questions people ask about Empirical Formula Calculator.

Related tools

Tools people open right after this one.

Updated on August 2026. See all tools