Atom Calculator

Use this atom calculator to move between atomic number, mass number, protons, neutrons, electrons, and ionic charge for neutral atoms or ions.

--

Run the calculator.

Quick Answer: Atomic number equals protons, mass number equals protons plus neutrons, and charge equals protons minus electrons.

What This Atom Calculator Helps You Do

This calculator compresses the basic bookkeeping of atomic structure into a single workflow, which is useful when you need to move quickly between classroom notation, isotope labels, and ion charge problems.

Instead of treating each relationship separately, the page shows how atomic number, mass number, and charge fit together so the result is easier to check and less likely to be lost in sign mistakes.

How to Calculate Atom Calculator

  1. Choose the input mode: Use either atomic number plus mass number plus charge, or enter proton, neutron, and electron counts directly.
  2. Enter whole-number particle counts: Atoms and ions are described with integer counts, so decimal values are not meaningful here.
  3. Read the full particle summary: The page returns every related quantity, including the ionic charge sign.
  4. Check charge direction: Positive charge means fewer electrons than protons, while negative charge means extra electrons.

Atom Calculator Formula

Z = p; A = p + n; n = A - Z; e = p - charge; charge = p - e
Variable Meaning Unit
Z Atomic number count of protons
A Mass number protons + neutrons
p Number of protons count
n Number of neutrons count
e Number of electrons count

Use the worked examples below to check how the formula behaves with real values. If the result looks unexpected, verify the unit assumptions and the meaning of each variable before interpreting the answer.

Worked Examples

USA - Sodium-23 neutral atom
  • Atomic number: 11
  • Mass number: 23
  • Charge: 0

Result: p = 11, n = 12, e = 11.

A neutral sodium atom has the same number of protons and electrons.

UK - Chloride ion
  • Atomic number: 17
  • Mass number: 35
  • Charge: -1

Result: p = 17, n = 18, e = 18.

A -1 ion has one more electron than proton count.

EU - Solve from particle counts
  • Protons: 16
  • Neutrons: 16
  • Electrons: 18

Result: Z = 16, A = 32, charge = -2.

This sulfur example shows how extra electrons produce a negative ionic charge.

GCC - Iron cation from particle counts
  • Protons: 26
  • Neutrons: 30
  • Electrons: 24

Result: Z = 26, A = 56, charge = +2.

When electrons are missing relative to protons, the ion is positively charged.

How to Interpret Your Results

Range Meaning Action
Charge = 0 The atom is neutral. Protons and electrons match exactly.
Charge > 0 The species is a cation. It has lost one or more electrons relative to the neutral atom.
Charge < 0 The species is an anion. It has gained one or more electrons relative to the neutral atom.

Frequently Asked Questions

Atomic number counts protons only, while mass number counts protons plus neutrons.

No. Mass number is based on nucleons, which means protons and neutrons only.

Compare protons and electrons. More protons than electrons gives a positive charge, while more electrons than protons gives a negative charge.

Yes. Isotopes of the same element always share the same atomic number but differ in neutron count and mass number.
Note: This page handles particle counting relationships for single atoms and simple ions. It does not model electron configuration, isotopic abundance, or quantum behavior.

References

Last reviewed: March 2026