Part of the Science & Chemistry suite · 71 calculators

Molar Mass Calculator

Type a chemical formula — H2O, NaCl, C6H12O6, Ca(OH)2, CuSO4·5H2O — and get its molar mass with the element breakdown.

The mass of one mole of any formula you type.

Use exact symbol case (Na, Cl, Mg); brackets and ·xH2O hydrates are understood.
Results update as you type
Results
Molar mass
180.156 g/mol
Atoms per formula unit
By element
Mass percent
Reviewed September 2026. Chemistry is the same in every country: SI and laboratory units throughout.
No account required · Google Analytics off unless allowedCalculator arithmetic runs in your browserResults update as you type
All calculations run 100% in your browser. The calculator code does not submit your figures to GlobalCalc to obtain a result.
About molar mass

How the molar mass calculator works

Molar mass is the sum of the atomic masses of every atom in the formula, in grams per mole. The calculator parses element symbols (case matters: Co is cobalt, CO is carbon monoxide), subscripts, brackets with multipliers and hydrate dots, multiplies each element's count by its IUPAC atomic mass and adds them up.

The breakdown shows each element's contribution and mass percentage — the numbers behind empirical-formula and percent-composition questions.

Formula: M = Σ (atoms of each element × atomic mass)

Worked examples

InputsMolar massNote
Glucose, C6H12O6180.156 g/mol180.156 g/mol
Water, H2O18.015 g/mol18.015 g/mol
Calcium hydroxide, Ca(OH)257.085 g/molbrackets with a multiplier
Copper sulfate pentahydrate, CuSO4·5H2O249.677 g/mola hydrate

Frequently asked questions

What is the difference between molar mass and molecular weight?

Numerically the same for a molecule; molar mass is expressed in g/mol, molecular (or formula) weight in atomic mass units. Ionic compounds have a formula mass rather than a molecular one.

Why does capitalization matter?

Every symbol starts with a capital: CO is carbon monoxide (one carbon, one oxygen); Co is cobalt. The calculator reads symbols exactly as the periodic table writes them.

How are hydrates handled?

The dot (· or .) means "plus": CuSO4·5H2O adds five water molecules to the formula unit — 159.61 + 5 × 18.015 = 249.68 g/mol.

Which atomic masses are used?

IUPAC conventional values (e.g. C 12.011, O 15.999, Cl 35.45). Exam boards sometimes round differently (C 12.0, O 16.0), which shifts results in the second decimal.

Where these figures come from

Last checked: September 2026. Atomic masses are the IUPAC conventional values; constants are CODATA 2018; equations are the standard textbook forms.