← All articles

How Things Work · 9 min read

How GPS Knows Where You Are — Relativity Included

Everyday Scholar · Updated November 2026

The GPS satellite constellation orbiting Earth, shown against a starry sky (NASA illustration)

Right now, at least 24 GPS satellites circle Earth at about 20,200 km altitude, each carrying atomic clocks and broadcasting two things, over and over: “the time is exactly T” and “I am exactly here.” Your phone listens — it never transmits — and does quiet geometry with what it hears.

Location by stopwatch

Radio signals travel at the speed of light. If a satellite's signal left at time T and arrives a fraction of a second later, your phone multiplies that delay by the speed of light and knows its distance from that satellite: you are somewhere on a sphere of that radius around it. One satellite gives a sphere. Two give a circle where the spheres cross. Three narrow it to two points (one is usually absurd — deep in space or inside the Earth). A fourth satellite solves the remaining problem: your phone's cheap clock. The fourth signal lets the receiver correct its own timing error, which is why consumer GPS needs four satellites minimum for a good fix.

Einstein on the engineering checklist

Here is the part that sounds invented and isn't. Satellite clocks tick at a different rate than Earth clocks, for two relativistic reasons. Moving fast makes them lose about 7 microseconds a day (special relativity). Sitting higher in Earth's gravity well makes them gain about 45 microseconds a day (general relativity). Net effect: +38 microseconds daily. Uncorrected, that timing error would grow your position error by roughly 10 km per day — GPS would be useless for navigation within hours. So the satellite clocks are built to tick slightly slow on the ground, by exactly the amount relativity will speed them up in orbit. Einstein's equations are, quite literally, a line item in the system design.

Why your phone is sometimes wrong

Signals slow down passing through the atmosphere, bounce off tall buildings (the “urban canyon” effect), and weaken indoors. Modern phones blend GPS with Wi-Fi positions, cell towers, and motion sensors — which is why your blue dot snaps to the right street the moment you step outside.

A fix, second by second

Here is what actually happens when you open a maps app outdoors. Second 0: the phone's receiver wakes and listens on the GPS frequencies — pure radio noise, until it starts picking out the satellites' repeating codes from the static. Seconds 1–10: it locks onto the strongest signals first and begins measuring arrival times, still too rough to trust; the blue dot appears with a wide, pale circle — the phone saying “somewhere in here.” Seconds 10–30: more satellites join, the geometry improves, the phone solves for its clock error against the fourth signal, and the circle tightens around you. Leave the app open for a minute and modern receivers refine the fix further using signals from several constellations — GPS is American, but Galileo (European), GLONASS (Russian), and BeiDou (Chinese) satellites broadcast too, and most phones listen to all of them.

The error budget engineers actually worry about

Relativity is the famous correction, but the daily error budget has duller entries. Ionosphere delay: the signal slows as it crosses charged upper atmosphere, by an amount that varies with the sun's mood; receivers model it or measure it with a second frequency. Tropospheric delay: weather in the lower atmosphere bends the path slightly. Multipath: in cities, signals ricochet off glass towers and arrive twice, once late — the receiver has to guess which copy is direct. Add them up and a phone's typical accuracy lands around 3 to 5 metres in open sky, worse downtown, which matches the blue circle you see.

Built for war, opened to everyone

GPS was a US military system, and for its first decades civilian signals were deliberately degraded — a policy called Selective Availability that smeared positions by up to 100 metres. It was switched off in May 2000, and civilian accuracy improved roughly tenfold overnight. Every delivery driver, hiker, and lost tourist since has been navigating on a military constellation that was simply… left on, precisely corrected, for anyone with a receiver to hear.

Quick questions

Does GPS need the internet? No. The satellites broadcast regardless; your phone computes its own position from the signals alone. Data connections only speed up the first fix (by downloading satellite predictions) and draw the map. Does GPS track you? The system itself cannot — your receiver only listens. What apps do with the position afterwards is a separate, worth-asking question.

And when it still fails? Indoors, in tunnels, and in parking structures the signals simply don't arrive — they are astonishingly faint by the time they land, weaker than the background radio noise around them, which is why receivers need clear sky. Your phone papers over the gap with its last known position, Wi-Fi, and motion sensors, and the honest blue circle quietly widens to confess the uncertainty.

Try it today

Open your phone's compass or maps app outdoors and watch the accuracy circle shrink over 30 seconds. That shrinking circle is your phone collecting more satellite signals and solving for its own clock error in real time.

Read also

← Back to home