What is a mole in chemistry?
A mole is chemistry's way of counting particles that are far too small and numerous to count one by one. One mole of anything contains exactly 6.02214076 × 10²³ particles — a number called Avogadro's number. That is 602 sextillion atoms or molecules, a number so large that a mole of sand grains would cover the Earth many metres deep.
Chemists use moles because chemical reactions happen between particles, not between grams. Two grams of hydrogen and 32 grams of oxygen contain the same number of molecules — one mole each — and they react completely to make water. Weighing in grams hides that; counting in moles reveals it. Every balanced chemical equation is really a recipe written in moles.
This calculator converts between the two worlds: the grams you can weigh on a balance, and the moles the equation wants. Enter the mass of your substance and its molar mass, and it gives you the number of moles, the number of individual particles, and the mass in kilograms.
A mole also connects chemistry to the gas laws and to solutions. At standard temperature and pressure, one mole of any ideal gas occupies about 22.4 litres, which is why gas volumes in textbooks are so often quoted in moles rather than grams. And in a solution, the molarity is simply the moles divided by the litres — so once you can count moles, you can make any solution, balance any equation, and predict any yield. That is why the mole sits at the centre of quantitative chemistry, and why getting comfortable with it early pays off in every topic that follows.
How the mole formula works
The formula is a single division: moles equals mass divided by molar mass. The molar mass is the mass of one mole of the substance, in grams per mole, and it comes straight from the periodic table. Water, H₂O, has a molar mass of 18.015 g/mol — 2 × 1.008 for hydrogen plus 15.999 for oxygen. So 18.015 grams of water is exactly one mole.
To find the number of particles, multiply the moles by Avogadro's number, 6.022 × 10²³. One mole of water contains 6.022 × 10²³ water molecules; half a mole contains half that many. The calculator shows the particle count in scientific notation, because writing out 602,214,076,000,000,000,000,000 in full would fill the page.
Molar mass itself is just a sum. Sodium chloride, NaCl, is 22.99 + 35.45 = 58.44 g/mol. Glucose, C₆H₁₂O₆, is 6 × 12.011 + 12 × 1.008 + 6 × 15.999 = 180.156 g/mol. If you are unsure of a molar mass, the molar mass converter and the molar concentration converter are the companion pages for this work.
Molar mass: the input people get wrong
Molar mass is where most mole mistakes begin, and the usual error is using the atomic mass of one element instead of the whole compound. The molar mass of water is not 16 (oxygen alone) and not 1 (hydrogen alone) — it is 18.015, the sum of all three atoms. Always add up every atom in the formula, counting the little subscript numbers.
Hydrated compounds catch people out too. Copper sulfate pentahydrate, CuSO₄·5H₂O, has a molar mass of 249.68 g/mol, not 159.61 — the five water molecules count. Forgetting them throws every later number off by more than a third. Write the full formula down before you start adding atomic masses.
Another trap is the difference between an element and its common molecular form. Oxygen gas is O₂ with a molar mass of 32 g/mol, not 16 — oxygen travels in pairs. Hydrogen gas is H₂ at 2.016 g/mol, nitrogen gas is N₂ at 28.014 g/mol. If your substance is a gas, check whether the formula has that subscript 2.
A worked example: 18 grams of water
Take the defaults on this page: 18 grams of water with a molar mass of 18.015 g/mol. Divide 18 by 18.015 and you get 0.999 moles — essentially exactly one mole, because 18 grams is just short of the 18.015 grams that make a full mole. The particle count is 0.999 × 6.022 × 10²³, which is 6.02 × 10²³ molecules of water.
Try a second example: 58.44 grams of table salt, NaCl, with a molar mass of 58.44 g/mol. That is exactly 1 mole, containing 6.02 × 10²³ formula units of NaCl. Now try 10 grams of the same salt: 10 divided by 58.44 is 0.171 moles, or about 1.03 × 10²³ formula units. The same division works for any substance once you know its molar mass.
And a larger one: 100 grams of glucose at 180.156 g/mol gives 0.555 moles. Notice the pattern — heavier molecules mean fewer moles per gram. A gram of hydrogen (2.016 g/mol) is nearly half a mole, while a gram of glucose is barely a two-hundredth of a mole. Molar mass is what sets the scale.
Who uses a mole calculator
School and college chemistry students use it the most. Moles appear in Class 11 chemistry in India, in JEE and NEET preparation, and in every first-year university chemistry course. Stoichiometry — working out how much product a reaction makes — is impossible without converting grams to moles first, and this calculator does that step in seconds.
Laboratory workers use it when making up solutions. A 1 molar solution needs one mole of solute per litre, so the first question is always how many grams that mole weighs. Pharmacists and food scientists do the same maths when they scale a formulation up or down. Even home brewers and soap makers meet moles when they work with lye and acids.
Teachers use it to check problem sets quickly. The most common classroom question is some version of: how many moles are in this many grams of that compound? The answer is always the same division, and the calculator removes the arithmetic so the student can focus on the chemistry — which atoms to count, and what the moles mean for the reaction.
Moles vs molarity: the pair students confuse
Moles count an amount of substance; molarity counts concentration. One mole of salt is a fixed amount — 58.44 grams. A 1 molar solution is one mole dissolved in one litre of solution. Dissolve that mole in half a litre instead and you have a 2 molar solution, even though the number of moles never changed. Amount and concentration are different ideas with different units.
The confusion matters when making solutions. If a procedure asks for 0.5 moles of NaCl in 250 mL of water, you weigh 29.22 grams and dissolve it in water up to the 250 mL mark. The moles tell you what to weigh; the volume tells you how concentrated the result is. Mixing the two up gives a solution twice or half as strong as intended.
For concentration work, the molar concentration converter changes between mol/L, mmol/L, and other concentration units. This calculator handles the amount side — grams to moles — and the converter handles the concentration side. Together they cover the two halves of solution preparation.
Common mistakes with mole calculations
The most common mistake is dividing the wrong way: molar mass divided by mass instead of mass divided by molar mass. Check the units of your answer — grams divided by grams per mole gives moles, and anything else means the division is backwards. A quick sense check helps: the number of moles should usually be smaller than the mass in grams for compounds heavier than 1 g/mol.
Second: using the wrong molar mass, usually by missing atoms or forgetting water of crystallisation. Always write the full formula and add every atom. Third: mixing up grams and kilograms. Molar mass is in grams per mole, so the mass you enter must be in grams — 0.5 kg of water is 500 grams, or 27.75 moles, not 0.028.
Fourth: rounding Avogadro's number too early. If the question is framed as a percentage composition instead of a molar mass, a percentage calculator handles the percent side while this page handles the moles. Use 6.022 × 10²³ for school work and keep the full 6.02214076 × 10²³ when precision matters. The calculator uses the exact defined value, so its particle counts match reference values to three significant figures or better.
How to use this mole calculator
Enter the mass of your substance in grams — what you actually weighed on the balance. Then enter its molar mass in grams per mole. If you know the formula, add up the atomic masses from the periodic table; if not, look the compound up, because the molar mass is the one input you cannot guess.
The results update instantly. You will see the amount in moles, the number of particles in scientific notation, and the mass in kilograms for reference. Try doubling the mass and watch the moles double — the relationship is a straight line through zero, which is why the formula is so simple.
Everything runs in your browser with no sign-up and no data leaving your device. For the next step — turning moles into a solution of a given strength — the molar concentration converter is the companion tool, and the molar mass converter helps when your molar mass is in different units.