This number of molecules calculator converts an amount of a molecular substance into a particle count. Enter the amount in moles to get molecules, or enter a mass and the compound’s molar mass to calculate both moles and molecules.
Formula
The number of molecules is the amount of substance in moles multiplied by Avogadro’s constant:
N = n × NA
- N is the number of molecules, counted as a particle count.
- n is the amount of substance, in mol.
- NA is Avogadro’s constant, exactly 6.02214076 × 1023 mol−1.
If the starting quantity is a mass, first convert it into moles using the compound’s molar mass:
n = m / M, so N = (m / M) × NA.
- m is sample mass in grams (g).
- M is molar mass in grams per mole (g/mol).
The calculator reports the direct result from the entered mole amount first. Its mass-based result is a separate calculation using the entered mass and molar mass. The mass-based amount in moles is also shown as a useful check.
Worked Example
With the defaults, the sample mass is 18.015 g, the molar mass is 18.015 g/mol, and the amount entered directly is 1 mol. The Avogadro constant is 6.02214076 × 1023 molecules/mol.
- Direct calculation: N = 1 mol × 6.02214076 × 1023 molecules/mol = 6.02214076 × 1023 molecules. Rounded to four decimal places in the mantissa, the result is 6.0221 × 1023 molecules.
- Mass-based amount: n = 18.015 g / 18.015 g/mol = 1 mol.
- Mass-based count: N = 1 mol × 6.02214076 × 1023 molecules/mol = 6.02214076 × 1023 molecules, or 6.0221 × 1023 molecules to four decimal places in the mantissa.
Assumptions
- The sample is a pure substance with the entered molar mass.
- Mass and molar mass use compatible units: grams and grams per mole.
- The count means molecules of the specified molecular substance; it does not mean atoms, ions, or formula units unless those are the particles intended.
- Avogadro’s constant is exact in the SI definition.
What the Calculator Counts
A mole is a unit for amount of substance, not a mass or a volume. One mole contains exactly 6.02214076 × 1023 specified entities. For a molecular compound such as water, the entities are molecules. The same constant also applies when counting atoms, ions, or formula units, but the result must be named for the kind of entity being counted.
For example, one mole of water contains one mole of water molecules, and each water molecule contains three atoms. That sample therefore has three times as many atoms as water molecules. Conversely, one mole of sodium chloride is conventionally described as one mole of formula units, not one mole of sodium chloride molecules, because solid sodium chloride is an ionic lattice rather than a collection of discrete molecules.
The calculator’s first result answers the direct question, “How many molecules are in this number of moles?” The mass-based output answers a related question, “How many molecules correspond to this mass of material?” Check that the chosen particle type matches the substance and the question.
How to Use It
- For a direct count, enter an amount in moles. The first output gives the corresponding molecule count.
- For a mass-based count, enter the sample mass in grams and the compound’s molar mass in g/mol. Read the mass-based count and the calculated amount in moles.
- Use the molar mass of the actual chemical formula, including all atoms in one molecule. If your mass is in milligrams or kilograms, convert it to grams before entering it.
- Keep the two routes separate when comparing results: the first output uses the entered mole amount, while the second uses mass divided by molar mass.
Molar mass is calculated from a molecular formula and atomic weights. For water, H2O, using H = 1.008 and O = 15.999 g/mol gives 2 × 1.008 + 15.999 = 18.015 g/mol. Those are standard atomic-weight values; a real sample’s composition, purity, or isotopic makeup can affect how closely a nominal molar mass represents it.
Common Errors and Limits
- Mixing units: dividing grams by kg/mol produces a result that is off by a factor of 1,000. Convert mass and molar mass to matching units first.
- Using the wrong formula mass: a missing subscript, incorrect hydrate, or different salt form changes the molar mass and therefore the count.
- Confusing molecules with atoms: the number of atoms depends on how many of each atom is present in each molecule. Multiply the molecule count by the relevant atoms-per-molecule only when an atom count is wanted.
- Assuming a mass is pure compound: contamination, moisture, or a solution’s solvent means the full weighed mass may not be mass of the compound. Account for composition or purity separately if known.
- Rounding too early: keep extra digits in intermediate calculations, then round the final result to a precision justified by the measurements. A large particle count does not imply that the input mass was measured with extraordinary precision.
This is a stoichiometric conversion, not a way to count individual particles one by one. It assumes the amount and molar mass describe the same substance. It does not account automatically for mixtures, chemical reactions, incomplete recovery, or uncertainty in a measurement. For bench work, follow your lab method, the safety data sheet (SDS) and your supervisor.
Frequently Asked Questions
How do I calculate the number of molecules from moles?
Multiply the amount in moles by 6.02214076 × 1023 molecules per mole. For example, 0.5 mol contains 3.01107038 × 1023 molecules.
How do I find the number of molecules from grams?
Divide the mass in grams by the compound’s molar mass in g/mol to get moles, then multiply by Avogadro’s constant. The units cancel to give a particle count.
How many molecules are in one mole?
One mole contains exactly 6.02214076 × 1023 specified entities. For a molecular substance, those entities are molecules.
Can I use this calculator for atoms or ions?
The mole-to-particle equation also works for atoms and ions. Interpret the output as that entity’s count, and use the correct amount of substance for the entity being counted.
Why does the mass-based answer differ from the direct answer?
The first result uses the entered moles. The mass-based result uses mass divided by molar mass. They match only when the mass and molar mass imply the same amount as the mole input.
Related
Formula used
in m | Amount of substance | mol | 1 | 0 in av | Avogadro constant | molecules/mol | 6.02214076e23 | 6.02214076e23 | 6.02214076e23 in mass | Sample mass | g | 18.015 | 0 in mm | Molar mass | g/mol | 18.015 | 0.000001 out n | Number of molecules | molecules | m * av | 4 out nm | Number from mass | molecules | (mass / mm) * av | 4 out molmass | Amount from mass | mol | mass / mm | 4
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
- Pressure Density Depth Formula for Fluids98,066 Pa
- Pressure Density Temperature Equation Calculator100,961.74 Pa
- Pressure Density Cup: What It Measures and How It Works1.0000 g/mL
- Pressure, Density, and Temperature: How They Relate101,307 Pa
- Pressure-Based vs Density-Based Solvers in CFD
- Pressure-Based vs Density-Based Solvers in CFD