Molecular Weight Calculator

Calculate molecular weight (molar mass) from any chemical formula. Supports parentheses, hydrates, and complex compounds. Free, fast, and easy to use.

Enter Formula

Use proper capitalization: H2O (not h2o). Use · or * for hydrates.

Enter a chemical formula (e.g. H2O, C6H12O6, Ca(OH)2) and click Calculate to get the molecular weight, element breakdown, and step-by-step solution.

Complete User Guide

What is Molecular Weight?

Molecular weight (also called molar mass) is the total mass of one mole of a compound, calculated by summing the atomic weights of every atom in its chemical formula. It is expressed in grams per mole (g/mol) and is fundamental to converting between mass and moles in stoichiometry, solution preparation, and analytical chemistry.

Formula

Molecular Weight: MW = Σ (Atomic Weight × Count)

Mass %: % = (Element Mass / MW) × 100

Supported Formula Formats

Simple Formulas

H2O, CO2, NaCl, Fe2O3 — just elements and subscripts.

Parentheses

Ca(OH)2, Al2(SO4)3 — groups with multipliers.

Hydrates

CuSO4·5H2O — use · or * for dot notation.

Complex Compounds

C8H10N4O2 (caffeine), C9H8O4 (aspirin), etc.

Common Molecular Weights

• H₂O (Water) = 18.015 g/mol

• CO₂ (Carbon Dioxide) = 44.009 g/mol

• NaCl (Table Salt) = 58.443 g/mol

• C₆H₁₂O₆ (Glucose) = 180.156 g/mol

• Ca(OH)₂ (Calcium Hydroxide) = 74.093 g/mol

• C₈H₁₀N₄O₂ (Caffeine) = 194.190 g/mol

• C₂H₅OH (Ethanol) = 46.069 g/mol

Important Notes

  • Element symbols are case-sensitive: Na (sodium) vs NA (invalid).
  • Parentheses must be properly balanced.
  • Atomic weights are IUPAC standard values.
  • Mass percentages always sum to 100%.

📤 Share This Tool