Tools logoTools/
Everyday Tools/Molecular Weight Calculator

Molecular Weight Calculator

Compute molar mass from any chemical formula like H2O, C6H12O6, NaCl, or Ca(OH)2.

Runs locally·Free, no signup·Updated May 6, 2026
Loading tool…
How it works

A walkthrough, end to end.

  1. 1

    Enter a chemical formula like H2O, C6H12O6, or Ca(OH)2.

  2. 2

    The calculator parses elements and parentheses with multipliers.

  3. 3

    See the molar mass in g/mol.

Reference

Molar mass

Sum of (atom count × atomic mass) for every atom. Uses 2019 IUPAC values.

Use cases

What you can do with this.

Lab solution prep

Find grams to weigh out for a target molarity.

Stoichiometry

Convert between moles and grams.

Chem homework

Verify molar masses for any compound.

Pharmaceutical

Compute molecular weight of drug compounds.

Polymer chemistry

Repeat-unit molar mass.

FAQ

Frequently asked.

  • Use a dot or asterisk: CuSO4·5H2O works.

  • Ignored — molar mass is independent of charge.

  • No. All math runs in your browser.

  • Compute the repeat unit, not the whole polymer.