Free tool

Molar Mass Calculator

Type a chemical formula to get its molar mass in g/mol, plus how many atoms of each element it contains, each element's mass contribution and its mass percent. Parentheses and hydrates work.

Built for General Chemistry I

The formula

Symbols are case sensitive (Co is cobalt, CO is carbon monoxide). For a hydrate, use a dot or an asterisk: CuSO4·5H2O or CuSO4*5H2O.

Molar mass

Enter a formula such as H2O or Ca(OH)2.

Molar mass is the first step of almost every stoichiometry problem. Encodr keeps the steps on a spaced-repetition schedule so they are automatic by exam day.

Get started free

How molar mass is calculated

Molar mass is the mass of one mole of a substance in grams per mole. Add up the atomic weight of every atom in the formula: molar mass = sum of (number of atoms × atomic weight). A subscript after a parenthesis multiplies everything inside it, and the coefficient in front of a hydrate's water multiplies the whole water molecule.

Worked example: Ca(OH)2 has 1 Ca, 2 O and 2 H. That is 40.078 + 2(15.999) + 2(1.008) = 74.092 g/mol. Calcium's mass percent is 40.078 ÷ 74.092 × 100 = 54.09%.

Hydrate example: CuSO4·5H2O is CuSO4 (159.602 g/mol) plus 5 waters (5 × 18.015 = 90.075 g/mol), so 249.677 g/mol. Water is 36.08% of its mass.

Atomic weights here are the IUPAC abridged standard atomic weights (H 1.008, C 12.011, O 15.999), so answers can differ in the second decimal from a textbook that rounds to H 1.01 or O 16.00. Use whatever values your course's periodic table gives on an exam. Next step: turning grams into moles in the stoichiometry walkthrough, and the free General Chemistry I flashcards.

From the blog

Stoichiometry step by step, with limiting reactants

The grams-to-moles-to-grams method, how to find the limiting reactant, how much excess is left, and percent yield, with every step worked out.

Read →

What's in General Chemistry I: the 13 units in order

The 13 units of a first-semester general chemistry course, what each covers, how they map to OpenStax Chemistry 2e chapters 1-10, and the free Encodr deck.

Read →

How to study for a general chemistry exam

A general chemistry exam tests two things, facts you recall and problems you can set up. How to study each, a week-by-week plan, and the traps that cost points.

Read →

First-year biology, chemistry and physics, compared

What General Biology I and II, General Chemistry I and II, and College Physics I and II each cover, how they fit together, and free flashcards for each.

Read →

Related tools

C1V1 = C2V2 Dilution Calculator

Solve C1V1 = C2V2 for any one value in M or mM and L or mL, and see how much solvent to add to reach the final volume.

Open tool →

Half-Life Calculator

First-order decay: find the amount remaining, the time elapsed or the half-life, plus the rate constant k, with the working shown.

Open tool →

Henderson-Hasselbalch Calculator

Find a buffer's pH from pKa (or Ka) and the base-to-acid ratio, or the ratio you need for a target pH, with a buffer-range check.

Open tool →

Ideal Gas Law Calculator

Solve PV = nRT for pressure, volume, moles or temperature in atm, kPa, mmHg, L, mL, K or degrees C, with the steps shown.

Open tool →

pH Calculator

Convert between [H3O+], [OH-], pH and pOH, or find the pH of a strong acid, strong base or weak acid with the exact quadratic shown.

Open tool →

All free tools