astre Search

Astre explains

How GPS finds your phone

Your phone listens to clocks in space, then does a little maths with Einstein.

5 min read11 sources

How GPS finds your phone
Picture: U.S. Navy (Naval Research Laboratory), public domain

4The numbers

20,200km

GPS satellite altitude

Source: gps.gov

4satellites

signals needed for a position and clock correction

Source: ntrs.nasa.gov

38microseconds

daily uncorrected satellite clock gain

Source: tf.nist.gov

4.9m

typical smartphone accuracy under open sky

Source: gps.gov

A clock is flying above Earth, and it is getting ahead of the clocks on the ground. Its correction is switched off. For weeks, it runs fast, just as relativity predicts.

That clock helped test an idea your phone now relies on: GPS finds you by timing signals from satellites, with corrections for the strange way time behaves in orbit.

Step 1: A clock with its correction off

The clock flew on NTS-2, a GPS test satellite launched on 23 June 1977. It carried the first caesium clocks in orbit. A caesium clock is a kind of atomic clock, steady enough to show tiny differences in time.

For weeks, the satellite’s frequency correction was off. The researchers could compare its clock with a clock on the ground and see the difference grow. They measured a gain of 442.5 parts in a trillion, close to their predicted 445.0. That measured gain works out to about 38.2 microseconds a day. A microsecond is a millionth of a second.

The NTS-2 paper’s graph of the caesium clock’s time offset
The NTS-2 paper’s graph of the caesium clock’s time offsetBuisson, Easton, McCaskill (US Naval Research Laboratory), public domain

The rising line in the researchers’ graph is the clock pulling ahead. When the correction was switched on, their next graph showed the line flattening. The clock was doing what relativity predicts for a clock moving in orbit, where gravity is weaker than on the ground.

Step 2: Listen for the time

A GPS satellite is both a clock and a reference point in the sky. It broadcasts its position and the time. Your phone listens; it does not have to send a message back to the satellite to find its position.

The satellites orbit about 20,200 km above Earth. Each goes around roughly twice a day, and their orbits are arranged so that at least four can be seen from virtually any point on the planet. Here, “seen” means available to a receiver, not necessarily visible to your eyes.

An animation of a 24-satellite GPS constellation and satellites visible from one point
An animation of a 24-satellite GPS constellation and satellites visible from one pointEl pak, public domain

A signal takes at least 65 milliseconds to reach the ground. A millisecond is a thousandth of a second. Your phone compares the time carried in the signal with the time it receives it. That delay is the clue: multiply it by the speed of light and you get a distance to the satellite.

Think of that distance as an invisible ball around the satellite, with your phone somewhere on its surface. One signal alone cannot tell where. A second distance narrows the possibilities. More signals let the receiver find the place where all those distances agree.

Step 3: Four signals, one position

There is a catch in that neat picture. To turn a travel time into a distance, your phone needs to know the time too. Its own clock can drift, so the distances it calculates carry a shared timing error.

That is why a GPS receiver needs measurements from four satellites. It solves for four unknowns together: three coordinates for its position and the error in its own clock. The fourth signal helps it sort out that clock error while it finds the position.

You do not need an atomic clock in your pocket. The satellites carry the steady clocks; the receiver uses their signals to account for the difference in its own. It is a clever exchange: listen to several clocks whose positions are known, and solve for the position and time you did not know.

The timing has to be this precise because the signals travel so fast. A timing error of one billionth of a second corresponds to about 30 cm in distance. For satellite clock errors to stay below a metre, the clocks need to stay within about four billionths of a second of one another. Atomic clocks can provide that steadiness.

Step 4: Why the clocks disagree

Even a perfectly steady clock has a problem to account for: its time does not pass at exactly the same rate as time on the ground. Two effects pull in opposite directions.

First, the satellite is moving. According to Einstein’s special relativity, its speed makes its clock appear to run slower than a ground clock, by about 7 microseconds a day. Then there is gravity. At satellite altitude gravity is weaker, and general relativity says the clock appears to run faster: by about 45 microseconds a day compared with the ground.

Put those effects together and the uncorrected satellite clock gains about 38 microseconds a day. That is a tiny slice of a day, but a large error for a system measuring the travel time of fast signals. Without the correction, satellite clock errors could build up enough to cause navigational errors of more than 11 km in one day.

Title page of Einstein’s 1916 publication on general relativity
Title page of Einstein’s 1916 publication on general relativityAlbert Einstein, public domain

Einstein published special relativity in 1905. General relativity, which explains how gravity changes the pace of time, followed in 1915 and was published in full in 1916.

Step 5: The adjustment that brings you home

GPS accounts for those differences. The GPS specification asks for the satellite clocks to run slightly slow: 10.2299999954326 MHz instead of 10.23 MHz, which is 10.23 million beats a second. Caesium clocks get this adjustment at the factory, before launch. Rubidium clocks are usually corrected after launch, through the clock data in the navigation message, the data each satellite broadcasts. Ground control also adjusts the satellite clocks.

Your receiver has a job to do as well. The satellite’s clock data does not include every relativity correction the receiver needs, so the receiver works out one more small correction itself. According to NASA’s GPS introduction, that correction can be as much as 23 billionths of a second, corresponding to about seven metres.

The result is a position you can use. Under open sky, a smartphone is typically accurate to within 4.9 m; that is a typical figure, not a promise for every reading. Next time the dot finds you on a map, think of what it took: clocks 20,200 km up, a phone listening to at least four of them, and a correction for the way time passes up there.

4Pictures

  1. How GPS finds your phoneU.S. Navy (Naval Research Laboratory), public domain · Public domain · original
  2. The NTS-2 paper’s graph of the caesium clock’s time offsetBuisson, Easton, McCaskill (US Naval Research Laboratory), public domain · Public domain (US Government work, 17 USC 105) · original
  3. An animation of a 24-satellite GPS constellation and satellites visible from one pointEl pak, public domain · Public domain · original
  4. Title page of Einstein’s 1916 publication on general relativityAlbert Einstein, public domain · Public domain · original

Real archive pictures, turned into pixels by our build: 240 pixels wide, 14 colours, dithered.

Written by GPT 6.1 Terra, an AI model, from a fact sheet checked against primary sources. How we make it

Words in this guide