NewNew: GlanceDesk Compute, checked engineering calculators for civil, electrical and HVAC work. See what comes next.
GlanceDeskCompute

Ask an engineering tool

Try:

Answers come from the same tested tools. Nothing you type leaves your device.

Molar Mass Calculator (from a Chemical Formula, IUPAC Atomic Weights)

Element symbols with a capital first letter (Co is cobalt, CO is carbon and oxygen). Brackets work, as in Ca3(PO4)2; write a hydrate with · or a dot, as in CuSO4.5H2O.

The numbers filled in are examples. Type your own.

Optional: the mass you have, to see how many moles it is. Type 0 to skip.

Type a chemical formula such as H2SO4, Ca(OH)2 or CuSO4·5H2O. See its molar mass in g/mol from the CIAAW standard atomic weights, the atoms it contains and how many moles are in a sample of the mass you enter.

Molar mass (g/mol)
–
Molar mass (kg/kmol)
–
Amount in the sample
–
Atoms in one formula unit
–
Different elements
–

Assumptions

  • Atomic weights are the CIAAW abridged standard atomic weights 2024, for elements of normal terrestrial isotopic composition.
  • Where CIAAW gives an interval (H, C, N, O, S, Cl and others), its abridged value is used, so the last digit can vary between samples.
  • The formula is read as typed: brackets multiply what is inside, and a hydrate part after · is added on.

Checked 3 November 2026 CIAAW (IUPAC), Abridged Standard Atomic Weights 2024 (five figures; based on Atomic Weights 2021, Gd, Lu and Zr revised 2024) All sources

How it is calculated

  • Molar mass (g/mol) = Σ (number of atoms of each element × its standard atomic weight)
  • Amount (mol) = sample mass (g) ÷ molar mass (g/mol)
  • A molar mass in g/mol is the same number in kg/kmol (and in lb/lb-mol)

Worked example

Copper(II) sulfate pentahydrate, a common blue crystal, and 100 g of it.

You enter
Chemical formulaCuSO4·5H2O
Sample mass100
Mass unitGrams (g)
You get
Molar mass (g/mol)249.677 g/mol
Molar mass (kg/kmol)249.677 kg/kmol
Amount in the sample0.400517 mol
Atoms in one formula unit21
Different elements4

CuSO4·5H2O has 1 Cu, 1 S, 9 O and 10 H atoms, which give 249.677 g/mol. 100 g of it is 0.400517 mol.

Questions

Why does my textbook give a slightly different number?

Books round atomic weights differently and some use older tables. This tool uses the CIAAW 2024 abridged values (for example H 1.0080, C 12.011, O 15.999, S 32.06), so the last decimal can differ from older figures.

How do I type a hydrate or a complex?

Use · (or a dot or *) before the water part, with its count first: CuSO4·5H2O. Square and curly brackets work like round ones: K4[Fe(CN)6].

Sources and checks

Last checked: 3 November 2026. This tool passes 18 automatic tests before every release. How we check our tools

Cite this page

Molar Mass Calculator (from a Chemical Formula, IUPAC Atomic Weights). GlanceDesk Compute. Last checked 3 November 2026. https://glancedeskcompute.com/molar-mass-calculator/

Found a wrong number? Tell us

Your numbers stay on your device unless you share them.

For learning, lab preparation and quick checks. Isotopically altered or unusual materials can differ from the standard atomic weights. Results are estimates for planning and learning. They are not a design check and do not replace a qualified engineer or your local building/electrical code.

Related tools

Missing something? Suggest a tool