How to Calculate Grams to Moles: A Step-by-Step Guide

Understanding how to convert grams to moles is a fundamental skill in chemistry. While our Grams to Moles Calculator handles the math instantly, knowing the manual process helps you grasp the underlying concept. This guide walks you through each step, from gathering the necessary information to performing the calculation accurately.

What You'll Need

  • Periodic table – to find the molar mass of each element in the compound.
  • Chemical formula of the substance you're converting.
  • Mass of the sample in grams.
  • Calculator or pen and paper for the arithmetic.

Step-by-Step Instructions

  1. Write down the given mass. Make sure the mass is in grams (g). If not, convert to grams first.
  2. Identify the compound and its chemical formula. If you're working with an element like oxygen (O₂), note that it's diatomic.
  3. Calculate the molar mass of the substance. Sum the atomic masses of all atoms in the formula (in g/mol). Use the periodic table for atomic masses.
  4. Use the conversion formula: moles = mass (g) / molar mass (g/mol).
  5. Divide the mass by the molar mass to get the number of moles.
  6. Round your answer to the correct number of significant figures (usually matching the least precise measurement).
  7. Check your work by ensuring the units cancel – grams cancel, leaving moles.

Worked Example 1: Water (H₂O)

You have 36.0 g of water. What is the number of moles?

  • Molar mass of H₂O: H = 1.01 g/mol × 2 = 2.02 g/mol; O = 16.00 g/mol; total = 18.02 g/mol.
  • moles = 36.0 g / 18.02 g/mol = 1.9978 mol ≈ 2.00 mol (three significant figures).

So 36.0 g of water contains about 2.00 moles.

Worked Example 2: Carbon Dioxide (CO₂)

A sample of CO₂ has a mass of 88.0 g. How many moles?

  • Molar mass of CO₂: C = 12.01 g/mol; O = 16.00 g/mol × 2 = 32.00 g/mol; total = 44.01 g/mol.
  • moles = 88.0 g / 44.01 g/mol = 1.9995 mol ≈ 2.00 mol (three sig figs).

Thus, 88.0 g of CO₂ is about 2.00 moles.

Common Pitfalls to Avoid

  • Using the wrong molar mass: Always check the formula and the atomic masses on the periodic table.
  • Unit mismatch: Ensure mass is in grams – if given in kilograms, multiply by 1000 first.
  • Forgetting significant figures: The number of moles should reflect the precision of your input. For example, 36.0 g (three sig figs) gives moles with three sig figs.
  • Confusing grams‑to‑moles with moles‑to‑grams: Reverse the formula for the opposite conversion.

For a deeper dive into the concept, read our page on What is Grams to Moles? and see the formula derivation. If you have questions, check the FAQ.

Try the free Grams to Moles Calculator ⬆

Get your Grams to Moles result instantly — no signup, no clutter.

Open the Grams to Moles Calculator

Contact Us