Modern Physics  ·  22 August 2026

How Does an Atomic Clock Work?

Somewhere inside a sealed vacuum chamber, a cloud of cesium-133 atoms is absorbing microwaves at a frequency of exactly 9,192,631,770 cycles per second — not 769, not 771, always that number, in every cesium atom, everywhere in the universe. That single fact is reliable enough that in 1967 the world's metrologists threw out the old definition of a second — by then already a fraction of Earth's orbit around the sun, itself a replacement for the even older 1/86,400-of-a-day definition — and replaced it with this atomic resonance instead.

It sounds like a small bureaucratic swap. It isn't. Earth's rotation wobbles by fractions of a second a year for reasons nobody fully controls; a cesium atom's hyperfine transition does not wobble at all. That difference in reliability is the reason GPS satellites can locate you to within a few meters, banks can timestamp trades to the microsecond, and physicists can now detect gravity itself changing the flow of time over a height difference of about a centimeter. None of it works without an atomic clock underneath.

What Makes an Atom a Good Clock?

Every clock, at its core, is a counter attached to something that repeats: a pendulum's swing, a quartz crystal's vibration, the position of the sun. The accuracy of the clock is only ever as good as the consistency of whatever it's counting.

Pendulums are not consistent. Swing amplitude decays, temperature changes the metal's length, air pressure shifts the drag — a well-built pendulum clock still drifts by about a second a day. Quartz crystals do much better: cut a wafer to the right shape and it vibrates at a very stable frequency when a current runs through it — but "very stable" for a crystal still depends on that one crystal's exact size, temperature, and age. No two quartz watches, cut from different wafers, tick at exactly the same rate.

Cesium-133 atoms have no such problem. Every cesium-133 atom in the universe is built from the same protons, neutrons, and electrons, arranged the same way — there's no manufacturing tolerance on a subatomic particle. In the ground state, the interaction between the spin of the outermost electron and the spin of the nucleus splits what would otherwise be one energy level into two closely spaced ones — a hyperfine transition. It's a different mechanism from the orbital energy ladder in the Bohr model (electron orbits versus electron-nucleus spin coupling), but the underlying idea is the same: an atom accepts and releases energy only at specific, universally identical frequencies, never anywhere in between. For cesium's hyperfine transition, that frequency is 9,192,631,770 Hz, exactly, for every atom, always. It's also worth being precise about what kind of change this is: flipping between hyperfine states is a change in the relative spin orientation between electron and nucleus, not a nuclear transformation — the nucleus's own internal structure is untouched, and the same atom can flip back and forth indefinitely — a very different animal from radioactive decay, a one-way nuclear process each unstable atom undergoes exactly once.

How a Cesium Clock Actually Keeps Time

Knowing the right frequency doesn't build a clock by itself — something still has to count 9,192,631,770 cycles a second and turn that into ticking seconds. That job falls to an entirely ordinary quartz oscillator, running at a much lower, easily countable frequency and then electronically multiplied up toward the cesium frequency. The cesium atoms don't do any counting at all. Their job is to act as a referee: they check whether the quartz oscillator's frequency is still correct, and a feedback loop corrects it when it drifts.

A real cesium clock runs that check as a physical pipeline. An oven vaporizes a small sample of cesium into a beam of atoms. A magnet sorts them, letting through only atoms sitting in one specific hyperfine state. That beam flies through a microwave cavity, fed by the quartz oscillator's multiplied-up output — if the microwave frequency matches the cesium resonance closely enough, some fraction of the atoms flip into the other hyperfine state. A second magnet lets through only the atoms that made that flip; everything else is deflected away. A detector counts how many atoms arrive.

That count is the whole trick. If the oscillator's frequency is exactly right, the flip probability peaks and the detector signal is as strong as it can be. If the oscillator has drifted even slightly, fewer atoms flip and the signal drops. A servo loop nudges the oscillator's frequency up or down and watches whether the signal gets stronger or weaker, climbing back toward the peak automatically and continuously.

Try it yourself

  1. Drag the probe detuning slider to 0 Hz. Every atom flips green in the cavity, sails past the second magnet, and the detector glows at full brightness.
  2. Now drag it to 100 Hz. Every atom stays grey and gets thrown onto the dump instead — the detector goes dark. That is the first zero of the resonance curve.
  3. Keep going to 200 Hz. The beam comes all the way back to full green: the side fringe is exactly as tall as the central peak.
  4. Drag back to anywhere off resonance, then click "Lock to resonance" and let go. The servo walks the detuning back to zero on its own — that is the clock correcting itself.
Loading chart...
Probe Frequency
50 Hz
The atom never ticks -- it only grades how close the probe frequency is to 9,192,631,770 Hz. Atoms that fail to flip are thrown onto the dump by the second magnet and never reach the detector. Drag the slider to set how far off resonance the probe sits, then lock: the servo pulls it back to zero on its own.
Free-running -- detuning = 50 Hz, detector signal 0%

Every atom leaves the oven already in the selected state, so the first selector magnet filters nothing here — only the second magnet's filtering changes what reaches the detector. Watch a single atom: it travels grey until it reaches the cavity, and only there does it either flip to green or stay as it was. The second magnet then throws every atom that failed to flip down onto the dump, so only green ones ever light the detector. The slider starts 50 Hz off resonance, where exactly half the atoms flip. Drag it back toward zero and the beam turns fully green and the detector blazes; drag it further out and more atoms are dumped instead — a dimmer detector. At 100 Hz it stops completely: that's the first zero of the resonance curve. Keep going and it comes all the way back at 200 Hz, as tall as the central peak, before dying again at 300 Hz — the same fringe pattern the curve traces, made visible in the atom flow itself. Click "Lock to resonance" and watch the detuning settle back toward zero on its own, a simplified stand-in for the correction a real cesium clock's electronics run continuously.

Why Doesn't the Atom Just "Tick"?

It's tempting to picture the cesium atom as an extremely fast pendulum, swinging back and forth 9,192,631,770 times a second. That picture is wrong, and it's worth being precise about why: the atom doesn't oscillate at all. It sits in one of two possible hyperfine states, and the probability that it flips between them depends on how close the microwave frequency is to the true resonance — exactly the curve the marker rode in the simulation above.

That curve isn't infinitely sharp. Real atoms interact with the microwave field only briefly, in two separated passes with a longer stretch of free flight in between (this simulation's single "cavity" stage stands in for both) — it's that free-flight time in between, the interrogation time, that sets how sharp the resonance peak above can be. It also produces the repeating fringes further out — the wiggles you see if the detuning slider is dragged far enough, drawn here at the same height as the central peak rather than tapering off as they would in a real clock. The narrower that central peak, the more precisely the servo loop can tell "exactly on resonance" apart from "very slightly off," and the better the clock. Interrogation time and resonance width are locked together: double that free-flight time, and the peak gets exactly twice as narrow.

That single relationship is the entire reason modern atomic clocks look nothing like the 1955 original.

Laser Cooling — How Fountain Clocks Get So Precise

A cesium beam clock like the 1955 original has a hard limit on interrogation time: cesium is a solid at room temperature, so the oven has to run at roughly 80–120 °C just to produce a beam, and atoms leave it at somewhere around 200–250 meters per second. Even a generously long tube then allows only a few milliseconds of free flight between the two passes. To interrogate atoms for longer, they need to move much more slowly — and the way physicists learned to slow atoms down turns out to involve a laser, tuned in a very particular way.

Shine a laser beam at an atom and tune its frequency slightly below (red-detuned from) the atom's own resonance, and something useful happens because of the Doppler effect: an atom moving toward the beam sees it Doppler-shifted up, closer to resonance, and is more likely to absorb a photon from it — each absorption delivers a tiny momentum kick opposing the atom's motion, the same photon-momentum exchange behind how lasers work, used here in reverse. An atom moving away from the same beam sees it shifted further from resonance and barely interacts with it at all. Surround the atom with red-detuned beams from every direction (a technique nicknamed optical molasses, because the atom moves through it as if wading through syrup) and every direction of motion gets slowed down, regardless of which way the atom happens to be moving. Get the detuning sign backwards — blue instead of red — and the same mechanism runs in reverse, actively speeding the atom up instead.

That's why the demo below lets you flip the detuning sign yourself rather than just showing the "correct" answer — the direction of the effect is the entire point. Each atom trails a streak as long as its own speed, so a hot cloud is a blur of streaks and a cooled one is a field of still points. Watch it settle over the next ten seconds or so, then drag the detuning positive: the beams turn blue, and the identical apparatus drives the atoms apart instead. Nothing about the laser changed except which side of resonance it sits on.

Try it yourself

  1. Just watch first. The cloud starts hot — every atom trailing a long streak — and settles into still points over about ten seconds.
  2. Drag the detuning slider to +2 Γ. The beams turn blue and the same apparatus flings the atoms apart. Only the sign changed.
  3. Bring it back to about −0.4 Γ, the detuning that gives the coldest final cloud (though it settles more slowly from hot than −1 Γ does), and watch the spread gauge come to rest on the Doppler limit marker and hover there.
  4. Press Reset to start hot again, at any detuning you like.
Loading chart...
Spread (log scale)1.1505
0.001Doppler limit3+
Detuning (units of Γ)
-1
Negative = red-detuned (cooling). Positive = blue-detuned (heating). The beams change colour with the sign — same apparatus, opposite effect.
Initial Spread
2
Detuning -1.0 Γ (red-detuned, cooling) -- spread (std) 1.151, Doppler limit ~0.020

This animation runs on an artistic timescale — real optical molasses cools atoms in well under a millisecond, far too fast to watch. The atoms move along one axis only, matching the one-dimensional pair of beams drawn above and below them; a real molasses uses three such pairs, one per axis. The shape of the cooling force and its dependence on detuning sign are physically accurate, and so is the floor: each atom also receives small random recoil kicks from the photons it scatters, the same mechanism that sets a real Doppler limit, tuned here so the ensemble settles onto the width the Math section derives properly below (≈125.6 μK) whichever detuning is picked, and hovers there — the underlying balance point never falls below that width, though the reading is a 200-atom sample and so jitters a few percent either side of it — marked as a reference line on the histogram and, since that width is tiny compared to how far heating can spread the distribution, tracked more legibly on the log-scale spread gauge underneath it.

Laser-cooled cesium atoms in a modern fountain clock have random thermal motion of only centimeters per second, not hundreds of meters per second. Toss a cold cloud of them gently upward, let gravity carry them back down through the same microwave cavity on the way up and again on the way down, and the whole free-flight interrogation lasts roughly half a second — a hundred times longer than a room-temperature beam ever allowed, and, from the previous section's relationship, a resonance line a hundred times narrower to match.

How Accurate Are Atomic Clocks, Really?

Every improvement so far has been about one thing: making the resonance peak narrower, so the servo loop can lock on more precisely. None of it has anything to do with the clock "ticking faster" — the resonance frequency, 9,192,631,770 Hz, never changes. What changes is how confidently the clock can tell that frequency apart from one a few parts in 10¹³, or 10¹⁶, or 10¹⁸ away from it.

That's the number that actually matters for a clock's accuracy: its fractional frequency stability, how large a frequency error it might have relative to its own operating frequency. Set an error tolerance below — how much timing drift you can actually live with — and watch how long each of five real kinds of clock can go before it exceeds it.

Try it yourself

  1. Click "Leap-second trigger". A pendulum clock holds 0.9 s for about a day; a cesium fountain holds it for 285 million years, past the dinosaurs — and an optical lattice clock runs off the end of the chart entirely.
  2. Click "GPS-grade". The tolerance drops to 30 nanoseconds and both the pendulum and the quartz watch collapse to an "×" — they fail inside a single day.
  3. Drag the tolerance slider yourself and watch which bars survive past "The pyramids", and which run off the end of the universe.
Loading chart...
Error Tolerance: 0.90 s
-0.05
Time Until Tolerance Is Exceeded
Mechanical pendulum clock1.04 days
Quartz watch10.41 days
Cesium beam clock285033.6 yr
Cesium fountain clock2.85e+8 yr
Optical lattice clockoutlasts the universe

Modeled here as a fixed fractional offset for legibility — real clocks are more precisely characterized by an Allan deviation that itself depends on how long you average for, but the headline result, orders of magnitude apart, holds regardless of that detail. Each bar's length is literally how long that clock keeps your chosen tolerance, measured against human time landmarks rather than bare powers of ten — an "×" means it fails within a day, an arrow means it outlasts the universe. Try the quick-preset buttons for a few real-world budgets, from a leap second down to GPS-grade timing.

The best cesium fountain clocks reach roughly one part in 10¹⁶ — accurate enough that it would take on the order of 300 million years to drift by a single second. The newest optical lattice clocks, which replace cesium's microwave transition with an optical transition in atoms like strontium or ytterbium (a carrier frequency roughly 47,000 times higher for strontium (ytterbium's is higher still), for the same reason a ruler with finer markings measures more precisely), are pushing past one part in 10¹⁸ — a drift of one second over tens of billions of years, longer than the universe itself has existed. Metrologists are now seriously discussing redefining the SI second around one of these optical transitions instead of cesium's microwave one — the same kind of change that happened in 1967.

The Math Behind It

The SI Second, Defined Exactly

Since 1967, the second has been defined as exactly 9,192,631,770 periods of the radiation corresponding to the cesium-133 ground-state hyperfine transition. That fixes the period of one cycle directly:

T=1f=19,192,631,770 Hz1.088×1010 s108.8 psT = \frac{1}{f} = \frac{1}{9{,}192{,}631{,}770\ \text{Hz}} \approx 1.088 \times 10^{-10}\ \text{s} \approx 108.8\ \text{ps}

and the photon energy of the transition itself:

E=hf3.80×105 eV38 μeVE = hf \approx 3.80 \times 10^{-5}\ \text{eV} \approx 38\ \mu\text{eV}

— a tiny energy, placing this transition deep in the microwave part of the spectrum (visible-light photons carry several electron-volts, tens of thousands of times more).

Resonance Width and Clock Precision

For an interrogation time TT, the central Ramsey fringe has full width at half maximum:

Δf12T\Delta f \approx \frac{1}{2T}

and the resulting resonance quality factor, Q=f0/ΔfQ = f_0/\Delta f, is a direct measure of how sharply the clock can lock on:

Qbeam=9,192,631,7701/(2×0.005)9.19×107,Qfountain=9,192,631,7701/(2×0.5)9.19×109Q_\text{beam} = \frac{9{,}192{,}631{,}770}{1/(2 \times 0.005)} \approx 9.19 \times 10^{7}, \qquad Q_\text{fountain} = \frac{9{,}192{,}631{,}770}{1/(2 \times 0.5)} \approx 9.19 \times 10^{9}

using a 5 ms beam-clock interrogation time and a 0.5 s fountain-clock interrogation time — a hundred times longer interrogation, a hundred times higher QQ.

The Doppler Cooling Limit

Laser cooling can't reach absolute zero: every emitted photon delivers a small random recoil kick, and cooling stops helping once that random heating balances the cooling force. The resulting floor is:

TD=Γ2kBT_D = \frac{\hbar \Gamma}{2 k_B}

where Γ\Gamma is the natural linewidth of the cooling transition. For cesium's D2 line (Γ/2π5.234\Gamma/2\pi \approx 5.234 MHz):

TD1.256×104 K125.6 μKT_D \approx 1.256 \times 10^{-4}\ \text{K} \approx 125.6\ \mu\text{K}

Converting Frequency Stability into Time Error

A clock with fractional frequency stability σ\sigma accumulates timing error linearly with elapsed time tt:

Δt=σ×t\Delta t = \sigma \times t

For a cesium fountain clock (σ1016\sigma \approx 10^{-16}) over one year (t3.156×107t \approx 3.156 \times 10^7 s):

Δt1016×3.156×107 s3.16 ns\Delta t \approx 10^{-16} \times 3.156 \times 10^{7}\ \text{s} \approx 3.16\ \text{ns}

A Brief History of the Atomic Clock

1949 — the first atomic clock. Harold Lyons and colleagues at the US National Bureau of Standards (NBS, now NIST) build a clock referenced to an ammonia molecule's absorption line rather than cesium — not accurate enough to beat the best quartz clocks of the day, but proof the idea worked.

1955 — the first practical cesium clock. Louis Essen and Jack Parry at the UK's National Physical Laboratory build the first cesium-133 beam clock accurate enough to be genuinely useful, and use it to measure the cesium hyperfine frequency against the best available astronomical time standard.

1967 — the second redefined. The 13th General Conference on Weights and Measures replaces the old astronomical definition of the second with exactly 9,192,631,770 cycles of the cesium-133 hyperfine transition — the definition still in use today.

1997 — Nobel Prize for laser cooling. Steven Chu, Claude Cohen-Tannoudji, and William D. Phillips share the Nobel Prize in Physics for developing methods to cool and trap atoms with laser light — the technique behind every fountain clock built since.

1999 — the first US cesium fountain standard. NIST-F1 becomes the United States' primary time and frequency standard, using laser-cooled atoms tossed upward through a microwave cavity instead of a fast-moving thermal beam. The fountain technique itself was demonstrated a decade earlier by Steven Chu's group at Stanford, using sodium; the first working cesium fountain clock was built at the Paris Observatory in the mid-1990s, a few years ahead of NIST-F1.

2000s–present — optical lattice clocks. Labs including NIST and JILA build clocks referencing optical transitions in atoms like strontium and ytterbium instead of cesium's microwave transition, pushing stability past one part in 10¹⁸ and setting up a likely future redefinition of the second itself.

Worked Examples

Worked Example

Example 1 — The SI second, sanity-checked

The cesium-133 ground-state hyperfine transition oscillates at exactly f=9,192,631,770f = 9{,}192{,}631{,}770 Hz. Find the period of one cycle and the photon energy of this transition.

Period:

T=1f=19,192,631,7701.088×1010 s108.8 picosecondsT = \frac{1}{f} = \frac{1}{9{,}192{,}631{,}770} \approx 1.088 \times 10^{-10}\ \text{s} \approx 108.8\ \text{picoseconds}

Photon energy:

E=hf=(6.626×1034 J⋅s)(9,192,631,770 Hz)6.09×1024 J3.80×105 eVE = hf = (6.626 \times 10^{-34}\ \text{J·s})(9{,}192{,}631{,}770\ \text{Hz}) \approx 6.09 \times 10^{-24}\ \text{J} \approx 3.80 \times 10^{-5}\ \text{eV}

About 38 microelectronvolts — a microwave-regime photon, not a visible one.

Worked Example

Example 2 — The Doppler cooling limit for cesium

Cesium's D2 transition (852.35 nm) has natural linewidth Γ/2π=5.234\Gamma/2\pi = 5.234 MHz. Find the Doppler cooling limit temperature.

TD=Γ2kB=(1.0546×1034 J⋅s)(2π×5.234×106 Hz)2×(1.3806×1023 J/K)1.256×104 KT_D = \frac{\hbar \Gamma}{2 k_B} = \frac{(1.0546 \times 10^{-34}\ \text{J·s})(2\pi \times 5.234 \times 10^{6}\ \text{Hz})}{2 \times (1.3806 \times 10^{-23}\ \text{J/K})} \approx 1.256 \times 10^{-4}\ \text{K}

TD125.6 μKT_D \approx 125.6\ \mu\text{K} — the theoretical floor for simple two-level Doppler cooling. Real optical-molasses experiments, using a refinement called polarization-gradient cooling, routinely go colder still.

Worked Example

Example 3 — Resonance width and Q factor, beam vs. fountain

A beam clock interrogates atoms for T=5T = 5 ms; a fountain clock interrogates for T=0.5T = 0.5 s. Find the resonance FWHM and quality factor Q=f0/ΔfQ = f_0/\Delta f for each.

Beam: Δf=1/(2×0.005)=100\Delta f = 1/(2 \times 0.005) = 100 Hz, so Q=9,192,631,770/1009.19×107Q = 9{,}192{,}631{,}770 / 100 \approx 9.19 \times 10^{7}.

Fountain: Δf=1/(2×0.5)=1\Delta f = 1/(2 \times 0.5) = 1 Hz, so Q=9,192,631,770/19.19×109Q = 9{,}192{,}631{,}770 / 1 \approx 9.19 \times 10^{9}.

The 100× longer interrogation time gives an exactly 100× narrower line and 100× higher QQ — precisely the relationship from "Why Doesn't the Atom Just Tick?" above. Verify in the simulator: the resonance simulation uses this same 5 ms beam-clock value; its first zero sits at 100 Hz detuning.

Worked Example

Example 4 — Fractional stability to accumulated time error

A cesium fountain clock has fractional frequency stability σ1016\sigma \approx 10^{-16}. Find how much timing error it accumulates over one year, and compare to a cesium beam clock (σ1013\sigma \approx 10^{-13}).

Fountain: Δt=σ×t=1016×(365.25×86,400 s)3.16×109 s3.16\Delta t = \sigma \times t = 10^{-16} \times (365.25 \times 86{,}400\ \text{s}) \approx 3.16 \times 10^{-9}\ \text{s} \approx 3.16 nanoseconds per year.

Beam: exactly 1,000× less stable, so exactly 1,000× more drift: 3.16\approx 3.16 microseconds per year.

Verify in the simulator: click the "Financial trading (MiFID II)" preset — the cesium beam row reads "31.7 yr" and the cesium fountain row reads "31688.1 yr," the same 1,000× relationship computed above, made visually obvious here because both land in the same unit. That ratio holds no matter which tolerance is selected, since it depends only on the two clocks' own stability figures — try any other preset and check the same two rows.

Why Atomic Clocks Matter

Civil timekeeping. The time your phone shows is Coordinated Universal Time (UTC), built from an internationally averaged atomic timescale. Earth's own rotation is gradually and unevenly slowing, so civil time and atomic time tend to drift apart — for decades this was patched with periodic leap seconds, but in 2022 the international body governing time standards voted to stop inserting them by 2035, letting the two timescales quietly diverge instead of continuing the manual fix.

Telecommunications and finance. Cell networks, data centers, and stock exchanges all need clocks synchronized far more tightly than a human would ever notice — financial regulation in major markets requires certain trade timestamps accurate to within 100 microseconds of a traceable atomic-time source, specifically to reconstruct the exact order of trades during high-speed market events.

Power grids. Utilities scatter GPS-disciplined clocks across the grid to timestamp voltage and current measurements to the microsecond, letting operators see instability propagating across hundreds of kilometers in near-real time — a level of synchronization that's only possible because GPS itself, discussed below, distributes atomic time.

Deep space navigation. Spacecraft far from Earth can't wait minutes or hours for a ground-based timing signal to arrive and return, so NASA has flown its own miniaturized atomic clock to let a spacecraft compute its own position and trajectory onboard, in real time.

Testing fundamental physics. Optical lattice clocks are now precise enough to directly detect general relativity's gravitational time dilation from a height difference of only about a centimeter near Earth's surface — turning a clock into a physics instrument.

Satellite navigation. GPS satellites each carry their own atomic clocks because a position fix is calculated from radio signal travel time, and light covers only about 30 centimeters per nanosecond — so a clock error of a few nanoseconds becomes a position error of meters. The full mechanics of how a receiver combines multiple satellites' signals into a fixed position is a story for its own post.

Frequently Asked Questions

Quick Reference

QuantityFormula / ValueNotes
Cesium hyperfine frequency9,192,631,770 HzDefines the SI second exactly, since 1967
Ramsey resonance FWHMΔf1/(2T)\Delta f \approx 1/(2T)TT = interrogation (free-evolution) time
Resonance quality factorQ=f0/ΔfQ = f_0/\Delta fHigher QQ = more precise lock
Doppler cooling limitTD=Γ/(2kB)T_D = \hbar\Gamma/(2k_B)≈125.6 μK for cesium
Accumulated timing errorΔt=σ×t\Delta t = \sigma \times tσ\sigma = fractional frequency stability
Light travel distanced=cΔtd = c\Delta t≈30 cm per nanosecond

Explore more simulations

Every concept on PhysicStuff has an interactive simulation. No login, no setup required.