Last updated: April 13, 2026

Molar Mass Calculator

Based on 3 sources
100 people find this calculator helpful

Table of contents

What is molar mass?

Molar mass is the mass of one mole of a substance, expressed in g/mol. One mole contains Avogadro's number (6.022 × 10²³) of particles. The molar mass of a compound equals the sum of the molar masses of all the atoms in its formula.

How to calculate molar mass

  1. Write the chemical formula (e.g., H2O, NaCl, C6H12O6).
  2. Look up the atomic mass of each element from the periodic table.
  3. Multiply each element's atomic mass by its subscript count.
  4. Sum all contributions.

Example: H₂O = (2 × 1.008) + (1 × 15.999) = 18.015 g/mol.

Use standard notation: H2O, NaCl, C6H12O6. Supports 36 common elements.

Did we solve your problem today?