Molecular Weight Calculator (Molar Mass)

Please enter or select a molecular formula to calculate its molecular weight/molar mass. Note that the formula is case-sensitive. This calculator uses standard atomic weights published by IUPAC with uncertainty ignored. The terms "molecular weight" and "molar mass" are used interchangeably.

Input Parameters

Enter a chemical formula, paying attention to case. For example, 'CO' is carbon monoxide, while 'Co' is cobalt.

Select a common chemical from the list and its formula will be automatically filled in the input field above.

How to Enter Formulas

You can enter simple or complex molecular formulas:

  • Simple molecules: H2O (water), CO2 (carbon dioxide), CH4 (methane)
  • With brackets: Ca(OH)2 (calcium hydroxide), (NH4)2SO4 (ammonium sulfate)
  • Hydrates: CuSO4·5H2O (copper sulfate pentahydrate), enter as CuSO4(H2O)5

Enter a formula and click Calculate button

About Molecular Weight Calculator

What is Molecular Weight?

Molecular weight (MW), also known as molar mass, is the average mass of a molecule, usually expressed in g/mol (grams per mole). It is the sum of the atomic weights of all atoms in a molecule.

In chemistry, molecular weight is a fundamental concept used in stoichiometric calculations, solution preparation, gas law applications, and many other scenarios. It represents the mass of one mole of a substance, or the mass of 6.022×10²³ molecules.

For example, water (H₂O) has a molecular weight of 18.02 g/mol, meaning one mole of water has a mass of 18.02 grams.