molecalculator

Moles & Molar Mass

Number of Atoms in Moles Calculation

Calculator No. 01-16715 · Updated · Formula and assumptions shown below

Total number of atoms 3.613 × 1024
Amount of substance
2 mol
Set in the form below
Atoms per formula unit
3
Set in the form below
You enter
Amount of substance (mol), Atoms per formula unit
You get
Total number of atoms
Rounding
0 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

To find the number of atoms from moles, multiply the number of moles by Avogadro’s number (approximately 6.022 × 1023). This calculator allows you to enter the amount of substance in moles and the number of atoms per formula unit to instantly determine the total number of atoms in your sample.

Formula

The calculation relies on the definition of the mole, the SI base unit for amount of substance. The total number of atoms is calculated using the following formula:

Total Atoms = n × N × NA

Where:

  • n is the amount of substance in moles (mol).
  • N is the number of atoms per formula unit (dimensionless). For a monatomic substance like Helium, this is 1; for a diatomic molecule like O2, this is 2; for a crystal lattice like SiO2, you count the atoms in the formula (1 Si + 2 O = 3).
  • NA is Avogadro’s constant, exactly 6.02214076 × 1023 particles per mole.

Worked Example

This example uses the default values from the calculator block above to demonstrate the calculation.

Given:

  • Amount of substance (n) = 2 mol
  • Atoms per formula unit (N) = 3 (e.g., a molecule with 3 atoms)

Step 1: Identify Avogadro’s constant.

NA = 6.02214076 × 1023 atoms/mol

Step 2: Substitute the values into the formula.

Total Atoms = 2 mol × 3 atoms/formula × 6.02214076 × 1023 atoms/mol

Step 3: Perform the multiplication.

Total Atoms = 6 × 6.02214076 × 1023

Total Atoms = 36.13284456 × 1023

Result:

Rounding to a sensible number of significant figures (limited by the input ‘2 mol’ which has 1 sig fig, but typically reported with more for utility), the result is approximately 3.6 × 1024 atoms. The calculator displays the precise result based on the inputs.

Assumptions

  • The substance is pure and the composition is uniform.
  • The “atoms per formula unit” accurately reflects the chemical structure (e.g., counting all atoms in a molecule or unit cell).
  • Avogadro’s constant is an exact defined value since the 2019 SI redefinition.

Understanding Avogadro’s Number

Avogadro’s number is the proportionality factor that relates the number of constituent particles (usually atoms or molecules) in a sample to the amount of substance in that sample. Defined as exactly 6.02214076 × 1023 mol−1, it serves as the bridge between the macroscopic scale (grams, moles) and the atomic scale (individual atoms).

The constant is named after the Italian scientist Amedeo Avogadro, who hypothesized in 1811 that equal volumes of gases at the same temperature and pressure contain the same number of molecules. While he did not determine the number himself, his hypothesis led to the concept. The number was later estimated by Johann Josef Loschmidt and eventually defined precisely during the 2019 revision of the International System of Units (SI). This revision fixed the numerical value of the Avogadro constant to define the mole, making the constant exact rather than experimentally determined.

Atoms per Formula Unit

The calculator includes an input for “Atoms per formula unit” because a mole of a compound does not always contain just one mole of atoms. This factor depends entirely on the chemical formula of the substance:

  • Monatomic elements: For noble gases like Helium (He) or Argon (Ar), the atoms per formula unit is 1. One mole of Helium contains one mole of atoms.
  • Diatomic molecules: Many gases like Oxygen (O2), Nitrogen (N2), and Hydrogen (H2) exist as pairs. One mole of O2 gas contains 2 moles of oxygen atoms. The factor here is 2.
  • Chemical compounds: For water (H2O), there are 2 hydrogen atoms and 1 oxygen atom, totaling 3 atoms. One mole of water contains 3 moles of atoms. For glucose (C6H12O6), the total is 6 + 12 + 6 = 24 atoms.
  • Crystal lattices: In ionic compounds like sodium chloride (NaCl), the simplest formula unit is NaCl, containing 1 Na and 1 Cl ion. Thus, one mole of NaCl contains 2 moles of ions (atoms).

Accurately counting the atoms in the formula is crucial for finding the total number of discrete particles.

From Mass to Number of Atoms

Often, a chemist starts with the mass of a sample rather than the moles. To use this calculator, you must first convert the mass to moles. This requires knowing the molar mass (M) of the substance, which can be found on the periodic table by summing the atomic weights of the constituent elements.

The conversion steps are:

  1. Determine the molar mass (M) of the substance in g/mol.
  2. Divide the sample mass (m) by the molar mass to get moles (n = m / M).
  3. Enter the resulting ‘n’ into the calculator above.

For example, if you have 18.015 g of water (H2O):

  • Molar mass of H2O ≈ 18.015 g/mol.
  • Moles (n) = 18.015 g / 18.015 g/mol = 1 mol.
  • Atoms per formula unit for H2O = 3.
  • Total atoms = 1 × 3 × 6.022 × 1023 = 1.8066 × 1024 atoms.

Scientific Notation and Large Numbers

Because the number of atoms in even a small sample is astronomically large, scientific notation is essential. A mole of carbon atoms (12 grams) contains approximately 600 sextillion atoms (6 followed by 23 zeros). Writing this out as 602,214,076,000,000,000,000,000 is impractical and prone to errors.

The calculator handles these large numbers automatically, typically displaying the result in scientific notation (e.g., 3.613e24). This format conveys the magnitude and precision clearly.

Limitations of the Calculation

While the mathematics is straightforward, the physical reality can be more complex:

  • Purity: The calculation assumes the sample is 100% pure. Impurities will reduce the actual number of atoms of the target substance.
  • Isotopes: The “atoms” counted are generic. The calculation does not distinguish between isotopes (e.g., Carbon-12 vs Carbon-14). The molar mass used to find moles should account for the natural isotopic abundance.
  • Temperature: For solids, thermal expansion changes the lattice spacing, but the number of atoms remains constant. For gases, temperature and pressure determine the volume, but the number of atoms depends only on the mass.

Frequently Asked Questions

Why is Avogadro’s number so large?

It is large because atoms are incredibly small. The number is defined so that one mole of carbon-12 atoms has a mass of exactly 12 grams. It takes roughly 6 × 1023 atoms to add up to a mass we can handle in the lab.

Is Avogadro’s number an integer?

Yes, since the 2019 SI redefinition, Avogadro’s constant is defined as an exact integer: 602,214,076,000,000,000,000,000. However, it is usually written in scientific notation for convenience.

Does one mole always contain the same number of atoms?

No, one mole of a substance always contains the same number of *entities* (molecules, formula units, or atoms). To find the number of *atoms*, you must multiply by the number of atoms in that entity. One mole of O2 has 2 moles of atoms; one mole of He has 1 mole of atoms.

How do I calculate atoms in a gas?

First, determine the moles using the ideal gas law (PV = nRT) or by dividing the mass by the molar mass. Then, use the calculator above, setting the “Atoms per formula unit” to the number of atoms in the gas molecule (e.g., 2 for N2).

Can I use this for ions?

Yes. In ionic compounds like NaCl, the formula unit consists of ions. The calculation logic is identical. One mole of NaCl contains one mole of Na+ ions and one mole of Cl− ions, totaling 2 moles of ions.

What is the difference between a molecule and a formula unit?

A molecule is a discrete group of atoms bonded together (like H2O). A formula unit is the simplest ratio of ions in an ionic compound (like NaCl). Both serve as the “entity” counted in a mole.

Related

Formula used
in mol | Amount of substance | mol | 2 | 0
in atoms_per_formula | Atoms per formula unit | - | 3 | 1
out total_atoms | Total number of atoms | - | mol * atoms_per_formula * 6.02214076e23 | 0

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Moles & Molar Mass section →