How to Convert Moles to Grams
Moles are the chemist’s currency, grams are the receipt
Every balanced equation in chemistry talks in moles. Every balance in your lab reads in grams. Mole-to-gram conversion is the translator between the two — it is the single most-used calculation in stoichiometry, solution prep, yield analysis, and limiting-reagent problems. If you cannot do it in your sleep by the third week of gen chem, every subsequent topic gets harder than it needs to be.
The arithmetic is one multiplication or one division. The trap, almost always, is in figuring out the molar mass — getting subscripts right, handling parentheses, distinguishing atomic number from atomic mass. Master the molar-mass step and the rest is unit cancellation.
The relationship
The molar mass of a substance is the mass (in grams) of one mole of it — Avogadro’s number of formula units. For water, that’s 18.015 g/mol. The conversion goes both directions:
mass (g) = moles (mol) × molar mass (g/mol)
Rearranged for the other direction:
moles (mol) = mass (g) / molar mass (g/mol)
Dimensional analysis tells you which to use. If grams cancel, you’re going to moles. If mol cancels, you’re going to grams. Track units and you cannot pick the wrong operation.
How to compute molar mass
For a formula like Ca(OH)₂:
- Identify each element and its count: Ca × 1, O × 2, H × 2.
- Look up atomic masses from the periodic table: Ca = 40.078, O = 15.999, H = 1.008.
- Multiply count × atomic mass: 40.078, 31.998, 2.016.
- Sum: 40.078 + 31.998 + 2.016 = 74.092 g/mol.
Parentheses distribute the subscript outside to every element inside. (NH₄)₂SO₄ has 2 N, 8 H, 1 S, 4 O. A hydrate notation like CuSO₄·5H₂O adds 5 waters to the formula unit — 5 extra O and 10 extra H.
Worked examples
Water, mol to g. Convert 3.50 mol H₂O to grams.
Molar mass H₂O = (2 × 1.008) + 15.999 = 18.015 g/mol Mass = 3.50 × 18.015 = 63.05 g
NaCl, g to mol. Convert 25.0 g NaCl to moles.
Molar mass NaCl = 22.990 + 35.453 = 58.443 g/mol Moles = 25.0 / 58.443 = 0.4278 mol
Glucose, mol to g. Convert 0.250 mol C₆H₁₂O₆ to grams.
Molar mass = (6 × 12.011) + (12 × 1.008) + (6 × 15.999) = 72.066 + 12.096 + 95.994 = 180.156 g/mol Mass = 0.250 × 180.156 = 45.04 g
Sulfuric acid, g to mol. Convert 150.0 g H₂SO₄ to moles.
Molar mass = (2 × 1.008) + 32.065 + (4 × 15.999) = 98.079 g/mol Moles = 150.0 / 98.079 = 1.529 mol
Calcium carbonate, g to mol. Convert 500 g CaCO₃ to moles.
Molar mass = 40.078 + 12.011 + (3 × 15.999) = 100.086 g/mol Moles = 500 / 100.086 = 4.996 mol
A useful sanity check: a mole of any small molecule typically weighs somewhere between 18 (water) and ~250 g. If you’re computing moles and getting an answer that is wildly off from grams/100, recheck the molar mass.
Where this conversion shows up in real problems
- Stoichiometry. A balanced equation gives mole ratios. To weigh out reagents, you must convert moles to grams. To find product mass, you start with limiting-reagent grams, convert to moles, apply the ratio, convert product moles back to grams.
- Solution preparation. “Make 250 mL of 0.100 M NaCl.” That’s 0.0250 mol of NaCl, which means 0.0250 × 58.443 = 1.46 g on the balance.
- Theoretical yield. Calculated in moles from the equation, reported in grams to compare against your isolated product.
- Limiting reagent problems. Convert each reactant to moles, divide by its coefficient, smaller value is limiting. Convert back to grams of product at the end.
The pattern is so reliable that experienced chemists barely notice they are doing it — but they are doing it on every quantitative problem.
Traps to watch
- Atomic number ≠ atomic mass. Carbon’s atomic number is 6 (number of protons). Its atomic mass is 12.011 g/mol. Use the mass.
- Forgetting subscripts. H₂SO₄ has 4 oxygen atoms, not 1. Multiply.
- Inverting the formula. mol → g multiplies. g → mol divides. Track units and you’ll catch this every time before you submit.
- Computing molar mass from the wrong formula. Ca(OH)₂ is calcium plus two hydroxide groups, not CaO plus H₂. Parse the formula correctly first, then sum the masses.
- Rounding too early. Use four significant figures in atomic masses through the calculation; round only at the end.
The Molar Mass Calculator parses any chemical formula — including hydrates and nested parentheses — and shows the per-element breakdown so you can verify your hand calculation.
Ready to try it yourself?
Open Calculator