Molar Mass Calculator: Molecular Weight
Use this molar mass calculator to get the molecular weight from any chemical formula. Type a formula like H2O, C6H12O6 or Ca(OH)2, and it shows the molar mass in g/mol and how much each element adds. To calculate pH, pOH and ion concentration, open the pH Calculator.
Molar Mass Calculator
Type a chemical formula.
How to use the Molar Mass Calculator
- Type the formula with capital letters, like NaCl or H2SO4.
- Use brackets for groups, like Ca(OH)2.
- Optionally enter grams to get moles.
- Read the molar mass and breakdown.
How it works
The tool counts each element’s atoms and multiplies by its standard atomic weight, then adds them up.
Formula
Moles = Grams ÷ Molar mass
Example
C6H12O6 = 6 × 12.011 + 12 × 1.008 + 6 × 15.999 = 180.156 g/mol.
Frequently asked questions
What is the molar mass of water?
H2O is about 18.015 g/mol.
How do I convert grams to moles?
Divide grams by the molar mass.
Does it support hydrates?
Yes, use a dot, like CuSO4·5H2O or CuSO4.5H2O.
See also: Scientific Calculator, Fraction Calculator.
Find the molar mass
How to use it
- Type a chemical formula.
- Use parentheses for groups.
- Read the molar mass in g/mol.
- See each element's share.
More questions
What is molar mass?
The mass of one mole of a substance in grams.
Can it handle parentheses?
Yes. It handles parentheses in formulas like Ca(OH)2 and multiplies the groups correctly.
Is it case sensitive?
Yes. Co is cobalt, CO is carbon monoxide.
Related tools: Ideal Gas Law Calculator, Percent Yield Calculator, Density Calculator.