Faradium logoFaradium
Home › Molar mass calculator

Molar mass calculator

Type any chemical formula, such as H₂SO₄, Ca(OH)₂ or CuSO₄·5H₂O, and get its molar mass in g/mol together with the percentage of each element by mass. Free, instant and works on your phone.

⚖️ Open the molar mass calculator

How to calculate molar mass

  1. Write the chemical formula and count the atoms of each element. A number after brackets multiplies everything inside them.
  2. Look up each element’s atomic mass on the periodic table.
  3. Multiply each atomic mass by the number of atoms of that element.
  4. Add the results. The total is the molar mass in g/mol.

Worked example: copper(II) sulfate pentahydrate

1 × 63.546 + 1 × 32.065 + 9 × 15.999 + 10 × 1.008 = 249.68 g/mol

ElementAtomsAtomic mass (u)Subtotal (g/mol)% by mass
Copper (Cu)163.54663.54625.45%
Sulfur (S)132.06532.06512.84%
Oxygen (O)915.999143.99157.67%
Hydrogen (H)101.00810.0804.04%
Molar mass of CuSO4·5H2O249.68 g/mol

Molar masses of common compounds

FormulaNameMolar mass (g/mol)
H2OWater18.02
CO2Carbon dioxide44.01
NaClSodium chloride58.44
H2SO4Sulfuric acid98.08
HClHydrogen chloride (hydrochloric acid)36.46
NaOHSodium hydroxide40.00
C6H12O6Glucose180.16
CaCO3Calcium carbonate100.09
NH3Ammonia17.03
CH4Methane16.04
O2Oxygen32.00
N2Nitrogen28.01
H2Hydrogen2.02
HNO3Nitric acid63.01
KMnO4Potassium permanganate158.03
CuSO4Copper(II) sulfate (anhydrous)159.61
CuSO4·5H2OCopper(II) sulfate pentahydrate249.68
NaHCO3Sodium bicarbonate84.01
Na2CO3Sodium carbonate105.99
C12H22O11Sucrose342.30
C2H5OHEthanol46.07
CH3COOHAcetic acid60.05
Ca(OH)2Calcium hydroxide74.09
KOHPotassium hydroxide56.11
MgOMagnesium oxide40.30
Fe2O3Iron(III) oxide159.69
Al2O3Aluminium oxide101.96
H2O2Hydrogen peroxide34.01
KClPotassium chloride74.55
AgNO3Silver nitrate169.87
Pb(NO3)2Lead(II) nitrate331.21
KIPotassium iodide166.00
(NH4)2SO4Ammonium sulfate132.14
H3PO4Phosphoric acid97.99
CaCl2Calcium chloride110.98
MgSO4Magnesium sulfate120.37
KNO3Potassium nitrate101.10
C3H8Propane44.10
SO2Sulfur dioxide64.06
NH4ClAmmonium chloride53.49
BaCl2Barium chloride208.24
Na2SO4Sodium sulfate142.04

Frequently asked questions

What is molar mass?

Molar mass is the mass of one mole of a substance, measured in grams per mole (g/mol). One mole contains 6.022 × 10²³ particles (Avogadro’s number). Numerically it equals the relative formula mass.

How do you calculate molar mass?

Write the formula, count the atoms of each element, multiply each count by that element’s atomic mass from the periodic table, and add the results. Brackets multiply everything inside them, and a hydrate such as ·5H₂O adds five water molecules.

What is the difference between molar mass and molecular weight?

They have the same number. Molecular weight (relative molecular mass) has no units, while molar mass is in g/mol. For water both are about 18.02.