Atom Calculator

Use our atom calculator to calculate atoms in an isotope: number of protons, neutrons, and electrons from atomic number, mass number, and charge. Includes how to calculate atoms, an atom formula breakdown, and an atom counting calculator walkthrough.

Atomic number (Z)
Number of protons. Must be a whole number (≥ 1).
Mass number (A)
Total protons + neutrons. Must be a whole number, and A ≥ Z.
Charge
Net charge as an integer (e.g., 0, +1, -2).
Results
Number of protons
Protons = atomic number (Z).
Number of neutrons
Neutrons = mass number (A) − atomic number (Z).
Number of electrons
Electrons = atomic number (Z) − charge (positive charge means fewer electrons).
Protons = Z, Neutrons = A − Z, Electrons = Z − charge
Did we solve your problem today?

What Is an Atom?

An atom is made of protons and neutrons in the nucleus, with electrons surrounding the nucleus.

The atomic number (Z) tells you how many protons an element has. The mass number (A) tells you the total number of protons and neutrons.

If the atom has a charge (ion), the number of electrons changes relative to the number of protons.

Atom Formula and Calculations

Use atomic number, mass number, and charge to calculate the number of protons, neutrons, and electrons.

Protons =
protons = atomic number (Z)

Atomic number directly equals the number of protons.

Neutrons =
neutrons = mass number (A) atomic number (Z)

Mass number is protons + neutrons.

Electrons (with charge) =
electrons = atomic number (Z) charge

Use charge as a signed value: +2 means 2 fewer electrons; −1 means 1 extra electron.

Z
= Atomic number (number of protons)
A
= Mass number (protons + neutrons)
charge
= Net charge of the ion (signed)
Neutral atom example
Z = 17, A = 35, charge = 0 → p = 17, n = 18, e = 17

Neutral atoms have electrons equal to protons.

Ion example
Z = 13, A = 27, charge = +3 → p = 13, n = 14, e = 10

A +3 ion has 3 fewer electrons than protons.

How to Use the Atom Calculator

  1. 1

    Enter the atomic number (Z).

  2. 2

    Enter the mass number (A).

  3. 3

    Enter the charge (use + for cations and − for anions, or 0 for neutral).

  4. 4

    View the results: number of protons, neutrons, and electrons.

Frequently Asked Questions

How to calculate atoms (protons, neutrons, and electrons)?

Use Z for protons, A − Z for neutrons, and Z − charge for electrons.

What is the atom formula for neutrons?

Neutrons = mass number (A) − atomic number (Z).

How do I calculate electrons for an ion?

Electrons = Z − charge. For example, a +2 charge means 2 fewer electrons than Z; a −1 charge means 1 more electron than Z.

Is this an atom counting calculator?

Yes. This atom counting calculator computes counts of subatomic particles from Z, A, and charge.

Is this related to atom economy calculation chemistry or atom efficiency calculation?

No. Atom economy/atom efficiency are reaction metrics in chemistry. This calculator focuses on counting protons, neutrons, and electrons in an atom or ion.