POST · CHEMISTRY

What Is Molar Mass? How to Calculate It

The mass of one mole — explained with a simple formula, step-by-step examples, and a live calculator you can play with.

7 MIN READ · INTERACTIVE CALCULATOR INSIDE

If you've ever measured out 18 grams of water and wondered why that number matters, you're already circling molar mass. It's the bridge between the invisible world of atoms and the measurable world of grams on a scale.

Molar mass is the mass of one mole of a substance, expressed in grams per mole (g/mol). It tells you how much a fixed number of particles — 6.022 × 10²³ of them, known as Avogadro's number — actually weighs in the lab. Once you know it, you can convert between grams and moles in a single step, which is the core move behind almost every stoichiometry problem.

Molar Mass: A Simple Definition

One mole is just a counting unit, like a dozen but much larger. Instead of 12 items, a mole contains 6.022 × 10²³ items — atoms, molecules, ions, or whatever else you're counting. Molar mass is what one of those moles weighs.

For a pure element, the molar mass in g/mol is numerically equal to its atomic mass on the periodic table. Carbon has an atomic mass of about 12.01, so its molar mass is 12.01 g/mol. Oxygen's atomic mass is about 16.00, so its molar mass is 16.00 g/mol. That numeric coincidence is not an accident — it's how the mole was designed.

n = m / M n = moles (mol)  ·  m = mass (g)  ·  M = molar mass (g/mol)

Rearranged, this gives you the two conversions you'll use constantly: m = n × M (moles to grams) and n = m ÷ M (grams to moles).

How to Calculate Molar Mass from a Formula

The process is the same for any chemical formula, simple or complex. You multiply the atomic mass of each element by the number of atoms of that element in the formula, then add everything together.

  1. Write the chemical formula and identify every element present.
  2. Count the atoms of each element — use the subscripts, and multiply through any parentheses.
  3. Look up the atomic mass of each element on the periodic table (round to two decimal places for most schoolwork).
  4. Multiply each atomic mass by its atom count.
  5. Add all the values together — that sum is the molar mass in g/mol.

Worked Examples: Molar Mass of Common Compounds

Let's run through four formulas you'll meet again and again. Each one uses the same five-step process, just with different numbers.

Example 1 — Water, H₂O

Water has two hydrogen atoms and one oxygen atom.

  1. Hydrogen: 2 × 1.008 = 2.016 g/mol
  2. Oxygen: 1 × 16.00 = 16.00 g/mol
  3. Add them: 2.016 + 16.00 = 18.02 g/mol

Example 2 — Carbon dioxide, CO₂

Carbon dioxide has one carbon atom and two oxygen atoms.

  1. Carbon: 1 × 12.01 = 12.01 g/mol
  2. Oxygen: 2 × 16.00 = 32.00 g/mol
  3. Add them: 12.01 + 32.00 = 44.01 g/mol

Example 3 — Sodium chloride, NaCl

Table salt has one sodium atom and one chlorine atom.

  1. Sodium: 1 × 22.99 = 22.99 g/mol
  2. Chlorine: 1 × 35.45 = 35.45 g/mol
  3. Add them: 22.99 + 35.45 = 58.44 g/mol

Example 4 — Glucose, C₆H₁₂O₆

Glucose has six carbon atoms, twelve hydrogen atoms, and six oxygen atoms.

  1. Carbon: 6 × 12.01 = 72.06 g/mol
  2. Hydrogen: 12 × 1.008 = 12.096 g/mol
  3. Oxygen: 6 × 16.00 = 96.00 g/mol
  4. Add them: 72.06 + 12.096 + 96.00 = 180.16 g/mol
Quick tip

When a formula has parentheses like Ca(OH)₂, multiply everything inside by the subscript outside. Ca(OH)₂ has 1 calcium, 2 oxygens, and 2 hydrogens — not 1 oxygen and 1 hydrogen.

Try It: Live Molar Mass Calculator

Pick a compound from the list or enter a simple formula, and the calculator will walk through the same multiplication and addition steps you'd do by hand.

Molar mass 18.02 g/mol
2 × H (1.008) + 1 × O (16.00) = 18.02 g/mol

This mini-calculator handles formulas with letters, numbers, and parentheses. It rounds atomic masses to two decimals, matching typical schoolwork.

Molar Mass vs. Molecular Weight vs. Formula Mass

These three terms get used almost interchangeably in classrooms, and for most calculations that's fine. But they're not quite the same thing, and knowing the difference keeps you precise when it matters.

TermWhat it meansUnitsWhen you'll see it
Molar massMass of one mole of a substanceg/molStoichiometry, lab measurements, converting grams to moles
Molecular weightRatio of a molecule's mass to 1/12 the mass of a carbon-12 atomNo units (dimensionless)Older textbooks, biochemistry, some仪器 readouts
Formula massSum of atomic masses in a formula unit, used for ionic compoundsamu or g/molIonic solids like NaCl, where "molecule" isn't quite right

For everyday chemistry, the number you get is the same no matter which term you use. The distinction matters most when you're writing formal definitions or working with ionic compounds where individual molecules don't exist.

Using Molar Mass to Convert Grams and Moles

The real power of molar mass shows up when you need to move between the scale in your lab and the particles in your reaction. Here's the core relationship in action.

n = m / M Divide the mass in grams by the molar mass in g/mol to get moles.

Example: You weigh out 36.04 g of water. How many moles is that?

  1. Molar mass of water: M = 18.02 g/mol
  2. Divide: n = 36.04 g ÷ 18.02 g/mol
  3. Result: n = 2.00 mol

Going the other way, if you need 0.50 mol of NaCl for a solution:

  1. Molar mass of NaCl: M = 58.44 g/mol
  2. Multiply: m = 0.50 mol × 58.44 g/mol
  3. Result: m = 29.22 g
Why this matters

Every balanced chemical equation is really a recipe in moles. Molar mass is the translation layer that turns "2 moles of water" into "36.04 grams of water" — the number you can actually measure on a balance.

Molar Masses You'll Use Often

Here's a quick-reference table of compounds that come up repeatedly in introductory chemistry, along with their formulas and molar masses.

CompoundFormulaMolar mass (g/mol)
WaterH₂O18.02
Carbon dioxideCO₂44.01
Sodium chlorideNaCl58.44
GlucoseC₆H₁₂O₆180.16
AmmoniaNH₃17.03
Calcium carbonateCaCO₃100.09
EthanolC₂H₅OH46.07
Sulfuric acidH₂SO₄98.08
Sodium hydroxideNaOH40.00
Oxygen gasO₂32.00

Practice Problems (With Answers)

Try these on your own first, then check the worked steps below.

Problem 1: What is the molar mass of methane, CH₄?

  1. Carbon: 1 × 12.01 = 12.01
  2. Hydrogen: 4 × 1.008 = 4.032
  3. Total: 12.01 + 4.032 = 16.04 g/mol

Problem 2: What is the molar mass of calcium hydroxide, Ca(OH)₂?

  1. Calcium: 1 × 40.08 = 40.08
  2. Oxygen: 2 × 16.00 = 32.00
  3. Hydrogen: 2 × 1.008 = 2.016
  4. Total: 40.08 + 32.00 + 2.016 = 74.10 g/mol

Problem 3: How many grams are in 0.25 mol of CO₂?

  1. Molar mass of CO₂: 44.01 g/mol
  2. Mass = 0.25 mol × 44.01 g/mol
  3. Result: 11.00 g
Common mistake

The most frequent error is forgetting to multiply by the subscript. In H₂O, the "2" applies only to hydrogen, not to the whole formula. In Ca(OH)₂, the "2" applies to everything inside the parentheses — both oxygen and hydrogen.

FAQ

Questions people actually ask.

The short answers — with the long ones one tap away.

What is molar mass in simple words?+

Molar mass is the mass of one mole of a substance, measured in grams per mole (g/mol). It tells you how much one mole of atoms, molecules or formula units weighs — the bridge between the invisible world of particles and the grams on your lab scale.

How do you calculate molar mass from a chemical formula?+

Multiply the atomic mass of each element by how many atoms of that element appear in the formula, then add all those values together. The result is the molar mass in g/mol. For example, H₂O = 2 × 1.008 + 1 × 16.00 = 18.02 g/mol.

What is the molar mass of water (H₂O)?+

Water has 2 hydrogen atoms (1.008 g/mol each) and 1 oxygen atom (16.00 g/mol). 2 × 1.008 + 16.00 = 18.02 g/mol.

What is the molar mass of carbon dioxide (CO₂)?+

Carbon dioxide has 1 carbon atom (12.01 g/mol) and 2 oxygen atoms (16.00 g/mol each). 12.01 + 2 × 16.00 = 44.01 g/mol.

Is molar mass the same as molecular weight?+

They are numerically the same but not identical in meaning. Molecular weight is a dimensionless ratio, while molar mass is a physical quantity with units of g/mol. In practice, people often use them interchangeably.

How do you convert grams to moles using molar mass?+

Divide the mass in grams by the molar mass in g/mol. For example, 36.04 g of water ÷ 18.02 g/mol = about 2.00 moles of water.

Why is the molar mass of an element numerically equal to its atomic mass?+

Because the mole was defined that way — one mole of carbon-12 atoms weighs exactly 12 grams. This makes the atomic mass in amu and the molar mass in g/mol numerically identical for any element.