Convert atoms to grams by dividing the number of atoms by Avogadro’s constant, then multiplying by the element’s molar mass. Enter an atom count and an element’s atomic mass to calculate the sample’s mass in grams; the result assumes the atoms are all of that element or isotope.
Formula
The mass in grams equals the number of atoms divided by Avogadro’s constant, multiplied by the molar mass:
m = (N ÷ NA) × M
- m is mass in grams (g).
- N is the number of atoms (an atom count, not a mass).
- NA is Avogadro’s constant, exactly 6.02214076 × 1023 mol−1.
- M is the element’s molar mass in grams per mole (g/mol). For an element, its numerical value is approximately its atomic mass in atomic mass units.
The calculator also reports the amount in moles: n = N ÷ NA. It then finds mass from m = n × M. Together, these steps convert a count of atoms into an amount of substance and then into mass.
Worked Example
Using the calculator’s default values—6.02214076 × 1023 atoms and a molar mass of 12.011 g/mol:
- Convert atoms to moles: n = (6.02214076 × 1023 atoms) ÷ (6.02214076 × 1023 atoms/mol) = 1.000000 mol.
- Multiply by molar mass: m = 1.000000 mol × 12.011 g/mol = 12.011 g.
Rounded to the calculator’s six decimal places, the result is 12.011000 g. The additional output is 1.000000 mol.
Assumptions
- The entered count refers to atoms of one element, and the entered molar mass matches that element’s composition.
- The sample is treated as having a uniform composition; the calculation does not account for impurities or other elements.
- The default molar mass, 12.011 g/mol, is the abridged standard atomic weight of carbon. Use the appropriate value when calculating a different element or a specified isotope.
How to Convert Atoms to Grams
First determine how many atoms are present, or use the atom count supplied in a problem. Next, select the molar mass that corresponds to those atoms. Divide the count by Avogadro’s constant to obtain moles, then multiply the moles by the molar mass to obtain grams.
For example, a count of 3.01107038 × 1023 carbon atoms is half of Avogadro’s constant, so it represents 0.500000 mol. Using carbon’s molar mass, the mass is 0.500000 mol × 12.011 g/mol = 6.0055 g. The calculator rounds the displayed mass according to its six-decimal setting.
The same calculation can be combined into one expression, but keeping the two steps visible helps catch errors: atoms-to-moles first, moles-to-grams second. Units also confirm the conversion: atoms divided by atoms per mole gives moles, and moles multiplied by grams per mole gives grams.
Choosing the Right Molar Mass
For an element, use its atomic weight from a reliable periodic table as the molar mass in g/mol. The calculator’s default, 12.011 g/mol, is for carbon—not a universal value for every atom. For common elements, standard atomic weights are often reported as values such as hydrogen 1.008, oxygen 15.999, and sodium 22.990 g/mol. These are conventional averages reflecting the natural isotopic composition of the element.
If the question specifies a particular isotope, use that isotope’s molar mass rather than the element’s natural-abundance average. A sample consisting of a specific isotope can have a different mass per mole. The atom-to-mole conversion still uses Avogadro’s constant; only the molar mass changes.
For a molecule or compound, do not enter the atomic mass of one constituent atom if the count is a count of molecules. Instead, calculate the compound’s molar mass by adding the atomic masses in its chemical formula, then convert molecules to moles with Avogadro’s constant. The calculator here is designed for atoms and a single matching molar mass.
Very Large and Very Small Counts
Avogadro’s constant is a very large number because even a small laboratory-scale quantity of matter contains an enormous number of particles. Consequently, atom counts are often written in scientific notation. For example, 1.204428152 × 1024 atoms is 2 mol, because it is twice Avogadro’s constant. If those atoms are carbon, their mass is 2 mol × 12.011 g/mol = 24.022 g.
A count smaller than Avogadro’s constant represents less than one mole. A fraction of a mole is perfectly valid: 1.00 × 1020 atoms corresponds to about 1.66054 × 10−4 mol. Such a count can produce a very small mass, so reporting precision and scientific notation may be more useful than rounding to a whole gram.
Common Errors and Limits
- Multiplying by Avogadro’s constant: To convert atoms to moles, divide by 6.02214076 × 1023, not multiply. Multiplication is used to convert moles into particles.
- Using the wrong substance’s molar mass: A correct atom count paired with the wrong element’s molar mass gives an incorrect mass.
- Confusing atoms with molecules: A count of molecules is not the same as a count of atoms. Account for the number and types of atoms in each molecule when the question asks for total atoms.
- Rounding too early: Keep extra digits through the calculation and round the final result to match the precision justified by the inputs.
- Assuming every sample has natural isotope proportions: Enriched or isotope-specific material may require an isotope-specific molar mass.
This is a stoichiometric conversion, not a measurement of a sample’s purity or composition. It does not determine how many atoms are actually present in a physical sample unless that count is known or obtained from another measurement or calculation. Real measurements may have uncertainty in both the atom count and the molar mass.
Frequently Asked Questions
What is the formula for converting atoms to grams?
Divide the number of atoms by 6.02214076 × 1023 atoms per mole, then multiply by the molar mass in grams per mole: grams = atoms ÷ Avogadro’s constant × molar mass.
How many grams is one atom?
For a given element, divide its molar mass in g/mol by Avogadro’s constant. For carbon using 12.011 g/mol, one atom has a calculated mass of about 1.994 × 10−23 g.
Can I convert atoms to grams without knowing the element?
No. The atom count can be converted to moles without knowing the element, but converting moles to grams requires the molar mass. Different elements and isotopes have different molar masses.
Is Avogadro’s number the same as Avogadro’s constant?
The terms are often used interchangeably in basic chemistry. Avogadro’s constant is the exact value 6.02214076 × 1023 particles per mole; the particles must be specified, such as atoms, molecules, or ions.
How do I convert grams back to atoms?
Divide the mass in grams by the molar mass in g/mol to get moles, then multiply by Avogadro’s constant. Check that the molar mass corresponds to the element or substance in the sample.
Related
Formula used
in a | Number of atoms | atoms | 6.02214076e23 | 0 in mm | Molar mass | g/mol | 12.011 | 0 out g | Mass | g | a / 6.02214076e23 * mm | 6 out mol | Amount of substance | mol | a / 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 Calculator and Calculation78.1966 g/mol