Calcy Mate Logo
Chemistry Calculators

Atomic Mass Calculator

Estimate nuclide mass in atomic mass units (u) and kilograms from proton and neutron counts using standard nucleon rest masses.

CalcyMate
CreatorCalcyMate

Every atom has a mass — and knowing it precisely is the foundation of chemistry, nuclear physics, and materials science. An atomic mass calculator takes two inputs — number of protons (Z) and number of neutrons (N) — and instantly outputs the mass number, estimated mass in atomic mass units (u), and estimated mass in kilograms. It's built on the core formula: A = Z + N.

Mass is computed from free proton and neutron rest masses, with a note that real nuclide masses differ slightly due to nuclear binding energy. Whether you're calculating Carbon-12, Oxygen-16, or heavy hydrogen (deuterium), CalcyMate delivers instant results. Explore all free chemistry calculators for atomic mass, molar mass, stoichiometry, and more.

 

Every element on the periodic table has a mass — but where does that number actually come from? And why is it almost never a clean whole number?

An atomic mass calculator answers both questions. Enter the number of protons and neutrons in any atom, and get back the mass number, estimated atomic mass in unified atomic mass units (u), and the mass converted to kilograms.

Clean inputs. Precise outputs. Full understanding.

What Is Atomic Mass?

Atomic mass is the total quantity of matter contained in an atom — primarily the combined mass of its protons and neutrons.

Key facts:

  • Unit: Atomic mass units (amu) also called unified atomic mass units (u) or Daltons (Da)

  • 1 amu = 1/12th the mass of a Carbon-12 atom = 1.66054 × 10⁻²⁷ kg

  • Electron mass is considered negligible — protons and neutrons make up virtually all of an atom's mass

  • The value on the periodic table is a weighted average across all naturally occurring isotopes of that element

Mass Number vs. Atomic Mass — What's the Difference?

This trips up almost everyone in chemistry class. Here's the clear distinction:

 

Mass Number (A)

Atomic Mass

What it is

Integer sum of protons + neutrons

Precise weighted average mass

Format

Always a whole number

Rarely a whole number

Example (Carbon)

12

12.011 g/mol

Found on periodic table?

No

Yes

Used for

Identifying isotopes

Chemical calculations

Mass number tells you what isotope you're looking at. Atomic mass tells you the precise, measurable mass — accounting for isotope abundance and mass defect.

Key Concepts in Atomic Mass

Nucleus Focus

Protons and neutrons make up essentially all of an atom's mass. Electrons contribute so little (about 1/1836th the mass of a proton) that they're treated as negligible in atomic mass calculations.

Isotopes and Weighted Average

Most elements exist as multiple isotopes — atoms with the same number of protons but different numbers of neutrons. The atomic mass on the periodic table is a weighted average based on the natural abundance of each isotope.

Example — Chlorine has two main isotopes:

  • Cl-35 (75.77% natural abundance) — mass 34.969 u

  • Cl-37 (24.23% natural abundance) — mass 36.966 u

  • Weighted average = (34.969 × 0.7577) + (36.966 × 0.2423) = 35.453 u

That's why chlorine's atomic mass is 35.453 — not 35 or 37.

Mass Defect

The observed atomic mass is slightly less than the simple sum of individual proton and neutron masses. This missing mass — called the mass defect — was converted into nuclear binding energy when the nucleus formed. This is the energy that holds the nucleus together, described by Einstein's famous E = mc².

The Atomic Mass Formula

Mass Number Formula (Integer)

A = Z + N

Where:

  • A = Mass number (total protons + neutrons)

  • Z = Number of protons (atomic number)

  • N = Number of neutrons

Estimated Atomic Mass (in u)

Estimated mass (u) = (Z × mass of proton) + (N × mass of neutron)

Where:

  • Mass of proton = 1.007276 u

  • Mass of neutron = 1.008665 u

Note: This gives an estimated mass based on free particle rest masses. Real nuclide masses are slightly lower due to nuclear binding energy (mass defect).

Convert to Kilograms

Mass (kg) = Mass (u) × 1.66054 × 10⁻²⁷

How the Atomic Mass Calculator Works

Inputs

  • Number of protons (Z) — the atomic number; defines which element it is

  • Number of neutrons (N) — determines which isotope of that element

Outputs

  • Mass number A = Z + N — the integer sum, displayed automatically

  • Estimated mass (u) — calculated from proton and neutron rest masses

  • Estimated mass (kg) — the same mass converted to kilograms

The calculator notes: "Mass is computed from free proton and neutron rest masses in u; real nuclide masses differ slightly due to nuclear binding energy."

Worked Examples — Step by Step

Example 1 — Carbon-12 Nuclide (6 protons, 6 neutrons)

  1. Z = 6, N = 6

  2. A = 6 + 6 = 12

  3. Estimated mass = (6 × 1.007276) + (6 × 1.008665)

  4. = 6.043656 + 6.051990 = 12.095646 u

  5. Real mass of Carbon-12 = exactly 12.000 u (by definition — the reference standard)

  6. Mass defect = 12.095646 − 12.000 = 0.0956 u converted to binding energy

Example 2 — Oxygen-16 (8 protons, 8 neutrons)

  1. Z = 8, N = 8

  2. A = 8 + 8 = 16

  3. Estimated mass = (8 × 1.007276) + (8 × 1.008665)

  4. = 8.058208 + 8.069320 = 16.127528 u

  5. Real mass of Oxygen-16 = 15.9949 u

Example 3 — Heavy Hydrogen / Deuterium (1 proton, 1 neutron)

  1. Z = 1, N = 1

  2. A = 1 + 1 = 2

  3. Estimated mass = (1 × 1.007276) + (1 × 1.008665) = 2.015941 u

  4. Real mass of Deuterium = 2.01410 u

Common Nuclide Quick Reference

Element

Protons (Z)

Neutrons (N)

Mass Number (A)

Real Atomic Mass

Hydrogen-1

1

0

1

1.00794 u

Deuterium

1

1

2

2.01410 u

Carbon-12

6

6

12

12.000 u

Carbon-14

6

8

14

14.003 u

Oxygen-16

8

8

16

15.995 u

Sodium-23

11

12

23

22.990 u

Iron-56

26

30

56

55.845 u

Uranium-238

92

146

238

238.029 u

Fun Fact That'll Make You Laugh 😄

Carbon-12 is defined as having a mass of exactly 12 atomic mass units — not approximately 12, but by definition, precisely 12.

This means the entire global system of atomic mass measurement is anchored to one specific isotope of the element used to make pencils and diamonds.

Every atomic mass ever calculated is ultimately just asking: "how does this compare to a carbon atom?"

Science chose graphite as its universal reference point. Pencil manufacturers had no idea they were holding the foundation of nuclear physics. 😂

FAQs

How do you calculate atomic mass?

Add the number of protons multiplied by proton mass (1.007276 u) to neutrons multiplied by neutron mass (1.008665 u). For the mass number (integer), simply add protons + neutrons. Real atomic masses differ slightly due to mass defect from nuclear binding energy.

What is average atomic weight?

It's the weighted average of all naturally occurring isotopes of an element, based on each isotope's natural abundance. This is the number shown on the periodic table — which is why most atomic masses aren't whole numbers.

What is the difference between mass number and atomic mass?

Mass number is always a whole number — it's the simple count of protons plus neutrons. Atomic mass is the precise measured mass in u, which accounts for isotope abundances and mass defect. They're close but rarely identical.

What is mass defect in atomic mass?

Mass defect is the difference between the calculated mass of individual protons and neutrons and the actual measured mass of the nucleus. The "missing" mass was converted into nuclear binding energy when the nucleus formed — described by E = mc².

Why is atomic mass not a whole number on the periodic table?

Because the value listed is a weighted average across all naturally occurring isotopes of that element. Each isotope has a different number of neutrons, giving it a slightly different mass. Blend them by natural abundance and you almost always get a decimal number.

Number of protons (Z)
Number of neutrons (N)
Mass number A = Z + N
Estimated mass (u)
Estimated mass (kg)

Mass is computed from free proton and neutron rest masses in u; real nuclide masses differ slightly due to nuclear binding energy.

Check our examples: