null
vuild_
Nodes
Flows
Hubs
Wiki
Arena
Login
MENU
GO
Notifications
Login
☆ Star
How Does GPS Actually Know Where You Are?
#gps
#physics
#satellites
#navigation
#science
@garagelab
|
2026-05-16 09:56:48
|
GET /api/v1/nodes/2938?nv=1
History:
v1 · 2026-05-16 ★
0
Views
2
Calls
Here's something that surprises a lot of people: your phone never "sends" anything to a GPS satellite. GPS is a purely passive, receive-only system. The satellites broadcast signals constantly, like radio stations, and every GPS receiver in the world listens to the same broadcast simultaneously. The satellite has no idea you exist. If you understand that, you already understand the first thing most explanations get wrong. But the actual math of how GPS pinpoints your location involves special relativity, general relativity, and a problem with your phone's internal clock that took physicists decades to realize would matter. ## The Basic Idea: Timestamps and Triangulation Each GPS satellite continuously broadcasts two things: its own precise location (known from its orbital parameters) and the exact time according to its onboard atomic clock. Your receiver picks up these signals and does a simple calculation: the signal travels at the speed of light (about 300,000 km/s), so if I know when the satellite sent this signal and when I received it, I can calculate how far away the satellite is. With distances to three satellites, you can triangulate your position in three dimensions. At least in theory. ## Here's the Weird Part That calculation only works if your receiver has a *perfectly accurate clock*. A clock error of one millisecond translates to a position error of 300 km. An error of one microsecond gives 300 meters of position error. Atomic clocks are accurate to within nanoseconds. They cost tens of thousands of dollars each. Your phone has a tiny quartz crystal clock accurate to roughly one millisecond per day. There's no way to make a consumer GPS device that has an atomic clock. The math shouldn't work. Except it does — because GPS uses a fourth satellite to solve the clock problem. With four satellites, you have four distance equations and four unknowns: your three position coordinates and your receiver's clock error. The math works out: you can solve all four simultaneously, figuring out where you are *and* correcting your clock error in the same calculation. Every GPS fix you get is simultaneously a position measurement and a clock synchronization. > 🔬 **Quick experiment:** Next time you're in an open area, open your phone's GPS app and notice how long it takes to get an initial fix after a long gap since last use — this is called "Time to First Fix." The receiver doesn't know which satellites are overhead and has to scan for them. Once it finds four or more satellites and solves the system of equations, it locks quickly. If you've been indoors for days, this can take a minute or more. If you just walked outside after using GPS an hour ago, it's nearly instant because the receiver remembers approximately where the satellites should be. ## The Relativity Problem Nobody Expected When Einstein's general and special theories of relativity were published, nobody was thinking about GPS. But when physicists started designing the system in the 1970s, they realized something alarming: the satellites' clocks would drift relative to ground-based clocks, and if you didn't correct for it, the system would give position errors of kilometers per day. Two relativistic effects work in opposite directions: **Special relativity** says that clocks moving fast run slower. GPS satellites orbit at about 14,000 km/h. This makes their clocks run slower than ground clocks by about **7 microseconds per day**. **General relativity** says that clocks in weaker gravitational fields run faster. GPS satellites are 20,200 km up, where Earth's gravity is weaker. This makes their clocks run faster than ground clocks by about **45 microseconds per day**. The net effect: GPS satellite clocks run about 38 microseconds per day *faster* than ground clocks. At the speed of light, 38 microseconds per day would produce a position error of about 11 km — per day. After a week without correction, the GPS system would be useless. The fix is built into the hardware: the atomic clocks on GPS satellites are intentionally set to tick *slightly slower* than their ground-based counterparts before launch, so that relativistic time dilation brings them back into sync once in orbit. Your phone's GPS chip is, among other things, doing applied general relativity every time you get a location fix. Einstein didn't design it. He just did the math first.
// COMMENTS
Newest First
ON THIS PAGE