From atomic clocks orbiting Earth at 20,000 kilometers to the blue dot on your phone, the Global Positioning System is one of the most elegant engineering achievements in history — and most people have no idea how it actually works.
Every time you ask your phone for directions, something remarkable happens in the background. Your device receives faint radio signals from satellites cruising through space at roughly 14,000 kilometers per hour, performs calculations that account for relativistic time dilation, and pinpoints your location on Earth's surface to within a few meters — often in less than a second. The Global Positioning System, or GPS, is so seamlessly integrated into modern life that we rarely pause to consider the chain of physics, engineering, and mathematics that makes it work. This explainer traces that chain from end to end.
The core concept behind GPS is called trilateration, and it begins with a simple observation: if you know how far you are from a fixed point, you are somewhere on a sphere centered on that point. If you know your distance from two fixed points, you are somewhere on the intersection of two spheres — a circle. Add a third fixed point and the two spheres intersect at just two points, one of which is usually obviously wrong (such as deep inside the Earth or in outer space). A fourth measurement eliminates the remaining ambiguity and also allows the system to correct for errors in the receiver's own clock.
In GPS, the "fixed points" are satellites. The United States Space Force operates a constellation of at least 24 operational satellites distributed across six orbital planes, inclined at 55 degrees to the equator, at an altitude of about 20,200 kilometers. At that altitude, each satellite completes two orbits per day, and the arrangement is designed so that at least four satellites are visible above the horizon from nearly any point on Earth at any time. In practice, modern receivers typically lock onto eight or more satellites simultaneously, which improves accuracy considerably.
The distance between a satellite and a receiver is determined by measuring how long a radio signal takes to travel between them. Radio waves travel at the speed of light — approximately 299,792 kilometers per second — so the math is straightforward in principle: distance equals speed multiplied by time. But the execution requires extraordinary precision.
Each GPS satellite continuously broadcasts a signal containing two pieces of information: the precise time the signal was transmitted, and data describing the satellite's exact position in orbit (called the ephemeris). The receiver records the time the signal arrives and subtracts the transmission time to get the travel time. Multiply by the speed of light and you have the distance — called a pseudorange because it contains a small error due to the receiver's imperfect clock.
This is where the mathematics of four satellites becomes essential. Three satellites would technically be enough to determine a three-dimensional position if the receiver had a perfect clock. But perfect clocks are heavy and expensive — GPS satellites carry them, but your phone does not. By using a fourth satellite, the receiver can solve for four unknowns simultaneously: latitude, longitude, altitude, and its own clock error. This elegant solution means that consumer GPS devices can achieve meter-level accuracy with a cheap quartz oscillator inside.
The timing precision required for GPS is staggering. Because light travels about 30 centimeters per nanosecond, a timing error of just one microsecond (one millionth of a second) would translate into a position error of 300 meters. For GPS to deliver accuracy in the single-digit meters, the system must resolve timing to nanoseconds.
Each GPS satellite carries multiple atomic clocks — typically cesium and rubidium devices — that are accurate to within about 20 to 30 nanoseconds per day. These clocks are so precise that they must be corrected for two separate relativistic effects predicted by Einstein's theories. Special relativity predicts that moving clocks run slow; because GPS satellites travel at high speed relative to receivers on the ground, their clocks tick slightly slower — losing about 7 microseconds per day. General relativity predicts that clocks in weaker gravitational fields run faster; because GPS satellites are farther from Earth's mass, their clocks tick faster — gaining about 45 microseconds per day. The net effect is a gain of roughly 38 microseconds per day, which would translate into a position error of about 10 kilometers if uncorrected. GPS satellites are designed with their clocks running slightly slow from the outset, and ground-based control stations upload daily corrections to fine-tune them further.
"The GPS system is a stunning example of physics becoming infrastructure. It was built on Einstein's theories, and without relativistic corrections, it would be useless within hours."
— Neil Ashby, physicist, University of Colorado, who led early analysis of relativistic effects in GPS
GPS satellites transmit on several radio frequencies. The original civilian signal, called L1, broadcasts at 1,575.42 megahertz. A second civilian signal, L2C, operates at 1,227.60 MHz. A newer and more robust civilian signal, L5, transmits at 1,176.45 MHz. Military signals use encrypted codes on additional frequencies.
Each satellite's signal is modulated with a unique pseudo-random noise code — a carefully designed sequence of ones and zeros that looks like static but is actually deterministic. The receiver generates an identical copy of the expected code and slides it in time until it aligns with the incoming signal. The amount of sliding needed is the travel time. This technique, called correlation, allows the receiver to extract a timing measurement from what would otherwise appear to be background noise, and it lets dozens of satellites broadcast simultaneously on the same frequency without interfering with each other.
The satellite navigation message — the almanac and ephemeris data — is broadcast at a modest 50 bits per second. At that rate, downloading a full ephemeris takes about 30 seconds, which is one reason a GPS device takes longer to acquire its first fix after being turned on in a new location (a period called Time to First Fix, or TTFF). Once the receiver has current ephemeris data stored in memory, subsequent fixes are much faster.
Even with atomic clocks and relativistic corrections, GPS is subject to a range of errors that must be managed carefully. The ionosphere — the layer of ionized gas between roughly 60 and 1,000 kilometers altitude — slows radio signals in a frequency-dependent way, introducing a delay that varies with solar activity, time of day, and the angle of the signal path. Dual-frequency receivers can measure the same signal on two frequencies and compute the ionospheric delay directly, because the delay is different at each frequency. Single-frequency receivers use a mathematical model broadcast by the satellites to estimate the correction.
The troposphere — the lower atmosphere — also delays signals, primarily due to water vapor. This delay is harder to model precisely because water vapor is highly variable. Sophisticated receivers use local weather measurements to estimate tropospheric corrections. Multipath error occurs when signals reflect off buildings, terrain, or other surfaces before reaching the receiver, creating a slightly longer apparent path. This is why GPS accuracy degrades in urban canyons surrounded by tall buildings.
Differential GPS, or DGPS, is a correction technique that dramatically improves accuracy by using a reference receiver at a precisely known location. Because the reference receiver knows its exact position, it can calculate how large the errors in the GPS signals are at that moment and broadcast corrections to nearby users. The U.S. Coast Guard operates a nationwide DGPS network for maritime navigation. A related technique called Real-Time Kinematic, or RTK, uses the phase of the carrier wave rather than the code, and can achieve centimeter-level accuracy — enabling precision agriculture, surveying, and autonomous vehicle navigation.
GPS is not just a collection of satellites — it is a tightly managed system. The control segment consists of a master control station at Schriever Space Force Base in Colorado, backup master control stations, dedicated ground antennas for uploading data to satellites, and a global network of monitoring stations. The monitoring stations continuously track every satellite, feeding ranging data to the master control station, which computes corrections to satellite clock offsets, orbital parameters, and other navigation message components. Updated data is uploaded to each satellite at least once per day, and more frequently when corrections are time-sensitive.
The Space Force is currently deploying the third generation of GPS satellites, called GPS III. These satellites are three times more accurate than their predecessors, feature a new civilian signal called L1C that is interoperable with the European Galileo system, and have a design life of 15 years. GPS III also introduces a military signal with stronger anti-jamming capability.
GPS is an American system, but it is not the only one. Russia operates GLONASS, which uses a slightly different approach — satellites broadcast on different frequencies rather than different codes. The European Union's Galileo system, now fully operational, uses modern signal designs and offers a High Accuracy Service with subdecimeter precision. China operates BeiDou, which provides global coverage since 2020 and carries additional communication and search-and-rescue capabilities. India's NavIC covers the Indian subcontinent and surrounding region with high accuracy. Japan's QZSS augments GPS over the Asia-Pacific region with additional satellites in highly elliptical orbits that keep at least one satellite nearly overhead at all times over Japan.
Modern devices, including most current smartphones, are multi-constellation receivers. They can simultaneously receive signals from GPS, GLONASS, Galileo, and BeiDou. With more satellites to choose from, receivers can maintain lock in environments where some signals are blocked, and the additional redundancy further improves accuracy. The collective term for all satellite navigation systems is GNSS — Global Navigation Satellite System.
Pure GPS struggles indoors, in tunnels, and in dense urban environments where signals are blocked or severely attenuated. Assisted GPS, or A-GPS, addresses part of this problem by downloading ephemeris data over a cellular or Wi-Fi connection rather than waiting for the slow satellite broadcast. This dramatically reduces Time to First Fix from minutes to seconds. When GPS signals are unavailable entirely, smartphones fall back to alternative positioning methods: cell tower triangulation, which provides accuracy of a few hundred meters to a few kilometers; Wi-Fi positioning, which compares observed access point signals to a crowd-sourced database and achieves accuracy of 15 to 40 meters in areas with dense Wi-Fi coverage; and Bluetooth beacons, which can enable indoor positioning accurate to about one to three meters in equipped venues like airports and shopping centers.
Inertial navigation systems, which use accelerometers and gyroscopes to track movement from a known starting point, are increasingly integrated into smartphones and vehicles. When GPS signal is temporarily lost — in a tunnel, for example — the device can use inertial measurements to continue estimating position until GPS signal is reacquired. This fusion of multiple positioning technologies, weighted by their respective accuracies in real time, is what makes modern navigation so robust.
For all its sophistication, GPS has significant vulnerabilities. The signals that reach Earth's surface are extraordinarily weak — about 20 watts broadcast from 20,000 kilometers away — making them easily overwhelmed by intentional interference. GPS jamming devices, which broadcast noise on GPS frequencies, can disable receivers over areas of hundreds of square kilometers. GPS spoofing is more insidious: a spoofer broadcasts false GPS signals that appear legitimate, causing receivers to compute an incorrect position without triggering any error indication. Incidents of GPS spoofing near airports, military zones, and ships at sea have been documented with increasing frequency.
The U.S. government, along with its international partners, is investing in backup navigation systems, improved receiver technology that can detect spoofing, and complementary terrestrial systems. The broader lesson is that critical infrastructure built on a single technology creates a single point of failure — a challenge that applies equally to the GPS-dependent systems embedded in financial markets, power grids, telecommunications, and transportation networks that use GPS timing signals, not just position data, to synchronize their operations.