Molecular Weight Calculator
Calculate the molecular weight (molar mass) of any chemical formula, with brackets and hydrates, plus mass percent of each element.
Calculator
About this tool
About Molecular Weight Calculator
Type a formula such as H2O, Ca(OH)2, K4[Fe(CN)6] or CuSO4·5H2O to get its molar mass in g/mol and a table of each element’s share. Add a sample mass to convert grams to moles.
How it works
Example
How to use this tool
- Type the chemical formula with correct capital letters.
- Read the molar mass and element table.
- Optionally enter grams to get moles and number of molecules.
Frequently asked questions
Molecular weight or molar mass?
They are the same number. Molecular weight has no unit (or u/Da); molar mass is in g/mol.
Which atomic weights are used?
IUPAC standard atomic weights (abridged). Radioactive elements use the mass number of their longest-lived isotope.
Do I need to sign up?
No. The calculator is free, works in your browser and nothing you type is stored.
Can I use the Molecular Weight Calculator for school or lab work?
Yes. The Molecular Weight Calculator shows the formula and uses standard constants, so you can check your own working. Always follow your teacher’s or lab’s rules on significant figures and units.