This calculator uses Avogadro's number to convert between the amount of substance in moles, the number of particles (atoms, molecules, or formula units), and the mass of a sample in grams. It is designed for students and teachers who want fast, reliable conversions for typical chemistry problems.
You can use it in two main ways:
If you enter both moles and mass, the calculator treats the moles value as the primary input and ignores the mass, because moles already specify the amount of substance directly.
In chemistry, the mole is a counting unit, similar to how a dozen means 12 items. One mole corresponds to a fixed number of particles called Avogadro's number:
Avogadro's number (symbol NA) is exactly:
That means one mole of any substance contains 6.02214076 × 1023 particles.
The calculator uses three core relationships:
Particles (atoms, molecules, etc.) are found by multiplying moles by Avogadro's number:
where n is the amount of substance in moles, and N is the number of particles.
If you start from mass, you first convert grams to moles using the molar mass M (in g/mol):
Here m is the mass of the sample in grams, and M is the molar mass of the substance in g/mol.
Combining the two steps above gives a direct expression for the number of particles from the mass and molar mass:
This is the formula the calculator uses when you provide mass and molar mass but leave moles blank.
In this case, the calculator simply applies N = NA × n.
Internally, the calculator first computes n = m / M, then uses N = NA × n.
When you fill in all three fields, the calculator will prioritize the moles value. It assumes that if you already know moles, that is the most direct and accurate representation of the amount of substance, so it does not recalculate moles from the mass.
Suppose you want to know how many water molecules are present in 5.0 g of liquid water.
Use the formula n = m / M:
n = 5.0 g / 18.02 g/mol ≈ 0.277 mol
Apply N = NA × n:
N ≈ (6.022 × 1023 mol−1) × 0.277 mol ≈ 1.67 × 1023 molecules
5.0 in the Mass m (g) field.18.02 in the Molar Mass M (g/mol) field.The calculator will display a moles value close to 0.277 mol and a particle count close to 1.67 × 1023 molecules, matching the hand calculation above (small differences may come from rounding).
The table below compares the most common scenarios you might encounter when working with Avogadro's number and moles.
| Starting information | What you want to find | Key formula used | How to use this calculator |
|---|---|---|---|
| Moles of a substance (n) | Number of particles (N) | N = NA × n | Enter moles only. Leave mass and molar mass blank. |
| Mass (m) and molar mass (M) | Moles (n) and number of particles (N) | n = m / M, then N = NA × n | Enter mass and molar mass. Leave moles blank. |
| Moles and mass (both given) | Number of particles (N) from the moles | N = NA × n (moles take precedence) | Enter all fields if you like, but the result will be based on the moles value. |
| Number of particles (N) | Moles (n) | n = N / NA | This calculator is focused on moles → particles. You can rearrange the formula by hand or with a separate tool if needed. |
The output typically includes:
Because Avogadro's number is so large, particle counts are usually shown in scientific notation (for example, 3.4 × 1024). This is normal and reflects the huge number of particles present even in small samples.
When checking homework or lab calculations, focus on:
To keep the calculator simple and broadly useful for education, several assumptions are made:
Keep these points in mind when using the tool to ensure you interpret the numbers correctly and apply them appropriately in lab reports, assignments, or exam practice.
Avogadro's number is central to stoichiometry and chemical equations because it connects the microscopic world of atoms and molecules to measurable amounts in the lab. When you balance a chemical equation, the coefficients describe mole ratios, which can be converted into actual particle counts using NA.
For example, in the combustion of methane,
CH4 + 2 O2 → CO2 + 2 H2O
one mole of methane reacts with two moles of oxygen. In terms of particles, that means:
The same mole relationships hold regardless of the specific substance because a mole is defined by counting particles via Avogadro's number. The calculator you are using simply automates the numerical side of these conversions so you can focus on understanding the underlying chemistry.