How a tiny chip in your phone pinpoints your spot on Earth to within a few meters, using nothing but distant satellites and the speed of light. A picture for every idea.
it never tells the satellites anything
First surprise: GPS doesn't track you by your phone sending out a signal. It's the opposite: your phone silently listens to signals coming down from satellites and works out its own position. The satellites don't know or care that you exist. (That's also why GPS itself doesn't drain your data or reveal you to anyone.)
"I am here, and it is exactly now"
About 30 GPS satellites orbit ~20,000 km up, each carrying an ultra-precise atomic clock. Every satellite constantly broadcasts a message that says, in effect: "This is satellite #7, my exact position is X, and the precise time right now is …" That timestamp is the key to everything.
how long did the signal take to arrive?
The signal travels at the speed of light, a known, fixed speed. Your phone compares the time stamped in the message with the time it actually arrived. The tiny delay tells it how far away that satellite is (distance = speed × time). One satellite gives you one distance.
trilateration
Knowing your distance from one satellite puts you somewhere on a giant sphere around it, which is not very useful alone. But add a second and a third, and the only spot that satisfies all three distances at once is a single point: you. Overlapping the distances to nail one location is called trilateration.
a clever trick to stay accurate
There's a snag: satellites have atomic clocks, but your phone has a cheap one. Even a microscopic clock error would throw off the distances badly (light moves so fast that being off by a millionth of a second means being off by ~300 meters). The fix: listen to a fourth satellite. The math uses that extra measurement to solve for the clock error too, correcting your phone's timekeeping for free.
precision down to billionths of a second
To get you within a few meters, GPS times signals to billionths of a second. It's so sensitive that engineers must even account for Einstein's relativity: clocks on fast-moving, high-altitude satellites tick slightly differently than on the ground, and ignoring it would make GPS drift by kilometers per day. The same system now quietly powers maps, ride-hailing, deliveries, farming, aviation, and the precise timing that keeps financial networks in sync.
Your phone listens to satellites; it never broadcasts its own location.
Each satellite broadcasts its position and a precise atomic-clock timestamp.
Time → distance: the signal's delay reveals how far each satellite is.
Three distances overlap to pin you to one point (trilateration).
A fourth satellite corrects your phone's imperfect clock.
Insane precision: billionths of a second, even accounting for relativity.