Calculate the mass of atoms from an atom count and element, or how many atoms are in a mass in grams, with moles and molar mass conversions.
- All Chemistry Calculators
- Atoms to Grams Calculator
- Average Atomic Mass Calculator
- Moles to Atoms Calculator
- Moles to Mass Calculator
- Mass to Moles Calculator
- Moles to Molecules Calculator
Calculator Functions
| Function | What it does | What it requires |
|---|---|---|
| Mass from atoms | Finds the total mass of a number of atoms of one element | Requires the number of atoms and the element, or a custom average atomic mass in u |
| Atoms from mass | Finds how many atoms are in a mass of one element | Requires the mass (g, kg, oz or lb) and the element, or a custom average atomic mass in u |
| Average atomic mass | Finds the average mass of one atom in u from a sample | Requires the mass of the sample and the number of atoms in it |
| Atoms from moles | Converts an amount in moles to a number of atoms | Requires the amount in mol |
| Moles from atoms | Converts a number of atoms to an amount in moles | Requires the number of atoms |
| Mass from moles | Finds the mass of an amount of an element or compound | Requires the amount in mol and the element, or a custom molar mass in g/mol |
| Moles from mass | Finds the amount in moles in a mass of an element or compound | Requires the mass and the element, or a custom molar mass in g/mol |
| Molar mass | Finds the molar mass in g/mol from a sample | Requires the mass of the sample and the amount in mol |
The Element list fills in the atomic mass or molar mass for 21 common elements, from hydrogen to uranium, using standard atomic weights [3]. Custom atomic mass and Custom molar mass accept any other value, such as a single isotope or a compound. Large and small numbers can be typed in scientific notation, such as 6.022e23. Mass results can be shown in g, kg, oz or lb.
Mass of Atoms Formulas
| m | Total mass of the atoms (g) |
| N | Number of atoms |
| A | Average atomic mass of the element (u, also written amu) |
| mᵤ | Atomic mass constant, 1.66053906892 × 10⁻²⁴ g [1] |
| Nₐ | Avogadro constant, 6.02214076 × 10²³ atoms per mole [2] |
The mass of one atom is its atomic mass in u multiplied by mᵤ. One carbon atom is 12.011 × 1.66053906892 × 10⁻²⁴ = 1.99447 × 10⁻²³ g, and one hydrogen atom is 1.67382 × 10⁻²⁴ g. An atomic mass in u and a molar mass in g/mol are the same number for practical purposes, because Nₐ × mᵤ is 1 g/mol to within about one part in a billion.
Mass from atoms
The main formula applies directly. A count of 6.02214076 × 10²³ carbon atoms, which is one mole, has a mass of 12.011 g.
Atoms from mass
A 1 g sample of gold, at 196.97 u, holds 1 ÷ (196.97 × 1.66053906892 × 10⁻²⁴) = 3.05739 × 10²¹ atoms.
Average atomic mass
This works back from a sample to the average mass per atom. It needs a mass and an atom count that are both above zero.
Atoms from moles
n is the amount in moles. Two moles of any element contain 1.204428 × 10²⁴ atoms.
Moles from atoms
A count of 3.01107 × 10²³ atoms is 0.5 mol.
Mass from moles
M is the molar mass in g/mol. Two moles of carbon at 12.011 g/mol have a mass of 24.022 g.
Moles from mass
A 24.022 g sample of carbon is 2 mol. With a custom molar mass of 18.015 g/mol, 36.03 g of water is 2 mol of molecules.
Molar mass
A 36 g sample that is 2 mol has a molar mass of 18 g/mol.
Limits of This Estimate
- Element values are standard atomic weights, which average the natural mix of isotopes [3]. A single isotope, or a sample with an unusual isotope mix, needs its own value entered as a custom mass.
- The atom functions count atoms of one element. For a compound, a molar mass gives moles of molecules or formula units, and the atoms per molecule must be multiplied in separately.
- Results are shown to 6 significant figures. The atomic mass constant is a measured value with an uncertainty of about 3 parts in 10 billion [1], far smaller than the uncertainty of most atomic weights.
Sources
- NIST, CODATA Value: atomic mass constant: atomic mass constant, 1.66053906892 × 10⁻²⁷ kg (2022 CODATA)
- NIST, CODATA Value: Avogadro constant: Avogadro constant, exactly 6.02214076 × 10²³ per mole
- IUPAC Commission on Isotopic Abundances and Atomic Weights, Abridged Standard Atomic Weights 2024: atomic weights behind the element list

