Molecular Weight Calculator
Calculate molar mass from any chemical formula, including hydrates.
- Free, no sign-up
- Runs in your browser — files stay private
What is the Molecular Weight Calculator?
The Molecular Weight Calculator adds up atomic masses to give the molar mass of a compound in g/mol. Type a formula such as Ca(OH)2 or MgCl2·6H2O; the tool also shows the mass percentage of each element. Atomic weights follow IUPAC standard values.
How to use the Molecular Weight Calculator
- Type a chemical formula with correct capitalisation (e.g. NaCl, not NACL).
- Use brackets for groups and a dot for water of crystallisation.
- Read the molar mass and element breakdown.
Formula and method
MW = Σ (number of atoms of element × atomic weight of element)
Worked example
Copper(II) sulfate pentahydrate, CuSO₄·5H₂O: Cu 63.546 + S 32.06 + O 9 × 15.999 + H 10 × 1.008 = 249.68 g/mol.
Frequently asked questions
Why does capitalisation matter?
Element symbols are case-sensitive: “Co” is cobalt while “CO” is carbon plus oxygen.
Is molecular weight the same as molar mass?
Numerically yes: molar mass in g/mol equals molecular weight in daltons (Da).