Calculate empirical formulas from percent composition or mass data, and determine molecular formulas from empirical formulas and molar mass.
Enter the percent composition of each element. Total should equal 100%.
Enter the mass (in grams) of each element in the compound.
Convert an empirical formula to its molecular formula using the compound's molar mass.
Determine empirical formula from combustion products (CO₂ and H₂O).
Enter data and click Calculate to see results
The simplest whole-number ratio of atoms in a compound.
Example: Glucose (C₆H₁₂O₆) has empirical formula CH₂O
The actual number of atoms of each element in a molecule.
Example: Glucose molecular formula is C₆H₁₂O₆
Every coffee helps keep the servers running. Every book sale funds the next tool I'm dreaming up. You're not just supporting a site — you're helping me build what developers actually need.