How does GPS work? Four clocks and some Einstein
Your phone never sends anything to a GPS satellite. Not a hello, not your location, nothing. The satellites have no idea you exist and no way of finding out. So how does GPS work? It’s the sort of trick you could explain over a pint: if someone shouts the time from far away and you know how fast a shout travels, you know how far away they are. The rest is very good clocks, a bit of geometry and a correction from Einstein that sits in the engineering documents.
A clock shouting the time
Each satellite carries several atomic clocks and sends two things: where it is, and what time it was when the message left. Your phone’s receiver compares that time with its own. The difference is how long the signal took to get there. Multiply by the speed of light and you’ve got a distance.
The satellites fly at about 20,200 km, or 12,550 miles, according to the U.S. government’s official GPS site. From one directly overhead, the signal takes about 67 thousandths of a second to reach you. Time is the only ruler this system has, so that tiny number has to be measured very well indeed. Neil Ashby, a physicist at the University of Colorado who has spent decades on GPS relativity, puts it bluntly: an error of 3 nanoseconds corresponds to about a meter of position error. Three billionths of a second, roughly three feet. You can’t build this with the clock on your oven.
Why it takes four satellites
The distance to one satellite puts you somewhere on a huge sphere. Two distances put you on the circle where two spheres meet. Three leave you with two points, and one of them is usually nowhere near the surface of the Earth. Most explanations stop right there, which is a pity, because the best part comes next.
Your phone has an ordinary clock, and ordinary clocks drift by far more than 3 nanoseconds. If the receiver’s time is off, every distance comes out wrong, all by the same amount of time. The fix is neat: treat your own clock error as one more unknown. Three coordinates plus a time make four unknowns, so you need four equations and four satellites. Ashby writes it out just like that: time signals from at least four satellites give the receiver its position and time.
The side effect deserves a second pint. By solving those equations, a cheap chip in your pocket ends up synchronized with atomic clocks it will never touch.
The constellation is designed for this. The United States commits to keeping at least 24 operational satellites available 95% of the time, and the U.S. Space Force has been flying 31 for well over a decade. They sit in six orbital planes and circle the Earth twice a day, and the layout means at least four are visible from virtually anywhere on the planet.
How does GPS work with Einstein on board?
Now for the part that sounds like a pub exaggeration and isn’t one. Satellite clocks and ground clocks don’t tick at the same rate, for two reasons that pull in opposite directions.
The satellite moves fast, about 3.9 km per second, and special relativity says that slows its clock by about 7 microseconds a day. Up there, though, Earth’s gravity is weaker, and general relativity says that speeds the clock up by about 45 microseconds a day. Net result: the satellite gains about 38 microseconds a day.
Ashby gives it in the form engineers use, a fractional frequency difference of 4.4647 × 10⁻¹⁰. Multiply that by the seconds in a day and you land on that 38-odd microseconds. On older satellites, the fix was to set the atomic clock frequencies down by that amount before launch, the so-called factory frequency offset. They left Earth with their clocks deliberately wrong, so they’d be right in orbit.
Hold on a second here, though, because the internet loves to say GPS would drift about 10 km a day without this correction. The number comes from multiplying 38 microseconds by the speed of light, which gives a bit over 11 km, or roughly 7 miles. As a way of showing the scale, fine. As a description of what would happen, it’s a simplification. If every clock in the constellation gained exactly the same amount, your receiver would soak up much of that error in its fourth unknown, the time one. The real trouble would come another way: system time would pull away from ground time, and small mismatches between satellites would pile up. You still wouldn’t want that on an airplane, but a car wandering 10 km further off the road each day isn’t what the equations say.
It started with a two-foot wire
Satellite navigation began with a small act of indiscipline. On Friday, October 4, 1957, the Soviet Union launched Sputnik. The following Monday, at the Johns Hopkins Applied Physics Laboratory in Maryland, two young physicists, William Guier and George Weiffenbach, had lunch in the cafeteria and noticed something odd: apparently nobody at the lab had tried to pick up the signal over the weekend.
Weiffenbach had a good 20 MHz receiver for his doctoral work. The WWV standard-frequency station was just 12 miles away, and a 2-foot wire hanging from the receiver did the job of an antenna. The Soviets had set Sputnik’s frequency about 1 kHz from an exact 20 MHz, so anyone with a radio heard an audible tone that slid from around 1,500 Hz down to around 500 Hz during each pass.
Guier and Weiffenbach told the story decades later in the lab’s technical journal. At first the tone seemed to wander in frequency. After about five minutes it was obvious: this was the satellite’s Doppler shift, the same effect that bends the pitch of an ambulance siren as it goes past. They recorded it with precise timing, using a hi-fi tape recorder Guier had brought in, and worked through the numbers on a mechanical calculator. Within days they were making the most accurate predictions around of when the satellite would next appear. They later thanked bosses “who were tolerant of people spending time on unauthorized projects.”
The giant step came on Monday, March 17, 1958. Frank McClure, head of the lab’s research center, called them in and asked them to close the door. His question flipped the problem around: if you can work out an orbit from a known spot on the ground, can you work out the spot from a known orbit? They ran the simulations and called the accuracy “unbelievable.” McClure wasn’t surprised. He’d been spending part of his time at the Navy office developing Polaris submarines, where people worried about knowing a launch location at sea, ideally within a few hundred feet. That became Transit, the Navy’s satellite navigation system. GPS came later and measures something else, travel times instead of frequency shifts, but the big idea came out of that closed-door meeting.
When America broke the signal on purpose
For years, the public GPS signal came degraded by design. It was called Selective Availability, and the official description calls it an intentional degradation for national security reasons. It couldn’t be aimed at one region either: it hit the whole world or nobody.
In May 2000, at the direction of President Bill Clinton, it was switched off. In September 2007 the U.S. government announced that the next generation of satellites, GPS III, would be bought without the feature, which made the decision permanent. A lot of what you take for granted in a maps app hangs on that switch.
Sixteen feet, if the sky cooperates
The official site gives a number for phones: typically accurate to within a 4.9 m, or 16 ft, radius under open sky. Near buildings, bridges and trees, it gets worse. The sneakiest cause is reflection. The signal bounces off a wall, travels further than it should, and the receiver computes a false distance. That’s how the blue dot downtown ends up across the street or inside a bakery.
At the other end of the range, dual-frequency receivers with augmentation systems get down to a few centimeters in real time and to millimeters with long-term measurements. And high-quality single-frequency aviation receivers reach 1.82 m, just under 6 ft, horizontally 95% of the time, according to FAA data cited on the same site.
The satellite doesn’t draw the map
When a delivery driver ends up on the wrong street, space is rarely to blame. The U.S. government keeps a whole page headed, with some weariness, “My Address Is Wrong!” It explains that GPS satellites only provide location signals, not maps. Addresses come from private companies, and fixing one can take weeks or months. GPS gives you coordinates. Whatever your navigation app does after that, including the roundabout that doesn’t exist, is somebody else’s work.
The clock holding up more than you’d guess
That same signal can tell you the time to within about 100 billionths of a second, without you having to own an atomic clock. The official site lists communications systems, power grids and financial networks among its users, plus Hollywood movie slates for syncing multiple cameras.
That calendar has its own historic bodge. The week number in the classic navigation message uses 10 bits, so it rolls back to zero every 1,024 weeks, counted from January 1980. It happened in August 1999 and again on April 6, 2019, when some old receivers that had never been updated could show a date from 1999. Think Y2K with an antenna. Newer signals use 13 bits, which kicks the problem to the year 2137.
A signal you can drown out
A signal arriving from 12,500 miles away can also be interfered with, and that has a price. Sweden’s Transport Agency counted 55 interference incidents in its airspace in 2023 and 733 in 2025, up to August 18, and said that September that the source was Russian territory. Press reports say Moscow has denied widespread jamming.
One last thing for the next time you open a map. That blue dot means a device with no atomic clock solved four equations using messages sent less than a tenth of a second earlier by machines that don’t know you’re there and are moving at nearly 4 km per second.