Empirical & Molecular Formula Calculator

Determine empirical and molecular formulas from composition data.

Free to use
12,500+ users
Updated January 2025
Instant results

Empirical & Molecular Formula Calculator

From elemental composition

Elemental Composition (by % or mass)

How It Works

  1. Converts mass/percent of each element to moles.
  2. Divides by the smallest number of moles to find the simplest ratio.
  3. This ratio gives the empirical formula.
  4. If a total molar mass is provided, it finds the multiplier to scale up to the molecular formula.

Understanding Empirical & Molecular Formulas

The Blueprint of a Chemical Compound.

What are Empirical and Molecular Formulas?

In chemistry, we use different types of formulas to represent a compound. The two most common are the empirical and molecular formulas.

The Empirical Formula represents the simplest whole-number ratio of atoms of each element in a compound. It is the most reduced formula.

The Molecular Formula shows the actual number of atoms of each element in a single molecule of the compound.

The molecular formula is always a whole-number multiple of the empirical formula.

Example:[Image of glucose molecule structure] The molecular formula for glucose is C₆H₁₂O₆. The simplest ratio of C:H:O is 1:2:1, so its empirical formula is CH₂O.

How to Determine the Empirical Formula

You can determine a compound's empirical formula from its percent composition with a few steps:

Step 1: Assume you have a 100-gram sample. This allows you to convert the percentages directly into grams.

Step 2: Convert the mass (in grams) of each element to moles by dividing by its molar mass from the periodic table.

Step 3: Divide all of the mole values by the smallest mole value you calculated. This gives you a molar ratio.

Step 4: If the ratios are not whole numbers, multiply all of them by the smallest integer that will make them whole numbers. These whole numbers are the subscripts in the empirical formula.

Example:A compound is 40% Carbon, 6.7% Hydrogen, and 53.3% Oxygen. After converting to moles and dividing by the smallest value, you get a ratio of 1 C : 2 H : 1 O. The empirical formula is CH₂O.

How to Determine the Molecular Formula

To find the molecular formula, you need two pieces of information: the compound's empirical formula and its molar mass.

Step 1: Calculate the molar mass of the empirical formula (the 'empirical formula mass').

Step 2: Divide the compound's actual molar mass by the empirical formula mass. This should give you a whole number (or very close to one).

Step 3: Multiply the subscripts in the empirical formula by this whole number to get the molecular formula.

Example:If the empirical formula of a compound is CH₂O (empirical mass ≈ 30 g/mol) and its actual molar mass is 180 g/mol, the ratio is 180 / 30 = 6. Therefore, the molecular formula is C₁ₓ₆H₂ₓ₆O₁ₓ₆ = C₆H₁₂O₆.

Real-World Application: Chemical Analysis

Determining empirical and molecular formulas is a fundamental task in chemistry, especially when a new substance is discovered or synthesized.

Combustion Analysis: This is a common laboratory technique used to determine the empirical formula of an unknown organic compound. The compound is burned, and the masses of the resulting carbon dioxide and water are measured to find the original composition of C, H, and O.

Material Identification: In fields like forensics and environmental science, determining the formula of an unknown substance is the first step in identifying it.

Example:When a pharmaceutical company develops a new drug, one of the first things they do is use analytical techniques to determine its precise molecular formula to ensure its purity and composition.

Key Summary

  • The **Empirical Formula** is the simplest whole-number ratio of atoms in a compound.
  • The **Molecular Formula** is the actual number of atoms in one molecule of the compound.
  • You can find the empirical formula from percent composition and the molecular formula from the empirical formula and the molar mass.
  • These formulas are essential for identifying and characterizing chemical substances.

Practice Problems

Problem: A compound is found to contain 27.3% carbon and 72.7% oxygen by mass. What is its empirical formula?

1. Assume 100g. 2. Convert mass of C and O to moles. 3. Divide by the smaller number of moles to find the ratio.

Solution: Moles C = 27.3g / 12.01 g/mol ≈ 2.27 mol. Moles O = 72.7g / 16.00 g/mol ≈ 4.54 mol. Ratio C = 2.27/2.27 = 1. Ratio O = 4.54/2.27 ≈ 2. The empirical formula is CO₂.

Problem: A compound has the empirical formula CH and a molar mass of 78 g/mol. What is its molecular formula?

1. Calculate the mass of the empirical formula (CH). 2. Find the ratio of the molecular mass to the empirical mass. 3. Multiply the subscripts in the empirical formula by this ratio.

Solution: Empirical mass of CH ≈ 12.01 + 1.01 = 13.02 g/mol. Ratio = 78 g/mol / 13.02 g/mol ≈ 6. Molecular formula = C₁ₓ₆H₁ₓ₆ = C₆H₆ (benzene).

Frequently Asked Questions

Can the empirical and molecular formulas be the same?

Yes. If the simplest whole-number ratio of atoms is already the actual ratio in a molecule, the two formulas will be identical. For example, the molecular formula for water is H₂O, and since this is already the simplest ratio, its empirical formula is also H₂O.

Why do you need the molar mass to find the molecular formula?

The empirical formula only gives the ratio of elements. Many different compounds can have the same empirical formula (e.g., formaldehyde CH₂O, acetic acid C₂H₄O₂, and glucose C₆H₁₂O₆ all share the empirical formula CH₂O). The molar mass is needed to determine which multiple of the empirical formula is the correct one.

What if the mole ratios are not close to whole numbers?

If, after dividing by the smallest number of moles, you get ratios like 1.5, 2.5, etc., you need to multiply all the ratios by a small integer to make them whole. For example, if you get a ratio of 1 : 1.5, you would multiply both by 2 to get a whole-number ratio of 2 : 3.

The Identity of a Substance

Determining a compound's formula is like finding its unique fingerprint. It's a fundamental process that allows chemists to identify, synthesize, and understand the properties of matter.

From the simplest ratio to the complete molecule, formulas define chemical identity.