molecalculator

Moles & Molar Mass

How to Find Protons, Neutrons & Electrons

Calculator No. 01-9341 · Updated · Formula and assumptions shown below

The calculator on this page is switched off while it is checked. The formula is below, and the worked example shows how to do the sum by hand.

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

This guide shows you how to find the number of protons, neutrons, and electrons in any atom or ion using just the periodic table and the mass number. You’ll learn the simple rules for neutral atoms, the difference for ions, and how to handle isotopes. No special equipment is needed—just a periodic table and the element’s mass number (usually the one given in the problem).

Formula

The number of protons is equal to the atomic number (Z), which is the whole number shown above the element’s symbol on the periodic table. The number of neutrons is the difference between the mass number (A) and the atomic number: neutrons = A − Z. For a neutral atom, the number of electrons equals the number of protons. For an ion, the number of electrons is the number of protons minus the charge (charge is positive for cations, negative for anions): electrons = Z − charge.

  • Z = atomic number (number of protons), unitless
  • A = mass number (total number of protons + neutrons), unitless
  • charge = net charge of the ion (e.g., +2 for Mg2+, −1 for Cl−), unitless
  • protons = number of protons
  • neutrons = number of neutrons
  • electrons = number of electrons

Worked Example

Using the default values: sodium (Na) with atomic number Z = 11, mass number A = 23, and a neutral charge (0).

  1. Protons: Protons = Z = 11.
  2. Neutrons: Neutrons = A − Z = 23 − 11 = 12.
  3. Electrons: Electrons = Z − charge = 11 − 0 = 11.

So a neutral sodium-23 atom has 11 protons, 12 neutrons, and 11 electrons. The calculator returns 11, 12, and 11 respectively.

Assumptions

  • The mass number A is given (not the atomic weight from the periodic table, which is a weighted average of isotopes).
  • For ions, the charge is given as a whole number (e.g., +2, −1).
  • The atom is in its ground state (no excited electron configurations considered).

Step-by-Step

What You’ll Need

  • A periodic table (or the atomic number of the element).
  • The mass number (A) of the specific isotope. This is often given in the problem, like carbon-14 (A = 14) or uranium-235 (A = 235). If not given, use the most common isotope’s mass number (round the atomic weight to the nearest whole number).
  • The charge of the ion (if any). For a neutral atom, charge = 0.

Steps

  1. Identify the element and its atomic number (Z). Find the element on the periodic table. The atomic number is the integer above the symbol. For example, carbon has Z = 6, oxygen has Z = 8, gold has Z = 79.
  2. Determine the mass number (A). The mass number is the total number of protons and neutrons. It is usually given as a whole number, like “carbon-14” (A = 14) or “uranium-238” (A = 238). If you only have the atomic weight (e.g., 12.011 for carbon), round to the nearest whole number for the most common isotope (12 for carbon).
  3. Calculate protons. Protons = Z. This is always true for a neutral atom or an ion—the atomic number defines the element.
  4. Calculate neutrons. Neutrons = A − Z. For carbon-14: 14 − 6 = 8 neutrons.
  5. Determine the charge. If the atom is neutral, the charge is 0. If it’s an ion, the charge is given as a superscript, like Ca2+ (charge = +2) or Cl− (charge = −1).
  6. Calculate electrons. For a neutral atom, electrons = protons. For an ion, electrons = protons − charge. For Ca2+ (Z=20): electrons = 20 − 2 = 18. For Cl− (Z=17): electrons = 17 − (−1) = 18. Note that a negative charge means extra electrons.
  7. Verify with the periodic table. Check that the number of protons matches the element. For ions, the electron count should match the nearest noble gas configuration (e.g., Ca2+ has 18 electrons, like argon).

Common Mistakes

  • Confusing atomic number with mass number. The atomic number (Z) is always the smaller number and defines the element. The mass number (A) is the sum of protons and neutrons.
  • Using atomic weight instead of mass number. Atomic weight is a weighted average (e.g., 12.011 for carbon). Use the mass number of the specific isotope (e.g., 12 or 14).
  • Forgetting the charge for ions. For a cation (positive charge), electrons are fewer than protons. For an anion (negative charge), electrons are more. Many students forget to subtract the charge.
  • Mixing up the sign of the charge. A charge of −2 means you add 2 electrons, not subtract. Use the formula electrons = Z − charge, so a charge of −2 becomes Z + 2.
  • Rounding atomic weights incorrectly. For elements with multiple common isotopes (like chlorine, atomic weight 35.45), rounding to 35 is fine for the most common isotope, but always check if a specific isotope is given.

Tips

  • Memorize that protons = Z, neutrons = A − Z, electrons = Z − charge. Write them on a sticky note.
  • For a neutral atom, the number of electrons is the same as protons. This is the most common case.
  • When given an ion like Fe3+, first find Fe’s atomic number (26), then protons = 26, neutrons = mass number − 26 (if mass number given, e.g., 56 for Fe-56 → 30 neutrons), electrons = 26 − 3 = 23.
  • Use the periodic table’s atomic number as the “ID” of the element—it never changes.
  • If you have a mass number like 238 for uranium, you can quickly compute neutrons: 238 − 92 = 146.

Troubleshooting

  • You get a negative number of neutrons. This means the mass number is smaller than the atomic number. Check the mass number—it must be at least as large as the atomic number. For example, hydrogen-1 has A=1, Z=1, so neutrons = 0.
  • You get a negative number of electrons. This happens when the charge is more positive than the atomic number (e.g., H2+ would have 1−2 = −1 electrons, which is impossible). The charge cannot exceed the number of protons.
  • You are unsure which isotope to use. If the problem doesn’t specify, use the most common isotope (the one with the atomic weight closest to a whole number). For example, carbon: 12, oxygen: 16, iron: 56.
  • You are given a symbol like “37Cl−”. The superscript before the symbol is the mass number (37), the subscript is the atomic number (17), and the superscript after is the charge (−1). Then: protons = 17, neutrons = 37 − 17 = 20, electrons = 17 − (−1) = 18.
  • You accidentally use the atomic number as the mass number. Double-check the problem: if it says “carbon-14”, the 14 is the mass number, not the atomic number.

Frequently Asked Questions

Do protons and neutrons always have the same number?

No. In light elements (up to calcium), the number of neutrons is often roughly equal to the number of protons, but heavier elements have more neutrons than protons. For example, gold-197 has 79 protons and 118 neutrons.

What is the difference between atomic number and mass number?

The atomic number (Z) is the number of protons, which defines the element. The mass number (A) is the total number of protons and neutrons. The mass number is always greater than or equal to the atomic number.

How do I find the number of neutrons if only the atomic weight is given?

Round the atomic weight to the nearest whole number to get the mass number of the most common isotope, then subtract the atomic number. For example, chlorine has atomic weight 35.45, round to 35, so neutrons = 35 − 17 = 18.

Why do ions have different numbers of electrons?

Ions form when atoms gain or lose electrons to achieve a more stable electron configuration. Losing electrons creates a positive ion (cation), gaining electrons creates a negative ion (anion). The number of protons and neutrons stays the same.

Can an atom have zero neutrons?

Yes. The most common isotope of hydrogen, protium, has one proton and zero neutrons. Its mass number is 1.

How do I read a nuclear symbol like 235U?

The number before the element symbol (235) is the mass number. The atomic number (92 for uranium) is found on the periodic table. So neutrons = 235 − 92 = 143.

Related

Formula used
in z | Atomic number (Z) | - | 11 | 1 | 118
in a | Mass number (A) | - | 23 | 1 | 300
in chg | Charge | - | 0 | -10 | 10
out p | Protons | - | z | 0
out n | Neutrons | - | a - z | 0
out e | Electrons | - | z - chg | 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

The whole Moles & Molar Mass section →