Mole Calculator

Instantly convert between mass (grams), amount of substance (moles), and number of particles (atoms, molecules, formula units) using Avogadro's constant. Built-in molar mass database for common compounds.

Enter or pick from database below
molecules / atoms / formula units
For lab accuracy, ensure your inputs reflect proper significant figures. The calculator displays results with 6 significant figures by default.
Privacy first: All calculations are performed locally in your browser. No data is sent to any server.

The Mole: Chemistry's Counting Unit

The mole (symbol: mol) is the SI base unit for amount of substance. It is defined as exactly 6.02214076 × 1023 elementary entities (atoms, molecules, ions, or electrons) — a constant known as Avogadro's number (NA). This calculator uses the CODATA 2018 value of NA = 6.02214076 × 1023 mol−1, which is the internationally accepted standard.

Historical Redefinition: In May 2019, the mole was fundamentally redefined. It is no longer based on the number of atoms in 0.012 kg of Carbon-12, but is instead fixed by an exact numerical value of the Avogadro constant. This makes the definition independent of any physical artifact and perpetually stable.

n = m / M    and    N = n × NA

where n = moles, m = mass (g), M = molar mass (g/mol), N = number of particles, NA = Avogadro's constant.

The mole bridges the macroscopic world (grams, litres) and the microscopic world (atoms, molecules). One mole of any substance contains the same number of particles, but their mass depends on the atomic masses of the constituent elements. This is why molar mass (g/mol) is numerically equal to the relative molecular (or atomic) mass expressed in daltons. For example, one mole of water (H₂O) has a mass of 18.015 g and contains 6.022 × 10²³ water molecules.

The concept was pioneered by the Italian scientist Amedeo Avogadro in 1811, who proposed that equal volumes of gases at the same temperature and pressure contain the same number of molecules. The actual number was first estimated by Johann Josef Loschmidt in 1865. Today, the mole is fundamental to stoichiometry, solution chemistry, and quantitative analysis in every branch of chemistry and physics.

Why Use This Interactive Mole Calculator?

  • Educational Clarity: Visualise the relationships between mass, moles, and particle count. Perfect for students learning stoichiometry and dimensional analysis.
  • Lab & Research Ready: Quickly convert between grams and moles for reagent preparation, yield calculations, and concentration work.
  • Built-in Molar Mass Database: One‑click access to molar masses of common compounds — no need to look up values elsewhere.
  • Exam Practice: Test your own conversions and check your work against the calculator's step‑by‑step output.

How the Calculation Works

The calculator uses three core relationships derived from the definition of the mole:

  1. Mass → Moles: n = m / M (divide mass by molar mass)
  2. Moles → Mass: m = n × M (multiply moles by molar mass)
  3. Moles → Particles: N = n × NA (multiply moles by Avogadro's constant)
  4. Particles → Moles: n = N / NA (divide particles by Avogadro's constant)

When you enter any two values (e.g., mass and molar mass), the calculator derives the third. If you enter particles and molar mass, it works backward via moles. All values are computed with double‑precision floating point, and results are shown with appropriate significant figures.

The molar mass is either entered manually or selected from the quick‑reference database. The database includes the most frequently used substances in general chemistry, with values based on the 2021 IUPAC standard atomic weights.

Mass (g) ÷ M Moles (mol) × NA Particles

Step-by-Step Example: Sodium Chloride

Problem: How many moles are in 5.85 g of NaCl?

Step 1: Identify the molar mass of NaCl. From the database: Na = 22.99 g/mol, Cl = 35.45 g/mol → M = 58.44 g/mol.

Step 2: Apply the formula n = m / M = 5.85 g / 58.44 g/mol = 0.1001 mol.

Step 3: To find the number of formula units: N = 0.1001 mol × 6.022 × 10²³ mol⁻¹ = 6.03 × 10²² NaCl formula units.

Key insight: This conversion is the basis for preparing solutions, calculating theoretical yields, and interpreting chemical equations.

Reverse Example: You have 3.01 × 10²² molecules of CO₂. How many grams is that? Step 1: Calculate moles: n = (3.01 × 10²²) / (6.022 × 10²³) = 0.0500 mol. Step 2: Using M(CO₂) = 44.01 g/mol, m = 0.0500 × 44.01 = 2.20 g. This two-way conversion is critical for gas collection experiments and gravimetric analysis.

Molar Mass Reference Table

Common substances and their molar masses (g/mol), based on IUPAC standard atomic weights (2021).

Substance Formula Molar Mass (g/mol) Particle type
Water H₂O 18.015 molecule
Sodium chloride NaCl 58.44 formula unit
Carbon dioxide CO₂ 44.01 molecule
Glucose C₆H₁₂O₆ 180.156 molecule
Sodium hydroxide NaOH 40.00 formula unit
Hydrochloric acid HCl 36.46 molecule
Sulfuric acid H₂SO₄ 98.079 molecule
Calcium carbonate CaCO₃ 100.086 formula unit
Ammonia NH₃ 17.031 molecule
Ethanol C₂H₅OH 46.068 molecule
Methane CH₄ 16.043 molecule
Oxygen gas O₂ 31.998 molecule
Nitrogen gas N₂ 28.013 molecule
Hydrogen gas H₂ 2.016 molecule

Click any substance button above to auto‑fill its molar mass.

Common Misconceptions About the Mole

  • "A mole is just a number." Yes, but it's a specific number (Avogadro's constant) that is tied to the gram‑atomic mass scale.
  • "Molar mass is the same as molecular weight." Numerically they are identical, but molar mass (g/mol) is a macroscopic measure, while molecular weight (Da or amu) is microscopic. The mole serves as the scaling factor (Avogadro's number) that bridges these two scales.
  • "One mole of any gas occupies 22.4 L." Only at STP (0°C, 1 atm) for an ideal gas. At other conditions, the volume differs.
  • "The mole is only used in chemistry." It is also used in physics (for electrons, photons) and in metrology.

Applications Across Disciplines

  • Chemistry: Stoichiometry, solution preparation, titration calculations, yield analysis.
  • Biochemistry: Enzyme kinetics, metabolic flux analysis, drug dosage calculations.
  • Materials Science: Polymer molecular weight determination, doping levels in semiconductors.
  • Environmental Science: Pollutant concentration measurements (ppm, ppb) converted to moles.
  • Pharmaceuticals: Active ingredient quantification, formulation design.

Rooted in fundamental chemistry – This tool implements the official SI definition of the mole as adopted by the 26th General Conference on Weights and Measures (2018). The molar mass values are sourced from the IUPAC 2021 standard atomic weights and verified against the NIST Chemistry WebBook. The calculator's logic follows the dimensional analysis approach taught in general chemistry courses worldwide. Reviewed by the GetZenQuery tech team, last updated June 2026.

Frequently Asked Questions

Avogadro's number (NA) is 6.02214076 × 10²³ mol⁻¹. It is the number of particles in one mole of a substance. The value was redefined in 2019 to be exact, based on the SI redefinition of the mole.

Sum the atomic masses of all atoms in the formula. For example, H₂O: 2×1.008 + 15.999 = 18.015 g/mol. You can use our calculator's database or enter a custom value manually.

Yes. For ionic compounds like NaCl, the "particle" is the formula unit (Na⁺Cl⁻). The calculator treats it identically to molecules — just select or enter the correct molar mass.

Enter the particle count and the molar mass. The calculator will first convert particles to moles (divide by NA), then to mass (multiply by M).

The calculator displays results with 4 significant figures by default, but you can adjust input precision. For lab work, follow your institution's guidelines on significant figures and uncertainty.

Explore the NIST mole redefine, the IUPAC Gold Book, or standard textbooks like "Chemistry: The Central Science" by Brown, LeMay, and Bursten.