molecalculator

Moles & Molar Mass

Element Protons Neutrons Electrons? Explained

Calculator No. 01-9220 · 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.

An element is defined by the number of protons in its atomic nucleus; this is the atomic number. In a neutral atom, the number of electrons equals the number of protons, while the number of neutrons can vary, creating different isotopes of the same element. This page explains how to find these three subatomic particles for any element and what they mean for its identity and behavior.

Formula

The three key numbers for any atom are related by simple arithmetic:

  • Atomic number (Z) = number of protons = number of electrons (in a neutral atom).
  • Mass number (A) = number of protons + number of neutrons.
  • Number of neutrons (N) = A − Z.

Here, Z is the atomic number (unitless), A is the mass number (unitless), N is the neutron count (unitless), and e is the electron count (unitless). The calculator above takes the mass number and atomic number you enter and returns the neutron count and the electron count for a neutral atom.

Worked Example

Take sodium-23, the only stable isotope of sodium. Its atomic number (Z) is 11, and its mass number (A) is 23.

  1. Protons: Z = 11.
  2. Electrons (neutral): e = Z = 11.
  3. Neutrons: N = A − Z = 23 − 11 = 12.

So a sodium-23 atom has 11 protons, 11 electrons, and 12 neutrons. The calculator gives the same: neutrons = 12, electrons = 11.

Assumptions

  • The atom is neutral (no net charge). If it is an ion, the electron count changes by the charge magnitude.
  • The mass number is a whole number (the sum of protons and neutrons), not the atomic weight found on the periodic table, which is a weighted average of isotopes.
  • The atomic number is a positive integer between 1 and 118 for known elements.

What the Numbers Mean

The atomic number (Z) is the element’s identity card. Every atom with 6 protons is carbon, no matter how many neutrons it has. The periodic table is arranged by increasing Z, and the element’s chemical behavior is largely set by the number of electrons, which equals Z in a neutral atom. The electrons occupy shells around the nucleus, and the outermost shell (the valence shell) determines how the atom bonds with others.

The mass number (A) tells you the total mass of the nucleus in atomic mass units (amu), since protons and neutrons each weigh about 1 amu. Electrons are roughly 1/1836 of a proton’s mass, so they contribute almost nothing to the atom’s mass. When you look up an element on the periodic table, the decimal number (e.g., 22.990 for sodium) is the average atomic mass, not the mass number of any single atom.

Isotopes and Neutrons

Neutrons are the adjustable part of an atom. Atoms of the same element with different neutron counts are called isotopes. For example, carbon has three naturally occurring isotopes:

  • Carbon-12: 6 protons + 6 neutrons (the most common, ~98.9%)
  • Carbon-13: 6 protons + 7 neutrons (~1.1%)
  • Carbon-14: 6 protons + 8 neutrons (trace, radioactive)

All three behave identically in chemical reactions because they have the same number of electrons, but they differ in mass. This is why the atomic weight of carbon is 12.011, not 12.000. Some isotopes are unstable and decay, releasing radiation; these are radioisotopes used in medicine, dating (carbon-14), and energy production (uranium-235).

Ions: When Electrons Differ

Atoms can gain or lose electrons to become ions, which have a net electric charge. The number of protons stays the same, but the electron count changes. For example:

  • A sodium atom (Na) has 11 electrons. If it loses one electron, it becomes Na+ with 10 electrons.
  • A chlorine atom (Cl) has 17 electrons. If it gains one electron, it becomes Cl− with 18 electrons.

To find the electron count for an ion, take the neutral atom’s electron count and subtract the charge (for a positive ion) or add the charge (for a negative ion). For Na+: 11 − 1 = 10. For Cl−: 17 + 1 = 18. The calculator above gives the neutral electron count; adjust manually for ions.

Common Mistakes and Misconceptions

  • Confusing mass number with atomic weight. Mass number is a whole number for a specific isotope; atomic weight is a decimal average over isotopes. For chlorine, atomic weight is 35.45, but no chlorine atom has 35.45 protons plus neutrons.
  • Assuming electrons have negligible mass in all contexts. They do for atomic mass, but their energy and arrangement drive all chemistry. In nuclear reactions, electrons (beta particles) matter, but not for mass number.
  • Thinking protons and neutrons are identical. They have nearly the same mass, but protons are positively charged and neutrons are neutral. The number of protons alone fixes the element.
  • Forgetting that ions change electron count. A common error is to say an ion has the same electrons as the neutral atom. Always adjust for charge.

How to Find These Numbers on the Periodic Table

On a standard periodic table, each element tile shows the atomic number (usually the top number), the element symbol, and the atomic weight (bottom). To get the proton count, read the atomic number. For a neutral atom, that is also the electron count. To get the neutron count for a specific isotope, you need the mass number, which is written as a superscript before the element symbol (e.g., 14C) or as the element name with a hyphen (carbon-14). Then subtract the atomic number from the mass number.

If you only have the atomic weight, you can estimate the most common neutron count by rounding the atomic weight to the nearest whole number and subtracting the atomic number. For sodium: round 22.990 to 23, subtract 11, get 12 neutrons. This works well for elements with one dominant isotope but fails for elements like chlorine (35.45 → 35, minus 17 = 18, but both chlorine-35 and chlorine-37 exist).

Why This Matters in Chemistry and Physics

The proton count dictates the element, which determines how many electrons it has and therefore its chemical properties. The neutron count affects the nucleus’s stability and the atom’s mass, which matters for stoichiometry (molar mass calculations), nuclear reactions, and isotopic labeling in research. For example, in mass spectrometry, the mass-to-charge ratio of ions reveals the isotopic composition of a sample. In nuclear physics, the neutron-to-proton ratio determines whether a nucleus is stable or radioactive. Understanding these three numbers is the foundation for reading the periodic table, balancing nuclear equations, and predicting chemical behavior.

Frequently Asked Questions

How many protons, neutrons, and electrons are in an atom?

For any atom, the number of protons equals the atomic number (Z). The number of electrons equals the number of protons in a neutral atom. The number of neutrons equals the mass number (A) minus the atomic number (Z). For example, oxygen-16 has Z=8, so 8 protons and 8 electrons; neutrons = 16 − 8 = 8.

What is the difference between atomic number and mass number?

The atomic number is the count of protons, which defines the element. The mass number is the total count of protons plus neutrons, which defines a specific isotope. The atomic number never changes for an element, but the mass number can change among isotopes.

Do electrons affect the mass number?

No. Electrons have about 1/1836 the mass of a proton, so they are not counted in the mass number. The mass number is purely the sum of protons and neutrons. Electrons do affect the atom’s charge and chemical behavior, but not its mass number.

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

Because it is a weighted average of all naturally occurring isotopes, accounting for their relative abundances. For example, chlorine has isotopes chlorine-35 (about 76%) and chlorine-37 (about 24%), giving an average of 35.45. No single chlorine atom has that mass.

How do I find the number of neutrons from the periodic table?

You cannot get an exact neutron count from the periodic table alone, because the table gives the average atomic weight, not a specific isotope’s mass number. You need the mass number of a specific isotope (e.g., carbon-14) and then subtract the atomic number (6) to get 8 neutrons.

Can two different elements have the same number of neutrons?

Yes. Atoms with the same number of neutrons but different numbers of protons are called isotones. For example, carbon-14 (6 protons, 8 neutrons) and nitrogen-15 (7 protons, 8 neutrons) are isotones. The element identity is set by protons, not neutrons.

Related

Formula used
in m | Mass number (A) | - | 23 | 1 | 300
in z | Atomic number (Z) | - | 11 | 1 | 118
out n | Number of neutrons | - | m - z | 0
out e | Number of electrons (neutral) | - | z | 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 →