Math · Every step shown

Molecular Weight Calculator

Find the molecular weight (molar mass) of any chemical formula.

Enter your numbers

Press Solve with steps to see the answer and how to get it.

Job: Chemistry
Your answer

Press Solve with steps to see the answer and every step.

How it works, examples and FAQ

Molecular weight = sum of (atomic weight × number of atoms) for every element in the formula.

Example: H2O has 2 hydrogen atoms and 1 oxygen atom, giving a molecular weight of about 18.015 g/mol.

How is molecular weight calculated?
Add up the atomic weight of every element in the formula, multiplied by how many atoms of it appear.

Can I use parentheses, like Ca(OH)2?
Yes — parentheses and brackets with a following number are supported, so Ca(OH)2 and Fe2(SO4)3 both work.

What's the molecular weight of water?
About 18.015 g/mol: two hydrogen atoms (1.008 each) plus one oxygen atom (15.999).

More math calculators

Snap a photo of a problem →   All math tools →   All calculators →

These calculators show the method as well as the answer, so you can learn the steps and check your own work. If a result ever looks wrong, tell us on the Contact page with the numbers you entered.

Save or print your results

On a phone, choose Save as PDF on the next screen to keep a copy.