Enter the total number of atoms of a substance and the average atomic mass (molar mass, in g/mol) into the calculator. The calculator uses Avogadro’s number (6.02214076×10^23 atoms/mol) to convert atoms to grams. This calculator can also convert grams to atoms.

Atoms ↔ Grams Calculator

Grams → Atoms
Atoms → Grams

Pick an element, enter your value, then click Calculate.

Calculator Operations Required Inputs
Convert Grams to Atoms Grams, Average Atomic Mass
Calculate Molar Mass (g/mol) from Grams and Atoms Grams, Number of Atoms
Convert Atoms to Grams Number of Atoms, Average Atomic Mass

Atoms to Grams Formula

The following equation is used to calculate the total number of grams from atoms.

G = A * AAM / (6.02214076e23)
  • Where G is grams
  • A is the total number of atoms
  • AAM is the average atomic mass (molar mass) in g/mol

To calculate grams from atoms, multiply the number of atoms by the molar mass (g/mol), then divide by Avogadro’s number (6.02214076×10^23 atoms/mol).

Number of Atoms to Grams Conversion Table (Carbon, average atomic mass = 12.01 g/mol)
Atoms Grams (g)
1×10^200.00199
2×10^200.00399
5×10^200.00997
1×10^210.0199
2×10^210.0399
5×10^210.0997
1×10^220.199
2×10^220.399
5×10^220.997
1×10^231.99
2×10^233.99
5×10^239.97
6.02214076×10^2312.0
1×10^2419.9
1.5×10^2429.9
2×10^2439.9
3×10^2459.8
5×10^2499.7
1×10^25199
1×10^261990
* Rounded to 3 significant figures. Assumes Carbon (12.01 g/mol). Avogadro’s number: 6.02214076×10^23 mol⁻1. Formula: grams = atoms × (12.01 g/mol) ÷ (6.02214076×10^23).

Atoms to Grams Definition

Converting atoms to grams uses Avogadro’s number (6.02214076×10^23 atoms/mol) to convert atoms to moles, then uses the molar mass (g/mol) to convert moles to grams.

How to convert atoms to grams?

Example Problem:

First, determine the total number of atoms in the substance. Calculate the total number of atoms you are measuring.

For this example, the number of atoms in the sample is 6.02214076×10^23 atoms (which is 1 mole of atoms).

Next, determine the average atomic mass (molar mass) in g/mol. For more information on how to do this, you can visit the average atomic mass calculator linked above.

In this case (carbon), the molar mass is approximately 12.01 g/mol.

Finally, calculate the amount of grams in the substance using the formula above:

G = A * AAM / (6.02214076×10^23)

G = (6.02214076×10^23 * 12.01) / (6.02214076×10^23)

G = 12.01 grams

FAQ

What is average atomic mass?

Average atomic mass (also called atomic weight) is the weighted average of the masses of an element’s naturally occurring isotopes, using their fractional abundances.

What is an atom?

An atom is the smallest unit of a chemical element that retains that element’s chemical properties.