Science Lab · Chemistry & Physics

Build an Atom

Drag protons, neutrons and electrons together and see what you've made: the element, its place in the periodic table, its charge, its electron shells, and whether its nucleus holds together or is radioactive. Every isotope of the first 36 elements is here, with real half-lives. Then watch a radioactive sample decay, and use carbon-14 to find out how old something is.

Scenes

Protons0
Neutrons0
Electrons0
Electrons

Live numbers

Element
—
Isotope
—
Mass number
—
Charge
—
Nucleus
—
Half-life, decay
—
Share in nature
—
Shells
—
Configuration
—

Missions

    Keys, with the picture selected: P, N, E add a proton, neutron or electron (Shift takes one away), D decays, M makes the atom neutral, V switches shells and cloud. In Half-life: space pauses; ← → move the age line.

    What you're seeing

    Every atom has a tiny, heavy center, the nucleus, made of protons (red) and neutrons (gray). Around it are electrons (blue). A proton carries one unit of positive charge, an electron one unit of negative charge, and a neutron none at all.

    The number of protons decides the element. One proton is always hydrogen, six is always carbon, 26 is always iron. Add or take away a proton and you have a different element, which is why the periodic table at the bottom lights up a new square.

    Neutrons change the weight of the atom but not the element. Atoms of one element with different numbers of neutrons are called isotopes. Electrons change the charge: an atom with more or fewer electrons than protons is an ion.

    The card says whether the nucleus is stable or radioactive, and the chart of the nuclides marks where it sits among the nearly 900 known nuclei of the first 36 elements. The picture is not to scale. If an atom were as wide as a football stadium, its nucleus would be about the size of a pea in the middle.

    The science

    Counting the parts

    Chemists write an atom with two numbers beside its symbol: the mass number A (protons plus neutrons) at the top, and the atomic number Z (protons) at the bottom. A charge goes at the top right.

    A = Z + N      charge = protons − electrons      146C has 6 protons and 8 neutrons; 23Na+ has 11 protons, 12 neutrons and 10 electrons

    A proton has a mass of 1.6726 × 10−27 kg and a neutron 1.6749 × 10−27 kg, almost the same. An electron is about 1,836 times lighter, 9.109 × 10−31 kg, so nearly all of an atom's mass is in its nucleus. The charge of a proton is exactly 1.602176634 × 10−19 coulomb, and an electron's is the same with a minus sign.

    Isotopes and atomic weight

    Most elements in nature are a mix of isotopes. Chlorine is 75.76% chlorine-35 and 24.24% chlorine-37, so the "atomic weight" printed in the periodic table is an average:

    0.7576 × 34.969 u + 0.2424 × 36.966 u = 35.45 u

    That is why it isn't a whole number. The card shows each isotope's share in nature, and the tile shows the element's atomic weight.

    What holds a nucleus together

    Protons push each other apart, because like charges repel. They are held in by the strong nuclear force, which pulls protons and neutrons together but only reaches about the width of a nucleon. Neutrons add that pull without adding any push, so they act as glue. Light stable nuclei have about as many neutrons as protons; heavier ones need more. Krypton-84 has 48 neutrons for its 36 protons. On the chart, the stable nuclei form a narrow "valley" that bends away from the dashed line where N = Z.

    How unstable nuclei decay

    A nucleus with the wrong mix of protons and neutrons changes into a better one, giving off radiation as it does. In the first 36 elements you'll meet three main ways:

    β⁻ (too many neutrons): n → p + e⁻ + ν̄     e.g. 14C → 14N
    β⁺ (too few neutrons): p → n + e⁺ + ν     e.g. 18F → 18O
    electron capture (too few neutrons): p + e⁻ → n + ν     e.g. 7Be → 7Li

    Alpha decay, where a helium-4 nucleus (2 protons and 2 neutrons) shoots out, is how most very heavy nuclei decay, like uranium-238 and radon-222 in the Half-life scene. Far from the stable isotopes, nuclei can't hold on at all and lose a neutron or a proton almost instantly. Beryllium-8 is a famous case: it splits into two helium-4 nuclei in about 10−16 s.

    Half-life

    No one can say when a single radioactive nucleus will decay. But each one has the same chance of decaying in any second, so a large sample shrinks in a very regular way: half of it is left after one half-life, a quarter after two, an eighth after three.

    N(t) = N0 · 2−t / T½ = N0 · e−λt,    λ = ln 2 / T½      average lifetime = T½ / ln 2 ≈ 1.44 T½

    Half-lives range from far less than a second to far longer than the age of the universe. Fluorine-18, used in hospital PET scans, has a half-life of 109.7 minutes. Carbon-14's is 5,700 years (many textbooks give the older value, 5,730). Uranium-238's is 4.46 billion years, close to the age of Earth (4.54 billion years), so about half of the uranium-238 Earth started with is still here.

    Carbon dating

    High in the air, neutrons from cosmic rays hit nitrogen-14 nuclei and turn them into carbon-14. Plants take it in with ordinary carbon, and animals eat the plants, so every living thing carries about the same tiny share of carbon-14 as the air. When a living thing dies, it stops taking in new carbon, and its carbon-14 starts to run down. Measure the fraction f that is left, and the age follows:

    t = T½ · log2(1 / f)     f = 25% → t = 5,700 × 2 = 11,400 years

    After about 50,000 years less than 0.3% is left, too little to measure well, so carbon dating stops there. The amount of carbon-14 in the air has not been perfectly steady, so real labs correct their results with a calibration curve built from tree rings and other records.

    Electron shells

    Electrons are arranged in energy levels. In the simple shell picture, the first shell holds up to 2 electrons and the second up to 8. The third can hold 18, but after it has 8, the next two electrons go into the fourth shell first. That's why potassium is 2, 8, 8, 1 and calcium 2, 8, 8, 2. From scandium to zinc, the third shell fills up to 18.

    The full description uses orbitals named s, p and d, written like 1s² 2s² 2p⁶ 3s¹ for sodium. Atoms with full outer shells, the noble gases helium, neon, argon and krypton, hardly react. Others gain or lose electrons to get there: sodium loses one and becomes Na⁺, chlorine gains one and becomes Cl⁻.

    Try this

    A walk through the isotopes. Build carbon-12 and add neutrons one at a time. Carbon-13 is stable. Carbon-14 lasts thousands of years, carbon-15 about 2 seconds, carbon-16 less than one. Carbon-22 lasts 6 milliseconds, and it is the heaviest carbon nucleus that holds together: carbon-23 has never been seen. Watch the gold ring move to the right on the chart of the nuclides.
    A decay chain. Build oxygen-22 (8 protons, 14 neutrons) and press Let it decay until the nucleus turns green. Each β⁻ decay turns a neutron into a proton, so the element changes each time: oxygen, fluorine, then stable neon. Notice the charge badge: the new atom is short of an electron.
    No electron, no capture. Beryllium-7 decays only by electron capture. Take away all four of its electrons and try to make it decay. With no electron to capture, a bare beryllium-7 nucleus can't decay this way.
    The valley of stability. Tap the white squares on the chart of the nuclides, then the blue ones to their right and the pink ones to their left. Blue nuclei have too many neutrons and decay by β⁻; pink ones have too few and decay by β⁺ or electron capture. Every decay moves a nucleus toward the white valley.
    One nucleus or a thousand. In Half-life, run a sample of 1 nucleus several times. It might decay at once or last for many half-lives. Then try 10, 100 and 1,000, and compare where "half gone" lands with the true half-life.
    At home (safe and easy): put 100 coins in a cup, shake them, pour them out and take away every coin that lands tails up. Count the rest and write the number down. Repeat until none are left. Each round is one "half-life": about half the coins go each time, but you can never tell which coin will go next. Plot your counts, and they follow the same curve as the graph.

    Two common mix-ups

    "Electrons orbit the nucleus like planets around the Sun." They don't. That picture, close to the model Niels Bohr proposed in 1913, gets the energy levels of hydrogen right, but electrons don't follow paths at all. Quantum mechanics only tells us where an electron is likely to be found, which gives a fuzzy cloud called an orbital. In fact, an electron that really circled the nucleus would give off light, lose energy and spiral inward. The shell picture in this simulation is a handy way to count electrons, not a photo of an atom. Switch to Cloud for a better (but still simplified) picture.

    "After one half-life, the rest of the sample is about to decay." Decay has no memory. A carbon-14 nucleus that has already lasted 10,000 years is no more likely to decay next year than one made yesterday. For one nucleus, decay is pure chance. For billions, the chances add up to a smooth and predictable curve: after two half-lives a quarter is left, not nothing.

    How the simulation works

    The data. For each element from hydrogen to krypton, the simulation holds every known nucleus, 888 in all, with its half-life and decay modes from the NUBASE2020 evaluation of nuclear data. Natural abundances come from NIST and CIAAW. When you build a nucleus that isn't in the table, it either sits among known isotopes (never observed) or lies beyond the last known one (never made).

    The electrons. Shells fill in the standard order (1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p), with the two known exceptions in this range, chromium and copper. Positive ions lose electrons from the outermost shell first, so iron's 4s electrons go before its 3d ones, as in real Fe²⁺ and Fe³⁺. The cloud view scatters dots around each shell's radius; real orbitals have more interesting shapes.

    Decay. Let it decay picks one of the nucleus's decay modes at random, weighted by how often each happens, and skips the waiting. In the Half-life scene, each nucleus gets its own random lifetime, t = −T½ · log2(u), where u is a random number between 0 and 1. That is exactly the rule real nuclei follow: memoryless and random, with half of them gone after one half-life on average.

    What's simplified. The nucleus is drawn as a flat cluster of balls, and the atom is far from scale. Nuclear isomers (excited, longer-lived states) are left out. Half-lives are shown to three significant figures, and some nuclides far from stability have only estimates. Iodine-131, radon-222 and uranium-238 appear only in the Half-life scene, since they are beyond krypton.

    How it was checked

    TestResultExpected
    Stable nuclei, elements 1 to 369393 (every one occurs in nature)
    Natural abundances of each element add up to100.000%100%
    Abundance-weighted mass number minus atomic weight, all 36 elements−0.02 to +0.09close to 0: an atom's mass in u is near its mass number, but not exactly equal
    Electron shells of 18 atoms and configurations of 9 ions (K, Ca, Sc, Cr, Cu, Kr, Na⁺, Cl⁻, Fe²⁺, Fe³⁺, Zn²⁺ …)all matchtextbook configurations
    Main decay mode of every radioactive nucleus points toward the stable ones; chains followed to the end661 end stable, 64 leave the table at rubidium, 0 wrongall reach stability
    200,000 random lifetimes, T½ = 5,700 years: median5,726 years5,700 years
    Same: average lifetime8,235 years5,700 / ln 2 = 8,223 years
    Same: nuclei left after 3 half-lives25,14925,000 ± 194
    "Half gone" time for samples of 10, 100 and 1,000 nuclei (2,000 runs each)0.94 ± 0.45, 1.00 ± 0.14, 1.00 ± 0.05 T½spread shrinks like 1/√N
    Uranium-238 left after 4.54 billion years49.4%2−4.54/4.463 = 49.4%

    For a sample of 10, "half gone" is when the 5th nucleus decays, which on average comes a little before one half-life (0.93 T½), so 0.94 is expected.

    Sources

    All 118 elements in 3-D, with their shells, orbital clouds, spectra and more: The Elements.

    @teddyrookbook GitHub