Grams to Moles Calculator
Test cases replayed : 2 of 2 match · Methodology · No outside source listed
Enter the mass in grams and the molar mass of the substance.
Result
Amountmol
Amount (mmol)
- Particles: coefficient
- Particles: × 10 to the power
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Mass, in g: enter 0 or more.
- Molar mass, in g/mol: enter 0 or more.
- Read the result: Amount; the panel also shows Amount (mmol), Particles: coefficient and Particles: × 10 to the power.
How this calculator works
Moles n = mass m ÷ molar mass M. Particles = n × N_A, with N_A = 6.02214076 × 10²³ mol⁻¹ (CODATA 2022 values from NIST (physics.nist.gov/cuu/Constants, read 2026-10-27)).
The default is water: M = 2 × 1.0080 + 15.999 = 18.015 g/mol (CIAAW abridged standard atomic weights 2024 (ciaaw.org/abridged-atomic-weights.htm, read 2026-10-27)). Use the molar mass calculator for other formulas. Moles to grams is the reverse: m = n × M.
The formula
| Symbol | Meaning | Unit |
|---|---|---|
| Mass | g | |
| Molar mass | g/mol | |
| Amount | mol |
Worked example
| Mass | 36.03 g |
|---|---|
| Molar mass | 18.015 g/mol |
| Particles: coefficient | 1.2044 |
|---|---|
| Particles: × 10 to the power | 24 |
Amount 2 mol
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
How many moles are in 36.03 g of water?
36.03 ÷ 18.015 = 2 mol.
How many moles in 100 g of NaCl?
100 ÷ 58.44 = 1.7112 mol.