Mole Calculator

Convert mass, moles, and particle count in any direction.

Science 4 modes 14 substances
Rate this calculator · 4.0 (4)

Mole Calculator

4 modes · 14 preset substances · exact NA

Instructions — Mole Calculator

The mole is a counting unit. Pick a conversion mode, choose a substance, and read the converted value.

  1. Choose a mode: mass to moles, moles to mass, mass to particles, or particles to moles.
  2. Select a substance from the dropdown to autofill molar mass, or pick Custom to type your own.
  3. Enter the input value and read the result, plus the full breakdown of mass, moles, particles, and molar mass.

Default: 18 g of water converts to 1 mole, which equals 6.022 × 1023 molecules.

Formulas

All four mole conversions share the same chain: mass ↔ moles ↔ particles.

Mass to moles: $$ n = \frac{m}{M} $$ where $m$ is grams and $M$ is g/mol.

Moles to particles: $$ N = n \times N_A $$ with $N_A = 6.02214076 \times 10^{23} \text{ mol}^{-1}$.

Mass to particles (combined): $$ N = \frac{m}{M} \times N_A $$

Particles to moles: $$ n = \frac{N}{N_A} $$

The Avogadro constant became an exact defined value on 20 May 2019. Before that, it was measured and had uncertainty.

Reference

Common molar masses, rounded to four decimals.

SubstanceFormulaMolar mass (g/mol)
WaterH2O18.015
Sodium chlorideNaCl58.443
Carbon dioxideCO244.009
AmmoniaNH317.031
Calcium carbonateCaCO3100.086
Sulfuric acidH2SO498.079
Sodium hydroxideNaOH39.997
GlucoseC6H12O6180.156
SucroseC12H22O11342.297
EthanolC2H6O46.068
Oxygen gasO231.998

Values use IUPAC 2021 standard atomic weights.

Article — Mole Calculator

Mole Calculator: Convert Mass, Moles, and Particle Count

A mole is the SI unit for amount of substance and contains exactly 6.02214076 × 1023 particles. One mole of water has a mass of 18.015 g; one mole of NaCl is 58.44 g. The mole calculator converts among mass, moles, and particle count in any direction using the formula n = m / M with Avogadro's constant.

Chemistry runs on moles because reactions follow whole-number ratios of particles. The mole gives chemists a way to count atoms by weighing them, which is the central trick of practical chemistry.

What a mole is

One mole equals 6.02214076 × 1023 particles — atoms, molecules, ions, electrons, or any other discrete entities. The number is enormous: it is roughly the same order of magnitude as the count of stars in the observable universe.

The unit is part of the SI base system, alongside the meter, kilogram, second, ampere, kelvin, and candela. The symbol is mol, and the quantity it measures is called "amount of substance." The corresponding quantity in physics is similar to a count, but treated as a continuous variable.

Mole calculator formulas

Three formulas cover almost every mole-related problem:

Mole calculator formulas
n = m / M mass to moles
m = n × M moles to mass
N = n × NA moles to particles

Here n is moles, m is mass in grams, M is molar mass in g/mol, N is particle count, and NA = 6.02214076 × 1023 mol−1. Chaining the formulas lets you go from grams to particles directly: N = (m / M) × NA.

Four mole conversion modes

The mole calculator supports four directions: mass to moles, moles to mass, mass to particles, and particles to moles. Pick the mode that matches the input you have. Each one uses the same chain through moles as the intermediate step.

Did you know

Amedeo Avogadro never knew the value of "his" number. He proposed the hypothesis in 1811 that equal volumes of gases at the same conditions contain equal numbers of molecules, but the actual count was first measured by Jean Baptiste Perrin in 1909 — over 50 years after Avogadro's death. Perrin chose the name to honor Avogadro's foundational idea.

A worked mole example

How many molecules are in 9 g of water? Step 1: convert to moles. n = 9 g / 18.015 g/mol = 0.4996 mol. Step 2: multiply by Avogadro's number. N = 0.4996 × 6.022 × 1023 = 3.009 × 1023 molecules.

Going the other way: how much does one billion (109) water molecules weigh? Step 1: convert to moles. n = 109 / (6.022 × 1023) = 1.66 × 10−15 mol. Step 2: multiply by molar mass. m = 1.66 × 10−15 × 18.015 = 2.99 × 10−14 g, or 30 femtograms. A billion water molecules is an immeasurably small amount on any balance.

Mole, molar mass, and molarity

These three terms cause endless confusion. Molar mass (units g/mol) is a property of a substance — the mass of one mole of it. Molarity (units mol/L) is a property of a solution — the moles of solute per liter of solution. A mole is just the unit of amount.

A typical sequence in lab work: weigh a solid (mass), divide by molar mass to get moles, divide by solution volume to get molarity. Each step uses one of these three quantities, and mixing them up is one of the most common errors in introductory chemistry.

Tip

Always carry units through your calculation. If you end up with units of grams when you expected moles, you missed a division or multiplication. The arithmetic might check out, but the answer is wrong.

The 2019 mole redefinition

Before 20 May 2019, the mole was defined as the number of atoms in exactly 12 g of carbon-12. Avogadro's number was a measured quantity, with the best value at the time being 6.022140857 × 1023 with an uncertainty in the last few digits.

The 2019 SI redefinition reversed the logic. The mole is now defined by a fixed exact value of Avogadro's number: NA = 6.02214076 × 1023 mol−1. There is no measurement uncertainty in NA anymore. The carbon-12 standard is gone, and the kilogram itself was redefined the same day to remove its last remaining artifact (the international prototype kilogram in Paris).

Common mole conversion errors

Diatomic gases trip up most students

Hydrogen, nitrogen, oxygen, fluorine, and chlorine all exist as diatomic molecules at room temperature. The molar mass of O2 is 32 g/mol, not 16. If a problem says "oxygen," it usually means O2 unless atomic oxygen is specifically called out. Same trap with hydrogen gas (H2, 2 g/mol) versus hydrogen atoms (H, 1 g/mol).

  • Confusing molar mass with atomic mass — numerically equal but units differ (g/mol vs. unified atomic mass unit)
  • Skipping moles as the intermediate when converting mass to particles — always go through moles
  • Wrong formula — CO and CO2 have very different molar masses
  • Unit mismatches — check that mass is in grams, not kg or mg, before dividing
  • Mixing molarity and molality — mol/L vs. mol/kg, only one depends on temperature

Mole reference values

A handful of molar masses cover most introductory chemistry: water 18, sodium chloride 58.4, glucose 180, carbon dioxide 44, sulfuric acid 98, sodium hydroxide 40, ethanol 46, ammonia 17, calcium carbonate 100. The calculator preset list covers these plus a few more common substances.

Outside chemistry classrooms, the mole shows up in biology (cell signaling concentrations, enzyme kinetics), pharmacology (drug dosing), electrochemistry (Faraday's constant relates moles of electrons to charge), and atmospheric science (parts per million on a molar basis). Wherever counting reacting particles matters, the mole turns up.

The size of Avogadro's number is genuinely difficult to grasp. One mole of grains of rice would cover all the land on Earth to a depth of about 75 meters. One mole of seconds is longer than the age of the universe by a factor of 106. The mole bridges scales that human intuition struggles with, which is exactly why it is useful in chemistry.

One last practical note: when comparing mole calculator output across sources, expect tiny differences in the fourth or fifth decimal place. IUPAC standard atomic weights are updated periodically (the latest is 2021), and online tables may use slightly older values. For most lab work the difference is far smaller than measurement uncertainty.

FAQ

A mole is the SI unit for amount of substance. One mole contains exactly 6.02214076 × 1023 particles, whether atoms, molecules, or ions. The value was fixed by IUPAC in 2019.
One molecule of water contains 2 hydrogen atoms and 1 oxygen atom. Molar masses: H = 1.008, O = 15.999. So H2O = 2 × 1.008 + 15.999 = 18.015 g/mol.
Divide mass by molar mass: moles = grams / molar mass. Example: 36 g of water ÷ 18 g/mol = 2 moles.
Exactly 6.02214076 × 1023. This is Avogadro's constant. Since the 2019 SI redefinition, this is a defined exact value, not a measurement.
Molarity (M) is moles per liter of solution. Molality (m) is moles per kilogram of solvent. Molarity depends on temperature because volume changes with heat; molality does not.
Molar mass is a property of a substance (g/mol) and never changes for a given formula. Molarity is a property of a solution (mol/L) and changes with how much solute is dissolved.
Add the atomic masses of every atom in the formula. For CO2: C (12.011) + 2 × O (15.999) = 44.009 g/mol. Use the periodic table or IUPAC standard atomic weights.
Before 2019, the mole was defined as the number of atoms in 12 g of carbon-12, and NA was a measured number with uncertainty. The 2019 SI redefinition flipped the relationship: NA is now defined as exactly 6.02214076 × 1023, and the mole is defined from it.
Pick the conversion direction, enter the known value (mass, moles, or particle count), and supply a molar mass for the substance. The calculator returns the full set of equivalent values.