⚛️

Atom Calculator

Free 4.7 (1,248) June 8, 2026

Enter any element by symbol (C), name (carbon), or atomic number (6), and this free atom calculator returns its protons, neutrons, electrons, ground-state electron configuration, period and group placement, and full isotope notation. Optionally specify a mass number for isotope-specific math, or a charge for cations and anions. Element data from IUPAC's 2021 atomic weights table — accurate for all 118 elements, from hydrogen to oganesson.

Advertisementslot: calc-top
Carbon (C)
¹²₆C
Protons 6 = Z
Neutrons 6 = A − Z
Electrons 6 = Z − q
Electron configuration: [He] 2s² 2p²
Electron shell diagram 2-4
n=1: 2e n=2: 4e C
Atomic number=6 · Mass number=12 · Nonmetal
Quick examples
Advertisementslot: calc-result

What is an atom?

An atom is the smallest unit of matter that retains the chemical identity of an element. Every atom has a dense central nucleus containing positively-charged protons and electrically-neutral neutrons, surrounded by negatively-charged electrons arranged in shells and subshells. Three numbers describe any atom: the atomic number (Z) counts protons and defines the element; the mass number (A) counts protons plus neutrons and identifies the isotope; and the charge (q) describes any electron imbalance. From hydrogen (Z = 1) to oganesson (Z = 118), every known atom can be described by these three numbers. The calculator above gives you all of these, plus the ground-state electron configuration that determines how the atom bonds and behaves chemically.

Atom fundamentals

Four things every chemistry student should know

Before diving into isotopes, ions, and electron configurations, make sure these four core ideas are clear. Most atomic-properties problems come back to these.

Protons define the element

The number of protons (atomic number Z) is what makes an element what it is. Add or remove a proton and you have a different element entirely. All carbon atoms have exactly 6 protons; remove one and you've made boron (Z = 5).

Neutrons define the isotope

Atoms of the same element can have different neutron counts. These are called isotopes. Carbon-12 and carbon-14 are both carbon (6 protons each), but C-12 has 6 neutrons while C-14 has 8. Isotopes share chemical behavior but differ in mass and nuclear stability.

Electrons define the charge

In a neutral atom, the electron count equals the proton count. Losing electrons gives a positive ion (cation); gaining them gives a negative ion (anion). Electron count doesn't change the element — sodium and the sodium ion Na⁺ are both sodium, just with different electron counts.

🔬

Configuration defines reactivity

The electron configuration — how electrons distribute across shells and subshells — determines an atom's chemistry. Atoms with full outer shells (noble gases) are unreactive. Atoms with one electron 'too many' (alkali metals) readily give it up; atoms one short (halogens) readily grab one.

Quick reference

First 20 elements — proton, neutron, and electron counts

The first 20 elements cover hydrogen through calcium and account for the vast majority of high-school and introductory chemistry problems. Note: neutron count uses the most abundant isotope of each element.

ZSymbolNameProtonsNeutronsElectronsConfig
1HHydrogen1011s¹
2HeHelium2221s²
3LiLithium343[He] 2s¹
4BeBeryllium454[He] 2s²
5BBoron565[He] 2s² 2p¹
6CCarbon666[He] 2s² 2p²
7NNitrogen777[He] 2s² 2p³
8OOxygen888[He] 2s² 2p⁴
9FFluorine9109[He] 2s² 2p⁵
10NeNeon101010[He] 2s² 2p⁶
11NaSodium111211[Ne] 3s¹
12MgMagnesium121212[Ne] 3s²
13AlAluminum131413[Ne] 3s² 3p¹
14SiSilicon141414[Ne] 3s² 3p²
15PPhosphorus151615[Ne] 3s² 3p³
16SSulfur161616[Ne] 3s² 3p⁴
17ClChlorine171817[Ne] 3s² 3p⁵
18ArArgon182218[Ne] 3s² 3p⁶
19KPotassium192019[Ar] 4s¹
20CaCalcium202020[Ar] 4s²
All electron counts shown are for the neutral atom. The mass number used for neutron count is the most abundant naturally occurring isotope of each element. Hydrogen-1 (protium) is the dominant isotope, with no neutrons; deuterium (H-2) and tritium (H-3) are rare.
Real isotopes

Famous isotopes and what they're used for

Many isotopes have practical importance in medicine, dating, nuclear power, and research. Knowing the differences in neutron count explains why they behave so differently.

IsotopeProtonsNeutronsHalf-life / statusUsed for
¹H (protium)10Stable99.985% of natural hydrogen
²H (deuterium)11StableHeavy water, NMR spectroscopy
³H (tritium)1212.3 yearsSelf-luminous signs, fusion fuel
¹²C66Stable (98.9%)The standard for atomic mass unit
¹⁴C685,730 yearsRadiocarbon dating organic remains
¹⁶O88Stable (99.76%)The 'O' in almost every chemical formula
¹³¹I53788.0 daysThyroid cancer treatment
¹³⁷Cs558230.2 yearsRadiation therapy, food irradiation
²³⁵U92143703 million yearsNuclear fission (power plants, weapons)
²³⁸U921464.47 billion yearsFertile material in breeder reactors
²³⁹Pu9414524,100 yearsNuclear weapons, RTGs in spacecraft
Stable isotopes (no half-life listed) don't undergo radioactive decay; radioactive isotopes ('radionuclides') eventually decay into other elements. Half-life is the time for half of a sample to decay — after 10 half-lives, less than 0.1% of the original remains.
Formulas

Three formulas that solve every atom-counting problem

Almost every 'how many protons/neutrons/electrons' problem reduces to these three simple equations. Memorize them and the rest is just arithmetic.

Protons = atomic number Z
p = Z

The number of protons always equals the atomic number, regardless of isotope or charge. Atomic number is on every periodic table — usually the small integer above each element symbol. This number is the element's identity card.

Iron has Z = 26 on the periodic table, so every iron atom — regardless of isotope or ion state — has exactly 26 protons. There's no scenario where iron has 25 or 27 protons; that would make it a different element.

Neutrons = mass number − atomic number
n = A − Z

Mass number A is the total count of protons + neutrons. Subtract Z to isolate neutrons. The mass number is given in isotope notation (¹²C, ²³⁵U) or can be estimated by rounding the standard atomic weight to the nearest whole number when only the average is known.

Uranium-235 (²³⁵U) has mass number 235 and Z = 92, so it has 235 − 92 = 143 neutrons. Uranium-238 has 238 − 92 = 146 neutrons — three more, making it more nuclear-stable but less fissile.

Electrons = Z − charge
e = Z − q

For a neutral atom (charge 0), electrons equal protons. For ions, subtract the signed charge. Lost electrons mean positive charge, so subtract a positive number to get fewer electrons. Gained electrons mean negative charge, so subtracting a negative adds.

A sodium cation Na⁺ has Z = 11 and charge +1, so 11 − (+1) = 10 electrons. An oxide ion O²⁻ has Z = 8 and charge −2, so 8 − (−2) = 10 electrons. Both have the same electron count as neutral neon — they're 'isoelectronic.'

Advertisementslot: calc-mid
Key distinction

Atoms vs molecules vs ions — what's the difference?

These three terms get used loosely but mean very specific things. Mixing them up is the most common conceptual error in introductory chemistry.

⚛️

Atoms

The smallest electrically neutral unit of an element. One nucleus (protons + neutrons), surrounded by an equal number of electrons.

  • Defined by atomic number (Z)
  • Net charge: zero (neutral)
  • Cannot be broken down chemically
  • 118 distinct types known
  • Examples: a single H, He, C, Fe atom
  • Notation: just the symbol (Fe)
🔗

Molecules & ions

Molecules are groups of atoms bonded together (H₂O, CO₂); ions are atoms or molecules with a net charge (Na⁺, SO₄²⁻).

  • Molecules: 2+ atoms bonded
  • Ions: charged atoms or molecules
  • Both have multiple constituents or charge
  • Most ordinary matter exists as molecules
  • Examples: H₂O (water), Na⁺ (sodium ion)
  • Notation: chemical formula or charge
PropertyAtomMoleculeIon
Number of atoms12 or more1 or more
Net electric charge0 (neutral)Usually 0Non-zero
Held together byNuclear forcesChemical bondsBonds + charge
ExamplesFe, He, CH₂O, CO₂, N₂Na⁺, Cl⁻, SO₄²⁻
This calculatorYes (input element)No (use mole calc)Yes (set charge)
A single atom can also be an ion — Na⁺ is a sodium atom with a +1 charge. Molecules can also be ionic — SO₄²⁻ is a sulfate molecule with a −2 charge. The categories aren't mutually exclusive; they describe different aspects of the same thing.
Subatomic particles

Proton vs neutron vs electron — physical properties

These three particles make up every atom, but they have wildly different masses, charges, and locations. Understanding their differences explains most of chemistry.

Protons & neutrons

Heavy particles that live in the dense nucleus. Together they account for over 99.9% of an atom's mass.

  • Proton: charge +1, mass ≈ 1.673×10⁻²⁷ kg
  • Neutron: charge 0, mass ≈ 1.675×10⁻²⁷ kg
  • Both ~1,836× heavier than electrons
  • Both made of quarks (uud / udd)
  • Reside in the nucleus (tiny center)
  • Determine atomic number and mass number

Electrons

Light particles in fuzzy quantum-mechanical clouds around the nucleus. They occupy almost all of an atom's volume but contribute almost none of its mass.

  • Charge: −1 (equal/opposite to proton)
  • Mass ≈ 9.109×10⁻³¹ kg (≈1/1836 of proton)
  • Not made of smaller particles (fundamental)
  • Occupy orbitals at varying distances
  • Account for >99.99% of atom's volume
  • Determine chemical behavior
PropertyProtonNeutronElectron
Symbolp (or p⁺)n (or n⁰)e (or e⁻)
Charge (e units)+10−1
Mass (kg)1.673×10⁻²⁷1.675×10⁻²⁷9.109×10⁻³¹
Mass (atomic units)1.0073 u1.0087 u0.000549 u
Location in atomNucleusNucleusOrbital cloud
Quark compositionuududdNone (fundamental)
Stability (free)Stable~10 min half-lifeStable
A free neutron (one not bound in a nucleus) decays into a proton, electron, and antineutrino with a half-life of about 10 minutes. Inside a stable nucleus, neutrons are stable because of nuclear binding energy. Free protons and electrons are stable indefinitely.
Why this matters

Where atomic properties show up in daily life

Atomic structure isn't just textbook chemistry — it's behind technologies and natural phenomena you encounter every day.

🏥

Medical imaging & therapy

Nuclear medicine uses radioactive isotopes (radionuclides) for both imaging and treatment. Iodine-131 treats thyroid cancer because the thyroid concentrates iodine. Technetium-99m, the most-used medical isotope, traces blood flow in heart and bone scans. PET scans use fluorine-18 attached to glucose to spotlight active tissue. Each isotope is chosen for its specific half-life and decay properties.

🪨

Radiometric dating

Geologists date rocks using uranium-235/238 (millions to billions of years), potassium-40 (volcanic rocks, ~1.25 billion year half-life), and carbon-14 (organic remains under 50,000 years). The math is simple: measure the ratio of parent to daughter isotope, then use the known decay rate to compute elapsed time. This is how we know the Earth is 4.54 billion years old.

Nuclear power & weapons

Power reactors split uranium-235 (or plutonium-239) atoms to release energy. A typical nuclear plant uses fuel enriched from 0.7% U-235 (natural) to about 3-5% U-235. Weapons require ~90% enrichment. Why the difference? Because the chain reaction needs enough U-235 neutrons to sustain rapid fission. The neutron-to-proton ratio in heavy isotopes is what makes some splittable and others not.

🧪

Chemistry & bonding

Every chemical bond, drug interaction, and biological process comes down to electron configuration. Sodium gives up one electron to chlorine to form table salt. Carbon's 4 valence electrons let it form complex molecules — the basis of all known life. Noble gases (full outer shells) don't bond with anything, which is why helium balloons stay helium-only. The configuration tells you what an element will and won't do.

Pro tips

5 tips for atom-counting problems

  1. 1

    Always identify Z, A, and charge first

    Before counting anything, isolate three numbers from the problem: atomic number Z (defines the element), mass number A (defines the isotope), and charge q (defines the ion state). Once you have these three, the formulas p = Z, n = A − Z, e = Z − q give every answer. Most errors come from skipping this step and trying to count directly from a confusing problem statement.

  2. 2

    Round the atomic mass when only the average is given

    If a problem gives you 'chlorine atomic mass = 35.45' without specifying an isotope, round to 35 to get the dominant isotope's mass number. So natural chlorine is typically ³⁵Cl (17 protons, 18 neutrons). Don't try to use 35.45 directly as a mass number — that gives a non-integer neutron count, which is impossible for a single atom.

  3. 3

    Watch for the 'isoelectronic' trap

    Two species are isoelectronic when they have the same electron count. Na⁺, Mg²⁺, Al³⁺, F⁻, O²⁻, and N³⁻ all have 10 electrons (same as neutral Ne). They have similar electron behavior but different nuclei. Problems often ask you to compare these — the ones with more protons are smaller (pull electrons in tighter). Knowing that all of these have the neon configuration helps.

  4. 4

    Memorize the Aufbau exceptions

    Standard Aufbau order works for ~93 of the first 100 elements, but chromium and copper have famous exceptions: Cr is [Ar] 3d⁵ 4s¹ (not 3d⁴ 4s²) and Cu is [Ar] 3d¹⁰ 4s¹ (not 3d⁹ 4s²). Half-filled and fully-filled d subshells have extra stability. Similar exceptions occur for Mo, Ag, and a few others. If you write the 'predicted' configuration for one of these and your answer doesn't match, this is probably why.

  5. 5

    Use noble-gas shorthand to keep configurations readable

    Writing iron as 1s² 2s² 2p⁶ 3s² 3p⁶ 3d⁶ 4s² is correct but unwieldy. The noble-gas form [Ar] 3d⁶ 4s² is equivalent and faster to write/read because everyone knows what 'argon's configuration' means. Higher-Z elements get this benefit even more — uranium written out is a long line; [Rn] 5f³ 6d¹ 7s² is much cleaner. Both forms are acceptable on exams unless specified otherwise.

Avoid these

5 common atom-counting mistakes

  1. 1

    Confusing atomic number with mass number

    Atomic number Z (protons, defines element) and mass number A (protons + neutrons, defines isotope) are different. A periodic table shows Z above each symbol; mass number is part of isotope notation (¹²C). Putting the average atomic weight where the mass number belongs gives non-integer neutron counts, which is nonsensical for a single atom.

  2. 2

    Subtracting in the wrong direction for ions

    The formula e = Z − q is signed. A +1 charge means LOST one electron, so subtract a positive number → fewer electrons. A −1 charge means GAINED one, so subtract a negative → more electrons. Common error: Cl⁻ has 17 − 1 = 16 electrons (WRONG). It's 17 − (−1) = 18 electrons. Watch the signs.

  3. 3

    Counting electrons by element instead of by ion

    Iron has Z = 26, but iron(III) ion Fe³⁺ has 26 − 3 = 23 electrons, not 26. The element gives you the proton count (constant) and the maximum neutral electron count. The actual electron count depends on the ion state. If a problem says 'Fe³⁺,' the +3 is information, not decoration — use it.

  4. 4

    Treating isotopes as different elements

    Carbon-12 and carbon-14 are both carbon — same chemistry, same place on the periodic table, same Z. They differ only in neutron count, which affects nuclear stability and mass but not chemical behavior. Problems sometimes set traps by asking 'which has more electrons, C-12 or C-14?' Answer: same — both are carbon, so both have 6 electrons when neutral.

  5. 5

    Forgetting the Aufbau exceptions for d-block

    Predicting Cr as [Ar] 3d⁴ 4s² is wrong — the correct ground state is [Ar] 3d⁵ 4s¹ because the half-filled d shell is more stable. Cu is similar: not [Ar] 3d⁹ 4s², but [Ar] 3d¹⁰ 4s¹. These exceptions trip up exam writers and students equally. Memorize Cr and Cu at minimum; the others (Mo, Ag, etc.) follow the same pattern.

Advertisementslot: calc-mid2
Related questions

More things students ask about atoms

What's the difference between an atom and a molecule?

An atom is a single unit of an element (one nucleus with its electrons). A molecule is two or more atoms held together by chemical bonds. Hydrogen gas H₂ is a molecule made of two hydrogen atoms; water H₂O is a molecule of two hydrogens and one oxygen. Some elements exist naturally as single atoms (noble gases: He, Ne, Ar) and others as molecules (O₂, N₂, Cl₂, etc.). 'Atom' is always one nucleus; 'molecule' is multiple atoms bonded.

How do atoms get their charge?

Atoms gain charge by gaining or losing electrons during chemical interactions. The proton count in the nucleus is fixed — it requires nuclear-physics-level energy to change. But electrons sit in the outer regions and can be relatively easily added or removed in chemical bonding. Metals tend to lose electrons (form cations); nonmetals tend to gain them (form anions). The drive comes from getting closer to a noble-gas electron configuration, which is energetically favorable.

Why are protons and neutrons in the nucleus and electrons outside?

Protons and neutrons are bound together by the strong nuclear force, which acts only over very short distances (a few femtometers). It's much stronger than electromagnetic repulsion at those distances, so it overcomes the electrical repulsion between positive protons. Electrons are bound to the nucleus by electromagnetic attraction, which is much weaker, so electrons orbit at distances roughly 100,000 times the nuclear diameter. The atom is mostly empty space — if a nucleus were a marble, the nearest electrons would be over a kilometer away.

Can an atom have more protons than electrons?

Yes — that's a cation, a positively-charged ion. Sodium loses one electron to become Na⁺ (11 protons, 10 electrons). Calcium loses two to become Ca²⁺ (20 protons, 18 electrons). The maximum positive charge an atom can have is limited by how much energy it takes to rip off each successive electron — eventually you'd need more energy than any chemical process supplies. In stars, atoms can be stripped of most or all electrons (becoming highly-charged ions or even bare nuclei).

What's the largest atom in the periodic table?

Right now, oganesson (Og, Z = 118) is the heaviest element with a confirmed name. It's a synthetic noble gas, made one atom at a time in particle accelerators by smashing calcium-48 into californium-249. Each atom of oganesson exists for less than a millisecond before decaying. Elements 119 and 120 are actively being searched for; their discovery would extend the periodic table to a new row. There's a theoretical 'island of stability' around Z = 114–120 where some isotopes might be much longer-lived than the synthetic elements made so far.

What's an electron orbital?

An orbital is a 3D region around the nucleus where an electron is likely to be found — typically the volume containing about 90% of the probability of finding the electron. Orbitals have shapes: s orbitals are spherical, p orbitals are dumbbell-shaped, d orbitals have four-lobed cloverleaf shapes, and f orbitals are even more complex. Each orbital can hold up to 2 electrons (with opposite spins, per the Pauli exclusion principle). The number and type of filled orbitals in an atom IS its electron configuration.

Frequently asked questions

How do you find the number of protons in an atom?

The number of protons in an atom always equals its atomic number (Z). Carbon has atomic number 6, so every carbon atom has exactly 6 protons. The atomic number is what defines the element — change the proton count and you have a different element. You can find Z on any periodic table; it's the small integer above each element symbol.

How do you find the number of neutrons?

Subtract the atomic number (Z) from the mass number (A): neutrons = A − Z. For example, carbon-14 has mass number 14 and atomic number 6, so it has 14 − 6 = 8 neutrons. The mass number is the integer total of protons + neutrons, not the standard atomic weight (which is a weighted average across all natural isotopes). If your problem gives you a standard atomic weight, round it to the nearest whole number to get the typical mass number.

How many electrons does a neutral atom have?

A neutral atom has the same number of electrons as protons — equal to the atomic number. Carbon (Z = 6) has 6 electrons when neutral. For ions, subtract the charge from the proton count: a sodium ion Na⁺ has 11 − 1 = 10 electrons (it lost one electron, giving it a net +1 charge). A chloride ion Cl⁻ has 17 − (−1) = 18 electrons (it gained one).

What is electron configuration?

Electron configuration describes how electrons are distributed across atomic orbitals (shells and subshells), following the Aufbau principle. For carbon: 1s² 2s² 2p². The notation reads as: 2 electrons in the 1s subshell, 2 in 2s, and 2 in 2p — totaling 6 electrons. For heavier elements, we abbreviate inner shells using the previous noble gas, e.g., [Ar] 4s² for calcium means 'all of argon's electrons plus 2 in 4s.' Knowing the configuration tells you about chemical behavior — outer-shell electrons determine bonding.

What's the difference between atomic number and mass number?

Atomic number (Z) is the count of protons, and it defines the element. Mass number (A) is the count of protons + neutrons, and it identifies which isotope you have. A specific atom is written ᴬZ-X where X is the element symbol. For example, ¹²₆C is carbon-12 (Z = 6, A = 12, so 6 neutrons), while ¹⁴₆C is carbon-14 (Z = 6, A = 14, so 8 neutrons). Both are carbon, but the second has 2 extra neutrons.

Why isn't the atomic mass on the periodic table a whole number?

The atomic mass listed on the periodic table is a weighted average of all naturally occurring isotopes of that element, weighted by their natural abundance. Chlorine's atomic mass is 35.45 because natural chlorine is roughly 76% chlorine-35 and 24% chlorine-37. The mass NUMBER of any specific atom is always a whole number — it just counts protons + neutrons — but the average across all isotopes in a typical sample isn't whole. For most quick problems, round the atomic mass to the nearest whole number to get the dominant isotope's mass number.

What are ions and how do they differ from neutral atoms?

An ion is an atom (or group of atoms) with an unequal number of protons and electrons, giving it a net electric charge. Cations are positive (more protons than electrons — lost electrons), like Na⁺ or Ca²⁺. Anions are negative (more electrons than protons — gained electrons), like Cl⁻ or O²⁻. The number of protons doesn't change when you form an ion — only the electron count does. This is how atoms bond: most ionic compounds form when one atom gives electrons to another (like sodium giving an electron to chlorine to form NaCl).

How accurate is this atom calculator?

Atomic numbers and proton counts are exact integers — there's no approximation possible. Standard atomic weights come from IUPAC's 2021 published table and are accurate to the precision shown (typically 3–5 significant figures). Electron configurations use the ground-state Aufbau order with the well-known exceptions (Cr is [Ar] 3d⁵ 4s¹, not 3d⁴ 4s²; Cu is [Ar] 3d¹⁰ 4s¹). For the heaviest synthetic elements (Z ≥ 100), some properties are predicted rather than measured; we mark these with their longest-lived isotope mass numbers.

Methodology

Atomic data sources & references

All standard atomic weights in this calculator come from IUPAC's 2021 Table of Standard Atomic Weights, the international standard maintained by the IUPAC Commission on Isotopic Abundances and Atomic Weights (CIAAW). Mass numbers for default isotopes use the most abundant naturally occurring isotope where one dominates, or the longest-lived isotope for synthetic elements (Z ≥ 84 generally). Electron configurations follow the standard ground-state Aufbau order with the well-known exceptions (Cr, Cu, Mo, Pd, Ag, Au, Pt, La, Ce, Gd, Lu, Ac, Th, Pa, U, Np, Cm). Period and group placements match the modern 18-column IUPAC layout; lanthanides and actinides are shown as 'no group' since they don't fit cleanly into the main 1–18 numbering. Particle masses are CODATA 2018 recommended values.

Advertisementslot: calc-bottom