Molecular Formula & Molar Mass Calculator
Calculate formula mass, element contributions and mass-to-moles.
The interactive calculator loads above this explanation when JavaScript is available.
How to use the molecular formula & molar mass calculator
Calculate formula mass, element contributions and mass-to-moles. Enter the known values, choose units where offered, and read the live result and breakdown.
Worked example
This example uses the following inputs. Currency amounts are illustrated in USD.
- Formula (case sensitive; hydrates use ·)
- CaCl2·2H2O
- Sample mass
- 10 g
- Purity
- 100 %
Molar mass: 147.01 g/mol
Method
Parses element symbols, integer subscripts, parentheses and hydrate dots. Uses conventional atomic weights; no isotope masses, charges or reaction balancing. Purity scales active sample mass.
What to watch for
Parses element symbols, integer subscripts, parentheses and hydrate dots. Uses conventional atomic weights; no isotope masses, charges or reaction balancing. Purity scales active sample mass.
Assumptions and references
Parses element symbols, integer subscripts, parentheses and hydrate dots. Uses conventional atomic weights; no isotope masses, charges or reaction balancing. Purity scales active sample mass.
Formula implementation: v0.8.0. Examples are checked against the calculation engine; specialist professional review is not claimed. How we check calculations.