Isotope Notation and Subatomic Particle Count Calculator

Protons, Neutrons and Electrons from Isotope Notation

Give the mass number, the atomic number and the charge and get the three particle counts, with the neutron-to-proton ratio and an estimate of the nuclear radius beside them. Ions are the point: the proton and neutron counts never move, and the electron count is the only thing a charge changes.

Particle counts from A, Z and the charge

mass number, atomic number and charge give p, n and e
The total number of protons and neutrons, written at the TOP LEFT of the symbol. It is always a whole number, because it is a count. Magnesium-24 has A = 24. Do not use the relative atomic mass from the periodic table here: 24.305 is an average over isotopes and is not the mass number of any of them.
The number of protons, written at the BOTTOM LEFT. It is what makes the element the element: change it and you have a different element, which is why Z never changes in a chemical reaction. Magnesium is 12.
Positive for a cation, negative for an anion, zero for a neutral atom. Enter 2 for Mg2+ and -1 for Cl-. The charge is the proton count minus the electron count, so a 2+ ion has two FEWER electrons than protons, not two more.
The red centre is the nucleus, its radius drawn to the cube root of the mass number because that is how real nuclei scale. The blue dots are electrons, filled outwards 2, 8, 8 and 8 — the school shell rule, which is a drawing convention rather than the real order orbitals fill in, and it stops at 26 electrons. Change the charge and the dots appear or disappear from the outermost ring while the nucleus does not move: that is exactly what ionisation does and does not do.
12neutronsExample

A magnesium-24 ion carrying a charge of 2+: A = 24, Z = 12, charge = +2

Advertisement

Three counts from three numbers

protons = Z  ·  neutrons = A − Z  ·  electrons = Z − charge  ·  N/Z = (A − Z) / Z  ·  r ≈ 1.2 A1/3 fm
A
the mass number, top left of the symbol: protons plus neutrons, always a whole number because it is a count of particles. Not the relative atomic mass — 24.305 is magnesium’s average over its isotopes and is not the mass number of any single one
Z
the atomic number, bottom left: the proton count, and the thing that defines the element. It cannot change in any chemical process, only in a nuclear one
the charge
protons minus electrons. A 2+ ion has two FEWER electrons than protons, so you SUBTRACT the charge from Z to get the electron count. Subtracting a negative charge adds electrons, which is exactly right for an anion
N/Z
the neutron-to-proton ratio. It is 1.00 for light stable nuclides and climbs to about 1.54 at lead, and a nuclide far off that band is radioactive. This is the number that decides whether a nucleus is stable, not the neutron count on its own
1.2 A^(1/3)
the empirical nuclear radius in femtometres. The cube root is the interesting part: nuclear volume is proportional to the number of nucleons, so nuclear matter has a constant density of about 2.3×1017 kg per cubic metre — the same for every nucleus from helium to uranium

Worked example

A magnesium-24 ion carrying a charge of 2+: A = 24, Z = 12, charge = +2
PROTONS FIRST, because they are free. The proton count IS the atomic number: 12. Nothing about the charge touches this. An ion of magnesium is still magnesium precisely because Z has not changed.
NEUTRONS NEXT. A − Z = 24 − 12 = 12 neutrons. The mass number counts both kinds of nucleon, so subtracting the protons leaves the neutrons.
ELECTRONS LAST, and this is the only step the charge enters. A neutral magnesium atom would have 12 electrons. The 2+ charge means two have gone, so 12 − 2 = 10 electrons.
CHECK THE CHARGE BACK. 12 positive from the protons, 10 negative from the electrons, net +2. If your arithmetic gives 14 electrons you have added the charge instead of subtracting it, which is the single commonest slip on this topic.
NOTE WHAT THE ION IS LIKE. With 10 electrons, Mg²⁺ has the same electron count as neon — it is isoelectronic with it — but it is not neon, because it still has twelve protons. Those two extra protons pull the ten electrons in hard, which is why the magnesium ion is much smaller than the magnesium atom and smaller than a neon atom too.
AND THE NUCLEUS. N/Z = 12/12 = 1.000, right on the line where light stable nuclides sit, and the radius estimate is 1.2 × 241/3 = 3.46 fm. The atom as a whole is about 150 pm in radius, so the nucleus is roughly forty thousand times smaller than the atom — and holds essentially all of its mass.
Advertisement

Six particles, counted

ParticleAZChargepne
Magnesium-24 ion, 2+2412+2121210
Chloride ion, chlorine-373717−1172018
Iron-56 ion, 3+5626+3263023
Lead-208 atom2088208212682
Uranium-238 atom2389209214692
Protium, hydrogen-1110101
Read down the p column and nothing surprising happens: the proton count is the atomic number every time, ion or not. Read down the e column and the charge is doing all the work. Lead-208 and protium are the two extremes of the neutron column — 126 neutrons, which is a magic number, and none at all.

What changes, and what cannot

ChangeProtonsNeutronsElectronsWhat you now have
Remove an electronsamesameone feweran ion of the same isotope of the same element
Add a neutronsameone moresamea different ISOTOPE of the same element
Add a protonone moresamesamea different ELEMENT, and only a nuclear process can do it
Beta-minus decayone moreone fewersamethe element one place to the right, with A unchanged
Alpha decaytwo fewertwo fewersamethe element two places to the left, with A down by four
The first row is chemistry; the last three are nuclear physics. This is why an ion of an element is still that element and why no amount of chemistry will turn lead into gold: every chemical reaction there has ever been moves electrons only. The decay rows are covered in detail on the physics side of this site.

Why only the electron count ever moves

Isotope notation packs three facts into one symbol. The number at the top left is the mass number A, the count of protons plus neutrons. The number at the bottom left is the atomic number Z, the count of protons. Anything written to the top right is the charge. From those, every particle count follows in one line each.

Protons are the easy one: the count is Z, always, with no exceptions and no dependence on anything else. Neutrons are A minus Z, because the mass number counts both kinds of nucleon. Electrons are Z minus the charge — and that minus sign is where the marks are lost. A 2+ ion has two fewer electrons than protons, so you take two away from Z, not add them. An anion has a negative charge, and subtracting a negative adds electrons, which is exactly what has happened.

The reason this matters beyond the arithmetic is that the nucleus is untouchable by chemistry. Every reaction you will ever run, every bond made and broken, every ion formed, moves electrons and nothing else. A magnesium ion has the same twelve protons and the same twelve neutrons as a magnesium atom; it is the same isotope of the same element, just short of two electrons. That is why the diagram above keeps the nucleus fixed while the outer dots come and go as you change the charge.

The neutron-to-proton ratio is worth watching too. For light elements stability sits at about one neutron per proton: carbon-12 has six of each, calcium-40 has twenty of each. Further up the ratio has to rise, because proton-proton repulsion grows with the square of the proton count while the strong force that binds the nucleus only reaches as far as a neighbouring nucleon. By lead the ratio is 1.54, and beyond bismuth no ratio at all is enough to make a nucleus permanently stable.

The radius estimate below the result comes from a famous and very simple fit: a nucleus has a radius of about 1.2 times the cube root of A, in femtometres. The cube root is the interesting part. It says that nuclear volume is simply proportional to the number of nucleons, so every nucleus has the same density — about 2.3 by 10 to the 17 kilograms per cubic metre, which is a teaspoonful weighing as much as a mountain. Nucleons pack like marbles in a bag, not like electrons in orbitals.

Two honest limits on what this page does. It does not know which element a given Z belongs to, and it will not print you a symbol or an electron configuration, because the calculator engine behind these pages is numeric from end to end: it takes numbers and returns numbers. The shells in the diagram are filled 2, 8, 8, 8 by the school rule, which is a drawing convention rather than the real order in which orbitals fill, and it draws at most 26 electrons. For the nuclear side — what happens when one of these nuclides decays, and what the mass defect is worth in energy — see the physics plugin’s alpha, beta and gamma decay interpreter and its binding energy per nucleon calculator. For why the mass number and the atomic mass are different numbers, the average atomic mass page has the arithmetic.

Frequently asked questions

How do I find the number of neutrons in an isotope?

Subtract the atomic number from the mass number: neutrons = A − Z. For chlorine-37, 37 − 17 = 20 neutrons. Use the MASS NUMBER from the isotope label, not the relative atomic mass from the periodic table — chlorine’s 35.45 is an average over two isotopes and subtracting 17 from it gives 18.45 neutrons, which is meaningless.

Does an ion have a different number of protons?

No. Ions are made by moving electrons, and nothing a chemist can do touches the nucleus. Mg²⁺ has the same 12 protons as a magnesium atom; it has 10 electrons instead of 12. If the proton count changed you would have a different element, and that takes a nuclear reaction.

Why do I subtract the charge to get the electron count?

Because charge is defined as protons minus electrons. Rearranged, electrons = protons − charge = Z − charge. A 3+ ion has three fewer electrons than protons, so you subtract 3. A 2− ion has two more, and subtracting −2 adds two. Writing the definition down before you start is the surest way not to get the sign backwards.

What is the neutron-to-proton ratio for?

It predicts whether a nuclide is stable. Below about calcium the stable ratio is close to 1.00; it rises steadily to around 1.54 at lead-208, the heaviest stable nuclide. A nucleus sitting well above that band has too many neutrons and usually decays by beta-minus emission, converting a neutron into a proton; one below it has too few and tends towards positron emission or electron capture.

Are two isotopes of an element chemically different?

Almost not at all. Chemistry is electrons, and two isotopes have identical proton counts and therefore identical electron arrangements. The exception is rate: a heavier isotope moves more slowly, so bonds to it break a little more slowly, which is the kinetic isotope effect. It is largest for hydrogen and deuterium, where the mass ratio is 2, and negligible almost everywhere else.

Can the page tell me which element I have typed?

No, and that is a real limitation rather than an oversight. The calculator engine on this site works in numbers only — it has no way to store or print a chemical symbol — so it will tell you that Z = 12 means twelve protons but not that twelve protons means magnesium. Look Z up on a periodic table; everything else on the page is done for you.

Related calculators

References

  1. The AME 2020 atomic mass evaluation, W. J. Huang, M. Wang, F. G. Kondev, G. Audi and S. Naimi, Chinese Physics C 45 (2021) 030002, with the companion NUBASE2020 evaluation at 030001. This is where nuclide masses come from: a least-squares evaluation of thousands of measured mass differences, quoted in micro-u. The masses used on this page are its values rounded to six decimal places, which is far finer than any school question needs and is quoted so that the arithmetic can be checked rather than taken on faith.
  2. CODATA Internationally Recommended 2022 Values of the Fundamental Physical Constants, NIST Standard Reference Database 121, read 14 November 2026. The elementary charge is exactly 1.602176634×10−19 C and the unified atomic mass unit is 1.660 539 068 92(52)×10−27 kg; the first has no uncertainty because the 2019 revision of the SI defines the ampere through it. Any constant quoted on this page is this edition’s.
  3. NUBASE2020 evaluation of nuclear physics properties, F. G. Kondev, M. Wang, W. J. Huang, S. Naimi and G. Audi, Chinese Physics C 45 (2021) 030001. The source for which nuclides are stable and which are not, and for the half-lives quoted in the band notes. It is also the authority for the uncomfortable detail that bismuth-209, listed as stable in older tables, alpha-decays with a half-life around 2×1019 years, which leaves lead-208 as the heaviest nuclide with no observed decay at all.
  4. NCERT Chemistry, Class 11, Part I, Unit 2, sections 2.3 and 2.4, NCERT, New Delhi. Atomic number, mass number and isotope notation as the syllabus states them, with the convention that the mass number is written as a superscript before the symbol and the atomic number as a subscript. The empirical radius relation r = 1.2 A1/3 fm appears in the Class 12 nuclei unit rather than here, and is quoted on this page as an estimate for that reason.