Explore the building blocks of matter instantly
Calculate protons, neutrons, electrons, and more with our smart chemistry tool

This Atom Calculator helps you quickly connect the “core numbers” that describe an atom: atomic number, mass number, protons, neutrons, electrons, and ionic charge. It’s made for learning, homework checks, and quick sanity checks in lab notes.
What problems does it solve?
If you’re working specifically with isotopes and average atomic weights from the periodic table, our Atomic Mass Calculator is a helpful companion.
You don’t need to fill every box. Enter the values you know, and the calculator fills the rest. For the best results, start with the two numbers you’re most confident about.
Enter atomic number (or protons)
Atomic number is the count of protons in the nucleus. If you type one, the other should match.
Add mass number or neutrons
Mass number is protons + neutrons. Enter either one, and the calculator can derive the remaining value.
Optionally enter electrons (for ions)
If electrons don’t equal protons, you have an ion and the calculator will show the net charge.
Suppose you’re working with Sodium-23:
Mass number = 23, atomic number = 11.
Result: neutrons = 12.
Suppose an atom has 11 protons and 10 electrons:
Result: charge = +1, which you can write as .
How to read the results
Here are a few “this actually comes up” scenarios. Each one includes the kind of numbers people usually have on hand.
Background: identify the isotope composition for Chlorine-37.
Inputs: , .
Result: .
How to use it: write the isotope as .
Background: you’re told an oxygen ion has 10 electrons.
Inputs: , .
Result: → .
How to use it: match common ionic charges in compounds.
Background: you copied an isotope label and want to confirm it’s possible.
Inputs: , .
Result: impossible because .
How to use it: catch transcription mistakes before turning in work.
Background: you’re reviewing why atoms become ions.
Inputs: , .
Result: (neutral magnesium atom).
How to use it: compare to where .
After you’ve nailed the structure numbers, you may also want the average atomic weight used on periodic tables. That’s exactly what our Atomic Mass Calculator focuses on.
Pair it with: if your class asks for average atomic weight and isotopic abundance, try the Atomic Mass Calculator.
The calculator is based on a few simple relationships. Think of them as a tiny system of equations — once you know enough values, the rest are determined.
Core relationships
: mass number (protons + neutrons)
: atomic number (protons)
: neutron count
: electron count
: net charge (positive for cations, negative for anions)
Given and , find neutrons.
So .
Mass number is a whole number for a specific isotope. Atomic mass (periodic table value) is often a decimal because it’s a weighted average across naturally occurring isotopes.
Neutrons help stabilize the nucleus. Change the neutron count and you change the isotope — sometimes from stable to radioactive.
Charge is just the imbalance between protons and electrons. If , the ion is positive; if , it’s negative.
Yes. Atomic number is the proton count, so .
Mass number is an integer for a single isotope. Atomic mass is typically a decimal average shown on periodic tables.
No. If you compute and get a negative number, one of the inputs is wrong.
No. The element is defined by protons (atomic number). Changing electrons changes charge, not the element.
Because is positive when protons outnumber electrons.
For mass number calculations, we treat electron mass as negligible; mass number is defined as nucleons:.
This calculator is for education and quick checks. It does not replace a textbook, lab manual, or professional guidance.
If you want to go deeper (or cite something for a report), these are solid starting points:
Get the electron configuration for any element from the periodic table. View atomic number, atomic mass, and valence electrons.
Calculate atomic mass from protons and neutrons. Get atomic mass in various units including atomic mass units (u), kilograms, and more.
Calculate electronegativity difference between two elements and determine bond type (ionic, polar covalent, or nonpolar covalent).
Calculate the average atomic mass of an element based on the isotopes and their natural abundances.
Calculate your Body Mass Index and see your health category
Calculate your exact age in years, months, and days