Grams to Moles Calculator

This grams to moles calculator turns the mass of a substance into its amount in moles. Example: 36.03 g of water (M = 18.015 g/mol) is 2 mol.

Example: Direction: Grams to moles · Mass m 36.03 g · Molar mass M 18.015 g/mol → Result: 36.03 g = 2 mol (≈ 1.20443 × 10²⁴ particles). Source: NIST/CODATA – Avogadro constant N_A = 6.02214076 × 10²³ mol⁻¹ (exact since the 2019 SI revision). Updated: .

g
g/mol
Sum of the atomic masses from the periodic table; water: 18.015 g/mol.
My ToolboxYour inputs are saved in this browser only.

Result

Result
36.03 g = 2 mol (≈ 1.20443 × 10²⁴ particles)
Mass, amount, particles
QuantityValue
Mass m36.03 g
Molar mass M18.015 g/mol
Amount n2 mol
Number of particles N1.20443 × 10²⁴
Calculation steps
  • Amount n = m / M = 36.03 g / 18.015 g/mol = 2 mol.
  • Number of particles N = n · N_A = 2 mol · 6.02214076 × 10²³ mol⁻¹ = 1.20443 × 10²⁴.
The Avogadro constant N_A = 6.02214076 × 10²³ mol⁻¹ has been exactly defined since 2019. You must determine the molar mass of your substance yourself; it depends on the formula.

How it is calculated

One mole is the amount of substance that contains exactly 6.02214076 × 10²³ particles. The mass of one mole of a substance is its molar mass M in g/mol. That lets you convert between grams and moles, which every reaction calculation in chemistry requires.

Formulas

From the mass m you get the amount n = m / M. Conversely m = n · M. The number of particles is N = n · N_A with the Avogadro constant N_A = 6.02214076 × 10²³ per mole. You get the molar mass of a compound by adding the atomic masses of all atoms in the formula.

Worked example

Water (H₂O) has M = 2 · 1.008 + 15.999 = 18.015 g/mol. So 36.03 g of water is n = 36.03 / 18.015 = 2 mol. That corresponds to N = 2 · 6.02214076 × 10²³ ≈ 1.204 × 10²⁴ water molecules. Conversely, 0.25 mol of table salt (M = 58.44 g/mol) weighs 0.25 · 58.44 = 14.61 g.

Frequently asked questions

How do you convert grams to moles?

Divide the mass in grams by the molar mass in g/mol: n = m / M. In the example 36.03 g / 18.015 g/mol = 2 mol.

How do you calculate molar mass?

Add the atomic masses of all atoms in the formula. For H₂O: 2 · 1.008 + 15.999 = 18.015 g/mol.

How many particles are in one mole?

Exactly 6.02214076 × 10²³, the Avogadro constant. The number of particles N is therefore n times N_A.

Sources and legal basis

As of: · Editorial policy

Related tools