SightSolveSightSolve AI
All skills

Converting grams to moles (and back): 3 worked examples

Chemistry · Updated 2026-09-05

Molar mass is the bridge between grams and moles. Add up the atomic masses on the periodic table to get the molar mass of the compound in g/mol, then divide grams by molar mass to get moles, or multiply moles by molar mass to get grams. Keep the units in the calculation so you can see them cancel.

Example 1

Problem. How many moles are in 36.0 g of water, H2O? The molar mass of water is 18.02 g/mol.

To find the number of moles ($n$) in a given mass ($m$) of a substance, we use the formula:
$n = \frac{m}{M}$
where $M$ is the molar mass of the substance.
Given:
Mass ($m$) = $36.0\text{ g}$
Molar mass ($M$) = $18.02\text{ g/mol}$

Substitute the values into the formula:
$n = \frac{36.0\text{ g}}{18.02\text{ g/mol}}$
$n \approx 1.99777...\text{ mol}$

Rounding to three significant figures (matching the precision of the given mass), we get:
$n \approx 2.00\text{ mol}$

Final answer: 2.00 mol

Example 2

Problem. How many moles are in 11.0 g of carbon dioxide, CO2? Molar mass of CO2 is 44.01 g/mol.

To find the number of moles in a substance, we use the formula:
$n = \frac{m}{M}$
where $n$ is the number of moles, $m$ is the mass of the substance in grams, and $M$ is the molar mass of the substance in grams per mole.

Given:
Mass ($m$) = $11.0$ g
Molar mass ($M$) = $44.01$ g/mol

Substitute these values into the formula:
$n = \frac{11.0 \text{ g}}{44.01 \text{ g/mol}}$

$n \approx 0.249943$ mol

Rounding to three significant figures (matching the precision of the given $11.0$ g), we get $0.250$ mol.

Final answer: 0.250 mol

Example 3

Problem. What is the mass in grams of 0.750 mol of sodium chloride, NaCl? Molar mass of NaCl is 58.44 g/mol.

To find the mass of a substance when the number of moles and the molar mass are known, we use the formula:
$\text{mass} = \text{moles} \times \text{molar mass}$

Given:
$\text{moles} = 0.750 \text{ mol}$
$\text{molar mass} = 58.44 \text{ g/mol}$

Substitute the values into the formula:
$\text{mass} = 0.750 \text{ mol} \times 58.44 \text{ g/mol}$
$\text{mass} = 43.83 \text{ g}$

Final answer: 43.83 g

Where this shows up

IXL Chemistry (Convert between mass and moles), Delta Math, Khan Academy Stoichiometry. The wording changes, the method does not.

Stuck on a different problem? Screenshot it. SightSolve reads any question on your screen and explains it step by step, the same way as above, in about ten seconds.

Add to Chrome, it's freeFree: 60 credits a week, no account. Works on Canvas, IXL, Delta Math, McGraw Hill Connect, Khan Academy, WebAssign and PDFs.

More skills