A grams-to-particles calculator converts a sample’s mass into an estimated number of atoms, molecules, formula units, or other specified particles. Enter the mass in grams and the substance’s molar mass in grams per mole; the calculator uses Avogadro’s constant to return the amount in moles and the particle count.
Formula
The calculation first divides mass by molar mass to find the amount of substance, then multiplies the amount in moles by Avogadro’s constant:
Number of particles = (mass in grams ÷ molar mass in grams per mole) × 6.02214076 × 1023 particles per mole
- m is the sample mass, in grams (g).
- mm is the substance’s molar mass, in grams per mole (g/mol).
- n is the amount of substance, in moles (mol): n = m ÷ mm.
- 6.02214076 × 1023 mol−1 is the exact Avogadro constant, which relates moles to specified entities.
- p is the calculated number of particles. It is an estimate for a macroscopic sample, not a count of individually observed objects.
The calculator’s default molar mass, 18.015 g/mol, is water’s conventional molar mass based on standard atomic weights: approximately 2(1.008) + 15.999 = 18.015 g/mol. Replace it for any other substance. The displayed mass input accepts whole grams; for a sample measured to a fraction of a gram, use an appropriate mass value with the needed precision in a calculator that supports decimal inputs.
Worked Example
Using the calculator’s defaults, the sample has a mass of 18 g and a molar mass of 18.015 g/mol.
- Find moles: n = 18 g ÷ 18.015 g/mol ≈ 0.99917 mol.
- Convert moles to particles: p = 0.99917 mol × 6.02214076 × 1023 particles/mol ≈ 6.0171 × 1023 particles.
Rounded to the calculator’s three decimal places, the result is 6.017 × 1023 particles. The units cancel correctly: grams divided by grams per mole gives moles, and moles multiplied by particles per mole gives particles.
Assumptions
- The entered molar mass represents the actual substance or chemical entity being counted.
- The sample’s mass is attributable to that substance; impurities, moisture, or mixtures can make the result differ from the actual particle count.
- Particles are counted according to the chosen chemical formula: for example, water molecules, sodium chloride formula units, or atoms of a specified element.
- Avogadro’s constant is exact, but the calculated result is limited by the precision of the mass and molar-mass inputs.
How to Choose the Particle and Molar Mass
“Particle” is a general term, not a single kind of object. Decide which entities the question asks for before choosing a molar mass. A compound’s molar mass normally gives the number of molecules (for molecular substances) or formula units (for ionic solids) per mole. If the question asks for atoms within a compound, calculate compound particles first, then multiply by the number of the specified atoms in each molecule or formula unit.
- Water molecules: use the molar mass of H2O, about 18.015 g/mol.
- Sodium chloride formula units: use its molar mass, about 58.44 g/mol. Ionic solids are described by formula units rather than separate NaCl molecules.
- Oxygen atoms in water: first find water molecules, then multiply by one oxygen atom per molecule. For hydrogen atoms, multiply by two.
- Carbon atoms in carbon dioxide: find CO2 molecules using its molar mass, then multiply by one carbon atom per molecule.
Use the molar mass for the formula as written. For a hydrate, salt, isotope-enriched material, or a substance with a specified counterion, the relevant formula and molar mass may differ from those of the unhydrated compound or neutral molecule. Atomic weights are commonly rounded in classroom tables, so values can vary slightly with the table and precision used.
When This Conversion Is Useful
Mass-to-particle conversion connects a balance measurement to atomic-scale quantities. It is useful in chemistry homework, stoichiometry, estimating molecules in a sample, and checking whether a reported number of atoms or molecules is plausible. The same first step—mass divided by molar mass—also appears in reaction calculations: it converts a measured mass to moles, which can then be related to other reactants or products using a balanced chemical equation.
For a reaction, do not treat the grams-to-particles answer as the amount of product automatically formed. The calculation only describes the specified sample. Predicting product quantity additionally requires the balanced reaction, the starting amounts, and identification of the limiting reactant; real yield may also differ from a theoretical yield.
Common Errors and Limits
- Using the wrong molar mass: grams divided by an incorrect g/mol value gives an incorrect mole amount and particle count.
- Confusing atoms with molecules: a molecule may contain several atoms. Multiply by the formula’s atom count only when the requested entity is an atom.
- Mixing units: convert milligrams to grams by dividing by 1,000, or kilograms to grams by multiplying by 1,000, before using a mass in grams. Keep molar mass in g/mol unless both quantities are converted consistently.
- Rounding too early: retain extra digits in the mole calculation and round the final answer to match the precision of the measured mass and molar mass.
- Assuming a mixture is pure: if only part of a sample is the substance of interest, use that component’s mass rather than the total mixture mass.
Particle counts are usually enormous, so scientific notation is clearer than writing every digit. The calculator’s answer is a mathematical estimate based on the inputs; it does not imply that particles can be counted individually or that a sample’s composition is known exactly. For bench work, follow your lab method, the safety data sheet (SDS), and your supervisor.
Frequently Asked Questions
How do I convert grams to particles?
Divide the mass in grams by the substance’s molar mass in g/mol to get moles. Multiply the moles by 6.02214076 × 1023 particles per mole.
What is the formula for grams to molecules?
Molecules = (mass in grams ÷ molar mass in g/mol) × 6.02214076 × 1023. Use the compound’s molecular molar mass and interpret the result as molecules.
Is a particle the same as an atom?
Not necessarily. A particle may mean an atom, molecule, ion, or formula unit. The intended entity depends on the substance and the question.
How many particles are in one mole?
One mole contains exactly 6.02214076 × 1023 specified entities. Those entities can be atoms, molecules, ions, or other defined particles.
Can I convert grams to atoms in a compound?
Yes. Convert grams to moles of the compound, multiply by Avogadro’s constant to get compound particles, then multiply by the number of the desired atoms in each formula unit or molecule.
Related
Formula used
in m | Sample mass | g | 18 | 0 in mm | Molar mass | g/mol | 18.015 | 0.001 out p | Particles | particles | (m / mm) * 6.02214076e23 | 3 out n | Amount of substance | mol | m / mm | 6
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
- Molecules to Grams Calculator: Convert with Molar Mass18.0150 g
- How Many Protons Are in Potassium (K)?19 protons
- Moles of Electrons: Formula and Calculator
- Molecules to Liters Calculator: Convert Using Molarity0.1000 L
- How to Calculate mL to Moles: Formula and Calculator0.1250 mol
- Free Energy Change Calculation: ΔG Formula and Example-24.907 kJ/mol