molecalculator

Moles & Molar Mass

Atomic Mass to Grams: Convert Atoms or Moles

Calculator No. 01-3095 · Updated · Formula and assumptions shown below

Mass 1.994 × 10−23 g
Molar mass
12.011 g/mol
= Atomic mass
Atomic mass
12.011 u
Set in the form below
Number of atoms
1 atoms
Set in the form below
You enter
Atomic mass (u), Number of atoms (atoms)
You get
Mass (g), Molar mass (g/mol)
Rounding
6 dp · 3 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

Atomic mass in atomic mass units (u) converts to grams by multiplying by the number of atoms and dividing by Avogadro’s constant: mass (g) = atomic mass (u) × number of atoms ÷ 6.02214076 × 1023. For a sample measured in moles, use mass (g) = molar mass (g/mol) × amount (mol); enter the atomic mass, number of atoms, or amount in moles to calculate the corresponding mass in grams.

Formula

The calculator uses mass in grams = atomic mass in u × number of atoms ÷ Avogadro’s constant. In symbols, m = A × N / NA.

  • m is the mass in grams (g).
  • A is the atomic mass of one atom in unified atomic mass units (u).
  • N is the number of atoms, a count.
  • NA is Avogadro’s constant, exactly 6.02214076 × 1023 mol−1.

One u is defined as 1/12 of the mass of a carbon-12 atom. Its value in SI units is approximately 1.660539068 × 10−24 g. Therefore, the formula is also mass = atomic mass × number of atoms × 1.660539068 × 10−24 g/u. The calculator uses the equivalent Avogadro-constant form. Its second result reports the same atomic mass as a molar mass in g/mol: the numerical value is the same, while the units and physical meaning differ.

Worked Example

Using the default entries, take carbon with atomic mass 12.011 u and a sample containing 1 atom:

  1. Multiply atomic mass by atom count: 12.011 u × 1 atom = 12.011 u.
  2. Divide by Avogadro’s constant: 12.011 ÷ (6.02214076 × 1023) g = 1.9944735 × 10−23 g.
  3. Rounded to the calculator’s six decimal places in grams, the displayed mass is 0.000000 g. This display rounding hides the tiny nonzero result; in scientific notation it is approximately 1.994474 × 10−23 g.

The second output is 12.011 g/mol, the molar mass corresponding to the selected atomic mass. The unrounded first result is the meaningful value for one atom.

Assumptions

  • The input atomic mass represents the isotope or natural isotopic composition appropriate to the question.
  • Each counted particle is one atom of the specified element; molecules and formula units require a molar mass for the whole particle instead.
  • Avogadro’s constant is exact; the atomic mass entered may be rounded or isotope-dependent.

What Atomic Mass Means

Atomic mass is the mass of an individual atom expressed in u. Periodic-table values for many elements are standard atomic weights: weighted averages reflecting the abundances of naturally occurring isotopes. For example, carbon’s commonly used standard atomic weight is 12.011, while a particular carbon-12 atom has a mass of exactly 12 u by definition. An isotope-specific calculation should use the mass of that isotope, not automatically the periodic-table average.

Molar mass is the mass of one mole of a substance, expressed in grams per mole. For an element with atomic mass 12.011 u, its molar mass is approximately 12.011 g/mol. This numerical correspondence follows from the definitions of the atomic mass unit and the mole; it does not mean that one atom weighs 12.011 grams. A single atom’s mass is extraordinarily small.

Convert From Moles or Grams

If the quantity is already expressed in moles, multiply by molar mass: m (g) = n (mol) × M (g/mol). For example, 0.500 mol of carbon at 12.011 g/mol has a mass of 6.0055 g. To work backward, divide mass by molar mass: n = m/M.

For a known number of atoms, first convert the count to moles by dividing by Avogadro’s constant, then multiply by molar mass. The calculator combines those steps into one expression. To determine the number of atoms from a mass, rearrange the relationship: N = m × NA/A. For a compound, use its molar mass and count molecules or formula units, not the atomic mass of just one element.

Examples and Choosing the Right Mass

For a chemical formula, calculate molar mass by adding the atomic contributions of all its atoms. Water, H2O, has a molar mass of approximately 2(1.008) + 15.999 = 18.015 g/mol using the standard atomic weights shown. Thus, one mole of water molecules has a mass of about 18.015 g, and each molecule has a mass of about 18.015 ÷ (6.02214076 × 1023) g.

Choose the input that matches what you know:

  • One atom or an atom count: enter the element’s atomic mass and the number of atoms.
  • A quantity in moles: multiply the amount by molar mass; the calculator’s count input is for atoms, not moles.
  • A molecule or ionic compound: add the atomic masses in its formula to obtain its molar mass, then use the mole relationship.
  • A specific isotope: use that isotope’s mass when the question is about individual isotope atoms rather than a natural-abundance average.

Common Mistakes and Limits

The most common error is treating u, g/mol, and g as interchangeable. Atomic mass in u describes one atom; molar mass in g/mol describes one mole; grams describe the actual sample. The numerical similarity between atomic mass and molar mass does not remove the need to track units. Another frequent mistake is entering a number of moles in a field asking for a count of atoms. One mole contains 6.02214076 × 1023 specified entities.

Rounding can also obscure a correct result. A single atom has a mass near 10−23 g, so displaying a value to six places after the decimal gives 0.000000 g. Use scientific notation or calculate a larger collection of atoms when that precision matters. The number of significant figures should reflect the precision of the atomic mass and the count, rather than imply that a rounded periodic-table value is exact for every sample.

This calculation is a mass conversion, not a measurement of a real sample. It does not account for impurities, moisture, isotopic variation beyond the selected mass, or losses in handling. The simple atomic-mass input applies directly to atoms; compounds require their full formula mass. For laboratory work, follow your lab method, the safety data sheet (SDS) and your supervisor.

Frequently Asked Questions

How do you convert atomic mass to grams?
Multiply atomic mass in u by the number of atoms, then divide by 6.02214076 × 1023. For one atom, the result is its atomic mass divided by Avogadro’s constant, expressed in grams.

Is atomic mass the same as molar mass?
No. Atomic mass is expressed in u per atom, while molar mass is expressed in g/mol. Their numerical values are approximately equal for the same element because of the definitions connecting u and the mole.

How many grams is one atom of carbon?
Using carbon’s standard atomic weight of 12.011, one atom has a mass of about 12.011 ÷ (6.02214076 × 1023) = 1.994 × 10−23 g. A carbon-12 isotope atom is a different, specifically defined case.

How do I convert moles to grams?
Multiply moles by molar mass in g/mol. For example, 0.500 mol of carbon at 12.011 g/mol is 6.0055 g.

Can I use this for molecules or compounds?
Yes, but use the molecule’s or compound’s total molar mass, found by summing the atomic masses in its chemical formula. Count molecules or formula units rather than entering the mass of just one constituent atom.

Related

Formula used
in a | Atomic mass | u | 12.011 | 0
in n | Number of atoms | atoms | 1 | 0
out g | Mass | g | a * n / 6.02214076e23 | 6
out m | Molar mass | g/mol | a | 3

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

The whole Moles & Molar Mass section →