What is the Moles to Grams Calculator?
This calculator converts an amount of substance measured in moles (mol) into a mass in grams (g). It is one of the most common conversions in chemistry, used in stoichiometry, solution preparation, and lab work. All you need is the number of moles and the molar mass of the compound.
How to use it
Enter the amount in moles (n) and the molar mass (MW) of your substance in grams per mole. The molar mass can be read from the periodic table by summing the atomic masses of every atom in the chemical formula. Click calculate to get the mass in grams.
The formula explained
The relationship is direct and linear:
$$\text{Mass (g)} = \text{Amount (mol)} \times \text{Molar Mass (g/mol)}$$
Because the molar mass tells you how many grams one mole of a substance weighs, multiplying by the number of moles scales that up (or down) to the mass you actually have. The units cancel cleanly: \(\text{mol} \times (\text{g/mol}) = \text{g}\).
Worked example
Suppose you have 2 moles of water (H₂O). The molar mass of water is about 18.015 g/mol (\(2 \times 1.008\) for hydrogen + 15.999 for oxygen). Then:
$$\text{mass} = 2\ \text{mol} \times 18.015\ \text{g/mol} = 36.03\ \text{g}$$
So two moles of water weigh roughly 36 grams.
Common Molar Masses Reference
Molar mass is the mass of one mole of a substance, in grams per mole (g/mol). Values below are rounded standard values based on IUPAC atomic weights; different textbooks may differ slightly in the last decimal place. To convert, use \(m = n \times M\), where \(n\) is moles and \(M\) is molar mass.
| Substance | Formula | Molar mass (g/mol) |
|---|---|---|
| Water | H2O | 18.015 |
| Carbon dioxide | CO2 | 44.009 |
| Sodium chloride | NaCl | 58.44 |
| Oxygen gas | O2 | 31.998 |
| Nitrogen gas | N2 | 28.014 |
| Hydrogen gas | H2 | 2.016 |
| Ammonia | NH3 | 17.031 |
| Methane | CH4 | 16.043 |
| Hydrogen chloride | HCl | 36.46 |
| Sulfuric acid | H2SO4 | 98.079 |
| Sodium hydroxide | NaOH | 39.997 |
| Glucose | C6H12O6 | 180.156 |
| Calcium carbonate | CaCO3 | 100.087 |
| Carbon (element) | C | 12.011 |
| Iron (element) | Fe | 55.845 |
| Copper (element) | Cu | 63.546 |
| Sodium (element) | Na | 22.990 |
Mass of Different Substances at the Same Amount
The same number of moles has very different masses depending on the substance, because molar mass differs. Each value is moles × molar mass, in grams.
| Substance (molar mass) | 0.5 mol | 1 mol | 2 mol |
|---|---|---|---|
| H2 (2.016 g/mol) | 1.008 g | 2.016 g | 4.032 g |
| H2O (18.015 g/mol) | 9.0075 g | 18.015 g | 36.030 g |
| NaCl (58.44 g/mol) | 29.22 g | 58.44 g | 116.88 g |
| Glucose (180.156 g/mol) | 90.078 g | 180.156 g | 360.312 g |
Example substitution: for 2 mol of NaCl, \(m = 2 \times 58.44 = 116.88\) g. Doubling the moles always doubles the mass, since the relationship is linear.
FAQ
Where do I find the molar mass? Add up the atomic masses (from the periodic table) of all atoms in the chemical formula. For example, \(\text{CO}_2 = 12.011 + 2 \times 15.999 = 44.009\ \text{g/mol}\).
Can I go from grams back to moles? Yes — divide mass by molar mass: \(n = m \div MW\).
Does this work for any substance? Yes, as long as you use the correct molar mass for that exact compound or element.