Atomic Mass Calculator

The atomic number; it identifies the element.
Equal to Z for a neutral atom; fewer for a cation, more for an anion. Leave blank for a neutral atom.
Chemistry Updated 5 Nov 2026

Estimates the mass of a single atom or ion from what it is made of: the number of protons (Z), neutrons (N) and electrons. The quick estimate counts every nucleon as one unified atomic mass unit, so the mass in u equals the mass number A = Z + N, and it is also shown in kilograms. For a closer look the calculator adds up the CODATA 2022 rest masses of the separate protons, neutrons and electrons, shows how little the electrons contribute and gives the nuclide symbol and charge. Real atoms weigh slightly less than that particle sum because of the nuclear binding energy.

  • The headline atomic mass uses the mass number approximation (each nucleon = 1 u); it does not use measured isotope masses.
  • The particle sum uses free-particle rest masses and does not subtract nuclear or electron binding energy.
  • Electron counts are limited to Z + 3 (anions up to a 3− charge); Z is limited to 200 and N to 300.

Formula

m ≈ A × u = (Z + N) × 1.66053906892 × 10⁻²⁷ kg; particle sum = Z·mₚ + N·mₙ + e·mₑ
  • CODATA 2022 values: mₚ = 1.0072764665789 u, mₙ = 1.00866491606 u, mₑ = 0.0005485799090441 u and 1 u = 1.66053906892 × 10⁻²⁷ kg.
  • The quick estimate treats each proton and neutron as 1 u and ignores the electrons, which weigh about 1/1836 of a proton.
  • The particle sum is what the separate, free particles would weigh. A bound atom is lighter by the mass defect Δm = E_binding ÷ c²; for carbon-12 the atom is exactly 12 u, so Δm = 12.098940 − 12 = 0.098940 u.
  • Other mass units are the estimate divided by the size of that unit: 1 ng = 6.02214 × 10¹⁴ u, and one mₑ, mₚ or mₙ is the particle mass in u given above.
  • Masses of 1 or more are rounded to 4 decimal places (the particle sum in u to 6), smaller ones to 6 significant figures; below 10⁻⁶ or from 10¹⁵ up, scientific notation is used.

Carbon-12: 6 protons, 6 neutrons and 6 electrons

Inputs
  • Number of protons (Z): 6
  • Number of neutrons (N): 6
  • Number of electrons: 6
  • Atomic mass unit: u

A = 6 + 6 = 12, so the atomic mass is about 12 u, or 12 × 1.66053906892 × 10⁻²⁷ = 1.99265 × 10⁻²⁶ kg. Adding the particles: 6 × 1.0072764666 + 6 × 1.0086649161 + 6 × 0.0005485799 = 12.098940 u (2.00908 × 10⁻²⁶ kg), of which the electrons make up 0.0272%. The 0.098940 u above 12 u is the mass lost as binding energy.

Sources & references

Frequently asked questions

How do you calculate the atomic mass of an atom?
Add the protons and neutrons to get the mass number A, and the mass is about A atomic mass units. Oxygen-16 with 8 protons and 8 neutrons is roughly 16 u, or 16 × 1.66054 × 10⁻²⁷ = 2.65686 × 10⁻²⁶ kg.
Why are the electrons usually ignored?
An electron is about 1,836 times lighter than a proton. In carbon-12 the six electrons add only 0.0033 u, about 0.027% of the total, which is smaller than the uncertainty of the quick A × 1 u estimate.
Why does the sum of particle masses exceed the real atomic mass?
Binding protons and neutrons into a nucleus releases energy, and by E = mc² that energy is mass that leaves. The free particles of carbon-12 weigh 12.098940 u, but the atom weighs exactly 12 u; the 0.098940 u difference is the mass defect, about 92.2 MeV of binding energy.
Is atomic mass the same as the atomic weight on the periodic table?
No. This calculator gives the mass of one specific isotope. The periodic-table value is a weighted average over the natural isotopes, so chlorine shows 35.45 even though no single chlorine atom has that mass.

Related calculators