Home › Mole Calculator
Mole Calculator
Enter a mass and the molar mass of the substance to get the amount in moles — and how many atoms or molecules that really is.
How it works: moles = mass / molar mass, and particles = moles x Avogadro's number (6.02214076 x 10²³). Example: 58.44 g of NaCl / 58.44 g/mol = 1 mol = 6.022 x 10²³ particles.
Frequently Asked Questions
What is a mole?
A counting unit for particles, like a dozen means 12. One mole is exactly 6.02214076 x 10²³ particles — Avogadro's number — chosen so that 1 mol of a substance weighs its molar mass in grams.
How do I work out the molar mass?
Add the atomic masses of every atom in the formula: water H&sub2;O is 2 x 1.008 + 16.00 = 18.02 g/mol.
Can I go from moles back to grams?
Yes: grams = moles x molar mass. 2 mol of NaCl is 2 x 58.44 = 116.88 g.
Last reviewed: November 2026 · Formulas and methods are documented in the guide and tested against worked examples.
Want the full explanation? Read the guide: Mole Calculator Guide: How to Convert Grams to Moles & Count Particles — molar mass and Avogadro's number, with worked examples (18 g of water = 1 mol = 6.022 × 10²³ molecules).
Rate this calculator
Frequently asked questions
How do I convert grams to moles? Divide the mass in grams by the substance's molar mass in g/mol. For example, 18 g of water ÷ 18 g/mol = 1 mol.
What is Avogadro's number? 6.022 × 10²³ — the number of particles in one mole of any substance, whether atoms, molecules or ions. It links the microscopic world to the grams on a balance.
How do I find the molar mass of a compound? Add the atomic masses of every atom in its formula: glucose C₆H₁₂O₆ = 6 × 12.01 + 12 × 1.008 + 6 × 16.00 ≈ 180.16 g/mol.
Spotted a mistake in this calculator? Report it on the Contact page — every report is checked against the official source.