How GPS Works: The Remarkable Science Behind Your Phone Knowing Where You Are
Twenty-four satellites, atomic clocks accurate to a billionth of a second, and a signal that travels 20,000 kilometres from space to your pocket. The engineering behind GPS is one of the great unsung marvels of the modern world.
Admin
Author
The constellation overhead
Right now, somewhere above you, there are at least four satellites moving at about 14,000 kilometres per hour, tracing precise orbits at an altitude of roughly 20,200 kilometres. Each one is broadcasting a continuous radio signal — a simple, repetitive message that says, in essence: I am here, and the time is exactly this.
Your phone receives those signals, performs some elegant mathematics, and tells you that you are standing outside a particular coffee shop on a particular street. The whole process takes less than a second. Most people never think about it.
They should. GPS is one of the most consequential and underappreciated pieces of infrastructure in modern civilisation — and the science underneath it involves atomic physics, Einstein's theory of relativity, and some remarkably clever geometry.
Why you need four satellites
The GPS constellation consists of at least 24 operational satellites, positioned so that at any point on Earth's surface, at least four satellites are visible above the horizon at all times. (There are usually more — the US Space Force maintains around 31 active satellites as operational spares.) But why four? The answer comes from the geometry of the problem.
Start with one satellite. If you know your distance from that satellite, you are somewhere on a sphere centred on it. Not very useful.
Add a second satellite. Your position is now somewhere on the intersection of two spheres — a circle.
Add a third satellite. The two-sphere intersection narrowed you to a circle; the third narrows you to two points. One of them is usually obviously wrong (deep underground or far in space), so three satellites theoretically give you a location. This is trilateration — determining position from distances, as opposed to triangulation, which uses angles.
So why do we need a fourth? Time. And this is where things get interesting.
The time problem
To calculate your distance from a satellite, your receiver measures how long the satellite's signal took to arrive. Radio waves travel at the speed of light — about 300,000 kilometres per second. If the signal took 67 milliseconds to arrive, you are 20,000 kilometres away.
But this only works if your receiver knows the exact time the signal was sent, and if its own clock agrees with the satellite's clock to extraordinary precision. Here is the problem: the clocks in your phone are good, but not nearly good enough. An error of just one microsecond (one millionth of a second) translates to a position error of 300 metres.
GPS satellites carry atomic clocks — devices that keep time by counting the oscillations of caesium atoms, which vibrate at exactly 9,192,631,770 cycles per second. These clocks drift by at most one second every 300,000 years. Your phone's clock is not in that league.
The fourth satellite solves this. With four satellites, you have four equations and four unknowns: your x, y, and z coordinates, plus the offset between your receiver's clock and the satellites' atomic clocks. The receiver solves for all four simultaneously, which is why four satellites are the minimum for a reliable fix — and why GPS effectively turns any cheap receiver into something that behaves like an atomic clock.
Einstein steps in
Here is something that never appears in GPS brochures but is quietly critical: GPS would not work without Einstein's theories of relativity.
The satellites are moving fast and are far from Earth's gravity well. Both of these facts affect time — not metaphorically, but in a measurable, physical sense.
Special relativity says that moving clocks run slow. At 14,000 km/h, the satellites' atomic clocks tick about 7 microseconds slower per day than an identical clock on the ground.
General relativity says that clocks in weaker gravitational fields run faster. At 20,200 km altitude, the satellites experience weaker gravity and their clocks run about 45 microseconds faster per day than ground-based clocks.
The net effect: satellite clocks gain about 38 microseconds per day relative to receivers on Earth. That sounds small. At the speed of light, 38 microseconds corresponds to a position error of about 11 kilometres — and it accumulates every day. Without relativistic corrections built into the system, GPS would be catastrophically wrong within hours.
The GPS engineers who designed the system in the 1970s had to accept, for engineering reasons, that Einstein was right.
The signal's journey
The GPS signal is a radio wave broadcast in the L-band frequency range (around 1.5 GHz). It is deliberately weak — about 20 watts, similar to a dim light bulb — and by the time it reaches you after travelling 20,000 kilometres, it is extraordinarily faint: a hundred billion times weaker than the signal from a typical FM radio station.
Your phone's GPS chip amplifies this whisper and correlates it against a precisely timed copy of the expected signal. The time offset between the received signal and the expected signal gives the travel time, and hence the distance.
The signal can be blocked by buildings, degraded by the ionosphere (which causes variable delays as the signal passes through charged particles), and reflected off surfaces in cities, causing multipath errors. Modern receivers use a combination of signal processing, multiple frequencies, and assistance from the cellular network — which tells the receiver where the satellites approximately are before it even starts looking, dramatically speeding up the time to first fix.
From 100 metres to 30 centimetres
Until midnight on 1 May 2000, GPS was deliberately degraded for civilian users. The US military had introduced Selective Availability (SA), intentionally introducing errors of up to 100 metres into the civilian GPS signal to prevent adversaries from using precision navigation against American interests.
President Clinton switched it off. The improvement was immediate and dramatic — civilian accuracy jumped from roughly 100 metres to around 15 metres overnight.
Today, Differential GPS (DGPS) and augmentation systems push accuracy much further. The concept: place receivers at precisely surveyed, fixed locations. Since the real position is known exactly, any difference between the measured GPS position and the true position reveals the current error in the GPS signal. Broadcast that error correction to nearby receivers, and they can subtract it from their own measurements.
India's NavIC system (Navigation with Indian Constellation) takes this further with a regional approach — seven dedicated satellites providing independent navigation over the Indian subcontinent and surrounding ocean, with accuracy better than 20 metres for the standard service and better than 5 metres for a restricted military service. NavIC gives India strategic autonomy in navigation, crucial for both defence and disaster management, and is now integrated into smartphones sold in the region.
The European Galileo system and Russia's GLONASS provide similar independent capabilities. Modern smartphones typically receive signals from multiple constellations simultaneously, improving reliability and accuracy.
What happens if GPS goes down?
GPS has, in fact, experienced significant outages — and the consequences reveal just how deeply it is embedded in modern infrastructure.
In 2016, a software upload to GPS satellites accidentally caused 69 satellites to broadcast a timing signal that was 13 microseconds off. The effect cascaded through telecommunications networks, power grids, and financial systems worldwide for about twelve hours. Financial transactions that depend on GPS timestamps for synchronisation were disrupted. Some network equipment behaved erratically.
The dependency goes far beyond navigation. GPS timestamps are used to synchronise stock exchanges, cellular networks, electrical grids, and internet routing. The 50-Hertz frequency of the electrical grid, which must be maintained with extraordinary precision across vast distances, depends partly on GPS-synchronised timing. Modern 5G networks use GPS for cell tower synchronisation.
A sustained GPS outage — from a solar storm, a deliberate jamming campaign, or a conflict involving space assets — would be genuinely disruptive to modern civilisation in ways that go far beyond people getting lost. This is why aviation, maritime, and military systems maintain backup navigation capabilities, and why the existence of multiple independent global systems (GPS, Galileo, GLONASS, NavIC, BeiDou) is a strategic feature, not redundancy.
The bottom line
GPS works by measuring the travel time of radio signals from a constellation of satellites carrying atomic clocks, solving for position and time simultaneously using at least four satellites. The engineering required Einstein's relativistic corrections, atomic-clock precision, and decades of refinement. What began as a military system has become the invisible infrastructure underneath modern telecommunications, finance, and logistics — as well as your ability to find a restaurant in an unfamiliar city. The next time you look at a blue dot on a map, there are twenty satellites' worth of physics working quietly behind it.