How GPS Works: Satellites, Atomic Clocks, Trilateration, and Modern Positioning
A comprehensive explanation of how GPS works — the role of atomic clocks and satellite signals, how trilateration calculates position, the accuracy of GPS and its limitations, augmentation systems like WAAS, the role of general relativity corrections, and how GPS transformed navigation, logistics, and everyday life.
The Global Positioning System
The Global Positioning System (GPS) is arguably the most consequential engineering achievement of the late 20th century — a U.S. military system that became the invisible backbone of modern navigation, logistics, financial transactions, and precision agriculture, used by hundreds of millions of people daily with no awareness of its workings. Understanding how GPS achieves sub-meter accuracy from satellites 20,200 kilometers away reveals a remarkable interplay of physics, engineering, and even Einstein's relativity.
GPS was conceived in 1973 by the U.S. Department of Defense, with the first satellite launched in 1978, and the system declared operational in 1995. Initially restricted to the military (civilian receivers were deliberately degraded by Selective Availability — a scrambling that limited accuracy to ~100 meters), Selective Availability was turned off by President Clinton on May 1, 2000, immediately improving civilian accuracy to ~10–30 meters overnight. Full-chip GPS receivers cost tens of thousands of dollars in the 1990s; today a GPS receiver is integrated into every smartphone for a few dollars of silicon.
The GPS Constellation
GPS uses 31 operational satellites in six orbital planes, at an altitude of 20,200 km and an orbital period of 11 hours 58 minutes (half a sidereal day), arranged so that at least 4 satellites are visible from any point on Earth at any time — typically 6–12 satellites are visible from any open location.
Each satellite carries multiple atomic clocks — cesium and rubidium — accurate to within 1 nanosecond (one billionth of a second). These extraordinary clocks are the heart of GPS: the entire system depends on measuring time with extreme precision, because at the speed of light (299,792,458 m/s), a 1-nanosecond timing error corresponds to a ~30-cm position error.
How Position Is Calculated: Trilateration
GPS position calculation is based on trilateration (not triangulation — triangulation uses angles; trilateration uses distances). The principle:
- Each GPS satellite continuously broadcasts a signal containing two pieces of information: the satellite's precise position (its location in its orbital path at the time of broadcast) and the exact time the signal was sent
- A GPS receiver records when the signal arrives and computes the signal travel time (arrival time minus send time)
- Multiplying travel time by the speed of light gives the pseudorange — the distance from that satellite to the receiver ("pseudo" because clock errors in the receiver introduce bias)
- With one satellite: the receiver could be anywhere on a sphere of that radius around the satellite
- With two satellites: the receiver is on the circle where two spheres intersect
- With three satellites: the receiver is at one of two points where three spheres intersect (one usually eliminated by context — it's on Earth, not in space)
- With four satellites: the fourth measurement eliminates receiver clock error — solving for the receiver's precise time as well as position
The mathematical step of using four satellites to solve for both position (three unknowns: latitude, longitude, altitude) and receiver clock error (one unknown) explains why GPS requires four satellites for a full fix. Three satellites provide a 2D position fix if altitude is known; additional satellites improve accuracy and reliability.
Accuracy and Error Sources
Standard GPS accuracy is approximately 2–5 meters horizontally, 3–7 meters vertically. Sources of error include:
- Atmospheric delays: The ionosphere (50–1,000 km altitude) delays radio signals in a frequency-dependent way; the troposphere delays signals based on humidity, pressure, and temperature. Modern GPS receivers use dual-frequency signals (L1 and L2 or L5) to measure and correct ionospheric delay mathematically.
- Multipath: Signals bouncing off buildings, terrain, or water arrive at the receiver from multiple paths, introducing errors. Severe in urban canyons; GPS accuracy in Manhattan is often worse than in open countryside.
- Satellite geometry: When visible satellites are clustered rather than spread across the sky, geometric dilution of precision (GDOP) increases position error.
- Ephemeris errors: Small errors in satellite orbital position (transmitted in the navigation message) propagate to position errors.
Relativistic Corrections: Einstein's Contribution
GPS is one of the few everyday technologies that would fail without corrections from Einstein's theories of relativity — making it a remarkable practical validation of 20th-century physics.
Two relativistic effects operate on GPS satellite clocks:
- Special relativity (time dilation): GPS satellites move at ~3.87 km/s. Moving clocks run slower than stationary clocks by ~7.2 microseconds per day
- General relativity (gravitational time dilation): Satellite clocks are farther from Earth's gravitational field and run faster than surface clocks by ~45.9 microseconds per day
Net effect: satellite clocks run approximately 38.4 microseconds per day faster than surface clocks. At the speed of light, 38.4 microseconds corresponds to 11.5 kilometers of position error per day. GPS satellite clocks are pre-adjusted to compensate: their nominal frequency is set slightly slower (10.23 MHz becomes 10.22999999543 MHz) to run at the correct rate once in orbit. Without this correction, GPS position errors would accumulate at ~11 km/day, rendering the system useless within hours.
Augmentation Systems and RTK
Wide Area Augmentation System (WAAS) and similar regional augmentation networks (EGNOS in Europe, MSAS in Japan) use precisely surveyed ground reference stations to measure GPS errors and transmit corrections via geostationary satellites — improving accuracy to ~1–3 meters for aviation and marine navigation.
Real-Time Kinematic (RTK) GPS uses a combination of carrier phase measurements (rather than just signal timing) and corrections from a local base station with known position. RTK achieves centimeter-level accuracy — used in precision agriculture (GPS-guided tractors), construction surveying, autonomous vehicle testing, and scientific measurement. Corrections are broadcast over cellular or radio links.
Impact and Applications
GPS has fundamentally transformed human activity across domains that seem unrelated to navigation:
- Financial systems: High-frequency trading requires nanosecond time synchronization; GPS provides this globally. GPS timestamps are embedded in financial transaction records to ensure regulatory compliance.
- Power grids: Electrical grid synchronization uses GPS time to coordinate phase across thousands of kilometers of transmission lines.
- Precision agriculture: Auto-steer systems, variable-rate application of fertilizer and pesticides, yield mapping, and drone coordination all rely on centimeter-precision GPS.
- Earthquake monitoring: GPS receiver arrays measure millimeter-level ground deformation, enabling study of tectonic motion and early warning of seismic strain buildup.
- Emergency response: The E911 system in the U.S. uses GPS chip data from mobile phones to locate emergency callers — a requirement that has saved thousands of lives since its implementation in 2001.