Skip to content
M2TOOLKIT

Education · free tool

Mole Calculator

Convert between grams, moles and particles for any substance.

Use it as often as you like — it's free, with no sign-up and no limits.

  • Education
  • Free
  • No sign-up
  • Nothing is sent or stored
  • Updated
Convert
g

Result

Amount of substance
1.99833 mol
Molar mass
18.015 g/mol
Particles
1.20343 × 10^24
How it was calculated
  1. n = m ÷ M = 36 ÷ 18.015

The calculation happens instantly in your browser. The numbers you enter are not sent to our servers or saved.

How to use the Mole Calculator

  1. Choose the conversion.
  2. Type the formula so the molar mass can be calculated.
  3. Enter the amount and read the result.

What does this tool do?

A mole is a fixed number of particles — 6.022 × 10²³, Avogadro's constant. Converting grams to moles means dividing by the molar mass: 36 g of water is 36 ÷ 18.015 ≈ 2 mol.

The molar mass is worked out from the formula you type, so there's nothing to look up.

Why use it?

  • Molar mass calculated for you.
  • Particle counts included.
  • Three conversions.

Use cases

  • Chemistry homework and lab preparation.
  • Weigh out the right mass for a solution or reaction.
  • Check stoichiometry in balanced equations.

10 g of table salt

NaCl has a molar mass of 22.99 + 35.45 = 58.44 g/mol. 10 g ÷ 58.44 ≈ 0.171 mol, which is about 0.171 × 6.022 × 10²³ ≈ 1.03 × 10²³ formula units.

Common mistakes

  • Typing the formula with wrong capitals — Co (cobalt) is not CO (carbon monoxide).
  • Forgetting to count atoms in brackets, like (OH)₂.
  • Mixing grams and kilograms in the mass.

The formula

n = m ÷ M
N = n × Nₐ

Privacy

The calculation happens instantly in your browser. The numbers you enter are not sent to our servers or saved. There's no account to create and nothing to install.

Frequently asked questions

How do I type formulas with brackets?

Write them as you would on paper, like Ca(OH)2 or Al2(SO4)3.

What is molar mass?

The mass of one mole of a substance in grams, found by adding the atomic masses in its formula.

Why is Avogadro's number so large?

Atoms are tiny; 6.022 × 10²³ of them make an amount we can weigh in grams.

Content last updated . See how M2Toolkit works.

Other tools people use alongside the mole calculator.