Atom Calculator

Find the protons, neutrons, and electrons in any atom or ion from its atomic number, mass number, and charge, or reverse the calculation to identify the element.

https://hexacalculator.com/calculators/chemistry/physical-chemistry/atom-calculator

Chemistry

Physical Chemistry

Atom Calculator

Find the protons, neutrons, and electrons in any atom or ion from its atomic number, mass number, and charge, or reverse the calculation to identify the element.

Atom Calculator

Atom details

Protons
Electrons

The proton count is the atomic number, and it alone fixes the element. With 11 protons, look up atomic number 11 on the periodic table to name it.

The nucleus holds 11 protons and 12 neutrons, so the approximate atomic mass is about 23 u. Electrons are so light they barely change the total.

This is a neutral atom: it has equal protons and electrons (11 each), so the overall charge is zero.

Charts

Show the particle bar chart

Compare the counts of protons, neutrons, and electrons side by side.

Show the nucleus pie

Split the nucleus into protons and neutrons to see the neutron-to-proton balance.

What the nucleus is made of

The nucleus splits into protons and neutrons. The balance between them is what tells one isotope from another.

Loading calculator…

All atoms are made up of three types of particles and this calculator allows you to work out the number of each. Enter the atomic number and mass number for an element and if working with ions also enter the charge to show the number of protons, neutrons and electrons. It is also possible to work backwards from the particle numbers: enter the number of any of the particles and it will display the atomic number, mass number and charge so you can identify the element and whether or not it is an ion.

What are atoms made of?

Atoms are made up of a small, dense nucleus surrounded by an electron cloud. The nucleus contains protons, which have a positive charge, and neutrons, which have no electrical charge. Electrons carry a negative charge and orbit the nucleus. In a neutral atom, there are exactly as many electrons as there are protons, so that the entire atom has no net charge.

Three numbers and three simple relationships connect everything together. The atomic number Z is the number of protons. The mass number A is the sum of the number of protons and neutrons, since protons and neutrons are heavy particles in the nucleus of an atom. The charge is the difference between the number of protons and the number of electrons.

Formula.

If you start with the atomic number, mass number and charge, then you can determine the number of three particles simultaneously.

p=Zn=AZe=Zchargep = Z \qquad n = A - Z \qquad e = Z - \text{charge}

Let's take a closer look at the last equation. Since a neutral atom has no charge, the number of electrons is equal to the number of protons. If you remove an electron, then the charge becomes positive one, so the number of electrons in a cation is less than the number of protons. If you add an electron, then the charge becomes negative one.

You can also use this relationship in reverse. If you know the number of particles, you can get information about the element.

Z=pA=p+ncharge=peZ = p \qquad A = p + n \qquad \text{charge} = p - e

Example calculation: Sodium

The atomic number of a sodium atom is 11, the mass number is 23 and the charge on the atom is zero. These values are substituted into the first three equations.

p=11n=2311=12e=110=11p = 11 \qquad n = 23 - 11 = 12 \qquad e = 11 - 0 = 11

Thus a neutral sodium atom contains 11 protons, 12 neutrons and 11 electrons. This is the result that will be shown by default when you open a calculation tool.

Example of a back calculation: sulfide ion

So here we are assuming that you have measured 16 protons, 16 neutrons and 18 electrons. So if you switch to the second mode, then you can use an inverse formula.

Z=16A=16+16=32charge=1618=2Z = 16 \qquad A = 16 + 16 = 32 \qquad \text{charge} = 16 - 18 = -2

The atomic number of 16 corresponds to sulfur and the extra two electrons give it a charge of -2. This identifies it as a sulfide ion which is abbreviated with an S with a -2 superscript on the top right.

Ions: cations and anions

The position of the protons does not change but the number of electrons can vary. This is what causes ions to form. When one or more electrons are removed from an atom, there are more protons than electrons in that atom which results in a positive ion. This is called a cation. Conversely, adding electrons to an atom will result in a negative ion. This is known as an anion. The charge shown by the calculator is the difference between the number of protons and the number of electrons with the sign (+ or -) indicating what type of ion it is.

Isotopes and Atomic Masses

Two atoms of the same element always have the same number of protons but can differ in the number of neutrons. These variants are called isotopes, and the only difference is their mass number. Carbon with 6 neutrons is called carbon-12, while carbon with 7 neutrons is called carbon-13. However, both are still carbon.

To find the mass of an atom, simply add up the number of protons and neutrons. The mass of electrons is very small, about one two-thousandth the mass of a proton, so it makes little difference to the total mass. This sum, expressed in atomic mass units, is why it comes close to being the relative atomic weight on the periodic table.

The number of protons is an element's fingerprint.

There are no two elements with the same number of protons. The element with one proton is hydrogen, the element with six protons is carbon, and the element with eleven protons is sodium. This continues all the way to the top of the periodic table. Changing the number of neutrons produces isotopes, while changing the number of electrons produces ions. However, if you change the number of protons, then you have a completely different element.

Number of particles for first twelve elements:

Since each row uses the most common isotope, the number of neutrons can be found by subtracting the atomic number from the mass number.

Element

Atomic number (Z)

Mass number (A)

Protons

Neutrons

Electrons

Hydrogen

1

1

1

0

1

Helium

2

4

2

2

2

Lithium

3

7

3

4

3

Beryllium

4

9

4

5

4

Boron

5

11

5

6

5

Carbon

6

12

6

6

6

Nitrogen

7

14

7

7

7

Oxygen

8

16

8

8

8

Fluorine

9

19

9

10

9

Neon

10

20

10

10

10

Sodium

11

23

11

12

11

Magnesium

12

24

12

12

12

Here's how to use this calculator.

At the top select a mode. In the first mode enter the atomic number and mass number and set the charge. Use zero for neutral atoms. The numbers of protons, neutrons and electrons are immediately shown. In the second mode enter the numbers of the three particles and read off the atomic number, mass number and charge.

The right panel also shows the approximate atomic mass and tells you whether the result is a neutral atom or an ion. When you open the graph, you'll see a bar chart with the number of each of the three particles as well as a nucleus made up of protons and neutrons.

This tool simulates a single atom or monatomic ion, which is made up of an integer number of particles. The atomic mass shown is the mass number itself and is only approximate. The atomic weights on the periodic table are average values for the naturally occurring isotopes of that element.

Frequently asked questions

What are atoms made of?

Atoms are made up of three types of particles: protons, neutrons and electrons. The protons and neutrons sit in the nucleus of the atom while the electrons orbit around the nucleus. Protons have a positive charge whereas electrons have a negative charge. Neutral atoms contain an equal number of protons and electrons.

How do you determine the number of neutrons?

You subtract the atomic number from the mass number. The atomic number is equal to the number of protons and the mass number is the sum of protons and neutrons; therefore, you can find the number of neutrons by subtracting the atomic number from the mass number. For sodium-23, you would subtract 11 from 23, giving a result of 12 for the number of neutrons.

How do you determine the number of electrons in an ion?

You subtract the charge from the number of protons. In a neutral atom, the number of electrons is equal to the number of protons. A positive two charge means that two electrons have been removed while a negative two charge means that two electrons have been added. So a sulfide ion (S) with a negative two charge and 16 protons has 18 electrons.

How to Calculate Atomic Mass?

You add the number of protons and neutrons together, ignoring electrons because they have such a small mass. The result is given in atomic mass units (amu) and is basically the mass number. This is a value close to the atomic weights on the periodic table but the atomic weight is an average of all the different isotopes that occur for an element.

What particle determines the type of atom?

It's the number of protons that matters. Elements with the same number of protons are unique and can be identified by this one number alone. An atom with one proton is hydrogen, an atom with eleven protons is sodium. It doesn't matter how many neutrons or electrons there are.

Related calculators

Disclaimer: This calculator is provided for general informational and educational purposes only. Our calculators are under active development, and results may be inaccurate, incomplete, or unsuitable for your situation. Always verify the figures independently and seek advice from a qualified professional before relying on them. We make no warranties and accept no liability for any loss or decision arising from use of this tool.

References

  1. Encyclopaedia Britannica: Atom

    Overview of atomic structure, the nucleus, and subatomic particles.

  2. Chemistry LibreTexts: Atomic Number, Mass Number, and Isotopes

    How atomic number, mass number, isotopes, and ions relate to particle counts.

  3. NIST: Atomic Weights and Isotopic Compositions

    Reference data for atomic weights and the isotopes of each element.