Convert a sample’s mass in grams into a count of atoms, molecules, formula units, or other specified particles. Enter the mass and the substance’s molar mass; the calculator finds moles first, then multiplies by Avogadro’s constant. You need to identify what particle the formula unit represents and use a molar mass in grams per mole.
Formula
First convert mass to amount in moles, then convert moles to particles:
n = m / M
N = n × NA = (m / M) × 6.02214076 × 1023
- m is the sample mass in grams (g).
- M is the substance’s molar mass in grams per mole (g/mol).
- n is the amount in moles (mol).
- N is the number of particles, counted as the entity specified for the substance.
- NA is Avogadro’s constant, exactly 6.02214076 × 1023 mol−1.
The units cancel correctly: g ÷ (g/mol) gives mol, and mol × particles/mol gives particles. Enter molar mass in g/mol; do not enter a mass in kilograms or a molar mass in kg/mol unless you convert it first.
Worked Example
Find the number of water molecules in 18.0 g of water using the calculator’s default values: m = 18.0 g and M = 18.015 g/mol.
- Calculate moles: n = m / M = 18.0 g / 18.015 g/mol ≈ 0.99917 mol.
- Multiply by Avogadro’s constant: N = 0.99917 mol × 6.02214076 × 1023 mol−1 ≈ 6.0171 × 1023 particles.
The calculator rounds the headline particle count to 0 decimal places: 601,708,461,282,264,800,000,000 particles (about 6.017 × 1023 molecules). The amount output rounds to 4 decimal places: 0.9992 mol. The particle count is an estimate from the stated mass and molar mass; displayed rounding does not mean individual particles were counted.
Assumptions
- The entered molar mass correctly describes the substance and the particle identity is understood.
- The sample is treated as pure, with no correction for impurities, moisture, or measurement uncertainty.
- Particles means the selected chemical entities, such as molecules, atoms, ions, or formula units; the calculation does not determine how a compound dissociates in solution.
- Avogadro’s constant is exact; practical precision is limited by the mass and molar-mass values supplied.
What You’ll Need
- The sample’s mass in grams. If your measurement uses another unit, convert it to grams before calculating.
- The substance’s molar mass in g/mol. For a pure element, use its atomic molar mass; for a compound, add the atomic molar masses in its chemical formula.
- A clear definition of the particle being counted: for example, molecules of water, atoms of iron, or formula units of sodium chloride.
- A calculator, or the calculator above. For laboratory work, use appropriate measurement and handling practices.
Step-by-Step
- Identify the substance and particle. Read the chemical formula and decide what one particle means in this question. H2O usually means one water molecule; Fe means one iron atom; NaCl means one formula unit. Do not use the word “molecule” for every ionic compound: ionic solids are described by formula units.
- Find the molar mass. Add the atomic molar masses for every atom in one formula unit, multiplying each element’s value by its subscript. For water, H2O, M = 2(1.008) + 15.999 = 18.015 g/mol. Use the appropriate atomic weights and keep enough digits for the precision needed.
- Put the mass in grams. Convert units before using the formula. For example, 250 mg = 0.250 g because 1 g = 1000 mg. If the mass is already in grams, enter it as measured, without prematurely rounding it.
- Calculate the number of moles. Divide mass by molar mass: n = m/M. The gram units cancel, leaving moles. Keep extra digits in this intermediate result rather than rounding it to a whole number.
- Convert moles to particles. Multiply the unrounded mole amount by 6.02214076 × 1023 particles per mole. This gives the count of the particle type defined in step 1.
- Report a sensible result. Use scientific notation for very large counts, and round in line with the precision of the measured mass and molar mass. Include the particle label and units in your written answer. The calculator’s headline output is rounded to a whole particle, while its amount output is shown to four decimal places.
Common Mistakes
- Using grams as though they were moles. A mass must first be divided by molar mass. Multiplying grams directly by Avogadro’s constant gives the wrong units and result.
- Entering the wrong molar mass. Check subscripts and parentheses. For Ca(OH)2, for example, the formula includes two oxygen atoms and two hydrogen atoms, not one of each.
- Mixing units. The calculator expects g and g/mol. Convert milligrams to grams, or convert a molar mass stated in kg/mol to g/mol, before entering it.
- Counting the wrong entity. A mole of water contains a mole of water molecules, and each molecule contains three atoms. If a question asks for total atoms in water, multiply the molecule count by 3; if it asks for hydrogen atoms alone, multiply by 2.
- Rounding too early or overstating precision. Keep calculator digits through both steps, then round once. A long particle count does not make an imprecise balance reading exact.
Tips
- Write the units beside every number. Dimensional analysis makes it easier to catch a missing division or a mistaken conversion.
- For a compound, calculate molar mass from its complete formula before starting. A periodic table or a verified reference can help; distinguish atomic mass from formula molar mass.
- Use scientific notation to make large numbers readable: 6.02 × 1023 is clearer than writing every digit.
- Keep the requested particle in mind when interpreting the answer. A formula-unit count is not automatically the count of ions or atoms present within those units.
- For bench work, follow your lab method, the safety data sheet (SDS), and your supervisor.
Troubleshooting
The answer seems much too large or small: Check whether the mass was entered in grams and the molar mass in g/mol. A milligram-to-gram error changes the result by a factor of 1000. Also verify that you used the molar mass of the whole compound, rather than an atomic mass for one element.
The particle count is not a whole number: That can happen because measured mass and molar mass are approximate. A calculated count is a macroscopic estimate, not a claim that a fraction of a physical particle exists. Report an appropriately rounded value.
Your answer differs from a reference: Check the atomic weights and rounding convention used to obtain molar mass. Confirm whether the reference asks for molecules, atoms, ions, or formula units. Small differences from rounded atomic weights are normal.
You do not know the molar mass: Find the correct chemical formula first, then sum the atomic molar masses for all atoms shown, including subscripts and groups in parentheses. If the substance is a mixture or its composition is unknown, one molar mass may not describe it accurately.
Frequently Asked Questions
What is the formula for converting grams to particles?
Divide the mass in grams by molar mass in g/mol, then multiply by 6.02214076 × 1023 particles per mole.
Can I convert grams to particles without molar mass?
Not for a defined substance. The mass alone does not reveal how many particles it contains; you need its chemical identity or a known molar mass.
Is a particle always a molecule?
No. Depending on the substance and question, a particle can mean an atom, molecule, ion, or formula unit. State which one you are counting.
How do I find the number of atoms in a compound?
First calculate compound particles. Then multiply by the number of the requested atoms in each formula unit. For total atoms, add all subscripts in the formula.
Why does one mole contain 6.02214076 × 1023 particles?
That is the exact defined value of Avogadro’s constant, expressed as entities per mole. It connects a measurable amount of substance to a count of entities.
How many significant figures should I use?
Match the precision of the least precise measured input, usually the mass or molar mass. Keep extra digits during calculations and round the final result once.
Related
Formula used
in m | Sample mass | g | 18.0 | 0 in mm | Molar mass | g/mol | 18.015 | 0.001 out p | Number of particles | particles | (m / mm) * 6.02214076e23 | 0 out n | Amount of substance | mol | m / 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
- MD Calc I:T Ratio Calculator and Explanation0.0500 ratio
- Oxygen Mass Number: Isotope Values Explained16 nucleons
- Mass-to-Light Ratio: Meaning and Calculation1.000 M☉/L☉
- M/z Ratio in Mass Spectrometry: Meaning and Calculation1,000.00 Th
- Mass Fraction to Molar Fraction Calculator
- K2 Molar Mass Calculator and Calculation78.1966 g/mol