GPS determines location by measuring the travel time of radio signals from satellites to a receiver. Each satellite broadcasts its position and the exact time the signal was sent; the receiver compares that with the time it received the signal to calculate the distance to each satellite. With distances to at least four satellites, the receiver can solve for its latitude, longitude, altitude, and the precise time—thus determining its location.
Background: What GPS Is and How It Began
GPS, or the Global Positioning System, is a satellite-based navigation system owned by the United States government and operated by the U.S. Space Force. It was developed in the 1970s for military use and became fully operational for civilian use in the 1980s and 1990s. The system consists of a constellation of satellites in medium Earth orbit, ground control stations, and receivers. GPS is one of several global navigation satellite systems (GNSS), alongside GLONASS (Russia), Galileo (EU), and BeiDou (China).
The core principle is simple: if you know the distance to several known points, you can determine your own position through trilateration. GPS satellites act as the known points, and the receiver measures distances to them using the speed of light.
How GPS Works: The Trilateration Principle
Each GPS satellite continuously broadcasts a signal that includes its current position and the precise time the signal was transmitted, as measured by an atomic clock on board. The receiver, using its own less precise clock, records the arrival time. The difference between transmission and reception times, multiplied by the speed of light, gives the distance to the satellite. However, the receiver's clock is not perfectly synchronized with the satellite clocks, so the measured distance is slightly off—this is called a pseudorange.
To solve for the receiver's position (x, y, z) and the clock error (t), at least four satellites are needed. With four pseudoranges, the receiver can solve four equations to find the four unknowns. In practice, more satellites improve accuracy and allow the receiver to estimate its position more reliably.
Geometrically, each satellite defines a sphere with radius equal to the measured distance. The intersection of three spheres gives two possible points, and the fourth sphere resolves the ambiguity and corrects the clock error.
The Role of Satellite Geometry and Accuracy
The accuracy of a GPS fix depends on the geometry of the satellites in view. If the satellites are clustered together in the sky, the spheres intersect at shallow angles, amplifying errors. This is quantified by the dilution of precision (DOP). A low DOP indicates good geometry and better accuracy; a high DOP means poor geometry and less reliable positioning.
Typical GPS accuracy for civilian receivers is within a few meters under open sky. Factors that degrade accuracy include:
- Atmospheric delays: the ionosphere and troposphere slow the signal, causing ranging errors.
- Multipath: signals reflecting off buildings or terrain arrive later, confusing the receiver.
- Clock errors: satellite clocks are monitored and corrected, but residual errors remain.
- Selective availability: an intentional degradation of the civilian signal that was active until 2000; it is no longer in effect.
Modern receivers use augmentation systems such as WAAS (Wide Area Augmentation System) in North America or EGNOS in Europe to correct some errors and improve accuracy to about 1–2 meters.
From Satellites to Your Smartphone: The Signal Chain
The GPS signal is a spread-spectrum radio signal transmitted at frequencies around 1.5 GHz (L1 band). It carries a pseudo-random code that identifies the satellite and allows the receiver to determine the travel time. The signal is weak—by the time it reaches the ground, it is far below the noise floor—so receivers use correlation techniques to detect it.
In a smartphone, the GPS chipset processes the signals and computes a position fix. The phone then combines this with other sensors (accelerometer, gyroscope) and Wi-Fi/cellular positioning to improve speed and accuracy, especially in urban canyons where GPS alone may struggle.
Common Problems and Limitations
GPS works best with a clear view of the sky. Indoors, underground, or in dense urban areas, signals are blocked or reflected, leading to inaccurate or unavailable fixes. Other limitations include:
- Cold start: a receiver may take several minutes to acquire satellites if it lacks recent almanac data.
- Battery drain: continuous GPS use consumes significant power.
- Jamming and spoofing: intentional interference can disrupt or falsify GPS signals.
To mitigate these, devices often use assisted GPS (A-GPS), which downloads almanac data over the network to speed up the first fix.
GPS vs. Other Navigation Systems
While GPS is the most widely used GNSS, other systems offer similar capabilities. GLONASS, Galileo, and BeiDou are interoperable with GPS in many receivers, improving coverage and accuracy. The choice of system is usually transparent to the user; modern chipsets support multiple constellations simultaneously.
Ground-based systems like LORAN were used historically but are largely obsolete. Inertial navigation systems (INS) use accelerometers and gyroscopes to track movement without external signals, but they drift over time and are often combined with GPS for robustness.
Frequently Asked Questions
Why does GPS need at least four satellites?
Three satellites would theoretically give a position in three dimensions, but the receiver's clock is not accurate enough. The fourth satellite allows the receiver to solve for the clock error, which is essential for precise distance measurements.
Can GPS work without a data connection?
Yes, GPS itself is a receive-only system and does not require an internet connection. However, a data connection can help by providing assistance data (A-GPS) to speed up the initial fix.
How accurate is GPS?
For civilian receivers, accuracy is typically within a few meters (about 3–5 meters) under open sky. With augmentation systems, it can improve to 1–2 meters. Higher accuracy (centimeter-level) is possible with specialized techniques like RTK.
Does GPS work indoors?
Generally no, because the signals are too weak to penetrate buildings. Some devices use Wi-Fi or cellular positioning to estimate location indoors, but that is not GPS.
What is the difference between GPS and GNSS?
GPS is a specific GNSS owned by the United States. GNSS is the general term for any satellite navigation system, including GPS, GLONASS, Galileo, and BeiDou.
Why does my GPS sometimes show the wrong location?
Errors can come from poor satellite geometry, multipath reflections, atmospheric delays, or a outdated almanac. In cities, tall buildings can cause significant errors. Restarting the device or moving to an open area often helps.