GPS works by measuring how long it takes radio signals to travel from satellites to your receiver, then using those travel times to calculate your position through a process called trilateration. Each of the 31 operational GPS satellites orbiting Earth at approximately 20,200 kilometers altitude continuously broadcasts its exact position and the precise time the signal was transmitted. Your phone or GPS device captures these signals, measures the tiny differences in arrival times, and uses the known speed of light to calculate how far away each satellite is. With distances from at least four satellites, the receiver can pinpoint your location in three dimensions to within a few meters — or even centimeters with professional-grade equipment.
The system was developed by the US Department of Defense starting in the 1970s and became fully operational in 1995. Originally designed for military navigation, it was opened to civilian use after a Korean Air Lines flight (KAL 007) was shot down in 1983 after straying off course due to navigation error — a tragedy that prompted President Reagan to commit to making the system available for civilian aviation. Today GPS underpins not just navigation but also financial systems (timestamping transactions), power grid synchronization, scientific research, and the timing of cellular networks.
Understanding how GPS actually functions reveals why it is both more impressive and more fragile than it appears. The precision required is extraordinary: a timing error of one microsecond produces a position error of 300 meters. The signals are extraordinarily weak. The system depends on corrections for atmospheric delays, relativistic effects, and satellite clock drift. And the satellites themselves require constant monitoring and updating from ground control stations.
"If you want to study the technology that has most changed the world in the last 50 years, study GPS. Everything runs on time, and GPS is where time comes from." — David Last, Royal Institute of Navigation
Key Definitions
Trilateration: The process of determining position by measuring distances from multiple known reference points (satellites). Distinguished from triangulation, which uses angles.
Ephemeris data: Precise information about each satellite's current orbital position, transmitted in the satellite's signal and used by receivers to know exactly where each satellite is in space.
Almanac data: Coarse orbital information for all satellites in the constellation, used by receivers to determine which satellites should be visible from their location.
Time to first fix (TTFF): The time required for a GPS receiver to acquire satellite signals and calculate an initial position fix after being powered on.
Multipath error: Positioning error caused by signals reflecting off buildings, terrain, or other surfaces and arriving at the receiver via an indirect path, creating false distance calculations.
The GPS Satellite Constellation
Orbital Configuration
The GPS constellation consists of at least 24 operational satellites (currently 31) distributed across six orbital planes, each inclined at 55 degrees to the equator. This arrangement ensures that at least four satellites are visible from virtually anywhere on Earth at any time, with most locations seeing 6-12 simultaneously. The satellites orbit at medium Earth orbit (MEO), approximately 20,200 km altitude, with an orbital period of about 12 hours — each satellite completes two orbits per day.
The US Space Force's 2nd Space Operations Squadron at Schriever Space Force Base in Colorado operates the ground control segment, monitoring all satellites and uploading corrections and updated navigation data twice per day.
What Each Satellite Broadcasts
Each GPS satellite continuously transmits a signal containing three pieces of information:
- The satellite's precise position in space (ephemeris data)
- The exact time the signal was transmitted (from the satellite's atomic clock)
- Health and status information
The signal is transmitted on multiple radio frequencies. The primary civilian signal is on L1 at 1575.42 MHz. A second civilian signal on L2 (1227.60 MHz) allows dual-frequency receivers to measure and correct for ionospheric delay. A third civilian signal, L5 (1176.45 MHz), was added as part of GPS modernization and provides higher signal strength for safety-of-life applications like aviation.
Atomic Clocks: The Heart of GPS
Why Precision Timing Matters
The GPS system's accuracy is fundamentally limited by timing precision. Signals travel at the speed of light: approximately 299,792 kilometers per second, or about 30 centimeters per nanosecond (billionth of a second). A timing error of just one microsecond (one millionth of a second) produces a distance error of 300 meters. One nanosecond of error produces 30 centimeters of position error.
This is why GPS satellites carry atomic clocks rather than ordinary timekeeping devices. Each satellite carries two or three atomic clocks — typically rubidium and cesium clocks — accurate to about 20-30 nanoseconds per day. These clocks are so stable that without correction they would drift by only about 1 second every 30,000 years.
Relativistic Corrections
GPS engineers face a fascinating complication from Einstein's theories of relativity. Special relativity predicts that a clock moving faster than a stationary one runs slower (time dilation). GPS satellites orbit at about 14,000 km/h, causing their clocks to run approximately 7 microseconds per day slow relative to clocks on Earth's surface.
General relativity predicts the opposite effect: a clock in a weaker gravitational field runs faster. GPS satellites, being farther from Earth's gravitational center, experience weaker gravity, causing their clocks to run approximately 45 microseconds per day fast.
The net effect is that satellite clocks run about 38 microseconds per day faster than ground clocks. Over a full day, without correction, this would produce position errors of approximately 11 kilometers. GPS satellites are pre-programmed to run their clocks at a slightly lower frequency to cancel this relativistic effect. GPS is, in a very real sense, a practical application of Einstein's relativity.
How Position Is Calculated
Trilateration Explained
With the satellite's known position and the calculated distance from your receiver to that satellite, you know you must be somewhere on a sphere of that radius centered on the satellite. With two satellites, you are somewhere on the circle formed by the intersection of two spheres. With three satellites, you are at one of two points where three spheres intersect. In practice, one of those points is in space and the other is on or near Earth's surface, so the receiver selects the physically plausible solution.
The fourth satellite resolves the receiver clock error. Unlike the satellites' atomic clocks, your phone's GPS chip uses a cheap quartz clock that drifts significantly. By incorporating a fourth satellite, the receiver can solve for four unknowns simultaneously: latitude, longitude, altitude, and clock error. This is why GPS degrades gracefully — three satellites gives a two-dimensional fix with unknown altitude, and each additional satellite improves accuracy.
Sources of Error and Correction
GPS position errors arise from multiple sources:
Ionospheric delay: The ionosphere (50-1,000 km altitude) slows GPS signals. This delay varies by time of day, solar activity, and frequency. Dual-frequency receivers measure signals on two frequencies and calculate the differential delay, which allows the ionospheric error to be removed. Single-frequency receivers use a model to estimate and partially correct for it.
Tropospheric delay: The lower atmosphere also slows signals, with effects that depend on humidity, temperature, and pressure. Models can reduce but not eliminate this error.
Satellite geometry (PDOP): Position Dilution of Precision measures how satellite geometry affects positioning accuracy. When satellites are clustered together in the sky, the geometry is poor and errors amplify. When satellites are spread across the sky, geometry is good and errors are minimized. A PDOP below 2 is excellent; above 6 is poor.
Multipath: In urban environments, signals reflect off buildings and arrive at the receiver via indirect paths, producing distance errors. Multipath is one of the hardest error sources to correct. Receivers use antenna design, signal processing, and sometimes GNSS maps of urban canyons to mitigate it.
Satellite clock errors: Despite atomic precision, satellites accumulate clock errors that are corrected by the ground control segment and broadcast in the satellite's navigation message.
GPS Accuracy
Consumer vs. Professional Grade
Standard consumer GPS in smartphones achieves horizontal accuracy of approximately 3-5 meters under good conditions. This is sufficient for navigation and most consumer applications. Professional surveying and geodetic GPS receivers use techniques that push accuracy to centimeters or even millimeters.
Differential GPS (DGPS) uses a network of fixed, precisely surveyed ground stations that compare their GPS-calculated position to their known position, compute the correction, and broadcast it to GPS receivers in the area. DGPS improves accuracy to about 1-3 meters.
Real-Time Kinematic (RTK) systems use carrier phase measurements rather than just signal timing, achieving centimeter-level accuracy. They require a base station within about 10-40 km and are used in professional surveying, precision agriculture, and machine guidance.
Wide Area Augmentation System (WAAS) in the US and equivalent systems (EGNOS in Europe, MSAS in Japan) provide free differential correction signals broadcast from geostationary satellites, improving accuracy to about 1-3 meters for aviation and general use.
Assisted GPS in Smartphones
The Problem with Cold Starts
A GPS receiver that has been off for an extended period (or moved to a new location while off) faces a 'cold start' problem. It must download fresh ephemeris data (satellite positions, clock corrections) directly from the satellites. This data is broadcast at a slow rate — it takes 12.5 minutes to receive a complete ephemeris for all satellites under ideal conditions. It also requires an unobstructed view of the sky throughout.
How A-GPS Solves It
Assisted GPS (A-GPS) solves the cold start problem by delivering ephemeris and almanac data over a mobile data connection (typically via the cellular network or Wi-Fi). Your phone requests this data from a server, receives it nearly instantly, and can immediately begin searching for the correct satellite signals rather than waiting to download them.
A-GPS also uses the phone's cellular network to obtain a coarse initial position estimate from cell tower locations. This helps the GPS chip know roughly where it is (to within a few hundred meters), dramatically reducing the search space for satellite signals and cutting time to first fix from minutes to a few seconds.
Modern smartphone GNSS chips (from companies like Qualcomm, Broadcom, and MediaTek) also support multiple satellite constellations simultaneously, giving the phone's positioning system more satellites to choose from and improving performance in difficult environments.
Why GPS Fails Indoors
Signal Strength and Building Attenuation
GPS signals arrive at Earth's surface at an extraordinarily low power level — roughly -130 dBm, which is about 0.1 picowatts. This is equivalent to the energy of a snowflake hitting the ground. While GPS receivers can detect signals at this level, they have no margin for the additional attenuation caused by building materials.
Concrete and metal walls can attenuate GPS signals by 10-30 dB, effectively making them undetectable. Even glass reduces signal strength. Signals that do penetrate buildings are often multipath — reflected versions of the original signal that have traveled a longer path, creating position errors.
Indoor Positioning Alternatives
When GPS signals are unavailable, smartphones use a hierarchy of other positioning methods:
Wi-Fi positioning: Databases maintained by companies like Google and Apple map Wi-Fi hotspot locations. When your phone scans available networks and matches them against the database, it can locate itself to within 15-40 meters in urban areas.
Cell tower positioning: The phone triangulates its position from the known locations of cellular towers it can communicate with. Accuracy ranges from about 50 meters in dense urban areas (with many towers) to several kilometers in rural areas.
Inertial navigation (dead reckoning): Modern phones use accelerometers, gyroscopes, and barometers to track movement when GPS is unavailable, maintaining a continuously updated position estimate based on movement direction and speed.
GLONASS, Galileo, and BeiDou
Other Global Navigation Systems
GPS is no longer the only GNSS (Global Navigation Satellite System). Russia operates GLONASS (Globalnaya Navigatsionnaya Sputnikovaya Sistema), which became fully operational again in 2011 after post-Soviet degradation. GLONASS uses a different technical approach (frequency division multiplexing rather than GPS's code division), but provides similar accuracy.
The European Union's Galileo system, fully operational since 2023, is designed as a civilian system with higher baseline accuracy than GPS — approximately 1 meter horizontal accuracy for the standard service and sub-meter accuracy for the encrypted high-accuracy service. It was specifically designed to be independent of US and Russian military control.
China's BeiDou (officially BDS) system became globally operational in 2020. It provides accuracy comparable to GPS and includes a short message communication service unavailable in other GNSS.
Multi-Constellation Advantages
Modern smartphones simultaneously track satellites from GPS, GLONASS, Galileo, and BeiDou, potentially accessing 100+ satellites at once. This multi-constellation approach provides:
- More satellites visible at any time, especially in urban canyons where buildings block some of the sky
- Improved geometric diversity, reducing PDOP errors
- Redundancy — if one system experiences outages or jamming, others remain available
- Improved indoor/degraded signal performance as more satellite combinations provide sufficient geometry for a fix
Practical Takeaways
For navigation, standard GPS accuracy of 3-5 meters is more than sufficient for driving, cycling, or walking. The limiting factor in most cases is map quality and signal update rate, not GPS accuracy itself.
If positioning in urban environments is unreliable, enable location services that use all available positioning methods (GPS, Wi-Fi, cellular). Keeping Wi-Fi on, even without connecting to networks, improves urban positioning significantly.
For survey or precision agriculture applications requiring centimeter accuracy, RTK GPS with a local base station or subscription network correction service is necessary.
GPS signal jamming and spoofing are genuine threats to critical infrastructure and aviation. Defense against these attacks requires receiver-autonomous integrity monitoring (RAIM) and multi-constellation receivers that make spoofing significantly harder.
Battery impact from GPS varies by use. Continuous navigation uses GPS hardware and processors continuously and drains a smartphone battery significantly faster than passive standby mode.
References
- Kaplan, E. D., & Hegarty, C. J. (2017). Understanding GPS/GNSS: Principles and Applications (3rd ed.). Artech House.
- US Department of Defense. (2008). GPS Standard Positioning Service Performance Standard (4th ed.). GPS Directorate.
- Hoffmann-Wellenhof, B., Lichtenegger, H., & Collins, J. (2001). GPS: Theory and Practice (5th ed.). Springer.
- Last, D. (2000). Radio Navigation: Future Directions. Journal of Navigation, 53(1), 1-15.
- Ashby, N. (2002). Relativity and the Global Positioning System. Physics Today, 55(5), 41-47.
- European GNSS Agency. (2023). Galileo System Overview. GSA.
- International Astronomical Union. (2020). GNSS Constellations and Status. IAU.
- Wang, J. (2009). Pseudorange Multipath Mitigation. GPS Solutions, 13(2), 73-82.
- Misra, P., & Enge, P. (2006). Global Positioning System: Signals, Measurements, and Performance (2nd ed.). Ganga-Jamuna Press.
- Enge, P., & Misra, P. (1999). Special Issue on Global Positioning System. Proceedings of the IEEE, 87(1), 3-15.
- ICG Working Group. (2022). Current and Planned Global and Regional Navigation Satellite Systems. United Nations.
- Zumberge, J. F., et al. (1997). Precise Point Positioning for the Efficient and Robust Analysis of GPS Data from Large Networks. Journal of Geophysical Research, 102(B3), 5005-5017.
Frequently Asked Questions
How does GPS determine your location?
GPS determines location through a process called trilateration. Each GPS satellite continuously broadcasts a signal containing its precise position and the exact time the signal was sent. Your GPS receiver picks up signals from multiple satellites and calculates how long each signal took to arrive. Since signals travel at the speed of light (approximately 300,000 km per second), the receiver can calculate its distance from each satellite. With distances from at least three satellites, the receiver can calculate a two-dimensional position. A fourth satellite is needed to correct for clock errors in the receiver and determine altitude. Modern receivers typically use signals from 8-12 satellites simultaneously for improved accuracy.
Why are atomic clocks essential to GPS?
GPS depends on extraordinarily precise timing. Since signals travel at the speed of light, a timing error of just one microsecond (one millionth of a second) translates to a position error of about 300 meters. Each GPS satellite carries multiple atomic clocks accurate to about 20-30 nanoseconds (billionths of a second). GPS receivers contain cheaper quartz clocks that are far less accurate, but they compensate by using signals from four or more satellites to solve for both position and the receiver's clock error simultaneously. Without atomic clock precision in the satellites, the entire system would be unusable for navigation.
Why is GPS less accurate indoors?
GPS signals travel at radio frequencies (L1 at 1575.42 MHz) and are extremely weak by the time they reach Earth's surface — about 20 to 50 watts from the satellite is received at less than a billionth of a watt at your device. Building materials — concrete, metal, thick walls — attenuate and reflect these signals. Indoors, the receiver may receive only reflected (multipath) signals rather than direct satellite signals, producing significant position errors. The receiver may also lose contact with enough satellites for a valid position fix. This is why GPS-dependent applications like navigation apps default to Wi-Fi positioning or cell tower triangulation when satellite signals are unavailable indoors.
What is Assisted GPS (A-GPS) and how does it work?
Assisted GPS (A-GPS) is a technique used in smartphones and other mobile devices to speed up the time to first fix and improve positioning when satellite signals are weak. A standard GPS receiver must download almanac and ephemeris data (satellite positions and orbital parameters) directly from satellite signals, which can take several minutes and requires a clear view of the sky. A-GPS delivers this data over a cellular or Wi-Fi data connection instead, dramatically reducing acquisition time from minutes to seconds. A-GPS also uses cell tower and Wi-Fi hotspot location data to provide a coarse initial position estimate, helping the receiver know which satellites to look for and reducing the search time.
What is the difference between GPS, GLONASS, and Galileo?
GPS (Global Positioning System) is operated by the US military and open for civilian use globally. GLONASS (Global Navigation Satellite System) is Russia's equivalent system, with a similar constellation of satellites in medium Earth orbit. Galileo is the European Union's civilian GNSS, designed for higher accuracy and independence from US and Russian military systems. Most modern smartphones receive signals from all three systems simultaneously (plus China's BeiDou), which significantly improves accuracy and reliability because more satellites are visible at any time. Using multiple constellations also means better positioning in urban canyons where some satellites are blocked by buildings.