Moles to Grams Calculator

Convert moles to mass in grams using the molecular weight of your substance. Formula: m = n × MW.

Number of moles (mol)
g/mol — see common values below
Result
Enter moles and molecular weight

Enter the number of moles and the molecular weight to calculate mass.

How to Convert Moles to Grams

  1. Find the molecular weight (MW) of your substance from the periodic table or the table below.
  2. Multiply the number of moles by the molecular weight.
  3. The result is the mass in grams.

Example: You need 0.25 mol of NaOH. How many grams?
m = 0.25 mol × 40.00 g/mol = 10.00 g

Moles to Grams Formula

m = n × MW

Where:

  • m = mass (grams)
  • n = number of moles (mol)
  • MW = molecular weight (g/mol)

Practical Example

A common lab task is to prepare a given amount of solute for a solution:

Problem: You need 0.1 mol of glucose (C₆H₁₂O₆, MW 180.16 g/mol) for an experiment. How many grams should you weigh?

Solution:
m = 0.1 mol × 180.16 g/mol = 18.016 g

Weigh 18.016 g of glucose on a balance, then dissolve in solvent.

Common Molecular Weights

Click any row to use that molecular weight in the calculator above.

CompoundFormulaMW (g/mol)
WaterH₂O18.015
Sodium chlorideNaCl58.44
Sodium hydroxideNaOH40.00
Hydrochloric acidHCl36.46
Sulfuric acidH₂SO₄98.08
Nitric acidHNO₃63.01
GlucoseC₆H₁₂O₆180.16
EthanolC₂H₅OH46.07
Acetic acidCH₃COOH60.05
Carbon dioxideCO₂44.01
Calcium carbonateCaCO₃100.09
SucroseC₁₂H₂₂O₁₁342.30

Frequently Asked Questions

How do I convert moles to grams?

Multiply the number of moles by the molecular weight in g/mol. Formula: mass = moles × MW.

Example: 0.5 mol NaCl × 58.44 g/mol = 29.22 g.

What is the formula for moles to grams?

m = n × MW, where m is mass in grams, n is moles, and MW is molecular weight in g/mol. It is the inverse of the grams-to-moles formula n = m ÷ MW.

How many grams in 1 mole?

The mass of 1 mole equals the molecular weight in grams:

  • Water (MW 18.015): 1 mol = 18.015 g
  • NaCl (MW 58.44): 1 mol = 58.44 g
  • Glucose (MW 180.16): 1 mol = 180.16 g

What is molecular weight?

Molecular weight is the mass of one mole of a substance in g/mol. It is calculated by summing the atomic masses of all atoms in the chemical formula from the periodic table.

How do I prepare a solution of N moles?

First calculate the mass needed using mass = moles × MW. Then weigh that mass on a balance, dissolve it in solvent, and dilute to the target volume. Use our Molarity Calculator to compute volume and concentration directly.

Related Chemistry Tools

All calculations on CoolConversion use formulas and constants documented by internationally recognised standards bodies (such as IUPAC and NIST).

Conversion factors verified against NIST, BIPM Based on SI definitions (BIPM). Last reviewed: March 2026
Tiago Fernandes Reviewed by Tiago Fernandes