How to use the Molar Mass Calculator
- Type the formula, e.g. H2SO4, Ca(OH)2 or CuSO4·5H2O.
- Read the molar mass in g/mol.
- Check the composition table for each element's share.
What does this tool do?
Molar mass is the mass of one mole of a substance — the sum of the atomic masses of every atom in its formula. Water, H₂O, is 2 × 1.008 + 15.999 = 18.015 g/mol.
The parser understands nested brackets, square brackets and hydrates. Symbols are case-sensitive: Co is cobalt, while CO is carbon monoxide.
Why use it?
- Brackets and hydrates supported.
- Percent composition by mass.
- IUPAC standard atomic weights.
Use cases
- Chemistry homework and lab calculations.
- Converting between grams and moles.
- Checking element percentages in compounds.
Sulfuric acid, H₂SO₄
2 × 1.008 + 32.06 + 4 × 15.999 ≈ 98.07 g/mol. Hydrates work too: CuSO₄·5H₂O is about 249.7 g/mol.
| Element | Mass | Share |
|---|---|---|
| H | 2.016 | 2.06% |
| S | 32.06 | 32.69% |
| O | 63.996 | 65.25% |
Common mistakes
- Typing CO when you mean Co (cobalt).
- Forgetting to multiply everything inside brackets.
- Leaving the water out of a hydrate.
The formula
Privacy
The calculation happens instantly in your browser. The numbers you enter are not sent to our servers or saved. There's no account to create and nothing to install.
Frequently asked questions
Are molar mass and molecular weight the same?
Numerically, yes. Molar mass is in g/mol; molecular weight has no units.
How do I type a hydrate?
Use a dot, like CuSO4·5H2O.
Does it handle nested brackets?
Yes, round and square brackets, nested, such as K4[Fe(CN)6].
Content last updated . See how M2Toolkit works.