FORMULAS & STOICHIOMETRY
Empirical & Molecular Formula Calculator
Turn element masses or percentages into a candidate formula.
Read the complete lesson ↗Inputs changed — calculate again to update the result.
Your calculation
Enter your values and calculate. The worked example below is available without JavaScript.
Worked example: percentages to CH2O
- Take a 100 g basis: C 40.00 g, H 6.71 g, O 53.29 g.
- Divide by atomic weights: approximately 3.330, 6.657 and 3.331 mol.
- Divide by the smallest: about 1 : 2 : 1. Candidate empirical formula: CH2O.
- Its mass is about 30.026 g/mol. A molecular mass of 180.156 g/mol gives a multiplier of 6 and C6H12O6.
Method and limitations
Calculations use the same supported abridged atomic weights as the molar-mass tool. Symbols are case-sensitive: Co and CO describe different formulas. Parenthesized groups are supported; unsupported elements or notation produce a specific input error.
An empirical formula is an atom ratio, not a unique substance or molecular structure. Percent composition alone cannot distinguish CH2O from C6H12O6. A molecular molar mass supplies additional information. Data that do not fit a small integer ratio should be checked rather than forced into a formula.
Questions and answers
Should I round a ratio of 1.5 to 2?
No. Test a common multiplier: multiplying 1 : 1.5 by 2 gives 2 : 3. Check the candidate against the original data.
Which atomic weights are used?
CIAAW abridged standard atomic weights, matching the existing molar-mass calculator. Isotope-specific or exact-mass calculations are outside this tool.