How GPS Knows Where You Are: Atomic Clocks, Einstein and a Blue Dot

A signal leaves a satellite carrying nothing but the time, and your phone turns it into a blue dot — but only because the clocks up there were deliberately set to run slow, and because of a decision made after a plane was shot down in 1983.

Right now, a couple of dozen satellites are circling the Earth at about twenty thousand kilometres above your head, each one broadcasting the time on a loop. Your phone listens for a handful of those signals, does a little arithmetic, and puts a blue dot on a map within a few metres of where you actually stand. And that only works because the people who designed the system accounted for Albert Einstein.

The geometry is easier than most people expect. Suppose a voice tells you that you are exactly twenty kilometres from a particular tower. That places you somewhere on a circle. A second tower gives you a second circle, and the two circles cross at two points. A third tower settles which of those two points is yours. Satellites do the same thing, except in three dimensions, so the circles become spheres. One satellite tells you that you are somewhere on the surface of a huge sphere. Two spheres intersect in a ring. Three spheres narrow it to two points, one of which is usually out in space. Four spheres meet at a single point. Engineers call it trilateration, and it is essentially the same geometry a navigator with a compass and a chart has always used.

But how does your phone know how far away a satellite is? It doesn't measure distance directly. It measures time. Every satellite's signal carries a time stamp, saying, in effect, that it left at exactly such and such a moment. Your phone notes the moment the message arrives, subtracts, and multiplies by the speed of light. The signal has been travelling for roughly seventy thousandths of a second, and the gap between the two times, converted at three hundred thousand kilometres per second, gives the distance.

That's where the engineering gets brutal. Light covers about thirty centimetres in a nanosecond, one billionth of a second. So to get within a few metres, your phone has to compare times to within tens of nanoseconds. That raises the obvious question: what kind of clock is inside a satellite?

An atomic clock. Not a metaphor: a real device that keeps time by watching an extraordinarily steady vibration inside atoms of caesium or rubidium. It is a very good clock. Left alone, it does not drift by a noticeable amount in many thousands of years. A quartz watch like the one in your phone is nowhere near that good; over a day it wanders by enough to throw your position off by hundreds of metres or worse.

And here's the elegant part. Instead of giving your phone an atomic clock, the system treats your phone's bad clock as one more unknown to be solved for. Four unknowns — your latitude, your longitude, your height and your clock error — require four satellites. Every GPS fix is, underneath, mostly a time measurement.

Then relativity shows up. Satellites are moving fast, about four kilometres a second, and special relativity says moving clocks run slow by a few millionths of a second per day. But they are also much higher up, where gravity is weaker, and general relativity says clocks in weaker gravity run fast by tens of millionths of a second per day. The height effect wins. An uncorrected satellite clock would tick faster than yours by around thirty-eight microseconds a day.

Thirty-eight microseconds sounds like nothing. Multiply it by the speed of light, and it becomes more than ten kilometres of error, accumulating every single day. Your map would be useless within a week. The fix is beautifully simple: before launch, the satellites' clocks are deliberately tuned to run slightly slow, so that once they are in orbit and physics has adjusted them, they tick at the right rate.

The system itself was born in the Cold War. In the early nineteen seventies, the American Navy and Air Force had separate ideas about navigation from space, and the Pentagon merged them into one programme. The first experimental satellite went up in nineteen seventy-eight. Then came a tragedy that changed everything. In September nineteen eighty-three, a Korean airliner, off course and straying into Soviet airspace, was shot down, and two hundred and sixty-nine people died. In the aftermath, President Reagan announced that once the satellite system was mature, it would be made available for civilian use. The first Gulf War, a few years later, showed how valuable that was, with civilian receivers pressed into military service in the desert sand.

For a long time, though, civilian accuracy was deliberately hobbled by a feature that added random error to the public signal, and it wasn't switched off until May of the year two thousand. The moment it was, GPS went from a curiosity to a utility.

Because here's what most people don't realise: the biggest use of GPS isn't navigation at all. It's timekeeping. Your phone gets its time stamps from it. So do bank transfers and the logs in data centres; mobile networks use it to hand calls between cell towers. Power grids use it to keep equipment across whole regions in step. Farmers use it to steer tractors across fields with an accuracy of a few centimetres.

And it is fragile. The signal arriving at your phone is fantastically faint, far below the level of ordinary radio noise around us, and receivers pick the pattern out of the hiss. That means it can be drowned out deliberately with a cheap jammer, or faked. That's why modern receivers also listen to other satellite systems — Galileo, GLONASS and BeiDou — and fall back on the motion sensors inside your phone when the sky disappears.

So the next time your map tells you to turn left in a hundred metres, remember what's working behind it: a constellation of flying clocks, a geometry trick older than electricity, two theories of relativity and a decision made in grief in nineteen eighty-three. Not bad for a blue dot.

Shelf: Non-fiction

You may also like

  • Jet Lag: Why Your Body Clock Fights the Red-Eye — You step off a red-eye into bright morning sun, but your body insists it's midnight. Deep in your brain, a tiny cluster of cells is still running on home time. What is jet lag really doing inside you…
  • The 500 Cables Under the Sea — When you send a photo from New York to London, it doesn't go through the air—it travels through a glass thread inside a cable the width of a garden hose, lying in the dark under enormous pressure.…
  • How Self-Driving Cars See the Road — What does a city look like to a car with nobody in the driver's seat? Not a photograph — a pile of measurements, and a bet about the next half second.
  • 16 Sunrises — On the International Space Station nobody lies down: you climb into a bag, clip it to the wall, and float. Sixteen sunrises a day, fans humming, a mask over your eyes — and the oldest question of…
  • The Wrong Hour — At 3:17 a.m., five strangers in the Bellwether Diner each got a call meant for someone else—all from a payphone that was torn out the night before. Dispatcher Grace Okonkwo has one question: who is…
  • The Memo From Tomorrow — Dr. Ambrose Pike vanished from a cliff-top radio observatory eleven days ago, leaving a recorder dated tomorrow that tells whoever finds it to bring two torches down the tunnel at six — and says…
  • John Harrison: The Carpenter Who Beat the Clock — In 1714 Britain offered twenty thousand pounds to anyone who could find longitude at sea. A Yorkshire carpenter named John Harrison answered with a clock — and then spent decades fighting for the…
  • The Slow Engine: What Actually Moves the Continents — The Pacific floor is sliding down beneath Japan, and the force moving it is its own cold weight. There is no piston and no hidden engine room — so what keeps the continents drifting, and why does…
  • Deepfakes: The Face That Wasn't There — In early 2024 a Hong Kong finance employee watched familiar faces on a video call and wired about 25 million dollars — almost everyone on that call was software. How does a face get built out of…
  • How Nintendo Rebooted the Living Room — How Nintendo transformed a crashed video game market into a household phenomenon with the NES, Mario, and a console that rebooted the living room.
  • The First Steps Ashore — Explore how tiny green plants and pioneering fish began life's courageous journey from ocean depths to the first steps on dry land.
  • How Machines Learn Patterns — Discover how neural networks turn simple arithmetic into machines that recognize images and language by learning patterns from data.