Empirical & Molecular Formula Solver

Empirical & Molecular Formula Solver

Convert elemental mass percentages of C, H, and O to simplest empirical formula with fraction multiplier detection and molecular mass matching.

Optional: used to find molecular formula

Stoichiometric Formula Derivation Client-Side Execution
Empirical Formula

CH2O

Mass: 30.03 g/mol
Molecular Formula

C6H12O6

n = 6× multiplier
Mole Ratios (C:H:O)

1.00 : 1.99 : 1.00

Scale factor: 1×
Mass Balance

100.0% Accounted

At a Glance

Category
Chemistry
Best For
Chemistry students working composition problems
Privacy
100% in your browser: nothing you enter is uploaded
Time Required
Under a minute
Cost
Free
Updated
November 2026

Quick Overview

What This Tool Does

Converts mass percent to moles, divides by the smallest value and scales to whole numbers.

Who Should Use It

General and organic chemistry students and teachers.

When to Use It

Determining a formula from analysis data.

Why It Is Useful

The empirical formula is the simplest whole-number ratio of atoms in a compound.

Key Features & Capabilities

Empirical formula

Simplest whole-number ratio.

Molecular formula

Scaled using the molar mass.

Mass balance

Checks that percentages total 100.

How to Use This Tool

1

Enter the percentages

Type the mass percent of C, H and O. Tip: They should total about 100%.

2

Enter the molar mass

Type the compound's molar mass in g/mol. Tip: Needed for the molecular formula.

3

Read the empirical formula

The tool divides moles by the smallest value. Tip: It scales fractions up to whole numbers.

4

Read the molecular formula

The molar mass divided by the empirical mass gives the multiplier. Tip: Check the answer by hand.

Worked Real-World Example

Glucose composition

A compound is 40.00% carbon, 6.67% hydrogen and 53.33% oxygen by mass, with a molar mass of 180.16 g/mol.

Sample Inputs
Carbon %40.00 %
Hydrogen %6.67 %
Oxygen %53.33 %
Molar mass180.16 g/mol
Molecular formulaC₆H₁₂O₆ (empirical CH₂O)
Calculation Breakdown
Moles of C, H, O (per 100 g): 40 ÷ 12.011; 6.67 ÷ 1.008; 53.33 ÷ 15.999 = 3.330; 6.617; 3.333
Divide by smallest (3.330): 1 : 1.987 : 1.001 = C : H : O = 1 : 2 : 1
Empirical formula and mass: CH₂O: 12.011 + 2.016 + 15.999 = CH₂O, 30.026 g/mol
Molecular formula: 180.16 ÷ 30.026 = 6.0 = C₆H₁₂O₆
The compound is glucose: six times the empirical unit CH₂O.

How It Works (Math & Calculation Logic)

Moles = mass % ÷ atomic mass (C 12.011, H 1.008, O 15.999). Divide all by the smallest to get ratios; if needed multiply by 2 to 6 until all are near integers. Empirical mass = sum of atomic masses. Multiplier n = round(molar mass ÷ empirical mass); molecular formula = empirical × n.

Formula / Algorithmn = Molar mass ÷ Empirical formula mass
Variable & Logic Definitions
MMolar mass - Compound (g/mol)
MempEmpirical mass - From the empirical formula (g/mol)

How to Interpret Your Results

Typical Benchmarks

Percentages should total 100%.

Evaluating Your Output

Ratios near x.5 or x.33 require scaling.

Recommended Next Action

Check that the percentages sum to 100 before relying on the formula.

Frequently Asked Questions

What is an empirical formula?
The simplest whole-number ratio of atoms in a compound.
How do I find it?
Convert mass percent to moles and divide by the smallest.
How do I get the molecular formula?
Multiply the empirical formula by molar mass divided by empirical mass.
What if ratios are fractions?
Multiply all ratios by a small integer to make them whole.
Does it work for other elements?
Not here; only C, H and O.

Complementary QuickForma Utilities