ThisCalculator

Chemistry

Calculating Atomic Number: Formula and Examples

Updated · Standard formula, shown below

Atomic number 6
Mass number
12
Result
Number of protons
6
You entered
Number of neutrons
6
You entered

Calculating Atomic Number: Formula and Examples

To calculate an atom’s atomic number, count its protons: the number of protons in the nucleus is its atomic number, written Z. Enter the proton count to get the atomic number; for a neutral atom, the electron count gives the same result, while a mass number and neutron count can also be used together.

Formula

The defining formula is Z = p, where Z is atomic number (a count with no unit) and p is the number of protons in the nucleus (a count). If you know the mass number and neutron count instead, use Z = A − N, where A is mass number and N is neutron count. The related identity is A = Z + N.

For a neutral atom, the number of electrons also equals Z. This provides a way to identify Z when a problem supplies the electron count and explicitly says the atom is neutral. Do not use electron count alone for an ion: ions have gained or lost electrons, but their proton count—and therefore atomic number—does not change.

Worked Example

Using the calculator’s defaults, the atom has 6 protons and 6 neutrons.

  1. Atomic number: Z = p = 6.
  2. Mass number: A = p + n = 6 + 6 = 12.

The results are atomic number 6 and mass number 12. An atom with six protons is carbon; with six neutrons, this particular nucleus is carbon-12.

What Atomic Number Means

Atomic number is the number of protons in an atom’s nucleus. It is the defining feature of an element: every carbon atom has six protons, every oxygen atom has eight, and every gold atom has 79. Changing the proton count changes the element itself.

The periodic table is arranged in order of increasing atomic number. It is therefore a practical reference when you know an element’s name or symbol and need its Z. For example, oxygen has Z = 8, so every oxygen nucleus contains eight protons. The number printed with an element on a periodic table is usually its atomic number, though the table’s layout and labeling can vary.

Atomic number is a whole-number count, not a mass and not a measure of physical size. It has no unit. A periodic table’s atomic mass, by contrast, is often a decimal value reflecting the abundances of an element’s naturally occurring isotopes.

Calculating It from Different Information

The simplest route is to count protons if the composition of the nucleus is given. In a worksheet, a particle diagram, or a nuclear symbol, identify the proton count and use it directly as Z.

  • Protons are given: Z equals the proton count. For 11 protons, Z = 11, which identifies sodium.
  • Mass number and neutrons are given: subtract neutrons from mass number. If A = 23 and N = 12, then Z = 23 − 12 = 11.
  • A neutral atom’s electrons are given: Z equals its electron count because a neutral atom has equal numbers of protons and electrons.
  • The element is named: look up its position on a periodic table; its atomic number is the whole-number identifier.

The mass number A counts all protons and neutrons in one nucleus. It is an integer for a specified isotope. Do not substitute the average atomic mass shown on many periodic tables into A = Z + N: that decimal is an average over isotopes, not the mass number of one specific atom.

Isotopes, Ions, and Nuclear Notation

Isotopes are atoms of the same element that have different numbers of neutrons. They share the same atomic number but have different mass numbers. Carbon-12 and carbon-14 both have Z = 6; their neutron counts are 6 and 8 respectively. The isotope name’s number is its mass number, not its atomic number.

Ions differ in electron count. A positive ion has fewer electrons than protons, and a negative ion has more; neither change alters Z. For example, a sodium atom and a sodium ion both have 11 protons, so both have atomic number 11. Inferring atomic number from electrons is valid only if the charge or neutrality is known.

In nuclear notation, the mass number is commonly written as a superscript at the upper left of the element symbol, and the atomic number as a subscript at the lower left: 126C. The symbol C identifies carbon, the subscript 6 gives Z, and the superscript 12 gives A. Some formats omit the subscript because the element symbol already determines the atomic number.

Common Mistakes and Limits

  • Confusing atomic number with mass number: Z counts protons; A counts protons plus neutrons.
  • Using the periodic-table atomic mass as a mass number: the listed atomic mass is generally an isotope-weighted average and may be decimal. Use an isotope’s stated mass number for A − N.
  • Assuming electrons always equal protons: this holds for neutral atoms, not ions. Use protons whenever they are available.
  • Rounding a count: proton and neutron counts are whole numbers. Do not round an average atomic mass and treat it as a known isotope’s mass number without information about which isotope is meant.

The calculator applies simple counting identities; it cannot determine an unknown proton count from an unspecified mass or a periodic-table average alone. If a question gives incomplete information, you may need the element name, isotope, charge, or a reliable nuclear composition before the result can be established.

Frequently Asked Questions

How do you calculate atomic number from protons?
Count the protons in the nucleus. That count is the atomic number: an atom with 17 protons has Z = 17.

How do you find atomic number from mass number and neutrons?
Subtract the neutron count from the mass number: Z = A − N. For A = 35 and N = 18, Z = 17.

Can you calculate atomic number from electrons?
Yes, if the atom is neutral, because its electrons and protons are equal in number. For an ion, electron count alone is not enough unless its charge is also known.

Does an isotope have a different atomic number?
No. Isotopes of the same element have the same proton count and atomic number, but different neutron counts and mass numbers.

Is atomic number the same as atomic mass?
No. Atomic number is the proton count, while atomic mass on a periodic table is generally an isotope-weighted average. Mass number refers to the total protons and neutrons in one isotope’s nucleus.

Related

Formula used
in p | Number of protons | - | 6 | 0
in n | Number of neutrons | - | 6 | 0
out z | Atomic number | - | p | 0
out a | Mass number | - | p + n | 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, rounded as each result states. See how the calculators work or report an error.