Atom Calculator — Protons & Electrons
Calculate subatomic particles (protons, neutrons, electrons), electron configuration, atomic mass, and mole-based quantities for any element.
Atom Calculator — Protons & Electrons
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser — no data is sent to any server.
Formula: Neutrons = A - Z | Electrons = Z - charge | Atoms = moles * 6.022e23
Worked example — 6 protons, 6 neutrons, 6 electrons
Formula
Neutrons = A - Z | Electrons = Z - charge | Atoms = moles * 6.022e23
The atomic number Z gives the number of protons. Neutrons equal mass number minus atomic number. Electrons equal protons minus charge. Total atoms from moles uses Avogadro number.
Worked Examples
Example 1: Carbon-12 Atom
Problem:Determine subatomic particles for Carbon-12 (Z=6, A=12, neutral)
Solution:Protons = Z = 6 Neutrons = A - Z = 12 - 6 = 6 Electrons = Z - charge = 6 - 0 = 6 Config: 1s2 2s2 2p2
Result:6 protons, 6 neutrons, 6 electrons
Example 2: Iron-56 with 2 Moles
Problem:Calculate properties of 2 moles of Fe-56 (Z=26, A=56)
Solution:Protons = 26, Neutrons = 30, Electrons = 26 Atoms = 2 * 6.022e23 = 1.204e24 Total mass = 2 * 56 = 112 g
Result:26p, 30n, 26e | 1.204e24 atoms | 112 g
Frequently Asked Questions
What are the subatomic particles in an atom?
An atom consists of three types of subatomic particles: protons, neutrons, and electrons. Protons carry a positive charge (+1) and are found in the nucleus, with the number of protons defining the element (atomic number Z). Neutrons have no charge and also reside in the nucleus, contributing to atomic mass and nuclear stability. Electrons carry a negative charge (-1) and orbit the nucleus in probability clouds called orbitals. In a neutral atom, the number of electrons equals the number of protons.
How do you determine the number of neutrons in an atom?
The number of neutrons is calculated by subtracting the atomic number (Z) from the mass number (A): Neutrons = A - Z. The atomic number is the number of protons and defines the element, while the mass number is the total number of protons plus neutrons. For example, Carbon-14 has Z=6 and A=14, so it has 14-6=8 neutrons, while regular Carbon-12 has only 6 neutrons. Isotopes of the same element have the same number of protons but different numbers of neutrons.
What is electron configuration and how is it determined?
Electron configuration describes how electrons are distributed among the orbitals of an atom, following three rules: the Aufbau principle (fill lowest energy orbitals first), the Pauli exclusion principle (maximum 2 electrons per orbital with opposite spins), and Hund rule (electrons occupy degenerate orbitals singly before pairing). The filling order is 1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, 5s, 4d, 5p, 6s, 4f, 5d, 6p, 7s, 5f, 6d, 7p. For example, oxygen (Z=8) has the configuration 1s2 2s2 2p4.
What is the role of Avogadro number in atom calculations?
Avogadro number (6.02214076 x 10^23) defines the number of atoms, molecules, or particles in one mole of a substance. It bridges the macroscopic world (grams, liters) with the atomic world (individual atoms and molecules). To find the number of atoms in a sample, multiply the number of moles by Avogadro number. To find the mass of a single atom, divide the molar mass by Avogadro number. For example, one mole of carbon (12 g) contains 6.022 x 10^23 carbon atoms, and each atom has a mass of 1.994 x 10^-23 g.
What is the difference between mass number and atomic weight?
Mass number A is a whole-number count of nucleons, protons plus neutrons, for one specific nuclide. Atomic weight, the value printed on the periodic table, is the abundance-weighted average mass of the naturally occurring isotope mixture, expressed in unified atomic mass units. Chlorine illustrates the gap: individual atoms are chlorine-35 or chlorine-37, but the tabulated atomic weight is about 35.45 because roughly three quarters of natural chlorine is the lighter isotope. Atom Calculator — Protons & Electrons works with A.
How does the ion charge input change the electron count?
Electrons equal Z minus the charge, so a positive charge removes electrons and a negative charge adds them. An Fe3+ cation keeps its 26 protons but carries only 23 electrons, while a chloride anion with charge -1 has 17 protons and 18 electrons. Because charge never touches the nucleus, protons and neutrons are unchanged and the element identity is unchanged. Species that end up with equal electron counts, such as Na+ and F-, are called isoelectronic.
Why do chromium and copper break the predicted electron filling order?
The n plus l or Madelung rule places 4s below 3d, which predicts 3d4 4s2 for chromium and 3d9 4s2 for copper. Measurements give 3d5 4s1 and 3d10 4s1 instead. The 4s and 3d subshells lie very close in energy in the first transition series, and the reduced electron-electron repulsion of a half-filled or completely filled d subshell is enough to tip the balance. Similar exceptions appear in the second transition series and among the lanthanides.
What does the MeV per c squared conversion in the results represent?
It restates the atomic mass as an energy through mass-energy equivalence, using the conversion 1 unified atomic mass unit equals 931.494 MeV per c squared. Nuclear physicists prefer these units because reaction and decay energies are quoted in MeV. Note that this figure multiplies the integer mass number, so it is a nucleon-count estimate rather than a measured nuclide mass, and it does not include the nuclear binding energy that makes real nuclides slightly lighter than the sum of their free nucleons.
How can you judge whether a given proton and neutron combination is likely to be stable?
Compare the neutron-to-proton ratio against the belt of stability. Light nuclides up to about calcium sit near a ratio of 1, so carbon-12 with six of each is stable, while heavier nuclides need proportionally more neutrons to dilute proton repulsion, reaching roughly 1.5 near lead. Nuclides above the belt tend to undergo beta-minus decay and those below it favour positron emission or electron capture. Every element beyond bismuth, Z equal to 83, is radioactive.
Why can the electrons be ignored when the mass of an atom is worked out?
An electron has a rest mass of about 0.000549 unified atomic mass units, roughly one 1836th of a proton, so essentially all of an atom's mass sits in the nucleus. Even uranium, with 92 electrons, carries only about 0.05 u of electron mass against a mass number of 238, near two hundredths of a percent. That is why forming an ion changes the electron count in Atom Calculator — Protons & Electrons without meaningfully changing the mass, and why the distinction between ion and neutral-atom masses only surfaces in high-precision mass spectrometry.
References
Background & Theory
History
Reviewed for accuracy by Manoj Kumar, Mathematics Educator · Editorial policy
Related Calculators
🧮Green Chemistry Atom Economy Calculator
Calculate green chemistry atom economy with inputs, formulas, and instant results.
🧮Atom Economy Calculator
Calculate atom economy with inputs, formulas, and instant results.
🧮Absorbance Calculator (Beer-Lambert Law)
Calculate absorbance with inputs, formulas, and instant results.
🧮Beer Lambert Extended Calculator
Calculate beer lambert extended with inputs, formulas, and instant results.
🧮Beer Lambert Law Calculator
Calculate beer lambert law with inputs, formulas, and instant results.
🧮Calibration Curve Calculator
Calculate calibration curve with inputs, formulas, and instant results.
🧮Calibration Curve Slope Calculator
Calculate calibration curve slope with inputs, formulas, and instant results.
🧮Gravimetric Yield Calculator
Calculate gravimetric yield with inputs, formulas, and instant results.