This calculator converts a specified number of atoms into their mass in grams using Avogadro’s constant and the element’s molar mass. Enter the atom count and atomic molar mass; the result is the corresponding mass, assuming the atoms are all of that element.
Formula
First convert atoms to moles by dividing the atom count by Avogadro’s constant. Then multiply the amount in moles by the element’s molar mass:
mass (g) = number of atoms ÷ 6.02214076 × 1023 (atoms/mol) × molar mass (g/mol)
In symbols, m = N / NA × M. Here, m is mass in grams, N is the number of atoms, NA is Avogadro’s constant, exactly 6.02214076 × 1023 atoms/mol, and M is the element’s molar mass in grams per mole. The calculator also reports the intermediate amount, n = N / NA, in moles.
The atom count must refer to atoms of a single element, and the molar mass must correspond to that same element. For an element made of molecules, such as O2, distinguish atoms from molecules: the calculator’s input is an atom count, not a molecule count.
Worked Example
The defaults are 6.02214076 × 1023 carbon atoms and a carbon molar mass of 12.011 g/mol. Apply the conversion:
- Convert atoms to moles:
n = 6.02214076 × 1023 atoms ÷ 6.02214076 × 1023 atoms/mol = 1.000000 mol. - Multiply moles by molar mass:
m = 1.000000 mol × 12.011 g/mol = 12.011 g. - Rounded to the calculator’s four decimal places, the mass is 12.0110 g. The reported amount is 1.000000 mol.
Assumptions
- The count is a number of individual atoms, not molecules, ions, or formula units.
- All counted atoms belong to one element, and the entered molar mass represents that element.
- The calculation converts count to amount of substance and then to mass; it does not account for impurities, isotopic enrichment, or measurement uncertainty.
What You’ll Need
- The number of atoms, as a count or a value in scientific notation.
- The element’s molar mass in g/mol. Use the periodic table value for ordinary samples, or a suitable isotope-specific value when the sample is isotopically enriched.
- A calculator, or the calculator above. No laboratory equipment is needed for the arithmetic.
Step-by-Step
- Identify what is being counted. Confirm that the given quantity is atoms. If a question gives molecules, first determine how many atoms of the element each molecule contains, then multiply the molecule count by that number. For example, one O2 molecule contains two oxygen atoms.
- Find the correct molar mass. Look up the element’s atomic weight and use its numerical value as g/mol. For example, carbon is 12.011 g/mol and oxygen is 15.999 g/mol under the standard abridged atomic weights. If the question gives a molar mass, use that value rather than substituting a different one.
- Write down Avogadro’s constant. Use 6.02214076 × 1023 atoms per mole. This is exact in the SI system. Keep the units visible so the atom units cancel correctly.
- Divide the atom count by Avogadro’s constant. This gives moles: moles = atoms ÷ (6.02214076 × 1023 atoms/mol). For 3.01107038 × 1023 atoms, the amount is 0.5000000 mol.
- Multiply moles by molar mass. Use grams = moles × molar mass. In the example, 0.5000000 mol × 12.011 g/mol = 6.0055 g. The mol units cancel, leaving grams.
- Round the final result appropriately. Follow the significant figures of the least precise supplied measurement. If an assignment specifies a number of decimal places, follow that instruction. Keep extra digits during the calculation and round only the final answer.
- Check the scale and units. One mole of carbon atoms has a mass of about 12 g. A count much smaller than one mole should give a proportionally smaller mass. If your answer is in mol rather than g, you have stopped after the conversion step.
Common Mistakes
- Multiplying atoms by molar mass directly. Atoms must first be converted to moles. Dividing by Avogadro’s constant provides this essential step.
- Using the reciprocal incorrectly. For atoms to grams, divide by Avogadro’s constant, then multiply by molar mass. Multiplying the atom count by Avogadro’s constant goes in the wrong direction.
- Mixing up atoms and molecules. A molecule may contain multiple atoms of the element. Convert the molecule count to an atom count before using this calculator.
- Choosing the wrong molar mass. Do not use the mass of a whole compound when converting a count of atoms of one element. If the sample is a compound, establish whether the given count means atoms, molecules, or formula units and use a calculation appropriate to that entity.
- Dropping powers of ten or units. Enter values such as 3.0 × 1022 as 3.0e22. Check that the final units reduce to grams.
- Rounding too soon. Truncating Avogadro’s constant or intermediate moles can distort small results. Carry the digits through and round once at the end.
Tips
- Use scientific notation for very large or small atom counts; it makes powers of ten easier to check.
- Use dimensional analysis: atoms ÷ (atoms/mol) gives mol, and mol × (g/mol) gives g.
- If a problem provides a mass and asks for atoms instead, reverse the process: divide grams by molar mass to get moles, then multiply by Avogadro’s constant.
- For isotopes, use the isotope’s molar mass when specified. Natural-element atomic weights are averages based on naturally occurring isotope abundances and may not suit an enriched isotope sample.
- For laboratory work, follow your lab method, the safety data sheet (SDS) and your supervisor.
Troubleshooting
The answer is impossibly huge or tiny: Check the exponent and whether the input is atoms or moles. A count near 6.022 × 1023 atoms is about one mole, so its mass in grams should be close to the element’s molar mass.
The calculator rejects my number: Enter a nonnegative atom count. Do not type units, commas, or the multiplication sign; use a plain number such as 3.0e22. For a fractional expected count, the arithmetic can still be used, but an actual counted number of atoms is whole.
The result seems off by a factor of two: Check whether the original quantity was molecules of a diatomic element. If it was O2 molecules, each molecule contains two oxygen atoms; alternatively, calculate directly with the molecular molar mass if converting molecules to grams.
My answer differs slightly from a reference: Compare the molar mass and rounding conventions. A table may show fewer digits, while isotopic composition may also change the appropriate mass. Keep units and significant figures consistent.
Frequently Asked Questions
What is the formula for converting atoms to grams?
Mass in grams equals the atom count divided by 6.02214076 × 1023 atoms/mol, multiplied by molar mass in g/mol.
Can I convert atoms directly to grams?
Yes, using the combined formula, but it still includes the atom-to-mole conversion. Track the units to avoid skipping or reversing that step.
How many grams is one atom?
One atom has a mass of its element’s molar mass divided by Avogadro’s constant. For carbon-12 using 12.011 g/mol, that is about 1.995 × 10−23 g per atom.
Do I use atomic mass or molar mass?
For this calculation, use molar mass in g/mol. Periodic-table atomic-weight values have the same numerical value when expressed as g/mol for ordinary samples.
How do I convert molecules to grams?
Use the molecule count divided by Avogadro’s constant, then multiply by the molecule’s molar mass. Do not use an element’s atomic molar mass unless the particle is a single atom.
Does this method work for ions or formula units?
The count-to-moles conversion works for any specified particle. Use the molar mass of that particle or chemical entity, and be precise about whether the count refers to ions, molecules, or formula units.
Related
Formula used
in atoms | Number of atoms | atoms | 6.02214076e23 | 0 in mm | Element molar mass | g/mol | 12.011 | 0.001 out g | Mass | g | atoms / 6.02214076e23 * mm | 4 out mol | Amount of substance | mol | atoms / 6.02214076e23 | 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
- 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 Calculation Steps and Formula78.1966 g/mol