Molecular Formula Calculator
Enter an empirical formula and molar mass to instantly calculate the true molecular formula of a compound.
Input
Uppercase first letter, lowercase second letter (Na, Cl). Counts follow the symbol.
Quick Examples
Result
Enter an empirical formula and molar mass, then click Calculate.
Molecular Formula
Breakdown
| Property | Value |
|---|
Atom Counts
Copied!
Summary
Enter an empirical formula and molar mass to instantly calculate the true molecular formula of a compound.
How it works
- Enter the empirical formula (e.g. CH2O) using standard chemical notation.
- Enter the known molar mass of the compound in g/mol.
- The tool parses each element and its count from the empirical formula.
- It looks up the atomic mass of each element and computes the empirical formula mass.
- The multiplier n is calculated as molar mass divided by empirical formula mass, rounded to the nearest integer.
- Each element count is multiplied by n to produce the molecular formula.
Use cases
- Determine the molecular formula from mass spectrometry data.
- Verify combustion analysis results in an organic chemistry lab.
- Check molecular formula assignments in homework or exam prep.
- Convert percent-composition data (after finding empirical formula) to molecular formula.
- Quickly scale empirical ratios when given a molecular weight from a literature source.
- Validate results from elemental analysis reports in pharmaceutical research.
Frequently Asked Questions
Last updated: 2026-06-09 ·
Reviewed by Nham Vu