GPS works by timing radio signals. Each satellite broadcasts its own position and the time, a receiver measures how long the signals from at least four satellites took to arrive, and it solves for its three-dimensional position and its own clock error. The system is one-way, so receivers only listen and never transmit to the satellites.

TL;DR

A GPS receiver times signals from at least four satellites, because its own clock is a fourth unknown. Smartphones are typically accurate within 4.9 m under open sky, and worse near buildings and trees. Because the civil signal carries no proof of origin and the receiver computes its own position, a GPS coordinate is something a device reports.

Learning objectives

After reading this article you will be able to:

  • Describe the space, control and user segments of GPS
  • Explain why a receiver needs at least four satellites to fix its position
  • Distinguish the accuracy GPS commits to in space from what a phone achieves

GPS space, control and user segments

GPS has three segments: the satellites in space, a network of ground facilities that control them, and the receivers that pick up the signals. The Global Positioning System is a US-owned service that provides positioning, navigation and timing, and GPS.gov describes the segments this way:

  • The space segment. A constellation of satellites in medium Earth orbit, at about 20,200 km, each circling the Earth twice a day. The satellites fly in six orbital planes with four baseline slots in each, an arrangement GPS.gov says lets users see at least four satellites from virtually any point on the planet. The US commits to keeping at least 24 operational satellites available 95% of the time.
  • The control segment. A global network of ground facilities that track the satellites, monitor their signals, adjust their clocks, keep them in their orbits, and upload fresh navigation data. A master control station turns the monitor station data into precise satellite positions and builds the navigation messages the satellites broadcast.
  • The user segment. The receivers, in phones, cars, aircraft and survey kit, that pick up the signals and compute position and time.

GPS satellite distance measurement

Each GPS satellite transmits a one-way signal that carries its current position and the time it sent the signal, and the receiver notes when the signal arrives. The difference between the two times, multiplied by the speed of light, gives a distance to that satellite.

There is a catch. The satellites carry atomic clocks; a receiver’s clock is far less precise. Any error in the receiver’s clock turns directly into an error in every distance it computes. ESA’s Navipedia calls the measured value a pseudorange, an apparent range that differs from the true geometric distance because of the offset between the receiver and satellite clocks, plus delays from the ionosphere and troposphere, signals bouncing off nearby surfaces, and receiver noise.

Four-satellite minimum for a GPS fix

A GPS receiver’s clock is not perfect, so the receiver has four unknowns: its three coordinates and its own clock offset. If the clock were perfect, three distances would pin down a point in space, the method called trilateration. Navipedia sets out the standard approach: take pseudoranges from at least four satellites in view, use the satellite positions computed from the broadcast navigation message, and solve the equations together for position and clock offset. When more than four satellites are in view, the receiver can use them all as extra measurements. The extra unknown is why GPS positioning is sometimes described as trilateration with a clock correction rather than plain trilateration.

A side effect is that every GPS receiver is also a precise clock. Once it has solved for its clock offset, it knows the time as well as its position. GPS.gov notes that GPS time transfer is a common method for synchronising clocks and networks to Coordinated Universal Time.

GPS civil and military signals

GPS satellites broadcast on several radio frequencies. GPS.gov lists the civil signals by satellite generation: the original coarse acquisition (C/A) code on L1, a second civil signal on L2 (L2C), a third on L5, and a fourth on L1 (L1C) on the newest GPS III satellites. A separate military signal is encrypted for authorised users, while the civil service is open to anyone.

The exact structure of these signals is public. IS-GPS-200, published on GPS.gov, defines the interface between the space and user segments for the L1 and L2 links, which is what lets anyone build a receiver. The same openness has a cost: the civil signal carries no proof of where it came from, which is what makes GPS spoofing possible.

GPS accuracy

GPS.gov says GPS accuracy depends on conditions, though it states that GPS-enabled smartphones are typically accurate to within a 4.9 m (16 ft) radius under open sky. The government commits to the accuracy of the signal in space, not of any device. Its commitment is a global average user range error of 2.0 m or less, 95% of the time, across healthy satellites; GPS.gov notes that this is not the same as user accuracy.

What a receiver achieves depends on satellite geometry, signal blockage, the atmosphere and the quality of the receiver, and smartphone accuracy worsens near buildings, bridges and trees. High-end users with dual-frequency receivers or augmentation systems can reach real-time positioning within a few centimetres.

GPS.gov lists the common causes of a wrong position as signals blocked by buildings, bridges or trees, indoor or underground use, and multipath, where signals reflect off walls. Less common causes include radio interference or jamming, major solar storms, and satellite maintenance. Selective Availability, which deliberately degraded civil accuracy in the 1990s, ended in May 2000.

GPS limitations

GPS has limits worth designing around. Its signals are easily blocked indoors and underground, so phones combine satellite fixes with other sources, as explained in how phones find their location without GPS. And because the receiver computes its own position, a GPS coordinate is something a device reports, not something anyone else has observed. Checking where a device really is takes separate evidence.

GPS is also one of several satellite systems. Galileo, GLONASS and BeiDou work on the same principle of timing signals from satellites; what GNSS means covers how they fit together.

Frequently asked questions

Does GPS need an internet connection?

No. A GPS receiver works from the satellite broadcasts alone. A phone may use a network connection to show maps, but the satellite positioning itself is one-way radio reception.

Does using GPS let anyone track me?

Not through GPS itself. The satellites broadcast and the receiver only listens, so the system does not learn where any receiver is. Tracking happens when an app or device sends its computed position somewhere else.

How high do GPS satellites orbit?

GPS satellites fly in medium Earth orbit at about 20,200 km, each circling the Earth twice a day. They are arranged in six orbital planes with four baseline slots in each.

How many GPS satellites are there?

The US commits to keeping at least 24 operational satellites available 95% of the time. GPS.gov says the arrangement lets users see at least four satellites from virtually any point on the planet.

What is a pseudorange in GPS?

ESA's Navipedia calls the measured value a pseudorange, an apparent range that differs from the true geometric distance. The difference comes from the offset between the receiver and satellite clocks, plus delays from the ionosphere and troposphere, signals bouncing off nearby surfaces, and receiver noise.

When did GPS Selective Availability end?

Selective Availability, which deliberately degraded civil GPS accuracy in the 1990s, ended in May 2000.

Sources

Build it with Offline Protocol

A GPS fix is a claim made by the device that holds it. Offline Protocol's Proof of Location guide shows how an app submits a claimed latitude and longitude and collects signed witness attestations about it for a backend to verify.

Read Submit a location claim