How Does GPS Actually Know Where You Are?

GPS works out where you are by timing radio signals from satellites. Each satellite broadcasts its position and the exact time from an onboard atomic clock; your phone measures how long each signal took to arrive, turns those delays into distances, and combines at least four of them to fix your position, usually to within about 5 metres. It needs no internet and sends nothing back. Your phone only listens.
A sky full of clocks
About 31 working GPS satellites circle Earth at an altitude of roughly 20,200 kilometres, arranged so that at least four are above the horizon almost anywhere on the planet. Each one carries several ultra-precise atomic clocks. Every satellite constantly broadcasts one simple message: who it is, where it is, and the exact time. The system is run by the US Space Force, and it is free for anyone to use.
Nonstop poradí rychlá poradna.
It’s all about how long the signal takes
Your phone listens for these signals. Because they travel at the speed of light, roughly 300,000 km per second, a signal from a satellite overhead takes about 0.07 seconds to reach you. The tiny delay between when it was sent and when it arrived reveals how far away that satellite is. A timing error of just one millionth of a second would put you 300 metres off, which is why the clocks have to be so good.
Crossing the distances
One distance puts you somewhere on a huge imaginary sphere around a satellite. Two spheres intersect in a circle, three narrow it down to two points (one of which is usually far out in space), and a fourth corrects your phone’s much cheaper clock. This method is called trilateration. With signals from four or more satellites, your device solves the puzzle and lands on your position, often within a few metres.
Einstein keeps your blue dot honest
The system is so sensitive that engineers have to account for relativity. The satellites move fast, which slows their clocks slightly, but they also sit in weaker gravity, which speeds them up more. The net effect is that satellite clocks run about 38 microseconds a day fast compared with clocks on the ground. The satellites are adjusted for it. Without that correction your position would drift by around 10 kilometres every day.
Why your phone is faster and more accurate than old GPS units
Modern phones don’t rely on GPS alone. They also listen to Europe’s Galileo, Russia’s GLONASS and China’s BeiDou, so they can see dozens of satellites at once. They download satellite positions over mobile data (called assisted GPS) to lock on in seconds instead of minutes, and many newer phones use two frequencies, which helps in cities where signals bounce off tall buildings.
Why GPS struggles indoors
By the time a GPS signal reaches the ground it is incredibly weak, weaker than the background radio noise. Walls, roofs and even dense tree cover can block it. Indoors, your phone falls back on nearby Wi-Fi networks and mobile masts to estimate where you are, which is less precise.
Photo: public domain.