iTutorzz

Free chemistry tool

Molar Mass Calculator

Type any chemical formula to get its molar mass in g/mol, worked out step by step from IUPAC atomic weights, with the mass percent of each element (percent composition). Brackets, hydrates and ions all work. Then convert between grams, moles and particles with Avogadro's number. Free, no signup.

Capitals matter (Co is cobalt, CO is carbon monoxide). Brackets and hydrates work: Ca(OH)2, CuSO4·5H2O or CuSO4*5H2O.

Try an example:
\mathrm{C_{6}H_{12}O_{6}}

Molar mass

180.156 g/mol
≈ 180.16 g/mol to two decimal places
ElementAtomsAtomic weightMass (g/mol)Mass percent
Carbon (C)612.01172.066
40.00%
Hydrogen (H)121.008012.0960
6.71%
Oxygen (O)615.99995.994
53.28%

Step by step

  1. 1
    Count the atoms of each element: C × 6, H × 12, O × 6.
  2. 2
    Multiply each count by that element's atomic weight from the periodic table.
    \mathrm{C}: 6 \times 12.011 = 72.066 \qquad \mathrm{H}: 12 \times 1.0080 = 12.0960 \qquad \mathrm{O}: 6 \times 15.999 = 95.994
  3. 3
    Add the results. The molar mass is in grams per mole: one mole of the substance has this mass.
    M = 72.066 + 12.0960 + 95.994 = 180.156\ \mathrm{g/mol}

Grams, moles and particles

Convert an amount of C6H12O6 using its molar mass and Avogadro's number.

Scientific notation works: 3.01e23 or 3.01 x 10^23

Mass

90\ \mathrm{g}

Amount

0.4996\ \mathrm{mol}

Particles

3.008 \times 10^{23}
molecules, formula units or atoms

Step by step

  1. 1
    Moles = mass ÷ molar mass.
    n = frac{90\ \mathrm{g}}{180.156\ \mathrm{g/mol}} = 0.4996\ \mathrm{mol}
  2. 2
    Particles = moles × Avogadro's number.
    N = 0.4996\ \mathrm{mol} \times 6.022 \times 10^{23}\ \mathrm{mol^{-1}} = 3.008 \times 10^{23}

Worked example: calcium hydroxide, Ca(OH)₂

The 2 after the bracket doubles everything inside it, so there is 1 calcium, 2 oxygen and 2 hydrogen atoms. Multiply each by its atomic weight and add:

M\displaystyle M
=1×40.078+2×15.999+2×1.0080\displaystyle = 1 \times 40.078 + 2 \times 15.999 + 2 \times 1.0080
=40.078+31.998+2.0160=74.092 g/mol\displaystyle = 40.078 + 31.998 + 2.0160 = 74.092\,\text{g/mol}

The mass percent of calcium is 40.07874.092×100≈54.09%\frac{40.078}{74.092} \times 100 \approx 54.09\%, which is what the bar chart in the calculator shows.

Using molar mass in stoichiometry

Molar mass is the bridge between grams (what you can weigh) and moles (what a balanced equation counts). A typical problem goes grams of A → moles of A → moles of B (using the coefficients) → grams of B. For example, how many moles are in 36.0 g of water?

n\displaystyle n
=mM=36.0 g18.015 g/mol\displaystyle = \frac{m}{M} = \frac{36.0\,\text{g}}{18.015\,\text{g/mol}}
=2.00 mol\displaystyle = 2.00\,\text{mol}

Where the atomic weights come from

The calculator uses IUPAC's abridged standard atomic weights (CIAAW, 2024), the values printed on most current periodic tables. Some textbooks round them further (for example H = 1.01, O = 16.00), so your book's answer may differ in the second decimal place. Elements with no standard atomic weight, like technetium, use the mass number of their longest-lived isotope.

Frequently asked questions

How do you calculate molar mass?+

Multiply each element's atomic weight by the number of its atoms in the formula, then add the results. For water, H2O: 2×1.0080+1×15.999=18.0152 \times 1.0080 + 1 \times 15.999 = 18.015 g/mol. The answer is in grams per mole.

What is the difference between molar mass and molecular weight?+

They are the same number with different units. Molecular weight (or formula mass) is the mass of one molecule in atomic mass units (u); molar mass is the mass of one mole in grams per mole. Water is 18.015 u per molecule and 18.015 g/mol.

How do you convert grams to moles?+

Divide the mass by the molar mass: n=mMn = \frac{m}{M}. 90 g of glucose (180.156 g/mol) is 90180.156≈0.4996\frac{90}{180.156} \approx 0.4996 mol. To go from moles to grams, multiply by the molar mass instead.

How many particles are in a mole?+

Exactly 6.02214076×10236.02214076 \times 10^{23}, Avogadro's number. Since 2019 the mole has been defined by this number, so it is exact. Multiply moles by it to get molecules, atoms or formula units.

How do I enter a hydrate or a formula with brackets?+

Type brackets as you would write them: Ca(OH)2, Al2(SO4)3 or K4[Fe(CN)6]. For a hydrate, put a dot or an asterisk before the water: CuSO4·5H2O or CuSO4*5H2O. Capital letters matter, because Co is cobalt and CO is carbon monoxide.

Stuck on stoichiometry?

Moles, molar mass and limiting reactants are where chemistry gets real. Our chemistry tutors work one-on-one through your own homework problems, and your first trial lesson is free.

Master the mole

A 1-on-1 chemistry tutor builds the habits that make stoichiometry easy: units, conversion factors and checking answers. Your first trial lesson is free.