Skip to content
FiftyCalc Free calculators for all 50 states

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

Sample figures

Amount—mol

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.

Grams to Moles Calculator

Mass, in g: enter 0 or more. Prefilled example: 36.03.

Molar mass, in g/mol: enter 0 or more. Prefilled example: 18.015.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Mass, in g: enter 0 or more.
  2. Molar mass, in g/mol: enter 0 or more.
  3. 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

  1. N=gmm
Symbols used in the formula
SymbolMeaningUnit
gMassg
mmMolar massg/mol
NAmountmol

Worked example

Mass36.03 g
Molar mass18.015 g/mol
Particles: coefficient1.2044
Particles: × 10 to the power24
  1. N=36.0318.015=2

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.

Related calculators