Moles to grams
grams = moles x molar massMolar mass in g/mol is the mass of one mole, so it turns moles into grams.
Where:
moles= Amount of substance in molmolar mass= Grams per mole, from the formulaMass in grams
18.015 g
mol
1
g
18.015
g/mol
18.015
18.015 g
1 mol
18.015 g/mol
6.022 × 10²³
grams = moles x molar massMolar mass in g/mol is the mass of one mole, so it turns moles into grams.
Where:
moles= Amount of substance in molmolar mass= Grams per mole, from the formulamoles = grams / molar massDivide the mass by the molar mass to get the amount in moles.
M = sum of (atoms x atomic weight)Add up every atom in the formula, counting brackets and hydrate water.
Where:
atoms= Number of atoms of one element in the formulaatomic weight= IUPAC standard atomic weight of that elementSource: IUPAC Commission on Isotopic Abundances and Atomic Weights, abridged standard atomic weights
Inputs
Result
NaCl is 22.99 + 35.45 = 58.44 g/mol, and 0.5 x 58.44 = 29.22 g.
Inputs
Result
10 / 58.44 = 0.17112 mol, which is 171.12 mmol.
Inputs
Result
CuSO4 is 159.602 g/mol and five waters add 5 x 18.015 = 90.075, for 249.677 g/mol. 0.1 mol of it weighs 24.9677 g.
To convert mol to grams, multiply the moles by the molar mass in g/mol: grams = moles x molar mass. Water (H2O) is 18.015 g/mol, so 1 mol of water weighs 18.015 g, and 0.5 mol of table salt (NaCl, 58.44 g/mol) weighs 29.22 g.
Multiply the number of moles by the molar mass of the substance. Molar mass is the weight of one mole in grams, so it works as the conversion factor. 2 mol of water is 2 x 18.015, or 36.03 g.
| Moles | H2O (g) | NaCl (g) | CO2 (g) | C6H12O6 (g) |
|---|---|---|---|---|
| 0.1 | 1.8015 | 5.844 | 4.4009 | 18.0156 |
| 0.5 | 9.0075 | 29.22 | 22.0045 | 90.078 |
| 1 | 18.015 | 58.44 | 44.009 | 180.156 |
| 2 | 36.03 | 116.88 | 88.018 | 360.312 |
Divide the grams by the molar mass. 10 g of table salt is 10 / 58.44, which comes to 0.17112 mol. The same 10 g of water is more than half a mole, because a water molecule is much lighter than a unit of salt.
| Grams | H2O (mol) | NaCl (mol) | NaOH (mol) | C6H12O6 (mol) |
|---|---|---|---|---|
| 1 | 0.055509 | 0.017112 | 0.025002 | 0.0055507 |
| 10 | 0.55509 | 0.17112 | 0.25002 | 0.055507 |
| 100 | 5.5509 | 1.7112 | 2.5002 | 0.55507 |
Multiply each element's atomic weight by the number of its atoms and add the results. Brackets multiply everything inside them, and a hydrate dot adds whole water molecules. Copper sulfate pentahydrate (CuSO4.5H2O) is CuSO4 at 159.602 plus five waters at 18.015 each.
| Compound | Formula | Molar mass (g/mol) |
|---|---|---|
| Water | H2O | 18.015 |
| Sodium hydroxide | NaOH | 39.997 |
| Carbon dioxide | CO2 | 44.009 |
| Sodium chloride | NaCl | 58.44 |
| Sulfuric acid | H2SO4 | 98.072 |
| Calcium carbonate | CaCO3 | 100.086 |
| Glucose | C6H12O6 | 180.156 |
It uses the abridged standard atomic weights published by IUPAC, the body that sets them. A few elements, hydrogen and carbon among them, vary slightly in nature, and for those we use the conventional value IUPAC lists for everyday work. A textbook that rounds oxygen to 16.00 will give water as 18.02 g/mol instead of 18.015.
| Element | Symbol | Atomic weight |
|---|---|---|
| Hydrogen | H | 1.008 |
| Carbon | C | 12.011 |
| Nitrogen | N | 14.007 |
| Oxygen | O | 15.999 |
| Sodium | Na | 22.990 |
| Chlorine | Cl | 35.45 |
One mole holds exactly 6.02214076 x 10^23 particles. That number, the Avogadro constant, has been fixed by definition since the SI changed in 2019. So 18.015 g of water holds 6.022 x 10^23 molecules.
| Moles | Particles |
|---|---|
| 0.001 | 6.022 x 10^20 |
| 0.5 | 3.011 x 10^23 |
| 1 | 6.022 x 10^23 |
| 2 | 1.204 x 10^24 |
| 10 | 6.022 x 10^24 |
Each value is moles x molar mass, with the molar mass worked out from the formula. One mole always weighs its molar mass in grams, so the 1 mol column is also a molar mass table.
Hydrates are counted with their water. One mole of copper sulfate crystals (CuSO4.5H2O) is nearly 250 g, while the same mole of dry copper sulfate is about 160 g. Check which form your bottle holds before you weigh it out.
| Formula | 0.1 mol | 0.5 mol | 1 mol | 2 mol |
|---|---|---|---|---|
| H2O | 1.8015 g | 9.0075 g | 18.015 g | 36.03 g |
| NaOH | 3.9997 g | 19.9985 g | 39.997 g | 79.994 g |
| CO2 | 4.4009 g | 22.0045 g | 44.009 g | 88.018 g |
| NaCl | 5.844 g | 29.22 g | 58.44 g | 116.88 g |
| H2SO4 | 9.8072 g | 49.036 g | 98.072 g | 196.144 g |
| CaCO3 | 10.0086 g | 50.043 g | 100.086 g | 200.172 g |
| C6H12O6 | 18.0156 g | 90.078 g | 180.156 g | 360.312 g |
| CuSO4.5H2O | 24.9677 g | 124.839 g | 249.677 g | 499.354 g |
Capital letters matter. Co is cobalt and CO is carbon monoxide, so the calculator will not guess what co means. Type counts as plain digits after the symbol (H2O), and wrap groups in brackets with the count after them, as in Ca(OH)2 or Al2(SO4)3.
For a hydrate, put a dot, a star or a middle dot before the water: CuSO4.5H2O, CuSO4*5H2O. A fraction works as a decimal, so plaster of Paris is CaSO4.0.5H2O. Ion charges such as SO4^2- or NH4+ are dropped, because an electron weighs only 0.00055 g/mol.
Last Updated: Nov 27, 2026
This calculator is provided for informational and educational purposes only. Results are estimates and should not be considered professional financial, medical, legal, or other advice. Always consult a qualified professional before making important decisions. UseCalcPro is not responsible for any actions taken based on calculator results.