Moles Calculator
This moles calculator finds the number of moles from what you've got. Start from a mass with its molar mass, or from a solution's molarity and volume, and you'll get the moles plus the particle count. It also flips the other way to turn moles back into grams. Everything updates as you type, so it's quick for stoichiometry or lab prep. It's free and runs in your browser, so nothing you enter leaves your device.
- Moles from mass
- From a solution
- Grams from moles
- Particle count
- Avogadro number
Last updated June 17, 2026 n = mass / molar mass Reviewed by the Calcowa team
Enter the values above zero for the mode you chose.
Need the molar mass? Build it from a formula with our molar mass tool. One mole is 6.022 times 10 to the 23rd particles, so the particle count climbs fast.
How do you calculate the number of moles?
A mole is chemistry's way of counting particles, and the number of moles tells you how much substance you've got in those terms. The everyday formula is moles equals mass divided by molar mass: weigh the substance in grams, divide by its molar mass in grams per mole, and you've got the moles. For example, 18 grams of water divided by its molar mass of 18.02 is just about 1 mole. When you're working with a solution instead of a solid, there's a second route, since moles equals the molarity times the volume in liters, so 0.5 molar over 2 liters is also 1 mole. And because the relationship flips, you can turn moles back into grams by multiplying by the molar mass, which is how you weigh out a reaction written in moles. Behind all of it sits Avogadro's number, 6.022 times 10 to the 23rd, the count of particles in one mole, so the tool shows that particle count too. This tool runs whichever formula matches what you know, and it'll fill in the rest the moment you type your values.
Finding moles, step by step
Here's the routine for 18 grams of water, and it's just three steps:
- 1
Pick what you haveYou have a mass, so choose that mode.
- 2
Enter mass and molar mass18 grams of water, molar mass 18.02 grams per mole.
- 3
Divide for moles18 over 18.02 is about 1 mole, or 6.02e23 molecules.
Moles in 100 grams
Here's how many moles 100 grams of a few substances works out to. It's just 100 divided by the molar mass, so a heavier molecule gives fewer moles, and you'll see that play out below. If yours doesn't match, it's usually the molar mass that's off.
| Substance | Molar mass | Moles in 100 g |
|---|---|---|
| Water | 18.02 | 5.55 mol |
| Carbon dioxide | 44.01 | 2.27 mol |
| Table salt | 58.44 | 1.71 mol |
| Glucose | 180.16 | 0.56 mol |
Frequently asked questions
You pick what you have, then enter the values. From a mass it divides the grams by the molar mass to get moles. From a solution it multiplies the molarity by the volume in liters. It can also go the other way, turning moles back into grams. It then shows the number of particles too. Everything runs in your browser, so you'll see the moles update as you type, and nothing you enter leaves your device.
The usual route is moles equals mass divided by molar mass. You weigh the substance in grams, look up its molar mass in grams per mole, then divide. So 18 grams of water, with a molar mass of 18.02, is about 1 mole. If you have a solution instead, moles equals the molarity times the volume in liters, so 0.5 molar across 2 liters is also 1 mole. The calculator runs whichever route fits what you know.
A mole is just a counting unit for atoms and molecules, like a dozen is for eggs, except it's a huge number: 6.022 times 10 to the 23rd, called Avogadro's number. Chemists use it because atoms are far too small and numerous to count one by one. One mole of any substance contains that many particles, and it weighs the substance's molar mass in grams, which ties grams, moles, and particle counts neatly together.
Multiply the moles by the molar mass. Since moles equals grams over molar mass, flipping it gives grams equals moles times molar mass. So 2 moles of water at 18.02 grams per mole weighs 36.04 grams. Switch this tool to the grams mode, enter the moles and the molar mass, and it does that multiplication for you. It's the step you need whenever a recipe or reaction is written in moles but you're measuring on a scale.
Avogadro's number is 6.022 times 10 to the 23rd, the count of particles in one mole. It's enormous because atoms are tiny, so even a teaspoon of water holds a staggering number of molecules. To turn moles into a particle count you multiply by this number, and to go back you divide. This tool shows the particle count alongside the moles, so you can see just how many atoms or molecules your sample really contains.
Yes, it's completely free, with no sign-up, and it runs right in your browser, so nothing you enter leaves your device. Choose your starting point, type the values, and read the moles, grams, or particle count in a tap. Bookmark it for stoichiometry, lab prep, or chemistry homework, and pair it with the molar mass tool, which gives you exactly the number this one needs to turn grams into moles.
Related tools
More chemistry tools.
Molarity, dilution, pH, and more.
Molar Mass CalculatorGrams per mole from a formula.
Molarity CalculatorMoles per liter of a solution.
Working through a reaction?
Find the moles above, or build a molar mass from any formula.