Moles Calculator
Calculate the number of moles from mass and molar mass
What Is a Mole?
The mole is the SI unit for amount of substance, defined as exactly 6.02214076 × 10²³ entities (atoms, molecules, ions, or formula units). This number, called Avogadro's number, provides the bridge between the atomic scale (where we count individual atoms) and the laboratory scale (where we measure grams on a balance). One mole of carbon-12 atoms has a mass of exactly 12 grams by definition.
The mole concept is fundamental to all of quantitative chemistry. Chemical equations describe reactions in terms of mole ratios, stoichiometric calculations rely on converting between mass and moles, and concentration units like molarity are defined in terms of moles per volume. Without the mole, we would have no practical way to connect atomic-level events to measurable quantities.
This calculator converts between mass (grams) and moles using the molar mass of a substance. It also calculates the number of molecules (or formula units) using Avogadro's number. Simply enter the mass and molar mass, and the calculator provides both the number of moles and the corresponding molecule count.
The Moles Formula
The conversion between mass and moles is one of the most fundamental calculations in chemistry.
Mass-Mole Conversion
Where:
- n= Number of moles (mol)
- m= Mass of substance (grams)
- M= Molar mass (g/mol)
How to Use This Calculator
Convert between mass and moles in two simple steps:
- Enter Mass: Input the mass of the substance in grams.
- Enter Molar Mass: Input the molar mass (molecular weight) of the substance in g/mol. Use the molar mass calculator if you need to determine this from a chemical formula.
- View Results: The calculator displays the number of moles and the number of molecules (or formula units) in scientific notation.
The formula verification shows the exact calculation: n = mass / molar mass, confirming the arithmetic.
Understanding Avogadro's Number
Avogadro's number (6.022 × 10²³) is one of the most important constants in chemistry. It represents the number of particles in one mole of any substance. This remarkable number exists because atoms and molecules are incredibly small — a single drop of water contains about 1.67 × 10²¹ water molecules.
To put Avogadro's number in perspective: if you had a mole of marbles, they would cover the entire Earth to a depth of about 50 miles. If you counted one number per second, it would take about 19 trillion years to count to one mole — roughly 1,400 times the age of the universe.
The relationship between moles and molecules is: number of molecules = moles × Avogadro's number. This conversion is essential for relating macroscopic measurements (grams) to molecular-level quantities (number of molecules).
Real-World Applications
The mole concept is applied across all areas of chemistry and beyond. In laboratory chemistry, virtually every experiment begins with calculating how many moles of each reagent are needed. A chemist preparing a solution of known concentration must first convert the desired molarity and volume to moles, then use the molar mass to determine the mass to weigh out on a balance.
In pharmaceutical manufacturing, drug doses are calculated in moles to ensure the correct number of active molecules reaches the patient. A dose of 200 mg of ibuprofen (molar mass 206.28 g/mol) corresponds to 0.970 mmol of active ingredient.
In environmental science, pollutant concentrations are often expressed in moles to calculate reaction stoichiometry. For example, determining how many moles of Ca(OH)₂ are needed to neutralize a given amount of acid in wastewater treatment.
In cooking and nutrition, the mole concept even applies: the sweetness of sugar, the nutritional value of proteins, and the fermentation of ethanol all depend on molecular counts that are calculated from mass using molar mass.
Worked Examples
Water from Mass
Problem:
How many moles are in 36.0 g of water (molar mass = 18.015 g/mol)?
Solution Steps:
- 1n = m / M = 36.0 / 18.015
- 2n = 1.999 mol ≈ 2.00 mol
- 3Number of molecules = 2.00 × 6.022 × 10²³
- 4Molecules = 1.204 × 10²⁴
Result:
2.00 mol = 1.204 × 10²⁴ molecules of water
Mass from Moles
Problem:
What mass of NaCl (molar mass = 58.44 g/mol) contains 0.500 mol?
Solution Steps:
- 1m = n × M = 0.500 × 58.44
- 2m = 29.22 g
- 3Number of formula units = 0.500 × 6.022 × 10²³
- 4Formula units = 3.011 × 10²³
Result:
29.22 g = 0.500 mol = 3.011 × 10²³ formula units of NaCl
Carbon Dioxide Molecules
Problem:
How many molecules are in 44.0 g of CO₂ (molar mass = 44.01 g/mol)?
Solution Steps:
- 1n = 44.0 / 44.01 = 0.9998 mol ≈ 1.000 mol
- 2Molecules = 1.000 × 6.022 × 10²³
- 3Molecules = 6.022 × 10²³
Result:
1.000 mol = 6.022 × 10²³ molecules (one Avogadro's number of CO₂ molecules)
Tips & Best Practices
- ✓n = mass / molar mass is the most fundamental conversion in chemistry.
- ✓To convert moles to mass, multiply: mass = moles × molar mass.
- ✓1 mole of any substance contains 6.022 × 10²³ particles.
- ✓For gases at STP, 1 mole occupies 22.4 liters.
- ✓Use the molar mass calculator to find M from any chemical formula.
- ✓Always check that your mass and molar mass use the same units (grams and g/mol).
Frequently Asked Questions
Sources & References
Last updated: 2026-06-06
Help us improve!
How would you rate the Moles Calculator?
Editorial Note
MyCalcBuddy Editorial Team
This page is maintained as an educational calculator reference.
Formula Source: Chemistry: The Central Science
by Brown, LeMay, Bursten