How Does GPS Work?
A 6-minute read
Your phone knows exactly where you are on Earth, down to a few meters. The system that makes this possible involves 31 satellites, Einstein's relativity, and atomic clocks ticking at the speed of light.
Your phone knows you are somewhere around 40.7128 degrees north latitude and 74.0060 degrees west longitude. It knows this within seconds of you opening a map app, even indoors, even on a cloudy day. The technology that makes this possible is the Global Positioning System, and it is one of the most quietly remarkable engineering achievements in history.
GPS was built by the US Department of Defense and first launched in the late 1970s. It became fully operational in 1995 and was made freely available to civilians worldwide. Today there are 31 active satellites orbiting about 20,200 kilometers above Earth, invisible from the ground but humming through space at roughly 13,000 kilometers per hour. Every point on the planet is always in range of at least four of them at any given moment.
The short answer
GPS works by having your device listen to signals from multiple satellites, each broadcasting its exact position and the precise time from an onboard atomic clock. By calculating how long each signal took to arrive, your device triangulates your location on the ground through geometry. The system depends on Einstein’s theory of relativity to correct for the fact that atomic clocks on satellites run faster than those on Earth’s surface due to weaker gravity and orbital velocity.
The full picture
Satellites orbiting in perfect formation
The GPS constellation is arranged so that at least six satellites are visible from any point on Earth at all times. The satellites follow six orbital planes, spaced 60 degrees apart around the planet. Each satellite completes one orbit every 12 hours, which means they pass over the same locations twice per day. Ground stations monitor their trajectories continuously and upload updated position corrections to keep the system accurate.
Each satellite transmits on two frequencies: L1 (1575.42 MHz) and L2 (1227.60 MHz), according to the official US government GPS documentation. The L1 signal carries the course acquisition code available to all users. The L2 signal, originally encrypted for military use, carries the precision code. Modern civilian receivers use a technique called ionospheric correction that compares the two frequencies to estimate and compensate for signal delays caused by charged particles in the upper atmosphere.
The role of atomic clocks
Every GPS satellite carries four atomic clocks, two using cesium and two using rubidium. These clocks are accurate to within about one nanosecond, which sounds trivially small until you consider what happens at the speed of light. In one nanosecond, a radio signal travels about 30 centimeters. If the clocks were off by even a tiny fraction, the position error would grow into hundreds of meters within hours.
The clocks do not tick at the same rate on the satellite as they would on Earth’s surface. This is not a defect. It is a prediction of Einstein’s general and special theories of relativity, and the GPS engineers had to account for it from day one. At 20,200 kilometers altitude, gravity is weaker, which makes satellite clocks run faster by about 45 microseconds per day. But the satellites are also moving at 13,000 km/h, which makes their clocks run slower by about 7 microseconds per day. The net effect is that satellite clocks gain about 38 microseconds per day compared to ground clocks. Without this correction, GPS would drift by roughly 10 kilometers per day, rendering it useless within weeks.
Triangulation in three dimensions
A GPS receiver does not send any signals. It only listens. When it picks up a signal from one satellite, it can calculate how far it is from that satellite: the signal carries a timestamp, the receiver notes when it arrived, and the distance is simply the time difference multiplied by the speed of light.
One satellite tells you that you are somewhere on the surface of a sphere centered on that satellite. Two satellites narrow your location to the circle where two spheres intersect. Three satellites begin to pin down your actual position in three-dimensional space. A fourth satellite is needed to solve for one additional variable: the receiver’s own clock error. Consumer GPS chips do not have atomic clocks, so they are constantly off by some unknown amount. The fourth measurement calibrates that error.
With four satellites in view, a typical receiver can calculate latitude, longitude, altitude, and the local time within milliseconds. Modern smartphones achieve horizontal accuracy of about 3 to 5 meters under open-sky conditions. Accuracy degrades under dense tree cover, between tall buildings, or inside buildings where signals are partially blocked.
Selective availability and modern accuracy
For most of the 1990s, the US military deliberately degraded civilian GPS signals through a feature called Selective Availability, keeping civilian accuracy to about 100 meters. This was turned off in 2000, and civilian accuracy immediately improved roughly tenfold. Today, differential GPS and real-time kinematic positioning techniques can push accuracy down to centimeter level, used in surveying, agriculture, and construction.
Augmentation systems like the Wide Area Augmentation System (WAAS) in the United States, EGNOS in Europe, and QZSS in Japan broadcast correction signals from ground-based reference stations, further improving accuracy for civilian aviation and other safety-critical applications. The European Galileo system, China’s Beidou, and Russia’s GLONASS all operate independently and are collectively referred to as Global Navigation Satellite Systems, or GNSS. Most modern smartphones can receive signals from multiple GNSS constellations simultaneously, improving both accuracy and availability.
Why it matters
GPS sits at the foundation of how modern logistics, navigation, and financial systems operate. Every Uber ride, every package delivery, every military drone strike depends on the same constellation of satellites and the same relativistic calculations. The system is so integral to global infrastructure that the Department of Homeland Security lists it as a critical national asset. Disruption to GPS, whether through jamming, spoofing, or solar storms, can disable trucking fleets, ground aircraft, and halt financial time-stamping that underpins stock market settlements. The 2022 invasion of Ukraine showed the world what GPS disruption looks like in practice when Russia jammed or spoofed signals in targeted regions, affecting both military operations and civilian aviation.
For everyday users, GPS powers more than just maps. It synchronizes power grids, timestamps financial transactions, timestamps cellular network handovers, tracks wildlife migrations, guides precision farming equipment, and enables the autonomous features in modern cars. The estimated economic benefit of GPS in the United States alone runs into tens of billions of dollars annually, according to the European Space Agency’s overview of global navigation systems.
Common misconceptions
“GPS requires an internet connection.”
This is perhaps the most widespread misunderstanding. GPS is a one-way radio system. The satellites broadcast continuously, and any device with a GPS receiver chip can calculate its position without any internet, WiFi, or cellular signal. Your phone may download map tiles over the internet, but the location fix itself is offline. This is why your map app can still show your position on an airplane even when the in-flight WiFi is turned off.
“GPS works everywhere.”
GPS signals operate at about 1.2 to 1.6 GHz, frequencies that do not pass through solid objects well. You may get a fix in a car with a glass roof, but deep indoors, in basements, or in urban canyons between tall buildings, accuracy drops sharply or fails entirely. This is why smartphones also use WiFi positioning and cell tower triangulation as supplements when GPS signals are weak. The signals also can be blocked by conductive materials like metal roofs or thick concrete, and they are vulnerable to solar weather events that disturb the ionosphere.
Key terms
Trilateration - The mathematical technique GPS uses to find your position by measuring your distance from multiple satellites simultaneously. Unlike triangulation, which uses angles, trilateration uses the intersection of spheres centered on each satellite.
Atomic clock - A clock that keeps time by measuring the natural resonance frequency of atoms (typically cesium or rubidium). The international standard second is defined by the cesium-133 atom’s transition frequency.
GNSS - Global Navigation Satellite Systems. A general term for all satellite navigation constellations including GPS (US), Galileo (EU), Beidou (China), and GLONASS (Russia).
Ionosphere - The layer of charged particles in Earth’s upper atmosphere that can delay GPS signals as they pass through, causing position errors if uncorrected.
Selective Availability - The former US policy of deliberately degrading civilian GPS accuracy for national security reasons. Turned off in 2000 and never reinstated.