How to convert grams to moles
The molar mass is the mass in grams of one mole of a substance (g/mol). Divide grams by it to get moles; multiply moles by it to get grams. For a compound, add up the atomic masses in its formula, or look it up.
Here it is with your numbers:
- The molar mass of water is 18.015 g/mol: one mole weighs 18.015 g.
- 18 g ÷ 18.015 g/mol = 0.9992 mol.
- Times Avogadro’s number (6.022 × 10²³ per mole), that is 6.017 × 10²³ particles.
It means 18 g of water holds 0.9992 moles, or 6.017 × 10²³ atoms or molecules.
Source OpenStax · Chemistry 2e, 3.1 Formula Mass and the Mole Concept ↗NIST CODATA · Avogadro constant ↗
Common compounds
Molar masses from PubChem (each links to its page), with your amount worked out for each.
| Substance | Molar mass | Answer |
|---|---|---|
| Water, H₂O | 18.015 g/mol | 0.9992 mol |
| Table salt, NaCl | 58.44 g/mol | 0.3080 mol |
| Glucose, C₆H₁₂O₆ | 180.16 g/mol | 0.09991 mol |
| Table sugar (sucrose), C₁₂H₂₂O₁₁ | 342.3 g/mol | 0.05259 mol |
| Carbon dioxide, CO₂ | 44.009 g/mol | 0.4090 mol |
FAQs
How do you convert grams to moles?
Divide the mass in grams by the molar mass in g/mol. OpenStax’s example: 4.7 g of potassium ÷ 39.10 g/mol = 0.12 mol. To go back, multiply moles by the molar mass.
Source OpenStax · Chemistry 2e, 3.1 Formula Mass and the Mole Concept ↗
How many atoms in a mole?
Exactly 6.022 140 76 × 10²³, the Avogadro constant. Since 2019 this number defines the mole.
What is the difference between grams and moles?
Grams measure mass; moles count particles (atoms or molecules). One mole of anything has the same number of particles, but its mass, the molar mass, depends on the substance: 18.015 g for water, 58.44 g for table salt.
Source OpenStax · Chemistry 2e, 3.1 Formula Mass and the Mole Concept ↗
Sources
- OpenStax: Chemistry 2e, 3.1 Formula Mass and the Mole Concept
- NIST CODATA: Avogadro constant
- PubChem (NIH): Water, molecular weight
- PubChem (NIH): Table salt, molecular weight
- PubChem (NIH): Glucose, molecular weight
- PubChem (NIH): Table sugar (sucrose), molecular weight
- PubChem (NIH): Carbon dioxide, molecular weight