How GPS Knows Where You Are

Written by

in

Satellite navigation has changed how we travel, guiding drivers, walkers and cyclists with remarkable accuracy. The Global Positioning System, along with similar systems run by other countries, works by a surprisingly elegant principle. Your phone does not send anything to the satellites; it simply listens and does some clever arithmetic.

A network of satellites

GPS relies on a constellation of satellites orbiting the Earth, arranged so that several are visible from almost anywhere on the planet at any time. Each satellite continuously broadcasts a signal containing its position and the precise time the signal was sent. Other systems, such as Europe's Galileo, work in a similar way, and many receivers use several systems together.

Timing is everything

Radio signals travel at the speed of light, so by comparing when a signal was sent with when it arrived, a receiver can work out how far away each satellite is. Because light is so fast, even tiny timing errors would produce large mistakes in position. That is why the satellites carry extremely precise atomic clocks, and why the system even has to account for effects predicted by Einstein's theories of relativity.

Finding your position

Knowing your distance from one satellite places you somewhere on a huge imaginary sphere. Adding a second and third satellite narrows this down to a small number of possible points, and a fourth signal helps correct for the less accurate clock inside your phone. This process, known as trilateration, gives a position typically accurate to within a few metres.

Why it sometimes goes wrong

Tall buildings, tunnels and dense trees can block or reflect signals, leading to jumpy or delayed positions in city centres. Phones improve matters by combining satellite data with information from Wi-Fi networks, mobile masts and motion sensors. This blended approach is why your location often appears quickly, even before a full satellite fix has been made.