You tap a destination into your phone and a blue dot appears, knowing precisely where you are standing on the surface of a planet 12,700 kilometres across. It feels ordinary now, but the technology behind that dot is genuinely remarkable — a marriage of orbiting machines, atomic clocks and the physics of Albert Einstein.

So how does a small device in your pocket work out its position to within a few metres, anywhere on Earth, in seconds? The answer is all about timing.

What GPS is

GPS — the Global Positioning System — is a satellite navigation system that lets a receiver on the ground work out its exact location by measuring how long radio signals take to reach it from satellites orbiting high above the Earth.

The key idea is trilateration: figuring out where you are from your distance to several known points. GPS measures those distances not with a tape measure but with time, because radio signals travel at the speed of light, and if you know how long a signal took to arrive, you know how far it came.

A fleet of satellites overhead

The system depends on a constellation of satellites — around 30 in the original American GPS — circling the Earth roughly 20,000 kilometres up. They are arranged so that, from almost anywhere on the planet, several are above the horizon at any moment.

Each satellite does something deceptively simple. It continuously broadcasts a radio message saying, in effect, "I am satellite number X, I am at this exact position in space, and the time right now is precisely this." That timestamp is the heart of the whole system.

Turning time into distance

Here is the clever part. When your receiver picks up a satellite's signal, it compares the timestamp inside the message with the time the signal actually arrived. The tiny delay between the two is how long the signal spent travelling through space.

Multiply that travel time by the speed of light, and you have your distance from that satellite. One distance alone is not enough — it only tells you that you are somewhere on the surface of a vast sphere centred on the satellite. But measure your distance to several satellites at once, and the only point consistent with all of them is your location.

  • One satellite — you are somewhere on a sphere around it.
  • Two satellites — you are on the circle where two spheres overlap.
  • Three satellites — you are narrowed to essentially two possible points, one of which is absurd (out in space), leaving your position.

Why four satellites, not three

In a perfect world three satellites would do. The complication is time itself.

The satellites carry atomic clocks accurate to billionths of a second. Your phone does not — its clock is far cruder, and even a tiny error, multiplied by the speed of light, would throw your position off by miles. So GPS uses a fourth satellite. With four distance measurements, the receiver has enough information to solve for four unknowns at once: your latitude, longitude, altitude and the exact correction needed for its own clock. In effect, every GPS fix also sets your device's clock with extraordinary precision.

The physics that keeps it honest

GPS is one of the few everyday technologies where Einstein's theories of relativity are not an abstraction but a daily engineering necessity.

Two relativistic effects act on the satellites' clocks compared with clocks on the ground:

  • Because the satellites move fast, special relativity says their clocks tick slightly slower.
  • Because they sit higher up where gravity is weaker, general relativity says their clocks tick slightly faster.

The second effect is larger, and the net result is that a satellite clock gains a small fraction of a second each day relative to the ground. It sounds trivial, but left uncorrected it would corrupt positions by several kilometres within a single day. The system is deliberately designed to compensate, a striking case of cutting-edge physics built into infrastructure billions of people use without a thought.

Why your dot sometimes misbehaves

GPS is robust, but the signals are faint and travel a long way, which leads to familiar problems:

  • Cities. Tall buildings block signals or bounce them, so they arrive by a longer reflected route. This "multipath" error confuses the timing and makes your dot jump among skyscrapers.
  • Indoors and underground. Roofs, walls and earth can block the signal entirely, which is why navigation falters inside buildings or in tunnels.
  • The atmosphere. The signal slows slightly passing through the upper atmosphere — well above the layers that hold the ozone layer — a small effect the system models and corrects.

To get a faster initial fix, phones use assisted GPS, drawing on mobile network data to know which satellites to look for. But the positioning itself still comes from the satellites — which is why GPS keeps working even with no phone signal at all, only the map needs a connection. Like cloud storage, the visible app hides a lot of clever infrastructure underneath.

Not the only system

"GPS" is often used as a catch-all, but it is specifically the American system. Several others now orbit alongside it: Europe's Galileo, Russia's GLONASS, and China's BeiDou, collectively known as global navigation satellite systems. Modern phones listen to several at once, combining their signals for a quicker, more reliable and more accurate fix — especially helpful in those tricky urban canyons. The European Space Agency and the official GPS.gov site detail how these systems are run and maintained.

The bottom line

GPS works by listening to radio signals from satellites that each announce their position and a precise time, then turning the minuscule travel-time delays into distances and triangulating your location. It needs at least four satellites — three to fix you in space and a fourth to correct your device's clock — and it leans on atomic timekeeping so exact that Einstein's relativity must be factored in to keep it accurate.

The next time a blue dot quietly finds you on a map, it is worth remembering what made it possible: a ring of machines thousands of miles overhead, clocks splitting time into billionths of a second, and the deep physics that ties speed, gravity and time together.