molecalculator

Moles & Molar Mass

Equal to the Number of Protons? Atomic Number

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

Yes, the number of protons in an atom’s nucleus is exactly equal to its atomic number (Z). This single integer defines which element an atom is, determines its position on the periodic table, and sets the chemical identity of every atom. The calculator below lets you convert between the number of protons, neutrons, and electrons for any neutral atom or ion, and it shows how the atomic number relates to the mass number.

Formula

The atomic number Z is simply the count of protons in the nucleus:

Z = number of protons

For a neutral atom, the number of electrons equals Z. The mass number A is the total number of nucleons (protons + neutrons):

A = Z + N

where N is the neutron count. The net charge (in units of elementary charge e) is:

charge = Z − (number of electrons)

Each variable is a pure count (no unit). For example, carbon always has Z = 6, so every carbon atom has 6 protons; if it also has 6 neutrons, A = 12.

Worked Example

Using the default values (Z = 6, N = 6, electrons = 6):

  1. Atomic number: Z = 6 (protons).
  2. Mass number: A = 6 + 6 = 12.
  3. Net charge: 6 − 6 = 0 (neutral).
  4. Neutral atom check: since protons = electrons, it is neutral.

The calculator returns Z = 6, A = 12, charge = 0, and “neutral atom” = 1 (true). This matches carbon-12, the most common carbon isotope.

Assumptions

  • The atom is a single nucleus with integer counts of protons and neutrons.
  • Electrons are counted as whole particles; the charge is in units of elementary charge (e = 1.602176634 × 10−19 C).
  • For a neutral atom, electrons = protons; for an ion, the difference gives the charge.
  • Isotopes have the same Z but different N, so A changes.

Why the Proton Count Is So Important

The number of protons is not just a label—it dictates the atom’s chemical behavior. Electrons, especially the outermost ones, determine how atoms bond, but the number of electrons in a neutral atom is forced to equal the proton count. That means Z indirectly sets the electron configuration and, with it, the element’s reactivity, ionization energy, and atomic radius. For instance, sodium (Z = 11) has one loosely held outer electron, while chlorine (Z = 17) has seven outer electrons; together they form NaCl. Change the proton count by one, and you get a completely different element—sodium becomes magnesium (Z = 12), which behaves differently.

How to Read the Periodic Table

On the periodic table, each element’s box shows the atomic number (usually at the top). The elements are arranged in order of increasing Z, which is why the table is sometimes called the “periodic table of the elements.” The atomic number also tells you the number of electrons in a neutral atom, which is why the table’s columns (groups) align with similar electron configurations. For example, all elements in Group 1 (Li, Na, K, etc.) have one outer electron, and their Z values increase by 2, 8, 8, 18, etc., reflecting the filling of electron shells.

Common Mistakes and Misconceptions

  • Confusing atomic number with mass number: The mass number (A) is the sum of protons and neutrons, not just protons. Carbon-14 has Z = 6 but A = 14.
  • Assuming all atoms of an element have the same neutron count: Isotopes vary in neutrons; that does not change the element’s identity.
  • Forgetting that ions have unequal protons and electrons: A sodium ion (Na⁺) has 11 protons but only 10 electrons; the atomic number is still 11.
  • Rounding atomic weights to get Z: The atomic weight on the periodic table (e.g., 12.011 for carbon) is a weighted average of isotopes, not the proton count.

Isotopes and the Mass Number

Isotopes are atoms of the same element (same Z) that differ in neutron number. For example, hydrogen (Z = 1) has three naturally occurring isotopes: protium (0 neutrons, A = 1), deuterium (1 neutron, A = 2), and tritium (2 neutrons, A = 3). The atomic number remains 1 for all, so they are all hydrogen and behave nearly identically chemically. The mass number, however, changes, which affects physical properties like density and reaction rates. In nuclear notation, the mass number is written as a superscript and the atomic number as a subscript: 146C.

Frequently Asked Questions

Is the number of protons always equal to the number of electrons?

Only in a neutral atom. If the atom has lost or gained electrons (forming an ion), the counts differ. For example, a calcium ion Ca²⁺ has 20 protons but only 18 electrons. The atomic number stays 20 because it is defined by protons alone.

What does the atomic number tell you about an element?

It tells you the element’s identity, its position on the periodic table, and the number of protons (and electrons in a neutral atom). It also determines the element’s chemical properties because those depend on electron configuration, which is set by Z.

How do you find the number of neutrons from the atomic number?

Subtract the atomic number from the mass number: N = A − Z. For example, carbon-14 has A = 14 and Z = 6, so N = 8. The mass number is usually given in isotope notation (e.g., carbon-14) or as the atomic mass rounded to a whole number.

Why do some periodic tables list atomic numbers out of order?

They don’t. The modern periodic table is ordered by increasing atomic number. Historically, Mendeleev ordered by atomic weight, which caused a few inversions (e.g., tellurium and iodine), but the modern table uses Z, which is more fundamental and avoids those issues.

Can two different elements have the same number of protons?

No. The number of protons uniquely defines an element. If two atoms have the same Z, they are the same element, regardless of neutron count. That is the very definition of an element.

What is the difference between atomic number and mass number?

Atomic number (Z) is the count of protons; mass number (A) is the count of protons plus neutrons. For carbon-12, Z = 6 and A = 12, so it has 6 neutrons. The mass number is always an integer and is specific to a particular isotope, whereas the atomic number is constant for all isotopes of an element.

Practical Uses of the Atomic Number

Knowing Z is essential in chemistry and physics. In stoichiometry, you use Z to balance nuclear equations and to predict the products of radioactive decay. In spectroscopy, the atomic number determines the energy levels of electrons, so it explains why each element has a unique emission spectrum. In medicine, isotopes with different neutron counts (but the same Z) are used for imaging and treatment—for example, iodine-131 (Z = 53) is used in thyroid therapy, while iodine-127 is stable. In materials science, the atomic number affects how X-rays interact with matter, which is why lead (Z = 82) is used for radiation shielding.

Follow your lab method, the safety data sheet (SDS) and your supervisor when handling any radioactive or hazardous materials. This calculator is for study and lab planning arithmetic only, not for clinical or medication work.

Related

Formula used
in p | Number of protons (Z) | - | 6 | 1
in n | Number of neutrons (N) | - | 6 | 0
in e | Number of electrons | - | 6 | 0
out z | Atomic number (Z) | - | p | 0
out a | Mass number (A) | - | p + n | 0
out charge | Net charge | e | p - e | 1
out neu | Neutral atom? | - | (p - e) * 0 + 1 | 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 →