Since 2010 · Powering 2M+ tool runs every month
Since 2010
Add to Chrome

My Toolbox

Automatic Mode

No saved tools yet.

Go Premium
Related tools
Molar Mass CalculatorPercent Composition CalculatorMole/Gram/Particle ConverterNormality CalculatorStoichiometry CalculatorMolarity CalculatorOsmotic Pressure Calculator
Home Page > Miscellaneous > Chemical Calculators

Empirical Formula Calculator

Determine the empirical formula of a chemical compound from element mass percentages or experimental mass data. Optionally compute the molecular formula using molar mass.

Free to useNo sign-up requiredUpdated Mar 2026
Empirical Formula CalculatorTry it now — free ▼
6 C 12.011
1 H 1.008
8 O 15.999
CH2O
Quick Examples
Element Data
Molecular (Molar) Mass — Optional
Enter the known molar mass to also determine the molecular formula.
g/mol

Embed Empirical Formula Calculator Widget

📲

Install MiniWebtool App

Add to your home screen for instant access — free, fast, no download needed.

           

Want faster & ad-free?
Go Premium

About Empirical Formula Calculator

The Empirical Formula Calculator determines the simplest whole-number ratio of atoms in a chemical compound from mass percentages or experimental mass data. Enter your element data and instantly get the empirical formula, with an optional molecular formula calculation when the molar mass is known. Every result includes a detailed step-by-step solution showing exactly how the formula is derived.

How to Use the Empirical Formula Calculator

  1. Select your input mode — choose "Mass Percentages (%)" if you have composition data in percent, or "Experimental Mass (g)" if you have lab measurements in grams.
  2. Enter element data — for each element in the compound, type the element symbol (e.g., C, H, O, Na, Fe) and its mass percentage or mass value. Use the "+ Add Element" button if you need more rows.
  3. Enter molecular mass (optional) — if you know the compound's molar mass, enter it in the optional field to also obtain the molecular formula.
  4. Click Calculate — review the empirical formula, element breakdown cards, composition bar, and the full step-by-step derivation.

Understanding Empirical vs. Molecular Formulas

The empirical formula shows the simplest whole-number ratio of atoms in a compound. The molecular formula shows the actual number of atoms per molecule. They are related by a whole-number multiplier n:

$$\text{Molecular Formula} = n \times \text{Empirical Formula}$$ $$n = \frac{\text{Molecular Mass}}{\text{Empirical Formula Mass}}$$
CompoundEmpiricalMolecularn
FormaldehydeCH2OCH2O1
Acetic acidCH2OC2H4O22
GlucoseCH2OC6H12O66
BenzeneCHC6H66
Hydrogen peroxideHOH2O22

Step-by-Step Method

  1. Assume 100 g (for percentages) — this converts mass % directly to grams.
  2. Convert to moles — divide each element's mass by its atomic mass: \(\text{moles} = \frac{\text{mass (g)}}{\text{atomic mass (g/mol)}}\)
  3. Find the mole ratio — divide each mole value by the smallest one.
  4. Clear fractions — if ratios aren't whole numbers, multiply all by the smallest integer that yields whole numbers (e.g., ×2 for 0.5, ×3 for 0.33).
  5. Write the formula — the resulting whole numbers become the subscripts.

Common Multipliers for Fractional Ratios

If ratio ends in…Multiply byExample
0.521.5 × 2 = 3
0.33 or 0.6731.33 × 3 = 4
0.25 or 0.7541.25 × 4 = 5
0.2 or 0.4 or 0.6 or 0.851.4 × 5 = 7

Frequently Asked Questions

What is an empirical formula?

An empirical formula represents the simplest whole-number ratio of atoms of each element in a compound. For example, the empirical formula of glucose (C6H12O6) is CH2O, showing a 1:2:1 ratio of carbon to hydrogen to oxygen.

What is the difference between empirical and molecular formulas?

The empirical formula gives the simplest whole-number ratio of elements, while the molecular formula gives the actual number of atoms of each element in one molecule. For example, acetic acid has the empirical formula CH2O and the molecular formula C2H4O2. The molecular formula is always a whole-number multiple of the empirical formula.

How do you find the empirical formula from mass percentages?

To find the empirical formula from mass percentages: (1) Assume 100 g of the compound so percentages become grams, (2) Convert grams to moles by dividing each by the element's atomic mass, (3) Divide all mole values by the smallest to get the mole ratio, (4) If needed, multiply by a whole number to clear fractions, giving the subscripts for each element.

How do you determine the molecular formula from the empirical formula?

To determine the molecular formula, divide the compound's known molecular (molar) mass by the empirical formula mass. This gives a whole-number multiplier n. Multiply each subscript in the empirical formula by n to get the molecular formula. For example, if the empirical formula is CH2O (mass 30 g/mol) and the molecular mass is 180 g/mol, then n = 6, giving the molecular formula C6H12O6.

Can the empirical and molecular formula be the same?

Yes. When the multiplier n equals 1, the empirical and molecular formulas are identical. This happens when the molecular mass equals the empirical formula mass. Examples include water (H2O), carbon dioxide (CO2), and nitrogen dioxide (NO2).

Related Chemistry Tools

Reference this content, page, or tool as:

"Empirical Formula Calculator" at https://MiniWebtool.com/empirical-formula-calculator/ from MiniWebtool, https://MiniWebtool.com/

by miniwebtool team. Updated: Mar 16, 2026

Chemical Calculators:

Top & Updated:

Heron's Formula CalculatorQuadratic Formula CalculatorShoelace Formula CalculatorView all →
Home Page > Miscellaneous > Chemical Calculators > Empirical Formula Calculator
×

Do us a favor and answer 3 quick questions

Thank you for participating in our survey. Your input will help us to improve our services.

Where exactly did you first hear about us?

What is your favorite tool on our site?

if Other, please specify:

How likely is it that you would recommend this tool to a friend?

NOT AT ALL LIKELYEXTREMELY LIKELY

Likely score: (1-10)