molecalculator

Moles & Molar Mass

Atoms, Molecules, and Formula Units Explained

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

The calculator on this page is switched off while it is checked. The formula is below, and the worked example shows how to do the sum by hand.

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.

Atoms, molecules, and formula units are different ways to describe tiny particles of matter: an atom is one atom, a molecule is a bonded group of atoms, and a formula unit is the simplest whole-number ratio of ions in an ionic substance. This calculator converts a number of particles into moles, or moles into particles, using Avogadro’s constant; enter either quantity and it returns the equivalent amount.

Formula

The calculation uses Avogadro’s constant, the exact number of specified entities in one mole:

  • Amount in moles: n = N / NA
  • Number of entities: N = n × NA

Here, N is the number of particles (atoms, molecules, or formula units), in entities; n is amount of substance, in moles (mol); and NA is Avogadro’s constant, exactly 6.02214076 × 1023 entities/mol. The particle-type selection identifies what “one entity” means; it does not change the arithmetic. The calculator displays both directions, using the entered particle count for the mole result and the entered mole amount for the particle-count result.

Worked Example

Use the defaults: 6.02214076 × 1023 particles and 1 mol. The selected particle type is atoms, but the same numerical calculation applies to molecules or formula units.

  1. Convert the entered particle count to moles: 6.02214076 × 1023 particles ÷ (6.02214076 × 1023 particles/mol) = 1 mol.
  2. Convert the entered amount to particles: 1 mol × (6.02214076 × 1023 particles/mol) = 6.02214076 × 1023 particles, or 6.022 × 1023 particles when shown to three significant figures.

Assumptions

  • “Particle” means one selected entity: one atom, one molecule, or one formula unit.
  • The calculation treats the count as a count of entities, not as a count of constituent atoms or ions.
  • Avogadro’s constant is exact; meaningful precision in a real measurement is limited by the precision of the input.

What Atoms, Molecules, and Formula Units Mean

An atom is a single unit of a chemical element. Helium gas is made of individual helium atoms, while a piece of solid copper consists of copper atoms arranged in a metallic structure. A sample’s chemical symbol, such as He or Cu, identifies the element; it does not by itself mean that the sample contains just one atom.

A molecule is a discrete group of atoms held together by chemical bonds. Water has molecules with the formula H2O: each molecule contains two hydrogen atoms and one oxygen atom. Oxygen gas is commonly made of O2 molecules, each containing two oxygen atoms. The molecule is the entity counted when reporting a number of water or oxygen molecules.

A formula unit describes the simplest ratio of ions in an ionic compound. Solid sodium chloride is not made of separate, neutral NaCl molecules; it forms an extended lattice of sodium and chloride ions. Its formula unit, NaCl, expresses a 1:1 ratio. A formula unit of calcium fluoride, CaF2, represents one calcium ion for every two fluoride ions. It is a counting convention for the ratio, not a claim that those ions sit together as a separate molecule in the solid.

How to Choose What You Are Counting

Start by identifying the substance’s structure and the question being asked. For a molecular substance, count molecules; for an ionic solid, count formula units; for a substance described as individual atoms, count atoms. This matters because one entity may contain several atoms or ions.

  • Water: 1 mol of H2O means 1 mol of water molecules, containing 2 mol of hydrogen atoms and 1 mol of oxygen atoms.
  • Sodium chloride: 1 mol of NaCl means 1 mol of formula units, corresponding to 1 mol each of sodium ions and chloride ions in the stated ratio.
  • Oxygen gas: 1 mol of O2 means 1 mol of oxygen molecules, or 2 mol of oxygen atoms.

In ordinary stoichiometry, the coefficient in a balanced chemical equation counts entities of the substances written in that equation. Those entities might be molecules, formula units, atoms, or ions, depending on the equation. Read the chemical formula and context rather than assuming that every chemical formula represents a molecule.

Comparing Particle Counts and Moles

A mole is a convenient counting unit, much like a dozen, but vastly larger. One dozen means 12 specified items; one mole means exactly 6.02214076 × 1023 specified entities. The word “specified” is essential: a mole of atoms and a mole of molecules have the same number of entities, but not generally the same mass or the same number of atoms.

For example, one mole of O2 molecules contains one mole of molecules and two moles of oxygen atoms. One mole of H2O molecules contains one mole of molecules and three moles of atoms in total. To find a mass from moles, a separate molar-mass calculation is needed; particle count alone does not provide the mass without knowing what substance is being counted.

The calculator uses Avogadro’s constant directly. In laboratory problems, particle numbers can be enormous, so scientific notation is practical. A reported value such as 3.01 × 1023 entities is a count, not a mass or a concentration. Concentration also depends on the volume containing the substance.

Common Confusions and Limits

A frequent misconception is that every formula names a molecule. That is suitable for many covalent substances, such as CO2, but not for ionic solids such as MgO or CaF2. Use “formula unit” for the simplest ratio represented by an ionic formula. Likewise, do not confuse an atom in a formula with a whole molecule: one CO2 molecule contains three atoms.

Another common error is switching entity types mid-calculation. If a problem gives moles of molecules but asks for atoms, first multiply by the number of atoms in each molecule. For instance, converting moles of O2 molecules to oxygen atoms requires a factor of 2 after the mole-to-particle conversion. For a compound, use the relevant subscript or formula-unit ratio to count the desired constituent.

The calculator does not determine a substance’s identity, molar mass, formula, purity, or chemical structure. It also does not convert directly between moles and grams without a molar mass. Its result is only as meaningful as the chosen entity and input: an exact mathematical conversion cannot make an approximate experimental measurement exact.

Frequently Asked Questions

Are atoms and molecules the same thing?
No. An atom is a single atom of an element. A molecule is a bonded group of atoms, such as O2 or H2O. Some substances, including helium gas, are commonly described as individual atoms rather than molecules.

Is NaCl a molecule or a formula unit?
In solid sodium chloride, NaCl is a formula unit: it shows the simplest ratio of sodium ions to chloride ions in the ionic lattice. It is not a separate NaCl molecule in the solid.

How many atoms are in one mole of a molecule?
It depends on the molecule. One mole of H2O contains three moles of atoms in total; one mole of O2 contains two moles of atoms. Multiply the amount of molecules by the number of atoms per molecule.

Does one mole always have the same mass?
No. Every mole contains the same number of specified entities, but the entities have different masses. A substance’s molar mass, usually expressed in g/mol, tells you the mass of one mole of that substance.

Why do chemistry problems use formula units instead of molecules?
Many ionic solids form large repeating lattices rather than separate, discrete molecules. “Formula unit” lets chemists count the simplest whole-number ratio of ions in such materials.

Related

Formula used
in p | Number of particles | particles | 6.02214076e23 | 0
in n | Amount of substance | mol | 1 | 0
sel t | Particle type | atoms=1, molecules=1, formula units=1
out nout | Amount of substance | mol | p / 6.02214076e23
out pout | Number of particles | particles | n * 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 →