
At a Glance
Atomic number (Z) is the number of protons in a nucleus and identifies the element. Mass number (A) is the number of protons plus neutrons, A = Z + N, so the number of neutrons is N = A - Z. For example, iron-56 has Z = 26 and A = 56, so it has 30 neutrons.
- Atomic number
- Z = number of protons
- Mass number
- A = number of protons + neutrons
- Formula
- A = Z + N, so N = A − Z
- Notation
- AZX, for example 5626Fe
- Units
- Both are pure whole numbers, with no unit
- Electrons in a neutral atom
- Equal to Z
On this page
- What Are Atomic Number and Mass Number?
- Atomic Number and Mass Number Explained Simply
- Why Does the Atomic Number Define the Element?
- How Do You Write Atomic Number and Mass Number in Nuclear Notation?
- How Do You Find the Number of Protons, Neutrons and Electrons?
- Is Mass Number the Same as Atomic Mass?
- What Are Isotopes, Isobars and Isotones?
- How Do Z and A Change in Radioactive Decay?
- How Do Neutron and Proton Numbers Affect Stability?
- How Were Atomic Number and Mass Number Discovered?
- Practice Atomic Number and Mass Number Problems
- Common Misconceptions
- Key Facts
- Quiz
- FAQ
What Are Atomic Number and Mass Number?
Every atom has a tiny, dense nucleus built from two kinds of particles, protons and neutrons, known together as nucleons. Two whole numbers describe what that nucleus holds.
The atomic number, written Z, counts only the protons. The mass number, written A, counts all the nucleons, protons and neutrons together. The number of neutrons, N, is simply the difference between the two.
Both numbers are counts, so they are always positive whole numbers and carry no unit. A carbon nucleus with 6 protons and 6 neutrons has Z = 6 and A = 12. Change the proton count and you have a different element; change only the neutron count and you have a different isotope of the same element.
Atomic Number and Mass Number Explained Simply
Think of a nucleus as a small bag of marbles in two colors: red for protons and gray for neutrons. The atomic number is the number of red marbles. The mass number is the number of marbles of both colors.
The red marbles give the bag its name. A bag with 8 red marbles is always oxygen, no matter how many gray ones are added. Gray marbles change how heavy the bag is and sometimes whether it holds together, but they never change its name.
So if someone tells you the atomic number, you know the element. If they also tell you the mass number, you know exactly which version of that element you are holding.

Why Does the Atomic Number Define the Element?
Chemistry is controlled by electrons, and electrons are controlled by the nucleus. Each proton carries a charge of +e, about 1.602 × 10⁻¹⁹ C, so a nucleus with Z protons has a total charge of +Ze. In a neutral atom, exactly Z electrons surround it to balance that charge.
The number and arrangement of those electrons decide how the atom bonds, what color its compounds have and how it reacts. Because the electron count follows from Z, the atomic number fixes all of an element's chemistry. That is why the periodic table is ordered by Z, from hydrogen at 1 up to oganesson at 118.
The field diagram below shows the electric field around a nucleus with three protons, the nucleus of lithium. Its shape and strength depend only on the charge, so every lithium nucleus, whatever its neutron count, pulls on electrons in the same way.

How Do You Write Atomic Number and Mass Number in Nuclear Notation?
Physicists write a specific nucleus, called a nuclide, as
Because the symbol already tells you the element, the atomic number is sometimes left off, as in
The notation also covers single particles. A proton is
Example 2 Writing the symbol for a gold nucleus
A gold nucleus contains 79 protons and 118 neutrons. What is its mass number?
- Given:
- atomic number (number of protons):
- number of neutrons:
- atomic number (number of protons):
- Formula:
- Substitute:
- Answer:
This is the only stable isotope of gold, so every gold ring is made of atoms with this same mass number.
How Do You Find the Number of Protons, Neutrons and Electrons?
Three quick rules cover almost every question:
- Protons equal the atomic number Z, read from the periodic table or the bottom-left number in the notation.
- Neutrons equal the mass number minus the atomic number:
. - Electrons equal Z in a neutral atom. For an ion, subtract the positive charge or add the negative charge.
A sodium ion, Na⁺, has Z = 11, so it has 11 protons but only 10 electrons. A chloride ion, Cl⁻, has 17 protons and 18 electrons. Neither ion has a different atomic number from its neutral atom, because ionization moves electrons, not protons. More on charged atoms is on our ion page.
The two numbers are linked by one simple relation. Here it is with each symbol and the rearranged forms for finding N or Z.
| Symbol | Quantity | SI unit |
|---|---|---|
| mass number (number of nucleons) | dimensionless (1) | |
| atomic number (number of protons) | dimensionless (1) | |
| number of neutrons | dimensionless (1) |
Rearranged to find another variable:
Example 1 Neutrons in an iron nucleus
The most common form of iron is iron-56, and iron has atomic number 26. How many neutrons does an iron-56 nucleus contain?
- Given:
- mass number (number of nucleons):
- atomic number (number of protons):
- mass number (number of nucleons):
- Formula:
- Substitute:
- Answer:
Iron-56 is one of the most tightly bound nuclei in nature, which is part of why iron is so common in the universe.
Is Mass Number the Same as Atomic Mass?
No, although the two are close. The mass number is a count of nucleons and is always a whole number. The atomic mass is a measured mass, usually given in atomic mass units (u), and is almost never a whole number.
Two effects create the gap. First, a proton is about 1.00728 u and a neutron about 1.00866 u, so nucleons do not weigh exactly 1 u each. Second, when nucleons bind into a nucleus, some mass is converted into binding energy, so a nucleus weighs a little less than its parts.
The atomic mass printed on the periodic table adds a third effect: it is an average over the element's natural isotopes. Chlorine is a mix of chlorine-35 and chlorine-37, which is why its listed value is about 35.45 rather than a whole number. A single atom, though, always has a whole-number mass number.
What Are Isotopes, Isobars and Isotones?
Comparing Z, A and N between two nuclei gives three useful family names:
- Isotopes share the same Z but have different A. Chlorine-35 and chlorine-37 are isotopes.
- Isobars share the same A but have different Z. Carbon-14 and nitrogen-14 both have 14 nucleons but are different elements.
- Isotones share the same N. Carbon-13 and nitrogen-14 each have 7 neutrons.
Isobars matter in radioactive decay, because beta decay turns a nucleus into its neighboring isobar: the mass number stays fixed while the atomic number shifts by one.
How Do Z and A Change in Radioactive Decay?
Radioactive decay rearranges the nucleus, and each type of decay leaves a fingerprint on Z and A. In alpha decay the nucleus throws out a helium-4 nucleus, so Z falls by 2 and A falls by 4. In beta-minus decay a neutron turns into a proton, so Z rises by 1 while A stays the same. Gamma emission releases energy only, leaving both numbers unchanged.
Two bookkeeping rules always hold: the total of the top numbers is the same on both sides of a nuclear equation, and so is the total of the bottom numbers. These rules come from conservation of nucleon number and conservation of charge. The table below lists each decay type with an example, and the decay curve further down shows tritium, a hydrogen nucleus with Z = 1 and A = 3, slowly decaying away.
For a side-by-side view of the three classic radiation types, see alpha vs beta vs gamma radiation.
Example 3 Neutrons left after an alpha decay
Uranium-238 (Z = 92) emits an alpha particle and becomes a thorium nucleus with mass number 234 and atomic number 90. How many neutrons does the thorium nucleus have?
- Given:
- mass number (number of nucleons):
- atomic number (number of protons):
- mass number (number of nucleons):
- Formula:
- Substitute:
- Answer:
Uranium-238 had 146 neutrons, so the alpha particle carried away exactly two of them along with two protons.
| Decay type | Change in Z | Change in A | Example |
|---|---|---|---|
| Alpha (α) | −2 | −4 | Uranium-238 → thorium-234 |
| Beta-minus (β⁻) | +1 | 0 | Thorium-234 → protactinium-234 |
| Beta-plus (β⁺) | −1 | 0 | Carbon-11 → boron-11 |
| Electron capture | −1 | 0 | Potassium-40 → argon-40 (one of its branches) |
| Gamma (γ) | 0 | 0 | Excited nucleus → same nuclide, lower energy |
| Neutron emission | 0 | −1 | Helium-5 → helium-4 |
| Source: Changes follow conservation of charge and nucleon number · Retrieved October 2026 | |||

How Do Neutron and Proton Numbers Affect Stability?
Not every combination of Z and N holds together. Protons repel each other electrically, and neutrons help by adding strong nuclear attraction without adding charge. Light nuclei are stable with roughly equal numbers of each, such as carbon-12 with 6 and 6.
Heavier nuclei need extra neutrons to dilute the growing repulsion. Iron-56 has about 1.15 neutrons per proton, gold-197 about 1.49 and uranium-238 about 1.59, as the table shows. Too many or too few neutrons and the nucleus becomes radioactive. Lead-208, with 82 protons and 126 neutrons, is the heaviest nucleus that is known not to decay. Our page on nuclear stability goes further.
| Nuclide | Atomic number Z (protons) | Neutrons N | Mass number A | Neutrons per proton |
|---|---|---|---|---|
| Hydrogen-1 | 1 | 0 | 1 | 0 |
| Helium-4 | 2 | 2 | 4 | 1.00 |
| Lithium-7 | 3 | 4 | 7 | 1.33 |
| Carbon-12 | 6 | 6 | 12 | 1.00 |
| Nitrogen-14 | 7 | 7 | 14 | 1.00 |
| Sodium-23 | 11 | 12 | 23 | 1.09 |
| Aluminum-27 | 13 | 14 | 27 | 1.08 |
| Chlorine-35 | 17 | 18 | 35 | 1.06 |
| Chlorine-37 | 17 | 20 | 37 | 1.18 |
| Iron-56 | 26 | 30 | 56 | 1.15 |
| Silver-107 | 47 | 60 | 107 | 1.28 |
| Gold-197 | 79 | 118 | 197 | 1.49 |
| Lead-208 | 82 | 126 | 208 | 1.54 |
| Uranium-238 | 92 | 146 | 238 | 1.59 |
| Source: Neutron numbers and ratios computed with N = A − Z · Retrieved October 2026 | ||||
How Were Atomic Number and Mass Number Discovered?
Early periodic tables were ordered by atomic mass, which caused a few awkward swaps. After Ernest Rutherford showed in 1911 that atoms have a small positive nucleus, the young British physicist Henry Moseley measured the X-rays given off by many elements in 1913. He found that the X-ray frequency rose in a regular pattern with a whole number that matched each element's position, giving the atomic number a physical meaning: the charge of the nucleus.
The mass number made full sense only after James Chadwick discovered the neutron in 1932. Before that, nobody could explain why helium's nucleus weighed about four times as much as a proton but carried only twice the charge. Chadwick's experiment, described on our neutron discovery page, settled it: the extra mass comes from neutral neutrons.
Practice Atomic Number and Mass Number Problems
Counting protons, neutrons and electrons becomes automatic after a dozen examples. Our atomic structure worksheets have printable sets with answer keys, and the nuclear physics formula sheet gathers A = Z + N with the decay and binding energy formulas. For the bigger picture of electrons and shells, read structure of the atom.
Common Misconceptions
Myth: The mass number is the same as the atomic mass on the periodic table.
Physics: The mass number is a whole-number count of nucleons in one nucleus. The periodic table value is a measured, averaged mass in atomic mass units and is rarely a whole number.
Myth: Adding or removing electrons changes the atomic number.
Physics: Electrons do not affect Z. An ion has the same atomic number as its neutral atom, only a different electron count.
Myth: The number after an element's name, as in carbon-14, is its atomic number.
Physics: That number is always the mass number. Carbon's atomic number is 6 in every one of its isotopes.
Myth: Changing the number of neutrons turns an atom into a different element.
Physics: Only the proton count sets the element. Extra or missing neutrons give a different isotope of the same element.
Key Facts
- The atomic number Z is the number of protons in a nucleus and identifies the element.
- The mass number A is the total number of protons and neutrons in the nucleus.
- The number of neutrons is found with N = A − Z.
- A neutral atom has as many electrons as its atomic number.
- Nuclides are written with the mass number at the top left and the atomic number at the bottom left of the symbol.
- Mass number is a whole-number count, while atomic mass is a measured mass in atomic mass units.
- Alpha decay lowers Z by 2 and A by 4; beta-minus decay raises Z by 1 and leaves A unchanged.
Quick Quiz: How Well Do You Know Atomic Number and Mass Number?
6 questions. Tap an answer to check it.
An atom has 17 protons and 20 neutrons. What is its mass number?
A = Z + N = 17 + 20 = 37, which is chlorine-37.
Which number determines what element an atom is?
The proton count, Z, defines the element.
How many neutrons are in sodium-23 (Z = 11)?
N = A − Z = 23 − 11 = 12.
In alpha decay, how do Z and A change?
An alpha particle carries away 2 protons and 2 neutrons.
Carbon-14 and nitrogen-14 have the same:
Both have 14 nucleons, which makes them isobars.
A Mg²⁺ ion has Z = 12. How many electrons does it have?
The ion has lost two electrons: 12 − 2 = 10.
Frequently Asked Questions
What is the difference between atomic number and mass number?
The atomic number counts only the protons in a nucleus and tells you which element the atom is. The mass number counts protons and neutrons together and tells you which isotope of that element you have. Oxygen always has atomic number 8, but its mass number can be 16, 17 or 18 depending on how many neutrons are present.
How do you find the mass number of an atom?
Add the number of protons to the number of neutrons: A = Z + N. If you know the isotope name, the mass number is the number after the hyphen, as in sodium-23. If you are given a nuclide symbol, it is the small number at the top left. Electrons are not included, because their mass is tiny compared with nucleons.
How do you find the number of neutrons?
Subtract the atomic number from the mass number: N = A - Z. Look up the atomic number on the periodic table if it is not given. For aluminum-27, the atomic number is 13, so the nucleus contains 27 - 13 = 14 neutrons. The same subtraction works for every nuclide, from hydrogen to uranium.
What is the symbol for atomic number and mass number?
The atomic number is written Z and the mass number is written A. The neutron number uses N. In nuclear notation, A appears as a superscript and Z as a subscript to the left of the chemical symbol, so iron-56 is written with 56 on top and 26 below, in front of Fe. The letter Z is usually traced to the German word Zahl, meaning number.
Does the atomic number ever change?
In chemical reactions, never: atoms swap and share electrons, but protons stay put. In nuclear processes it can. Alpha decay lowers Z by 2, beta-minus decay raises it by 1, and beta-plus decay or electron capture lowers it by 1. Whenever Z changes, the atom becomes a different element, which is how uranium slowly turns into lead over billions of years.
Can two different elements have the same mass number?
Yes. Nuclei with the same mass number but different atomic numbers are called isobars. Carbon-14 and nitrogen-14 both contain 14 nucleons, but carbon has 6 protons and nitrogen has 7. In fact, carbon-14 turns into nitrogen-14 through beta decay, keeping the same mass number while its atomic number goes up by one.
Why is the mass number always a whole number?
Because it is a count. You cannot have part of a proton or part of a neutron in a nucleus, so the total number of nucleons is always an integer. Atomic masses, by contrast, are measured masses that include the slight differences between proton and neutron mass and the mass lost as binding energy, so they are rarely whole numbers.
How many electrons does an atom have?
A neutral atom has the same number of electrons as protons, so the electron count equals the atomic number. Ions break this rule: a positive ion has lost electrons and a negative ion has gained them. A calcium ion with a 2+ charge, for example, has 20 protons but only 18 electrons, while its atomic number remains 20.
What element has atomic number 1?
Hydrogen has atomic number 1, meaning every hydrogen nucleus has exactly one proton. Ordinary hydrogen has mass number 1 and no neutrons. Its heavier isotopes are deuterium, with mass number 2, and tritium, with mass number 3. Tritium is radioactive and decays into helium-3, raising its atomic number from 1 to 2 while keeping its mass number.
Sources
Constants come from NIST CODATA 2022 (public domain) and unit definitions from the BIPM SI Brochure (CC BY 4.0). Text, diagrams and illustrations are original work by Physics Tribune.








