← All tools/Calculators/Chemistry/Molecular Weight Calculator
Molecular Weight Calculator
The weight of a molecule, from its formula — with every element's share shown.
Use capital letters for elements (H2O, not h2o) and brackets for groups, like Ca(OH)2. Elements covered: H, C, N, O, S, P, Cl, Na, K, Ca, Fe, Mg, Zn, Br, I, F, Al, Si, Cu, Mn.
Molecular weight
| Element | Atoms | Atomic weight | Mass (g/mol) |
|---|
How it works
Molecular weight = sum of (atomic weight × number of atoms) for each element Brackets multiply a group: Ca(OH)2 = Ca + 2 × (O + H) Atomic weights used: H 1.008 · C 12.011 · N 14.007 · O 15.999 · S 32.065 · Ca 40.078
Worked example: H2SO4 = 2 × 1.008 + 32.065 + 4 × 15.999 = 2.02 + 32.07 + 64.00 = 98.08 g/mol. Glucose C6H12O6 = 6 × 12.011 + 12 × 1.008 + 6 × 15.999 = 180.16 g/mol.
Frequently asked questions
How do I write a formula with brackets?
Write the group in brackets with its count after it, like Ca(OH)2. The count multiplies everything inside the brackets.
Why does my answer differ slightly from a textbook?
Atomic weights are averages that get revised, and different tables round differently. Small differences in the second decimal are normal.
What is a mole?
A mole is 6.022 × 10^23 particles. One mole of a substance weighs its molecular weight in grams — so one mole of H2SO4 weighs 98.08 g.
Which elements are covered?
H, C, N, O, S, P, Cl, Na, K, Ca, Fe, Mg, Zn, Br, I, F, Al, Si, Cu and Mn — the elements most school and college formulas use.
More tools
Tell us what you think
Loving this tool, or stuck on something? Tell us — it takes a minute.
We’ll only use your name and email to reply if needed. The tool and page are filled in for you.