Moles to Grams Calculator
Enter the amount of substance (moles) and the molar mass; using m = n·M the tool instantly computes the mass (grams) of solute or reagent needed — the basis of solution prep and stoichiometry.
Input Data
Results
At a glance:Moles-to-grams is the most basic and most common conversion in chemistry: turning the 'amount of substance in moles (mol)' into 'mass in grams (g)'. The bridge is the molar mass M — the mass of one mole of the substance, unit g/mol, numerically equal to its formula mass (sum of atomic or molecular weights). The three quantities relate by m = n·M, where n is the amount (mol), M is the molar mass (g/mol) and m is the mass (g); reversed it is n = m/M (grams to moles), or M = m/n (molar mass from mass and moles). To understand why this conversion is needed, first grasp what a 'mole' means: chemical reactions proceed by 'ratios of particle numbers' (e.g. 2H₂ + O₂ → 2H₂O is 2 hydrogen molecules to 1 oxygen molecule), but a lab balance measures mass, not particle count. The mole is the bridge linking 'microscopic particle count' to 'macroscopic mass': 1 mol of any substance contains Avogadro's constant 6.022×10²³ particles, and the mass of that many particles equals the substance's formula mass in grams (i.e. the molar mass). So as long as you know how many moles you need and the substance's molar mass, you can compute how many grams to weigh. Using this tool's default: take 2 mol of sodium chloride (NaCl), its molar mass M = 22.99 (Na) + 35.45 (Cl) = 58.44 g/mol, so the required mass m = 2 × 58.44 = 116.88 g. Molar masses of common substances: water H₂O = 18.02, sodium chloride NaCl = 58.44, glucose C₆H₁₂O₆ = 180.16, sodium carbonate Na₂CO₃ = 105.99, sodium hydroxide NaOH = 40.00 g/mol; the molar mass is obtained by summing the atomic weights of every atom in the formula (from the periodic table) by count. This conversion has very broad uses: first, when preparing a solution of a specified molar concentration, first compute the required moles from n = C·V, then convert to grams to weigh using m = n·M. Second, in stoichiometric calculations, convert the moles of reactant or product into weighable mass, or reverse — convert the weighed mass into moles to judge the limiting reagent and compute theoretical yield. Third, dilution, titration and standard preparation all rely on this step. Notes: first, the molar mass must be computed from the correct formula; hydrates (e.g. CuSO₄·5H₂O) must include the water of crystallisation. Second, the units of n and m must match M (if M is g/mol, then n is mol and m is g; kg/kmol also works with the same number). Third, this tool assumes you already know the molar mass and computes m from n and M; to reverse from mass to moles use n = m/M. In short, m = n·M is the key step that translates the 'mole language' of stoichiometry into the 'grams' a balance can measure — an essential tool for every chemistry student and lab worker.
Formula
Moles to grams: m = n · M.
Reverse (grams to moles): n = m ÷ M.
Molar mass from mass and moles: M = m ÷ n.
n is amount (mol), M molar mass (g/mol), m mass (g).
$$m = n \times M$$$$n = \dfrac{m}{M}$$How to Use
- Enter the amount of substance n to weigh (moles, mol).
- Enter the substance molar mass M (g/mol, summed from the formula mass or looked up).
- The right panel instantly shows the required mass m (g).
Molar masses and mass of 1 / 2 mol of common substances
| Substance | Formula | Molar Mass M (g/mol) | 1 mol (g) | 2 mol (g) |
|---|---|---|---|---|
| Water | H₂O | 18.02 | 18.02 | 36.04 |
| Sodium chloride | NaCl | 58.44 | 58.44 | 116.88 |
| Sodium hydroxide | NaOH | 40.00 | 40.00 | 80.00 |
| Glucose | C₆H₁₂O₆ | 180.16 | 180.16 | 360.32 |
| Sodium carbonate | Na₂CO₃ | 105.99 | 105.99 | 211.98 |
Mass = moles × molar mass; molar mass is the sum of atomic weights by count in the formula.
Case Studies
Weighing 2 mol of sodium chloride
An experiment needs 2 mol of sodium chloride (NaCl) as a reactant.
NaCl molar mass M = 22.99 + 35.45 = 58.44 g/mol, required mass m = 2 × 58.44 = 116.88 g.
Weigh about 116.88 g NaCl on the balance = 2 mol, ready for reaction or solution prep.
Preparing 0.5 mol of glucose solution
You want to prepare a solution containing 0.5 mol of glucose (C₆H₁₂O₆).
Glucose molar mass M = 180.16 g/mol, required mass m = 0.5 × 180.16 = 90.08 g.
Weigh 90.08 g glucose, dissolve in water and make up to the desired volume, to get a 0.5 mol glucose solution.
FAQ
How is the molar mass computed?
The molar mass equals the formula mass: sum each element's atomic weight (from the periodic table) times its atom count. E.g. H₂O = 2×1.008 + 16.00 = 18.02 g/mol; hydrates must include the water of crystallisation.
What is the difference between moles to grams and grams to moles?
They are the forward and reverse of the same relation m = n·M. Moles to grams computes mass from known moles (m = n·M, this tool); grams to moles computes moles from known mass (n = m/M). Either conversion only needs the molar mass M.
Why convert to moles first in chemistry calculations?
Because chemical reactions proceed by particle-count ratios, and the mole is the unit for counting particles (1 mol = 6.022×10²³ particles). A balance measures mass; converting mass to moles via the molar mass lets you apply the equation's stoichiometric coefficients.
Must the unit be g/mol?
As long as units are self-consistent. If M is g/mol, then n is mol and m comes out in g; if you use kg/kmol, the number equals g/mol and m is in kg. The key is that n, M, m units match.
How to compute the molar mass of a hydrate?
Include the water of crystallisation. E.g. copper(II) sulphate pentahydrate CuSO₄·5H₂O molar mass = CuSO₄ (159.61) + 5×H₂O (5×18.02) = 249.71 g/mol. Computing only the anhydrous salt would under-weigh and make the prepared concentration too high.
Related Tools
References
Content review: Calculatorism Science Team. Results are for reference only; please refer to the relevant authorities for the official figures.