empiricalformulas.com
Solve Problem
FREE EMPIRICAL FORMULA CALCULATOR|IUPAC Standard Weights

Empirical Formula CalculatorWith Full Step-by-Step Work.

Most chemistry calculators just give you the final formula. Our empirical formula calculator provides the complete mathematical writeup:grams → moles → smallest mole ratio → fraction multipliers → molecular formula.

Zero latency (100% client-side)
Percent & grams supported
Empirical & molecular formula
Quick Labs:

Compound Composition

Enter element symbols and their mass percent (assume 100g sample).

Total: 0.00%
Quick Add Elements
Optional Lab Parameters
Unlocks Molecular Formula

From mass spectrometry or freezing point depression. Solves n = Molar Mass / Empirical Mass.

Appends crystalline water molecules to the salt.

Final Result

Empirical & Molecular Formula

Empirical Formula
CH₂O
Formula Mass:30.026 g/mol
Molecular Formulan = 6
C₆H₁₂O₆
Multiplier:(CH₂O) × 6 = Glucose
•
All mole ratios are whole numbers (multiplier = 1).
Empirical Formula Examples

Solved Empirical Formula Problems

See how to calculate the empirical formula step-by-step. Click any example below to see the full solution for pre-lab credit.

Example 1: GlucosePercent Mode

A compound contains 40.00% C, 6.71% H, and 53.29% O. Experimental molar mass is 180.16 g/mol. Find the empirical formula from percent composition.

Moles: C=3.330, H=6.657, O=3.331
Divide by min: C=1.00, H=2.00, O=1.00
Empirical: CH₂O • Molecular: C₆H₁₂O₆
Example 2: Rust (Fe₂O₃)Fraction Multiplier

Iron heated in oxygen yields 69.94% Fe and 30.06% O. Demonstrates how to determine the empirical formula when mole ratios require clearing non-integer fractions.

Moles: Fe=1.252, O=1.879
Divide by min: Fe=1.00, O=1.50
Multiply × 2 → Fe₂O₃ (Iron(III) oxide)
Example 3: Caffeine4 Elements

Elemental analysis reveals 49.48% C, 5.19% H, 28.85% N, and 16.48% O (molar mass = 194.19 g/mol). Find the molecular formula from the empirical formula.

Ratios: C=4.00, H=5.00, N=2.00, O=1.00
Multiplier: 1 (Whole integers)
Empirical: C₄H₅N₂O • Molecular: C₈H₁₀N₄O₂
Complete Guide

Empirical Formula Calculator: The Complete Chemistry Guide

An empirical formula calculator is an essential tool for chemistry students, educators, and researchers who need to determine the simplest whole-number ratio of atoms in a chemical compound. Whether you are working on a pre-lab assignment, solving homework problems, or analyzing experimental data from the laboratory, our free empirical formula calculator provides complete step-by-step solutions that show every mathematical operation — from converting mass percentages to grams, computing moles using atomic weights, dividing by the smallest mole value, applying fraction multipliers, and finally writing the empirical formula in standard Hill system notation.

What Is an Empirical Formula?

In chemistry, an empirical formula represents the simplest whole-number ratio of each element in a compound. The empirical formula definition is straightforward: it tells you the relative proportion of atoms, not the actual count. For example, glucose has the molecular formula C₆H₁₂O₆, but its empirical formula is CH₂O because the ratio of carbon to hydrogen to oxygen reduces to 1:2:1. Understanding what is the empirical formula and what is an empirical formula is fundamental to empirical formula chemistry and is tested extensively in AP Chemistry, General Chemistry, and Organic Chemistry courses.

How to Find the Empirical Formula

Knowing how to find the empirical formula is one of the most important skills in introductory chemistry. The standard five-step procedure for how to calculate the empirical formula from percent composition or gram measurements works as follows:

  1. Assume a 100 g sample — If you are given percent composition, assume the total sample weighs 100.0 grams. This converts each percentage directly into grams. If your data is already in grams (such as from a lab experiment), skip this step. Our empirical formula calculator given grams handles both input types automatically.
  2. Convert grams to moles — Divide each element's mass by its standard atomic weight from the periodic table. For instance, 40.0 g of carbon divided by 12.011 g/mol gives 3.330 moles. This is the core of how to determine the empirical formula.
  3. Divide by the smallest mole value — Find the smallest mole quantity among all elements and divide every mole value by it. This produces the initial mole ratios.
  4. Clear non-integer fractions — If any ratio is not close to a whole number (e.g., 1.50, 1.33, 1.25), multiply all ratios by the appropriate factor (×2, ×3, ×4, or ×5) to produce integers. This is the step where most students make mistakes by rounding prematurely.
  5. Write the formula — Use the resulting whole numbers as subscripts for each element symbol, following Hill system conventions (carbon first, hydrogen second, remaining elements alphabetical).

Our percent to empirical formula calculator and grams to empirical formula calculator automate this entire process while showing every calculation step, making it the ideal companion for how to find the empirical formula from percent composition problems.

Empirical Formula vs Molecular Formula

One of the most commonly tested concepts in chemistry is the distinction between empirical formula vs molecular formula. The empirical formula shows the simplest ratio of atoms, while the molecular formula reveals the exact number of atoms in a single molecule. Many different compounds can share the same empirical formula. For example, formaldehyde (CH₂O), acetic acid (C₂H₄O₂), and glucose (C₆H₁₂O₆) all reduce to the same empirical formula of CH₂O. Understanding the difference between molecular vs empirical formula is critical for correctly interpreting analytical chemistry data and lab results.

How to Find the Molecular Formula from the Empirical Formula

Once you know the empirical formula, learning how to find the molecular formula from the empirical formula requires one additional piece of data: the experimental molar mass. The procedure for finding the molecular formula from the empirical formula is simple:

  1. Calculate the molar mass of the empirical formula by summing the atomic weights of all atoms in it.
  2. Divide the experimental molar mass by the empirical formula mass: n = Molar Mass ÷ Empirical Formula Mass.
  3. Multiply every subscript in the empirical formula by the integer n to obtain the molecular formula.

Our molecular formula from empirical formula calculator performs this computation automatically when you provide the experimental molar mass in the optional field.

Empirical Formula Examples

Here are some common empirical formula examples that are frequently assigned in chemistry courses:

CompoundCompositionEmpirical FormulaMolecular Formula
Glucose40.0% C, 6.7% H, 53.3% OCH₂OC₆H₁₂O₆
Caffeine49.5% C, 5.2% H, 28.9% N, 16.5% OC₄H₅N₂OC₈H₁₀N₄O₂
Rust (Iron oxide)69.9% Fe, 30.1% OFe₂O₃Fe₂O₃
Benzene92.3% C, 7.7% HCHC₆H₆

These empirical formula examples demonstrate the full range of scenarios you may encounter — from simple two-element compounds to multi-element organic molecules requiring fraction multipliers.

Types of Empirical Formula Calculators

Different chemistry problems require different input formats. Our empirical formula calculator supports all common input types:

  • Empirical formula calculator percent — Enter mass percentages for each element. The calculator assumes a 100 g sample and shows the full conversion process. Also known as the percent mass empirical formula calculator.
  • Empirical formula calculator with grams — Enter actual gram measurements from lab experiments. The empirical formula calculator given grams starts directly at the grams-to-moles conversion, saving you a step.
  • Empirical formula calculator with mass — Works identically to the grams mode. The masses to empirical formula calculator accepts any mass unit as long as all elements use the same unit.
  • Molecular formula from empirical formula calculator — Once the empirical formula is determined, enter the experimental molar mass to compute the molecular formula. The calculator finds the integer multiplier n and applies it to every subscript.
  • Simplest empirical formula calculator — All modes automatically reduce to the simplest whole-number ratio, ensuring you always get the true empirical formula.

Why Use Our Empirical Formula Calculator?

Unlike basic empirical formula calculator math tools that only output the final answer, our empirical formula calculator chemistry tool is designed for educational use. Every calculation step is shown explicitly: grams to moles conversion, division by the smallest mole value, fraction multiplier detection, and final subscript assignment. This means you can copy the work directly into your pre-lab notebook or homework assignment and receive full credit for showing your methodology.

The calculator runs entirely in your browser with zero server latency — no data is sent to any server, and calculations happen instantly. It uses IUPAC-standard atomic weights, follows Hill system notation, and handles edge cases like remainder subtraction (when one element's percentage is missing) and combustion analysis problems. Whether you're a student learning how to do empirical formula problems for the first time or a professor preparing answer keys, this empirical formula calculator is engineered to provide accurate, educational, and print-ready results.

Pre-Lab Reference Guide

How to Calculate Empirical Formula from Mass Percent

Chemistry professors and laboratory TAs look for a structured 5-step mathematical procedure on pre-lab assignments. Here is the standard method used in AP Chemistry and College General Chemistry.

Step 1

Assume 100g Sample

Convert each mass percent directly into grams:

40.0% C → 40.0 g C
Step 2

Convert to Moles

Divide each mass by the element's atomic weight:

n = mass / atomic wt
Step 3

Divide by Smallest

Divide every mole value by the lowest calculated mole value:

Ratio = n / min(n)
Step 4

Clear Fractions

If decimals exist (.5, .33, .25), multiply all ratios by factor k:

1.50 × 2 = 3.00
Step 5

Write Formula

Assign the whole numbers as chemical subscripts:

CH₂O (Hill order)
Critical Exam Tip

How to Handle Decimal Mole Ratios

The single most common mistake in General Chemistry is rounding non-integer mole ratios (like rounding 1.5 to 2, or 1.33 to 1). Atoms only bond in discrete integer ratios.

When your calculated mole ratio has a decimal ending, you must multiply all elements by the corresponding multiplier to reach the nearest integers:

Rule of Thumb: If a decimal is within ±0.05 of a fraction (e.g. 1.49 or 1.51), it is an exact fraction with slight measurement variance.
Decimal EndingFractionMultiplier (× k)Example Problem
~ .501/2× 2Fe₁O₁.₅ → Fe₂O₃ (Iron(III) oxide)
~ .33 or .671/3 or 2/3× 3P₁O₂.₃₃ → P₃O₇
~ .25 or .751/4 or 3/4× 4C₁H₁.₂₅ → C₄H₅
~ .20 or .401/5 or 2/5× 5As₁O₁.₄ → As₅O₇
~ .167 or .8331/6 or 5/6× 6Rare transition metal complexes
Concept Distinction

Empirical Formula vs. Molecular Formula

The empirical formula is the lowest reduced whole-number ratio of atoms in a compound, while the molecular formula gives the actual number of atoms in a single molecule.

Compound NameEmpirical FormulaEmpirical MassMolecular MassMultiplier (n)Molecular Formula
FormaldehydeCH₂O30.03 g/mol30.03 g/mol1CH₂O
Acetic Acid (Vinegar)CH₂O30.03 g/mol60.05 g/mol2C₂H₄O₂
Glucose (Blood Sugar)CH₂O30.03 g/mol180.16 g/mol6C₆H₁₂O₆
AcetyleneCH13.02 g/mol26.04 g/mol2C₂H₂
BenzeneCH13.02 g/mol78.11 g/mol6C₆H₆
Equation: n = (Experimental Molar Mass) ÷ (Empirical Formula Mass) → Molecular Formula = (Empirical Formula)n
Advanced Stoichiometry

How to Solve Combustion Analysis Problems

Combustion problems burn a hydrocarbon sample in excess O₂ to produce measurable masses of CO₂ and H₂O. Follow this exact 3-step formula:

1. Mass of Carbon
mass C = mass CO₂ × (12.011 / 44.009)

All carbon in the original compound converts into CO₂ (molar mass 44.009 g/mol).

2. Mass of Hydrogen
mass H = mass H₂O × (2 × 1.008 / 18.015)

Notice the factor of 2! Every molecule of H₂O contains 2 hydrogen atoms.

3. Mass of Oxygen (Difference)
mass O = Sample Mass - (mass C + mass H)

Never calculate oxygen from CO₂ or H₂O directly, because extra oxygen came from ambient air!

Frequently Asked Questions

Empirical Formula Questions & Step-by-Step Answers

Everything you need to know about calculating empirical formulas from percent composition, measured masses, or combustion data — answered by chemistry educators.

1How to find empirical formula?

To find empirical formula of any chemical compound, follow four standard chemistry steps:

  1. Convert masses to moles: Divide the given mass (or percentage treated as grams in a 100 g sample) of each element by its atomic weight from the periodic table.
  2. Calculate relative mole ratios: Divide every calculated mole value by the smallest calculated mole value.
  3. Convert to whole numbers: If any ratio has a non-integer fraction (such as 0.5, 0.33, or 0.25), multiply all ratios by a common small integer (2, 3, or 4).
  4. Write the formula: Use the resulting whole numbers as subscripts for each element symbol according to Hill system conventions.
2What is the empirical formula?

The empirical formula of a chemical compound is the simplest positive integer ratio of atoms of each element present in the compound. For example, hydrogen peroxide has the molecular formula H₂O₂ (two hydrogen and two oxygen atoms), but its empirical formula is HO because the lowest whole-number ratio of H to O is 1:1. The empirical formula conveys the elemental proportions determined through quantitative chemical analysis.

3How to find molecular formula from empirical formula?

To find molecular formula from empirical formula:

  1. Calculate the molar mass of the empirical formula by adding together the standard atomic weights of all atoms in the formula.
  2. Divide the experimentally determined molar mass of the compound (from mass spectrometry or freezing-point depression) by the empirical formula mass: n = Molar Mass / Empirical Formula Mass.
  3. Multiply all subscripts in the empirical formula by the integer n. For example, if the empirical formula is CH₂O (mass 30.03 g/mol) and molar mass is 180.16 g/mol, n = 6, giving the molecular formula C₆H₁₂O₆ (glucose).
4What is an empirical formula?

An empirical formula is the lowest reduced stoichiometric expression of a chemical compound showing the relative proportions of each constituent element. It represents the relative ratio of atoms rather than the absolute count in an isolated molecule. For ionic compounds like table salt (NaCl) or magnesium chloride (MgCl₂), the empirical formula is also the formula unit used in chemical stoichiometry.

5How to calculate empirical formula?

To calculate empirical formula: 1. Start with the given mass (in grams) or mass percent for each element. 2. Divide each element's mass by its atomic weight to convert to moles (moles = grams / atomic weight). 3. Divide each mole quantity by the smallest mole number obtained. 4. Round to whole numbers only if within 0.05 of an integer; otherwise, multiply all ratios by 2 (for .50), 3 (for .33 or .67), 4 (for .25 or .75), or 5 (for .20 or .40). 5. Write the element symbols with their whole-number subscripts.

6How to find the empirical formula?

Knowing how to find the empirical formula requires standardizing elemental data into molar proportions. Collect laboratory mass data (in grams) or mass percent data for each element. Convert masses into moles using periodic table atomic masses. Divide every element's mole count by the lowest mole quantity to find relative ratios. Finally, clear any non-integer decimals using fraction multipliers and write the resulting integers as subscripts in the chemical formula.

7What is empirical formula?

In chemistry, empirical formula refers to the fundamental chemical formula representing the lowest whole-number proportion of elements within a substance. Derived directly from empirical experimental observation (such as combustion analysis or gravimetry), it serves as the essential first step for determining chemical structure and molecular weight.

8How to do empirical formula?

A widely used chemistry mnemonic for how to do empirical formula problems is: 'Percent to mass, mass to mole, divide by small, multiply 'til whole.' First, convert percentage values directly to grams (assuming a 100 g sample). Second, divide each mass by atomic weight to obtain moles. Third, divide all mole numbers by the smallest mole value. Fourth, multiply by a common integer if any decimal fractions remain.

9How to find empirical formula from percent?

To find empirical formula from percent: Assume a total sample mass of exactly 100.0 grams. This allows you to replace percent signs directly with grams (e.g., 40.0% Carbon becomes 40.0 g C). Divide each gram mass by the element's atomic weight to get moles. Divide all mole values by the smallest mole value, clear any fraction decimals with common multipliers, and write the formula using whole-number subscripts.

10How to determine empirical formula?

To determine empirical formula of an unknown chemical substance: perform elemental analysis to identify the mass or percentage of each constituent element. Convert these masses into moles, divide by the smallest mole value to find elemental ratios, eliminate any fraction decimals by multiplying by the lowest common factor, and arrange elements according to Hill notation (Carbon first, Hydrogen second, then alphabetically).

11How to find empirical formula from percent composition?

To find empirical formula from percent composition: 1. Convert percentages to grams based on a 100 g sample. 2. Calculate the number of moles of each element (moles = mass / molar mass). 3. Divide each molar quantity by the minimum number of moles calculated. 4. If any ratio contains fractions (e.g., 1.5, 1.33, 1.25), multiply all ratios by 2, 3, or 4. 5. Write the empirical formula using the final whole numbers as subscripts.

12How to find empirical formula with percentages?

Finding the empirical formula with percentages begins by dropping the percent sign and writing grams for each element (assuming 100 g total). Divide each element's grams by its periodic table atomic mass to find moles. Divide all mole values by the smallest mole value to find mole ratios. Multiply by small integers if non-integer decimals remain to obtain whole-number ratios for your subscripts.

13How to write empirical formula?

To write empirical formula: 1. Determine the simplest integer mole ratios of the elements. 2. Follow standard IUPAC Hill system conventions: write Carbon (C) first, Hydrogen (H) second, and list all other elements in strict alphabetical order (e.g., C₄H₁₀O). If Carbon is not present in the compound, list all elements in alphabetical order (e.g., Al₂O₃, H₂SO₄). 3. Write whole-number ratios as subscripts immediately following each element symbol (omitting the subscript if it is 1).

14How to find empirical formula from mass?

To find empirical formula from mass data (in grams): 1. Use the experimental mass in grams directly without assuming 100 g. 2. Divide each element's mass by its atomic weight (g/mol) to get moles. 3. Divide every mole amount by the smallest mole amount. 4. Multiply by an integer factor (2, 3, or 4) if fraction decimals exist. 5. Write the chemical formula using whole numbers as subscripts.

15How to calculate the empirical formula?

To calculate the empirical formula: Convert measured masses or percentages of all constituent elements to moles by dividing by their atomic weights. Divide every mole value by the smallest calculated mole value to obtain relative ratios. If any mole ratio ends in a decimal fraction (like .5, .33, or .25), multiply all ratios by a common factor (2, 3, or 4). Use the whole numbers as subscripts for each element.

16How to find the empirical formula of a compound?

To find the empirical formula of a compound: Determine the elemental masses of all elements in the compound. Calculate the moles of each element by dividing its mass by its atomic weight. Divide each mole number by the smallest mole value to establish mole ratios. If ratios are not integers, multiply all ratios by the smallest integer that produces whole numbers. Write the final compound formula with whole-number subscripts.

17How to get molecular formula from empirical formula?

To get molecular formula from empirical formula: 1. Add up the atomic weights of all atoms in the empirical formula to get the empirical formula mass. 2. Determine the ratio multiplier n by dividing the actual molecular weight (molar mass) by the empirical formula mass: n = Molar Mass / Empirical Mass. 3. Multiply each subscript in the empirical formula by n. For instance, benzene has the empirical formula CH (13.02 g/mol) and molar mass of 78.11 g/mol; n = 78.11 / 13.02 = 6, giving the molecular formula C₆H₆.

18What is empirical formula in chemistry?

Empirical formula in chemistry is defined as the chemical formula showing the simplest positive whole-number ratio of atoms of each element present in a compound. It is the fundamental stoichiometric ratio derived from quantitative experimental analysis such as combustion analysis or elemental microanalysis.

19How to get empirical formula?

You can get empirical formula manually by converting element masses into moles, dividing by the smallest mole quantity, and clearing decimal fractions to whole numbers. Alternatively, you can use our free online Empirical Formula Calculator to enter percent compositions or grams and instantly get the empirical formula along with full pre-lab step-by-step mathematical work.

20What is a empirical formula?

A empirical formula (grammatically 'an empirical formula') is a chemical formula that gives the simplest whole-number ratio of the elements in a compound rather than the actual number of atoms. For instance, hydrazine has the molecular formula N₂H₄, but its empirical formula is NH₂ because the 2:4 ratio reduces to 1:2.

21What is the empirical formula calculator?

The empirical formula calculator is a free, interactive chemistry tool available at empiricalformulas.com. It automatically calculates the empirical formula and molecular formula from mass percent, measured grams, or combustion analysis data. Unlike standard calculators, it shows every step: converting grams to moles, dividing by the smallest mole value, detecting fraction multipliers, and providing print-ready lab report writeups.

22How to find empirical formula calculator?

You can find empirical formula calculator directly online at empiricalformulas.com. It runs 100% in your browser with zero latency, requires no signup or download, supports all 118 periodic table elements with IUPAC atomic weights, and works seamlessly on mobile devices, tablets, and desktop computers.

Have a chemistry problem to solve right now?

Use our free calculator to see the step-by-step math for your assignment.

Open Empirical Formula Calculator ↑