HomeCalculatorsChemistryEmpirical Formula Calculator

Empirical Formula Calculator

Chemistry

Calculate the empirical formula of a compound from elemental percentages or gram amounts. Find whole-number mole ratios for up to 5 elements.

40
6.71
53.29

Empirical Formula

NaN6NaNNaN8
Empirical Formula Weight
0
Mole Ratios
NaN: 6 : NaN: 1 : NaN: 8
GCD Simplification Factor
1

This calculator computes your Empirical Formula, Empirical Formula Weight, Mole Ratios, GCD Simplification Factor from the values you enter.

Inputs
Input ModeElement 1 SymbolElement 1 Amount (% or g)Element 2 SymbolElement 2 Amount (% or g)Element 3 SymbolElement 3 Amount (% or g)
Outputs
Empirical FormulaEmpirical Formula WeightMole RatiosGCD Simplification Factor

What is a Empirical Formula?

The Empirical Formula Calculator finds the simplest whole-number atom ratio (empirical formula) from elemental mass percentages or gram amounts. Enter up to three element symbols and their amounts; the calculator converts to moles, finds ratios, and applies GCD simplification to give the empirical formula and formula weight.

The empirical formula is determined from elemental analysis: convert mass percentages to moles (divide by atomic mass), find the mole ratio, and simplify to smallest integers. This is one of the most fundamental calculations in analytical chemistry, used for characterising new compounds from CHNS-O analysis and for combustion analysis of organic samples. For Indian CBSE Class 11–12 and JEE chemistry, empirical formula calculations are a core topic.

Combustion analysis provides the elemental % data fed into this calculator — the Combustion Analysis Calculator converts CO₂ and H₂O masses to %C and %H. For known compounds, the Percent Composition Calculator works in reverse — calculating % composition from a known molecular formula.

How to use this Empirical Formula calculator

  1. Select Input Mode: Mass Percent (%) if you have analytical data as percentages; Grams if you have actual gram amounts from an experiment.
  2. Select Element 1 from the dropdown and enter its amount.
  3. Select Element 2 and enter its amount.
  4. Select Element 3 if your compound has a third element; select "none" if binary compound.
  5. Read the Empirical Formula — verify it makes chemical sense (check valences).
  6. If you know the compound's molecular weight (MW): n = MW / empirical formula weight → molecular formula = empirical formula × n.

Formula & Methodology

Empirical formula calculation:

Step 1: moles_i = amount_i / atomic_mass_i         (same formula for both % and gram inputs: divide by atomic mass)  Step 2: relative_ratio_i = moles_i / min(moles)  Step 3: Test multipliers k = 1, 2, 3, 4, 5 until         all (relative_ratio_i × k) ≈ integers (within 0.05)  Step 4: GCD(all integer ratios) = simplification factor         final_ratio_i = integer_ratio_i / GCD  Step 5: Empirical formula = concatenate(element_i + final_ratio_i)

Worked example — iron(III) oxide (rust):

Elemental analysis: Fe 69.94%, O 30.06%.

Moles Fe = 69.94 / 55.845 = 1.252 mol Moles O  = 30.06 / 15.999 = 1.879 mol  Ratios: Fe = 1.252/1.252 = 1.000; O = 1.879/1.252 = 1.501  1.5 ratio → multiply by 2: Fe = 2, O = 3 GCD(2,3) = 1 → no further simplification  Empirical formula: Fe₂O₃ Empirical MW = 2×55.845 + 3×15.999 = 111.69 + 47.997 = 159.69 g/mol

Fe₂O₃ (haematite) is the primary iron ore mineral used at India's largest iron ore mines — NMDC's Bailadila mines in Chhattisgarh produce ~40 million tonnes/year of haematite ore with 65% Fe grade. X-ray diffraction (using the Miller Indices Calculator for peak identification) and CHNS elemental analysis confirm Fe₂O₃ as the dominant phase in high-grade iron ore used by SAIL, Tata Steel, and JSW for steel production.

Frequently Asked Questions

The empirical formula is the simplest whole-number ratio of atoms of each element in a compound. It is the most reduced representation of the elemental composition: e.g., glucose (C₆H₁₂O₆) has empirical formula CH₂O (ratio C:H:O = 1:2:1). Hydrogen peroxide (H₂O₂) has empirical formula HO. The empirical formula can be determined from elemental analysis (mass percentages of each element) without knowing the molecular formula. The molecular formula = (empirical formula) × n, where n = molecular weight / empirical formula weight.
Select Input Mode (Mass Percent % or Grams). Select Element symbols from the dropdowns for up to 3 elements (a 4th element can be inferred as the remainder if percentages sum to 100%). Enter the Amount (% or g) for each element. The calculator returns the Empirical Formula (e.g., CH₂O), Empirical Formula Weight (g/mol), Mole Ratios (simplified), and GCD Simplification Factor. Default: C 40.0%, H 6.71%, O 53.29% → CH₂O (the empirical formula of carbohydrates, formaldehyde, and acetic acid).
Step 1: Convert % to grams (assume 100 g sample: 40% C = 40 g C). Step 2: Convert grams to moles: moles = mass / atomic mass (40 g C / 12.011 = 3.33 mol C; 6.71 g H / 1.008 = 6.66 mol H; 53.29 g O / 15.999 = 3.33 mol O). Step 3: Divide all by smallest mole value: C:H:O = 3.33:6.66:3.33 → 1:2:1. Step 4: Round to nearest integers. If ratios are not close to integers (e.g., 1:1.5:1), multiply by smallest integer to clear (×2 → 2:3:2). The calculator automates steps 1–4 and tests multipliers 1–6 to find the best integer approximation.
Empirical formula: simplest whole-number ratio of atoms (minimum formula). Molecular formula: actual number of atoms per molecule. They are related by: molecular formula = n × empirical formula. Example: Acetic acid (CH₃COOH, MW=60): molecular formula C₂H₄O₂; empirical formula CH₂O (same as glucose and formaldehyde). Benzene (C₆H₆): molecular formula C₆H₆; empirical formula CH (1:1 ratio). To find n: n = molecular weight / empirical formula weight. If you only know the % composition, you can determine the empirical formula but NOT the molecular formula unless you also know the molecular weight (from mass spectrometry or colligative property measurement).
Combustion analysis is the standard method for determining C, H, and N in organic compounds: burn a weighed sample in O₂, collect CO₂ (measures C) and H₂O (measures H) in absorption tubes, weigh each. %C = mass CO₂ × (12.011/44.009) / sample mass × 100. %H = mass H₂O × (2×1.008/18.015) / sample mass × 100. %O (if present) = 100 − %C − %H − %N. These percentages are then fed into the empirical formula calculation (divide by atomic masses → mole ratios → simplify). The [Combustion Analysis Calculator](/combustion-analysis-calculator/) automates this from CO₂ and H₂O masses. Combustion analysis is standard at NABL-accredited analytical labs (CFTRI Mysore, NIN Hyderabad for food composition) and Indian pharma QC labs for API characterisation.
Yes — many compounds share the same empirical formula but have different molecular formulas: Empirical formula CH₂O: formaldehyde (HCHO), acetic acid (C₂H₄O₂, glucose (C₆H₁₂O₆), ribose (C₅H₁₀O₅). Empirical formula CH: acetylene (C₂H₂), benzene (C₆H₆). Empirical formula NO₂: nitrogen dioxide (NO₂ — same as molecular formula), dinitrogen tetroxide (N₂O₄). Empirical formula CH₂: ethylene (C₂H₄), propylene (C₃H₆), hexane (C₆H₁₄ — wait: C₆H₁₄/2 = C₃H₇, not CH₂). The empirical formula alone is insufficient to identify a compound — you need the molecular weight from mass spectrometry, osmometry, or other techniques.
Elemental analysis (CHNS-O) determines the percentage of carbon, hydrogen, nitrogen, and sulfur in a compound by combustion (automated Perkin-Elmer or Thermo Scientific CHNS analyser). It is the primary method for verifying that a newly synthesised organic compound has the correct empirical formula. CHNS analysis at major Indian research facilities: IIT research labs, CSIR-NIIST Thiruvananthapuram, CSIR-CSMCRI Bhavnagar, TIFR Mumbai, NIO Goa. Standard: compounds are accepted for publication in JACS, RSC journals only if CHNS analysis agrees with theoretical values within ±0.3%. Cost in India: ₹500–1000 per analysis at SAIF/STIC analytical facilities.
Hydrates contain water of crystallisation (e.g., CuSO₄·5H₂O, blue vitriol). Empirical formula of a hydrate: (1) Weigh hydrate sample. (2) Heat to drive off water → weigh anhydrous salt. (3) mass of water = initial mass − final mass. (4) Moles of anhydrous salt = mass / MW. (5) Moles of water = mass H₂O / 18.015. (6) Ratio = moles H₂O / moles anhydrous salt = n in salt·nH₂O. Indian example: Alum (potassium alum) = KAl(SO₄)₂·12H₂O (MW = 474.4). CBSE Class 12 practical exam includes hydrate analysis (determining n for copper sulfate hydrate). This calculator can find the empirical formula of the anhydrous compound from elemental analysis.
Common compounds and their empirical/molecular formulas: Table salt (NaCl): empirical = molecular = NaCl. Washing soda (Na₂CO₃): empirical = molecular. Baking soda (NaHCO₃): empirical = molecular. Lime (CaO): empirical = molecular. Common salt-like compounds are often identical (empirical = molecular). Organic: Glucose C₆H₁₂O₆ → empirical CH₂O. Sucrose C₁₂H₂₂O₁₁ → empirical C₁₂H₂₂O₁₁ (already simplified — no common factor for 12:22:11). Citric acid C₆H₈O₇ → empirical C₆H₈O₇ (already simplified). Aspirin C₉H₈O₄ → empirical C₉H₈O₄. For inorganic mineral analysis: iron ore Fe₂O₃ → empirical Fe₂O₃ (NMDC uses elemental analysis of Bailadila iron ore with ~65% Fe).
After dividing mole values by the smallest and rounding to integers, the GCD of the resulting integers gives the simplification factor. If C:H:O = 2:4:2 → GCD(2,4,2) = 2 → simplified to 1:2:1 = CH₂O. This step ensures the formula is the most reduced (empirical) form. Algorithm: compute GCD of all integer mole ratios using the Euclidean algorithm (GCD(a,b) = GCD(b, a mod b) until b=0). For non-integer ratios requiring multiplication by 2 or 3 first: moles C:H = 1:1.5 → multiply by 2 → 2:3 → GCD(2,3)=1 → C₂H₃ is the simplest form. This is the standard algorithm taught in Indian Class 11 NCERT Chemistry and tested in JEE Mains.