molecalculator

Moles & Molar Mass

N Protons Neutrons Electrons? How to Find Them

Calculator No. 01-8038 · 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 page explains what the atomic number (Z), mass number (A), and charge tell you about the number of protons, neutrons, and electrons in a neutral atom or a charged ion. You enter the element’s atomic number, mass number, and charge, and the calculator returns the counts of all three subatomic particles.

Formula

For a neutral atom or an ion, the three particle counts come from two simple definitions:

  • Protons = atomic number (Z). The atomic number is the number of protons in the nucleus and uniquely identifies the element.
  • Neutrons = mass number (A) − atomic number (Z). The mass number is the total number of protons plus neutrons.
  • Electrons = atomic number (Z) − charge (q). For a neutral atom, q = 0, so electrons = protons. For a cation (positive charge), electrons = Z − q; for an anion (negative charge), electrons = Z − (−|q|) = Z + |q|.

All three quantities are whole numbers. The charge q is an integer: +1 for a +1 cation, −2 for a −2 anion, and 0 for a neutral atom.

Worked Example

Take carbon-12 with a neutral charge. The default values in the calculator are Z = 6, A = 12, q = 0.

  1. Protons: p = Z = 6.
  2. Neutrons: n = A − Z = 12 − 6 = 6.
  3. Electrons: e = Z − q = 6 − 0 = 6.

So carbon-12 has 6 protons, 6 neutrons, and 6 electrons. The calculator shows Protons = 6, Neutrons = 6, Electrons = 6.

Assumptions

  • The mass number is the integer sum of protons and neutrons for that specific isotope (not the weighted atomic mass from the periodic table).
  • The charge q is the net charge on the ion, given as an integer multiple of the elementary charge.
  • For a neutral atom, q = 0.
  • The calculator does not consider nuclear isomers or excited states; it uses the standard definitions of Z, A, and q.

Background: What Do These Numbers Mean?

Every atom of a given element has the same number of protons. Hydrogen has 1, carbon has 6, oxygen has 8, gold has 79. The atomic number (Z) is the defining feature of an element – change the proton count and you change the element. Neutrons are electrically neutral particles that add mass to the nucleus and help hold protons together via the strong nuclear force. Atoms of the same element with different neutron counts are called isotopes; for example, carbon-12 (6 neutrons) and carbon-14 (8 neutrons) are both carbon but differ in mass and stability.

Electrons are negatively charged and occupy the space around the nucleus. In a neutral atom, the number of electrons equals the number of protons, balancing the positive charge. When an atom gains or loses electrons, it becomes an ion – a cation if it loses electrons (positive charge) and an anion if it gains electrons (negative charge).

How to Read the Periodic Table

The periodic table gives you the atomic number (usually above the element symbol) and the atomic weight (below the symbol). The atomic weight is a weighted average of all natural isotopes, not the mass number of any single atom. To find the neutron count for a specific isotope, you need the mass number (A), which is the sum of protons and neutrons. For example, the periodic table lists carbon as 12.011, but carbon-12 has A = 12 exactly. If you round the atomic weight to the nearest whole number, you get the most common isotope’s mass number for many elements, but this is not always reliable (e.g., chlorine has atomic weight 35.45, rounding to 35, but the most common isotope is chlorine-35 with 18 neutrons, while chlorine-37 also exists).

Common Mistakes and Misconceptions

  • Confusing atomic weight with mass number: The atomic weight is an average; the mass number is a whole number for a specific isotope. Use the mass number, not the rounded atomic weight, when counting neutrons.
  • Forgetting the charge when counting electrons: A neutral atom has electrons = protons, but an ion does not. For Fe3+ (Z = 26), electrons = 26 − 3 = 23, not 26.
  • Mixing up protons and neutrons in symbols: The notation AZZX (e.g., 14C) puts the mass number as a superscript and the atomic number as a subscript. Neutrons are not shown directly – you subtract.
  • Thinking electrons are in the nucleus: They are not; they occupy electron shells around the nucleus.

Why This Matters in Chemistry and Physics

The proton count determines the element’s chemical identity and its position in the periodic table. The neutron count affects the isotope’s mass and stability – some isotopes are radioactive (e.g., carbon-14) while others are stable (carbon-12). The electron count determines the atom’s charge and its chemical reactivity: atoms tend to gain, lose, or share electrons to achieve a stable electron configuration, usually with 8 valence electrons (the octet rule). Knowing the electron count for an ion is essential for writing correct chemical formulas and balancing equations. For example, the sulfate ion SO42− has 48 electrons total (16 from S, 4×8 from O, plus 2 extra from the negative charge).

Limits of This Calculation

This simple arithmetic works for all atoms and ions, but it does not describe nuclear structure in detail. The mass number is an integer, but the actual mass of an atom is slightly less than the sum of its protons and neutrons because of nuclear binding energy (mass defect). Also, the electron count given here is the total number of electrons, not the electron configuration or how they are arranged in shells. For very heavy elements (Z > 118), the atomic number is not yet officially recognized, and the calculator’s upper limit of 118 reflects the currently named elements. Finally, the charge q must be a reasonable integer; extreme charges (e.g., +10) are possible in exotic ions but rarely encountered in ordinary chemistry.

Frequently Asked Questions

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

It depends on the element and the isotope. For a neutral atom, protons = atomic number, electrons = atomic number, and neutrons = mass number − atomic number. For example, sodium-23 (Z = 11) has 11 protons, 11 electrons, and 12 neutrons (23 − 11 = 12).

How do I find the number of neutrons without the mass number?

You cannot determine the exact neutron count without knowing the isotope. The periodic table’s atomic weight is an average, so it only gives an approximate neutron count if you round it. To be precise, you need the mass number (A) for that specific isotope, which is often written as a superscript before the element symbol (e.g., 235U).

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. Two atoms with the same Z but different A are isotopes of the same element; two atoms with different Z are different elements.

How do I calculate electrons for an ion?

Take the atomic number and subtract the charge. For a positive ion (cation), subtract the positive charge value (e.g., Mg2+ has 12 − 2 = 10 electrons). For a negative ion (anion), add the absolute value of the charge (e.g., O2− has 8 + 2 = 10 electrons).

Why is the atomic weight not a whole number?

Because it is a weighted average of all naturally occurring isotopes of that element, taking into account their relative abundances. For example, chlorine has two stable isotopes: chlorine-35 (about 76%) and chlorine-37 (about 24%), giving an average of about 35.45.

Can an atom have more neutrons than protons?

Yes, especially for heavier elements. For example, iron-56 has 26 protons and 30 neutrons. As atomic number increases, the neutron-to-proton ratio typically grows to help stabilize the nucleus against repulsion between protons.

Related

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

The whole Moles & Molar Mass section →