How GPS Determines Your Location to Within Meters

GPS uses signals from 31 satellites to calculate your position through trilateration. Learn how atomic clocks, orbital mechanics, and relativity make navigation possible.

The InfoNexus Editorial TeamMay 17, 20269 min read

The Clock That Tells You Where You Are

Your smartphone's GPS chip knows your location to within 3–5 meters not because it receives a location signal, but because it measures time. Precisely. GPS works by calculating how long radio signals take to travel from satellites to your receiver and converting those travel times into distances. The key insight — and the engineering challenge — is that light travels 30 centimeters per nanosecond. To achieve 3-meter accuracy, time must be measured to within 10 nanoseconds. This requires physics at the cutting edge: atomic clocks in orbit, relativistic corrections calculated in real time, and a constellation of 31 operational satellites maintained by the US Air Force.

GPS — the Global Positioning System — became fully operational in 1995 after development that began in the 1960s as a US Department of Defense program called Navstar. It was originally restricted to military use; civilian access to full accuracy was only granted by President Bill Clinton in May 2000, when Selective Availability (deliberate accuracy degradation) was permanently switched off. Today, GPS receivers in smartphones cost roughly $2–5 in chip form and have become embedded in farming, shipping, aviation, financial transactions, and mobile mapping at a scale that makes GPS infrastructure arguably as critical as the electrical grid.

The GPS Constellation

The GPS constellation operates in six orbital planes at an altitude of approximately 20,200 km (about 2.6 Earth radii above the surface) with orbital periods of 12 hours. At any point on Earth's surface at any time, at least four satellites are above the horizon — typically six to eight in most locations. The constellation is designed so that no matter where you are or when you look, there are always enough satellites visible to fix your position.

Each satellite transmits two radio signals on L-band frequencies: L1 (1575.42 MHz) and L2 (1227.60 MHz). Every satellite carries four atomic clocks (two cesium, two rubidium) maintaining time to within 20–30 nanoseconds over a day. The ground control network at Schriever Air Force Base in Colorado monitors every satellite, uploads clock corrections, and maintains orbital data (ephemerides) that receivers use to calculate satellite positions.

Trilateration: Geometry of Position Fixing

GPS uses trilateration, not triangulation. The distinction matters. Triangulation uses angles; trilateration uses distances. Each satellite broadcast includes a precise timestamp. Your GPS receiver records when it receives the signal and compares it to when the signal was sent. The difference — the signal travel time — multiplied by the speed of light gives the distance (pseudorange) to that satellite.

One distance measurement places you somewhere on a sphere centered on the satellite. Two distance measurements put you on a circle (the intersection of two spheres). Three measurements narrow you to two points, usually one physically impossible (in space or deep underground). Four or more measurements give a unique position in three dimensions plus a clock correction — because your receiver's clock is far less precise than an atomic clock, the fourth measurement resolves the receiver clock error.

Number of SatellitesInformation DeterminedPositional Output
1Distance to one pointSphere surface (no fix)
2Intersection of two spheresCircle (no fix)
3Two possible 3D pointsAmbiguous (no clock fix)
4Unique 3D position + clock errorPosition fix achieved
6–8Redundant measurementsImproved accuracy via averaging

The mathematics is a set of simultaneous equations. With satellite positions known from ephemeris data and pseudoranges measured from signal timing, the receiver solves for four unknowns: x, y, z (position), and receiver clock offset. More than four satellites allows least-squares fitting, which improves accuracy by averaging out measurement noise.

Why General Relativity Is Required

GPS is one of the most famous practical applications of Einstein's theories. Two relativistic effects must be corrected or the system would accumulate errors of roughly 10 km per day — making it useless.

  • Special relativity time dilation: GPS satellites orbit at ~14,000 km/h. By special relativity, their clocks run slightly slower than ground clocks — by about 7 microseconds per day. This would cause position errors of ~2 km/day if uncorrected.
  • General relativity gravitational time dilation: Satellites are farther from Earth's gravity well than surface clocks. By general relativity, their clocks run slightly faster — by about 45 microseconds per day. This would cause errors of ~13 km/day if uncorrected.

The net effect: GPS satellite clocks run 38 microseconds per day faster than ground clocks. The system compensates by manufacturing the satellite clocks to run slightly slow before launch — at a rate of 10.23 MHz minus 4.464733 × 10⁻³ Hz, so that once in orbit, the combination of the two relativistic effects brings them into synchronization with ground clocks. GPS is arguably the most operationally consequential experimental confirmation of general relativity ever deployed.

Sources of Error and Accuracy Enhancement

Several effects degrade raw GPS accuracy beyond pure geometric uncertainty:

Error SourceMechanismTypical MagnitudeMitigation
Ionospheric delayCharged particles in ionosphere slow L-band signals variably1–10 metersDual-frequency receivers (L1+L2); ionospheric models
Tropospheric delayLower atmosphere refracts signals, varies with weather0.5–2 metersAtmospheric models; correction algorithms
MultipathSignals reflect off buildings before reaching receiver0.5–5 metersAntenna design; signal processing; urban filtering
Satellite geometry (PDOP)Widely spaced satellites give better geometryVariable (multiplier)Receiver uses best-geometry satellite subset
Ephemeris errorInaccuracies in satellite position data<1 meterRegular ground station uploads

Differential GPS (DGPS) and its successor Real-Time Kinematic (RTK) achieve centimeter-level accuracy by using a fixed reference station at a known location. Since the reference station knows exactly where it is, it can compute the actual errors in the GPS signal and broadcast corrections. RTK is used in precision agriculture, surveying, autonomous vehicles, and drone navigation — any application where meter-level accuracy is insufficient.

Global Navigation Satellite Systems Beyond GPS

GPS is one of four fully operational global navigation satellite systems (GNSS). Modern smartphones receive signals from all four simultaneously, improving accuracy and availability:

  • GLONASS (Russia): 24 satellites; operational since 1995. Uses frequency-division multiplexing rather than GPS's code-division approach.
  • Galileo (European Union): 30 planned satellites; provides enhanced accuracy, especially with E1/E5 dual-frequency. Reached full operational capability in 2023.
  • BeiDou (China): 35 satellites; global system completed in 2020. Used by over 70% of smartphones sold in China.

When a phone receiver uses all four systems together, it can see 20–30 satellites simultaneously, dramatically improving geometric diversity and accuracy. The best consumer smartphones with multi-frequency GNSS chips achieve 1–2 meter accuracy in open sky — a figure that would have required expensive survey equipment a decade ago. The physics behind every navigation app — from routing to ride-sharing to food delivery — traces back to atomic clocks, orbiting satellites, and the counterintuitive corrections that Einstein's relativity requires.

engineeringnavigationsatellitestechnology

Related Articles