Skip to content
K Knidox Search…
Chemistry · Stoichiometry

Mole Calculator

Convert between grams, moles, and number of particles using molar mass and Avogadro’s number.

g
The mass of your sample.
g/mol
Grams per mole of the substance.
Load a molar mass — tap to try
Amount (mol)
2mol

That is 1.204 × 10²⁴ particles (moles × Avogadro’s number).

To convert grams to moles, divide the mass by the molar mass: moles = mass ÷ molar mass. To get the particle count, multiply moles by Avogadro’s number, 6.02214076 × 10²³. So 36.03 g of water ÷ 18.015 g/mol = 2 mol = 1.204 × 10²⁴ molecules.

What a mole is and how the conversions work

A mole is simply a count: one mole is exactly 6.02214076 × 10²³ particles — atoms, molecules, ions, or formula units. That fixed quantity is Avogadro’s number, the SI defined value. The molar mass of a substance is the mass of one mole in grams per mole, numerically equal to its formula’s atomic-weight sum.

These two constants chain the three quantities together. Mass and moles are linked through molar mass; moles and particle count are linked through Avogadro’s number. Pick the direction you need and the calculator fills in the rest.

moles = mass ÷ molar mass · particles = moles × NA

N_A = 6.02214076 × 10²³ particles per mole (the exact SI defined value)

Worked example

How many moles and molecules are in 36.03 g of water (molar mass 18.015 g/mol)?

  1. 1
    Find the molar mass. Water, H₂O, has a molar mass of 18.015 g/mol — the sum of two hydrogens (2 × 1.008) and one oxygen (15.999).
  2. 2
    Divide mass by molar mass. 36.03 g ÷ 18.015 g/mol = 2 mol of water.
  3. 3
    Multiply moles by Avogadro’s number. 2 mol × 6.02214076 × 10²³ = 1.204 × 10²⁴ molecules of water.

Molar masses of common substances

Computed from standard atomic weights; use these to convert mass to moles.

SubstanceFormulaMolar mass (g/mol)
WaterH₂O18.015
Table saltNaCl58.44
Carbon dioxideCO₂44.01
GlucoseC₆H₁₂O₆180.16
Sodium hydroxideNaOH40.00
Sulfuric acidH₂SO₄98.07

Reading the result correctly

Particles means whatever the formula unit is. One mole of CO₂ is 6.022 × 10²³ molecules, but it contains three times as many atoms (one carbon and two oxygens each). Decide whether you want molecules or atoms before scaling.

Keep molar mass precise. Rounding 18.015 to 18 before dividing shifts the mole count by about 0.08% — small, but it compounds in multi-step problems. Carry full precision until the final answer.

Watch the units. Mass must be in grams to pair with g/mol. Convert milligrams or kilograms first, or the moles will be off by a factor of a thousand.

How do I convert grams to moles?
Divide the mass in grams by the substance’s molar mass in g/mol: moles = mass ÷ molar mass. For example, 36.03 g of water ÷ 18.015 g/mol = 2 mol.
What is Avogadro’s number?
It is the number of particles in one mole: exactly 6.02214076 × 10²³ per mole. Since the 2019 SI redefinition this is a fixed defined value, not a measured one.
How do I find the number of molecules from moles?
Multiply the moles by Avogadro’s number. 2 mol of water × 6.02214076 × 10²³ = 1.204 × 10²⁴ molecules.
Where do I get the molar mass to enter?
Sum the standard atomic masses of every atom in the formula, in g/mol — or use the preset buttons. Water is 18.015, NaCl is 58.44, CO₂ is 44.01, glucose is 180.16.
Is molar mass the same as molecular weight?
Numerically yes. Molecular weight is unitless (relative to carbon-12); molar mass carries units of g/mol. You can use the same number for these gram–mole conversions.
How many atoms are in one mole of CO₂?
One mole of CO₂ has 6.022 × 10²³ molecules, but each molecule has three atoms, so there are 1.807 × 10²⁴ atoms in total. Convert molecules to atoms by multiplying by the atoms per formula unit.