How GPS Works

The short answer

GPS works by precisely measuring the time it takes for radio signals from multiple satellites to reach a receiver. By knowing each satellite's exact position and the signal's travel time, the receiver calculates its distance from several satellites, then uses these distances to pinpoint its own location on Earth.

This lesson explains the fundamental principles that allow the Global Positioning System (GPS) to accurately determine location anywhere on Earth. You will understand the core concepts of distance measurement, spatial geometry, and the subtle physics that make GPS possible.

By BasicsTutor · Created with AI and fact-checked · Updated Oct 4, 2026 · How we make lessons

Technology·intermediate·13 min

Knowing Precise Time is Everything

The fundamental truth behind GPS is that distance can be calculated if you know the exact time a signal was sent and the exact time it was received, along with the signal's constant speed. Radio waves, like those used by GPS, travel at the speed of light. If a GPS receiver knows precisely when a signal left a satellite and precisely when it arrived, the distance to that satellite is simply the speed of light multiplied by the travel time. This principle is derived directly from the basic physics formula: Distance = Speed × Time. Since the speed of light is a known constant (approximately 299,792,458 meters per second in a vacuum), the accuracy of the distance measurement hinges entirely on the precision of the time measurement. Even a tiny error in timing—a nanosecond (one billionth of a second)—translates to an error of about 30 centimeters (nearly a foot) in distance, which is significant for positioning. The common misconception is that GPS somehow 'pings' satellites or that satellites 'see' your location directly. In reality, your GPS receiver is a passive listener; it only receives signals. It doesn't send signals back to the satellites to measure round-trip time like radar. Instead, it precisely measures the one-way travel time of the signals from the satellites to itself. The non-obvious implication is the extraordinary technological challenge of maintaining such extreme time precision. Each GPS satellite carries multiple atomic clocks (typically rubidium and cesium) to keep time with an accuracy that would lose less than one second in millions of years. This allows for the precise timestamps necessary for calculating distances, forming the bedrock of GPS accuracy.

Imagine you see a lightning flash and then hear thunder. You know that light travels almost instantly, while sound travels much slower. If you count the seconds between seeing the flash and hearing the thunder, you can estimate how far away the lightning strike was, because you know the speed of sound. In this analogy, the lightning flash is the signal leaving the satellite, the thunder is the signal arriving at your receiver, and your counting is the time measurement. The speed of sound is analogous to the speed of light.

  • Distance calculation in GPS relies on multiplying the speed of light by signal travel time.
  • A nanosecond timing error causes a 30 cm distance error.
  • GPS receivers are passive listeners, not active transmitters to satellites.
  • Atomic clocks on satellites are essential for the required time precision.

Trilateration Pinpoints Location from Distances

Because we can determine our distance from a satellite (Principle 1), we can then use a geometric method called trilateration to find our exact position. If you know your precise distance from a single point in space, you know you are somewhere on the surface of an imaginary sphere centered at that point, with a radius equal to that distance. If you know your distance from a second point, you are also on a second sphere. These two spheres will intersect in a circle. Knowing your distance from a third point means you are on a third sphere, which will intersect the circle at two possible points. Since one of these points is often in space or deep inside the Earth (and easily discarded), we can usually determine your precise 3D location with three accurate distance measurements. The common misconception is to confuse this with 'triangulation,' which involves measuring angles from known points. Trilateration, on the other hand, strictly uses distance measurements (radii of spheres) to find an intersection point. While three spheres theoretically yield two points, a fourth satellite is typically used for increased accuracy and to resolve receiver clock errors, as explained in the implication. The non-obvious implication is that while three satellites are sufficient to find your position on Earth's surface if your device's clock were perfectly synchronized with the satellite clocks, your receiver's internal clock is far less precise than the atomic clocks on the satellites. This clock error introduces an unknown variable. A fourth satellite provides a redundant distance measurement, allowing the receiver to solve for both its 3D position (latitude, longitude, altitude) and its own clock's offset from GPS time. This simultaneously corrects for your receiver's inaccurate clock and pinpoints your location.

Imagine you lost your keys in a park. You know they are 10 feet from the oak tree. This puts them on a circle around the oak. Then you remember they are also 15 feet from the fountain. Now they are on two circles, intersecting at two points. If you further recall they are 5 feet from the bench, a third circle intersects at only one specific spot—your keys' location. For GPS, these 'circles' are spheres in 3D space.

  • Trilateration uses multiple distance measurements to pinpoint a location.
  • A single distance puts you on a sphere, two give a circle, three give two points.
  • GPS uses distances (radii), not angles, to locate.
  • A fourth satellite is crucial to correct for the receiver's less accurate clock and provide 3D position.

Satellites Broadcast Their Position and Time

For your GPS receiver to perform trilateration, it needs to know not only the time difference but also the exact location in space of each satellite at the precise moment it sent its signal. Each GPS satellite continuously broadcasts a 'navigation message' that contains crucial information: its precise orbital data (known as 'ephemeris' and 'almanac'), and a highly accurate timestamp from its onboard atomic clock. This data allows the receiver to calculate where each satellite was at the moment its signal left the satellite. This principle is critical because the satellites are not stationary; they orbit Earth at speeds of about 14,000 km/h (8,700 mph). Without knowing their exact position at the moment of signal transmission, the distance calculations would be meaningless. The navigation message ensures that the receiver has the necessary coordinates for each 'center' of the spheres used in trilateration. Your phone or GPS device is a purely passive receiver; it listens to these broadcasts, processes them, and calculates its own location without sending any data back to the satellites. The common misconception is that your phone 'communicates' with satellites in a two-way exchange, or that the satellites somehow detect your phone's presence. In reality, your device is simply receiving information. It's like listening to a radio station; the station broadcasts, and your radio receives, but your radio doesn't send anything back to the station. This is why a GPS device can work even in remote areas without cell service, as long as it has a clear view of the sky. The non-obvious implication is that the accuracy of the ephemeris data (the detailed orbital paths) is vital. Ground control stations constantly monitor the satellites, track their precise orbits, and upload corrections and updated ephemeris data to them. If this orbital data were inaccurate or outdated, the calculated positions of the satellites would be wrong, leading to errors in the user's computed location, even if timing was perfect. This constant monitoring and data refresh ensure the 'known points' for trilateration are always precise.

Imagine a network of moving lighthouses, each flashing a light and, at the same exact moment, shouting out its precise current coordinates and the exact time it just flashed. Your boat simply listens to these shouts from several lighthouses, notes the time each message arrived, and uses that information to figure out exactly where the boat is on the ocean.

  • Satellites broadcast their precise location and the exact time of signal transmission.
  • This data (ephemeris) is essential for the receiver to perform trilateration.
  • GPS receivers are passive; they only listen, they don't transmit to satellites.
  • Ground control continuously tracks and updates satellite orbital data for accuracy.

Relativity Affects Time, Requiring Constant Correction

One of the most genuinely counterintuitive and critical principles underlying GPS is that time does not pass at the same rate for everyone and everything. Einstein's theories of relativity, both special and general, predict that time will appear to pass differently for objects in motion and in different gravitational fields. These effects, though small in everyday life, are significant enough to cause major errors in GPS if not accounted for. This is derived from fundamental physics. Special Relativity states that clocks moving relative to an observer run slower. GPS satellites orbit at high speeds (about 14,000 km/h), so their onboard atomic clocks tick slower by about 7 microseconds per day compared to a clock on Earth. General Relativity states that clocks in a weaker gravitational field run faster. Satellites are higher above Earth, experiencing weaker gravity, so their clocks tick faster by about 45 microseconds per day. The net effect is that satellite clocks tick about 38 microseconds (45-7) faster per day than ground clocks. The common misconception is that relativistic effects are purely theoretical or too minuscule to matter for practical technology. Many believe that such 'esoteric' physics would never impact a device like GPS, assuming a universal, constant flow of time. Yet, without correction, this 38-microsecond daily discrepancy would lead to an error of over 10 kilometers (6 miles) per day in calculated position, rendering GPS utterly useless within minutes. The non-obvious implication is that GPS is not just a technological marvel but a practical, everyday demonstration of Einstein's theories of relativity. The system is designed with these relativistic corrections built-in; the atomic clocks on board the satellites are specifically tuned to run slightly slower on the ground before launch, so that once in orbit and subject to both relativistic effects, they appear to tick at the correct rate relative to ground clocks. This constant, precise adjustment is non-negotiable for the system's accuracy.

Imagine two identical perfectly synchronized watches. You keep one on your wrist, and your friend takes the other on a very fast, high-altitude jet plane for a day. When they return, you compare watches. Even if both worked perfectly, your friend's watch would be slightly ahead of yours, not due to a malfunction, but because time itself moved differently for them due to their speed and slightly reduced gravity. GPS must constantly 'correct' for this natural difference.

  • Time passes differently for moving objects and in different gravitational fields.
  • Special and General Relativity cause satellite clocks to tick at a different rate than Earth clocks.
  • Without relativistic corrections, GPS would accrue errors of miles per day.
  • GPS is a daily, practical application and proof of Einstein's theories of relativity.

Atmospheric Delays Distort Signal Travel Time

While radio signals travel at the speed of light in the vacuum of space, they slow down slightly and bend when passing through Earth's atmosphere. The two main layers causing this delay are the ionosphere (a layer of charged particles in the upper atmosphere) and the troposphere (the lower, denser part of the atmosphere containing water vapor and other gases). This slowing means the signal's actual travel time from satellite to receiver is longer than it would be in a perfect vacuum, leading to an overestimation of distance if uncorrected. This principle is derived from the physics of electromagnetic waves interacting with different media. The speed of light is only constant in a vacuum. When light or radio waves enter a medium like air or charged plasma, they interact with the particles, causing them to slow down and refract. This effect varies with the density and composition of the atmosphere, which changes with location, time of day, season, and weather conditions. These delays can be quite significant, equivalent to many meters of distance error. The common misconception is that the speed of light is an absolute constant, regardless of the medium, or that the atmosphere has a negligible effect on radio signals. While the speed of light in a vacuum is constant, its effective speed changes when traveling through non-vacuum environments. Ignoring this fact would lead to large and unpredictable errors in GPS positioning, potentially hundreds of feet. The non-obvious implication is that GPS receivers must either estimate these atmospheric delays using complex mathematical models or use advanced techniques to mitigate them. For example, some high-precision GPS receivers utilize signals on two different frequencies (L1 and L2). Since the ionosphere affects different frequencies differently, by comparing the delay between these two signals, the receiver can precisely calculate and cancel out the ionospheric delay, significantly improving accuracy. This dual-frequency capability is a feature of more advanced GPS hardware.

Imagine you are running a race. You can sprint across a dry, flat track very quickly (like a signal in a vacuum). But if part of the track is muddy or covered in deep water, you will slow down and take longer to cross that section (like a signal passing through the atmosphere). Your total race time will be longer than if the whole track was dry. Your GPS receiver has to account for this 'muddy section' of the atmosphere.

  • GPS signals slow down when passing through Earth's atmosphere, especially the ionosphere and troposphere.
  • This slowing causes an overestimation of distance if not corrected.
  • Atmospheric effects on radio waves are significant and vary with conditions.
  • GPS receivers use models or dual-frequency signals to correct for these atmospheric delays.

Put it into practice

  • Open a 'GPS status' or 'GNSS View' app on your smartphone (available on most app stores) to visualize which satellites your phone is 'seeing'. Observe how many satellites are in view and which systems (GPS, GLONASS, Galileo, BeiDou) your phone is using, and how this changes as you move or go indoors.
  • Compare the accuracy of your phone's GPS in different environments. Notice how open skies provide better accuracy (fewer atmospheric obstructions, better signal paths) compared to urban canyons (tall buildings blocking signals) or dense tree cover, directly observing the impact of signal reception.
  • Research RTK (Real-Time Kinematic) or DGPS (Differential GPS) systems. Understand that these professional-grade GPS solutions improve accuracy from meters to centimeters by using a stationary ground reference station that knows its own precise location and measures errors in received satellite signals, then transmits corrections to nearby roving receivers.
  • Set your phone's location services to 'device only' or 'GPS only' if possible (some Android phones allow this, iPhones typically combine GPS with Wi-Fi/cellular). Observe how your location fixes take longer and may be less accurate without the assistance of Wi-Fi and cellular towers, which provide additional data to speed up and refine the initial GPS lock (Assisted GPS or A-GPS).

Keep learning

Browse all lessons