Mole Calculator

Mole Calculator

Growing AI Skill PRO

Enter Calculation

Formula

n=Mass (g)Molar Mass (g/mol)n = \frac{\text{Mass (g)}}{\text{Molar Mass (g/mol)}}

Example

n=1818.015≈0.9992n = \frac{18}{18.015} \approx 0.9992
Usage stats

Advertisement

Results

Amount of Substance
0.9992
moles (mol)
Mass 18 g
Molar mass 18.015 g/mol
Number of particles 6017.126E20

Report an error on this page

What Is the Mole Calculator?

The mole is the SI unit for the amount of a substance. One mole contains exactly Avogadro's number (\(6.02214076 \times 10^{23}\)) of particles — atoms, molecules, ions or electrons. This calculator converts a measured mass into the number of moles using the substance's molar mass, and also reports how many particles that represents.

How to Use It

Enter the mass of your sample in grams and its molar mass in grams per mole. The molar mass is the sum of the atomic masses of every atom in the formula — for example, water (H₂O) is about 18.015 g/mol. The calculator instantly returns the number of moles and the corresponding particle count.

The Formula Explained

The relationship is $$n = \dfrac{m}{M}$$ where n is moles, m is mass in grams, and M is molar mass in g/mol. Multiplying the moles by Avogadro's number gives the total number of particles: $$N = n \times 6.022 \times 10^{23}$$

Advertisement
Triangle diagram relating moles, mass, and molar mass
The mole triangle: cover the quantity you want to find to see the formula.

Worked Example

Suppose you have 36 g of water with a molar mass of 18.015 g/mol. Then $$n = \frac{36}{18.015} \approx 1.998 \text{ mol}$$ Multiplying by Avogadro's number gives about \(1.203 \times 10^{24}\) molecules of water.

Flat conversion flow from mass to moles to particles
Mass divided by molar mass gives moles, then multiply by Avogadro's number for particle count.

Common Molar Masses Reference Table

Molar mass (M) is the mass of one mole of a substance, in g/mol. The values below are rounded standard values and are good enough for most coursework. Use the exact atomic masses from your own periodic table if your course specifies them.

Substance Formula Molar mass (g/mol)
Hydrogen gas H2 2.016
Oxygen gas O2 31.998
Nitrogen gas N2 28.014
Carbon dioxide CO2 44.009
Water H2O 18.015
Sodium chloride NaCl 58.44
Methane CH4 16.043
Ammonia NH3 17.031
Glucose C6H12O6 180.156
Sulfuric acid H2SO4 98.079
Calcium carbonate CaCO3 100.087
Carbon (element) C 12.011
Iron (element) Fe 55.845
Sodium (element) Na 22.990
Chlorine (element) Cl 35.45
Advertisement

Constants Used: Avogadro's Number

  • Avogadro constant: \(N_A = 6.02214076 \times 10^{23}\ \text{mol}^{-1}\). This value is exact, because it was fixed by the 2019 redefinition of the SI.
  • Rounding: most textbook calculations use \(6.022 \times 10^{23}\ \text{mol}^{-1}\). Keep at least as many significant figures in \(N_A\) as in your measured data.
  • Molar mass constant: \(M_u \approx 1\ \text{g/mol}\). This is why the molar mass of a substance in g/mol is numerically almost equal to its relative atomic or molecular mass.
  • Related value, molar volume of an ideal gas: 22.414 L/mol at 0 °C (273.15 K) and 1 atm (101.325 kPa). This is the older "STP" convention. IUPAC's current standard pressure is 100 kPa, which gives about 22.711 L/mol at 0 °C. Check which convention your course uses.

The calculator uses \(n = \dfrac{m}{M}\), and the number of particles is \(N = n \times N_A\).

FAQ

Where do I find the molar mass? Add up the atomic masses (from the periodic table) of each atom in the chemical formula.

Can I use it for elements? Yes — use the element's atomic mass as the molar mass (e.g. carbon is 12.011 g/mol).

What if molar mass is zero? Division by zero is undefined, so the calculator returns 0 — always enter a positive molar mass.

Last updated:

Most popular in Chemistry

View all Chemistry calculators