Chemists cannot count atoms one by one, so they count them in huge, fixed groups called moles. Converting between grams, which you can weigh on a scale, and moles, which tell you how many particles you have, is one of the most common skills in chemistry. This guide explains what a mole is, shows how to find molar mass, and works through step-by-step examples for converting grams to moles, moles to grams, and moles to particles.
Quick Answer
Moles = mass in grams ÷ molar mass (g/mol)
To convert grams to moles, divide the mass of your sample by the molar mass of the substance. To go the other way, multiply moles by the molar mass.
Example: 36.0 g of water has a molar mass of 18.015 g/mol, so 36.0 ÷ 18.015 = about 2.00 moles.
What Is a Mole?
A mole is a counting unit, like a dozen. A dozen is 12 items, and a mole is 6.022 × 10²³ items. That number is called Avogadro’s number. The items can be atoms, molecules, ions or any other particle.
The mole is useful because of how it connects to mass. One mole of a substance has a mass in grams equal to its atomic or molecular mass in atomic mass units. One mole of carbon-12 atoms, for instance, has a mass of 12 grams.
What Is Molar Mass?
Molar mass is the mass of one mole of a substance, measured in grams per mole (g/mol). You find it by adding up the atomic masses of every atom in the chemical formula. Atomic masses come from the periodic table.
Common atomic masses (rounded):
| Element | Symbol | Atomic mass (g/mol) |
|---|---|---|
| Hydrogen | H | 1.008 |
| Carbon | C | 12.011 |
| Oxygen | O | 15.999 |
| Sodium | Na | 22.990 |
| Chlorine | Cl | 35.45 |
Example: molar mass of water (H₂O)
Water has 2 hydrogen atoms and 1 oxygen atom.
2 × 1.008 + 15.999 = 2.016 + 15.999 = 18.015 g/mol
Example: molar mass of carbon dioxide (CO₂)
12.011 + 2 × 15.999 = 12.011 + 31.998 = 44.009 g/mol
Example: molar mass of table salt (NaCl)
22.990 + 35.45 = 58.44 g/mol
How to Convert Grams to Moles
- Write the chemical formula of the substance.
- Calculate the molar mass by adding the atomic masses.
- Divide the mass in grams by the molar mass.
Example 1: Grams of water to moles
How many moles are in 36.0 g of water?
moles = 36.0 g ÷ 18.015 g/mol = 1.998 mol, or about 2.00 mol.
Example 2: Grams of salt to moles
How many moles are in 10.0 g of NaCl?
moles = 10.0 g ÷ 58.44 g/mol = 0.171 mol
Example 3: Grams of carbon dioxide to moles
How many moles are in 88.0 g of CO₂?
moles = 88.0 g ÷ 44.009 g/mol = 2.00 mol
How to Convert Moles to Grams
Rearrange the formula: mass = moles × molar mass
Example 4: Glucose
How many grams are in 0.250 mol of glucose (C₆H₁₂O₆)?
First find the molar mass:
- Carbon: 6 × 12.011 = 72.066
- Hydrogen: 12 × 1.008 = 12.096
- Oxygen: 6 × 15.999 = 95.994
- Total: 72.066 + 12.096 + 95.994 = 180.156 g/mol
Then: mass = 0.250 mol × 180.156 g/mol = 45.0 g
How to Convert Moles to Particles
Multiply the number of moles by Avogadro’s number.
particles = moles × 6.022 × 10²³
Example 5: Molecules in a sample
How many water molecules are in 2.00 mol of water?
2.00 × 6.022 × 10²³ = 1.204 × 10²⁴ molecules
Example 6: Grams to particles in two steps
How many water molecules are in 9.00 g of water?
- Grams to moles: 9.00 ÷ 18.015 = 0.4996 mol
- Moles to molecules: 0.4996 × 6.022 × 10²³ = 3.01 × 10²³ molecules
Conversion Summary
| You have | You want | Do this |
|---|---|---|
| Grams | Moles | Divide by molar mass |
| Moles | Grams | Multiply by molar mass |
| Moles | Particles | Multiply by 6.022 × 10²³ |
| Particles | Moles | Divide by 6.022 × 10²³ |
Common Mistakes to Avoid
- Using the atomic number instead of the atomic mass. The atomic number is the whole number of protons. You need the atomic mass, the decimal number.
- Forgetting the subscripts. In H₂O you must count two hydrogen atoms. In Ca(OH)₂ the 2 applies to everything inside the brackets.
- Mixing units. Molar mass uses grams. If your mass is in milligrams, divide by 1,000 to convert to grams first.
- Forgetting that some elements are diatomic. Oxygen gas is O₂, so its molar mass is 31.998 g/mol, not 15.999 g/mol.
- Rounding too early. Keep extra digits during the calculation and round at the end, following your course’s significant figure rules.
Check Your Work With the Calculator
Try your own numbers in the Grams to Moles Calculator. Enter the mass and the molar mass, and compare the result with your hand calculation.
Frequently Asked Questions
What is the formula for converting grams to moles?
Moles = mass (g) ÷ molar mass (g/mol).
How do I find the molar mass of a compound?
Add the atomic masses of every atom in the formula, using the periodic table and counting each atom according to its subscript.
What is Avogadro’s number?
It is 6.022 × 10²³, the number of particles in one mole of a substance.
Is the molar mass the same as the molecular weight?
They have the same numerical value. Molar mass is expressed in g/mol, while molecular weight is expressed in atomic mass units.
Why do textbooks give slightly different molar masses?
The periodic table values are rounded differently. A small difference is normal. Use the values your teacher or textbook specifies.
Final Takeaway
The mole connects the tiny world of atoms to the weights you can measure in a lab. Find the molar mass, divide to go from grams to moles, multiply to go back, and use Avogadro’s number whenever you need to count particles.