Back to Everyday Calculators

Molecular Weight Calculator

Calculate molecular weight from formula, or convert between moles and mass of a compound.

Use proper capitalization. Numbers indicate quantity of atoms.

Molecular Weight
g/mol

Common Elements & Their Atomic Weights (g/mol)

H
1.008
He
4.003
Li
6.941
Be
9.012
B
10.81
C
12.011
N
14.007
O
15.999
F
18.998
Na
22.990
Mg
24.305
Al
26.982
Si
28.085
P
30.974
S
32.065
Cl
35.453
K
39.098
Ca
40.078
Fe
55.845
Cu
63.546
Zn
65.38
Ag
107.87
Au
196.97
Hg
200.59

These standard atomic weights are used for all calculations in this tool.

Molecular Weight Calculator Guide

Three Powerful Calculation Modes

  • Molecular Weight from Formula: Enter any chemical formula (H₂O, C₆H₁₂O₆, NaCl, etc.) to instantly get its molar mass in g/mol with element breakdown.
  • Moles from Mass: Given the mass of a substance and its molecular weight, calculate how many moles it contains. Essential for stoichiometry.
  • Mass from Moles: Given the number of moles and molecular weight, calculate the exact mass needed.

Input Guidance & Tips

  • Capitalization matters: Use Na for Sodium, O for Oxygen. Lowercase letters are for second letters in element symbols (e.g. He, Cl).
  • Numbers: Numbers after an element indicate how many atoms of that element are present (H2O = two hydrogen atoms).
  • Examples to try: H2O, CO2, NaCl, C6H12O6 (glucose), (NH4)2SO4 (ammonium sulfate), CH3COOH (acetic acid).
  • Parentheses: This version supports basic formulas. For complex ones with parentheses, results are approximate.

Key Formula

Molecular Weight = Σ (Atomic Weight × Number of Atoms of each element)