Skip to content
FiftyCalc Free calculators for all 50 states

Molar Mass Calculator

Test cases replayed : 4 of 4 match · Methodology · No outside source listed

Enter how many atoms of each element the formula contains; for example glucose, C₆H₁₂O₆, is 6 C, 12 H and 6 O.

Result

Sample figures

Molar mass—g/mol

Atoms in the formula —

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Molar Mass Calculator

C atoms (atomic weight 12.011): enter 0 or more. Prefilled example: 6.

H atoms (atomic weight 1.008): enter 0 or more. Prefilled example: 12.

N atoms (atomic weight 14.007): enter 0 or more. Prefilled example: 0.

O atoms (atomic weight 15.999): enter 0 or more. Prefilled example: 6.

S atoms (atomic weight 32.06): enter 0 or more. Prefilled example: 0.

P atoms (atomic weight 30.974): enter 0 or more. Prefilled example: 0.

Cl atoms (atomic weight 35.45): enter 0 or more. Prefilled example: 0.

Na atoms (atomic weight 22.99): enter 0 or more. Prefilled example: 0.

K atoms (atomic weight 39.098): enter 0 or more. Prefilled example: 0.

Ca atoms (atomic weight 40.078): enter 0 or more. Prefilled example: 0.

Mg atoms (atomic weight 24.305): enter 0 or more. Prefilled example: 0.

Fe atoms (atomic weight 55.845): enter 0 or more. Prefilled example: 0.

F atoms (atomic weight 18.998): enter 0 or more. Prefilled example: 0.

Br atoms (atomic weight 79.904): enter 0 or more. Prefilled example: 0.

I atoms (atomic weight 126.9): enter 0 or more. Prefilled example: 0.

Other element: atomic weight: enter 0 or more. Prefilled example: 0.

Other element: atoms: enter 0 or more. Prefilled example: 0.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. C atoms (atomic weight 12.011): enter 0 or more.
  2. H atoms (atomic weight 1.008): enter 0 or more.
  3. N atoms (atomic weight 14.007): enter 0 or more.
  4. O atoms (atomic weight 15.999): enter 0 or more.
  5. S atoms (atomic weight 32.06): enter 0 or more.
  6. P atoms (atomic weight 30.974): enter 0 or more.
  7. Cl atoms (atomic weight 35.45): enter 0 or more.
  8. Na atoms (atomic weight 22.99): enter 0 or more.
  9. K atoms (atomic weight 39.098): enter 0 or more.
  10. Ca atoms (atomic weight 40.078): enter 0 or more.
  11. Mg atoms (atomic weight 24.305): enter 0 or more.
  12. Fe atoms (atomic weight 55.845): enter 0 or more.
  13. F atoms (atomic weight 18.998): enter 0 or more.
  14. Br atoms (atomic weight 79.904): enter 0 or more.
  15. I atoms (atomic weight 126.9): enter 0 or more.
  16. Other element: atomic weight: enter 0 or more.
  17. Other element: atoms: enter 0 or more.
  18. Read the result: Molar mass; the panel also shows Atoms in the formula.

How this calculator works

Molar mass = Σ (number of atoms × standard atomic weight). Atomic weights are the CIAAW abridged standard atomic weights 2024 (ciaaw.org/abridged-atomic-weights.htm, read 2026-10-27); for an element not listed, enter its atomic weight in the last row.

The molar mass in g/mol equals the molecular weight in u (daltons). Hydrates count their water: CuSO₄·5H₂O has 10 extra H and 5 extra O.

Worked example

C atoms (atomic weight 12.011)6
H atoms (atomic weight 1.008)12
N atoms (atomic weight 14.007)0
O atoms (atomic weight 15.999)6
S atoms (atomic weight 32.06)0
P atoms (atomic weight 30.974)0
Cl atoms (atomic weight 35.45)0
Na atoms (atomic weight 22.99)0
K atoms (atomic weight 39.098)0
Ca atoms (atomic weight 40.078)0
Mg atoms (atomic weight 24.305)0
Fe atoms (atomic weight 55.845)0
F atoms (atomic weight 18.998)0
Br atoms (atomic weight 79.904)0
I atoms (atomic weight 126.9)0
Other element: atomic weight0
Other element: atoms0
Molar mass180.156 g/mol
Atoms in the formula24

Frequently asked questions

What is the molar mass of water?

2 × 1.0080 + 15.999 = 18.015 g/mol.

What is the molar mass of glucose?

6 × 12.011 + 12 × 1.0080 + 6 × 15.999 = 180.156 g/mol.

Related calculators