To find an atom’s protons, neutrons, and electrons, use its atomic number, mass number, and charge: protons = atomic number; neutrons = mass number − atomic number; and electrons = atomic number − ionic charge. Enter the atomic number, mass number, and signed charge below to calculate the particle counts for an isotope or ion.
Formula
The standard formulas are:
- Protons: p = Z
- Neutrons: n = A − Z
- Electrons: e = Z − q
Here, Z is the atomic number, a whole-number count of protons; A is the mass number, the whole-number total of protons and neutrons in a specific isotope; and q is the signed ionic charge in units of the elementary charge. The outputs p, n, and e are numbers of particles, so they have no physical unit. A positive charge means electrons have been removed; a negative charge means extra electrons are present.
Worked Example
The calculator’s defaults describe a neutral carbon-12 atom: Z = 6, A = 12, and q = 0.
- Protons: p = Z = 6
- Neutrons: n = A − Z = 12 − 6 = 6
- Electrons: e = Z − q = 6 − 0 = 6
Carbon-12 therefore has 6 protons, 6 neutrons, and 6 electrons. Its mass number is 12 because its nucleus contains 6 protons plus 6 neutrons.
Assumptions
- The mass number refers to one isotope, not an element’s average atomic mass from the periodic table.
- The charge is entered as a signed integer: for example, +1 is entered as 1 and −1 as -1.
- The inputs must describe a physically possible nuclide or ion. The arithmetic does not validate whether a particular isotope is stable or commonly observed.
What Each Number Tells You
The atomic number identifies the element. Every atom with six protons is carbon, whether it has six, seven, or another number of neutrons. Changing the number of protons changes the element itself, so Z is not a quantity that varies among isotopes of one element.
The mass number identifies a particular isotope when paired with the element symbol. For example, carbon-14 has A = 14 and Z = 6, so it has 14 − 6 = 8 neutrons. Carbon-12 has six neutrons instead. Both are carbon because both have six protons, but they are different isotopes.
The charge tells you whether the electron count differs from the proton count. A neutral atom has equal numbers of protons and electrons. An ion is an atom or group of atoms with a net charge; for a single atom, the charge follows from the imbalance between its protons and electrons.
How to Calculate Counts for Ions
Use the charge with its sign. For a positive ion, subtract the charge from Z. For a negative ion, subtracting a negative value adds electrons. Do not subtract the absolute value in both cases.
- Sodium-23 ion, Na+: Z = 11, A = 23, q = +1. It has 11 protons, 12 neutrons, and 11 − 1 = 10 electrons.
- Chloride-35 ion, Cl−: Z = 17, A = 35, q = −1. It has 17 protons, 18 neutrons, and 17 − (−1) = 18 electrons.
- Calcium-40 ion, Ca2+: Z = 20, A = 40, q = +2. It has 20 protons, 20 neutrons, and 20 − 2 = 18 electrons.
For a neutral atom, q = 0, so the electron formula reduces to e = Z. For an ion written with a charge such as 2−, use q = −2, not +2.
Mass Number Versus Atomic Mass
A common source of wrong neutron counts is using the periodic table’s atomic mass in place of the mass number. The mass number A is an integer for a single isotope: for example, chlorine-35 has A = 35. The atomic mass printed on a periodic table is generally a weighted average of the masses of naturally occurring isotopes and is often decimal. Chlorine’s average atomic mass is about 35.45, so subtracting its atomic number from 35.45 does not give the neutron count of a chlorine atom.
For a neutron calculation, first identify the isotope. Its notation may appear as an element name with a hyphen and mass number, such as carbon-14, or in nuclear notation with A as a superscript and Z as a subscript. Once A and Z are known, the subtraction gives an integer neutron count.
Common Mistakes and Limits
- Using charge as the number of protons: charge is a difference between proton and electron counts, not a replacement for Z.
- Forgetting the sign: a 1− ion has one more electron than a neutral atom; a 1+ ion has one fewer.
- Using average atomic mass: use the isotope’s mass number, not the decimal average from the periodic table.
- Assuming every isotope is stable: the formulas count particles, but do not predict stability, radioactive decay, or how long a nucleus persists.
The simple electron formula applies to an isolated atom or monatomic ion when its net charge is known. In a molecule or polyatomic ion, count electrons for the whole species by summing the atomic numbers of all its atoms and adjusting for the species’ total charge. The formulas describe particle counts, not the arrangement of electrons in shells or orbitals.
Frequently Asked Questions
How do you find the number of protons?
Read the element’s atomic number, Z. That number is the proton count and is the same for every isotope and ion of that element.
How do you calculate neutrons from the periodic table?
Find the isotope’s mass number A and subtract its atomic number Z. Do not use a decimal average atomic mass as though it were the mass number.
How many electrons does a neutral atom have?
A neutral atom has the same number of electrons as protons, so its electron count equals its atomic number.
How do you find electrons in a 2+ ion?
Subtract 2 from the atomic number: e = Z − 2. A 2+ charge means the ion has lost two electrons compared with its neutral atom.
Can an atom have a negative number of neutrons?
No. A physically possible isotope has A ≥ Z, so A − Z is zero or a positive integer. If a calculation gives a negative result, check that the isotope’s mass number and atomic number were entered correctly.
Related
Formula used
in z | Atomic number | - | 6 | 1 in a | Mass number | - | 12 | 1 in q | Ionic charge | elementary charge units | 0 | -118 out p | Protons | particles | z | 0 out n | Neutrons | particles | a - z | 0 out e | Electrons | particles | z - q | 0
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
- Pressure Density Depth Formula for Fluids98,066 Pa
- Pressure Density Temperature Equation Calculator100,961.74 Pa
- Pressure Density Cup: What It Measures and How It Works1.0000 g/mL
- Pressure, Density, and Temperature: How They Relate101,307 Pa
- Pressure-Based vs Density-Based Solvers in CFD
- Pressure-Based vs Density-Based Solvers in CFD