How GPS Works: Satellites, Atomic Clocks, and Einstein

Photo: Engin Akyurt / Pexels
Every day, billions of people navigate using GPS without thinking about what's happening above their heads. Twenty-four to thirty-two satellites orbit Earth at about 20,200 kilometers altitude, each broadcasting a continuous signal. Your phone receives signals from four or more satellites simultaneously, solves a system of equations, and pins your location to within a few meters — often better. The technology is a marvel of engineering, physics, and mathematics, and it depends critically on Einstein's theories of relativity to work at all.
Key takeaways
- GPS uses trilateration, not triangulation — it measures distances from satellites, not angles.
- Atomic clocks aboard satellites keep time accurate to nanoseconds; one nanosecond of error equals 30 cm of positional error.
- Special relativity causes satellite clocks to run 7 microseconds per day slow (due to orbital speed).
- General relativity causes satellite clocks to run 45 microseconds per day fast (due to weaker gravity at altitude).
- Without relativistic corrections, GPS would drift by roughly 11 kilometers per day, making it useless for navigation.
The basic principle: time becomes distance
The fundamental idea behind GPS is elegant. Each satellite knows its precise position in space and broadcasts that position along with a highly accurate timestamp — the exact time the signal was sent. Your receiver picks up this signal, notes when it arrived, and computes the travel time: (arrival time) − (sent time).
Since the signal travels at the speed of light (about 299,792,458 meters per second), the travel time multiplied by light speed gives the distance to that satellite. If signal took 0.07 seconds to reach you, the satellite is about 20,900 km away.
This distance tells you that you are somewhere on the surface of an imaginary sphere centered on the satellite. Two satellites give two spheres; their intersection is a circle. A third satellite intersects that circle at two points. A fourth satellite (or knowledge of your altitude) resolves the final ambiguity, pinning down a unique location in three-dimensional space.
Trilateration vs. triangulation
These terms are often confused. Triangulation uses angles measured from known reference points to find a location — useful in surveying, but not what GPS does. Trilateration uses distances. GPS is pure trilateration: no angle measurements, just very precise time-to-distance conversions.
The mathematics reduces to solving four simultaneous equations. Each satellite gives one equation:
(x − xᵢ)² + (y − yᵢ)² + (z − zᵢ)² = (c × tᵢ)²
where (x, y, z) is your unknown position, (xᵢ, yᵢ, zᵢ) is the known satellite position, c is the speed of light, and tᵢ is the measured signal travel time. Four satellites give four equations, sufficient to solve for the four unknowns: x, y, z, and the receiver clock error.
That fourth unknown — receiver clock error — is crucial. Your phone's internal clock is nowhere near accurate enough to measure signal travel times to the required precision. The math elegantly sidesteps this by treating your clock error as a fourth unknown to be solved alongside your position. This is why you need four satellites rather than three.
Why atomic clocks matter
The entire system rests on timing precision. Light travels about 30 centimeters in one nanosecond (one billionth of a second). To achieve positional accuracy of even a meter, the system needs timing accurate to a few nanoseconds.
Quartz crystal oscillators — the clocks in your phone — drift by roughly 10-100 microseconds per day. That is 10,000 to 100,000 nanoseconds of error, translating to 3–30 kilometers of positional error. Completely unusable.
GPS satellites carry cesium and rubidium atomic clocks, which keep time by counting the oscillations of atoms transitioning between energy states. Cesium atomic clocks are accurate to about 1 nanosecond per day — one part in 10¹⁴. The entire GPS constellation is synchronized to a GPS Master Control Station in Colorado, which maintains time accurate to about 20 nanoseconds.
Your phone can "borrow" this atomic clock precision from the satellites. The receiver clock error it solves for allows your cheap quartz clock to effectively know the time to nanosecond accuracy — it just has to be in contact with enough satellites.
Special relativity: the speed slowdown
GPS satellites orbit at approximately 14,000 km/h. According to special relativity, objects moving at high speed experience time dilation — their clocks run slower relative to stationary clocks.
The formula for time dilation is: t' = t × √(1 - v²/c²)
At orbital velocity v ≈ 3.87 km/s, the factor √(1 - v²/c²) differs from 1 by about 8.4 × 10⁻¹¹. Over one day (86,400 seconds), this means satellite clocks lose approximately 7.2 microseconds due to their orbital speed. That's 7,200 nanoseconds — enough timing error to cause 2.1 km of positional error per day from special relativity alone.
General relativity: the altitude speedup
GPS satellites orbit at about 20,200 km altitude — far from Earth's surface. At this altitude, Earth's gravitational field is weaker. According to general relativity, clocks in a weaker gravitational field tick faster.
The gravitational time dilation formula is: t' = t × √(1 - 2GM/rc²), where G is Newton's gravitational constant, M is Earth's mass, and r is the distance from Earth's center. The difference between r at Earth's surface and r at GPS altitude creates a fractional clock rate difference of about 5.3 × 10⁻¹⁰. Over one day, satellite clocks gain approximately 45.9 microseconds due to weaker gravity.
The net effect: 38 microseconds per day
The two relativistic effects oppose each other. Special relativity slows GPS clocks by 7 microseconds per day. General relativity speeds them up by 46 microseconds per day. The net effect is that GPS satellite clocks run about 38.4 microseconds per day fast compared to clocks on Earth's surface.
At the speed of light, 38.4 microseconds corresponds to about 11.5 kilometers. Without correction, GPS positional errors would grow by roughly 11 km per day — the system would be useless within hours.
The engineers who designed GPS (launched beginning in 1978) knew this and built in corrections from the start. The satellite clocks are deliberately slowed before launch by the relativistic offset, so that once in orbit they tick at the correct rate as measured from the ground. Additional software corrections handle smaller effects. The result is a system that can achieve sub-meter accuracy for civilian users and centimeter accuracy for survey-grade applications.
This is not a minor correction or a theoretical nicety. It is essential engineering, and it demonstrates that Einstein's 1905 and 1915 theories have consequences in the most ordinary aspects of modern life.
The satellite constellation: design for coverage
The current GPS constellation — known as NAVSTAR — is maintained by the U.S. Air Force at a minimum of 24 operational satellites, typically 30 or more. They are arranged in six orbital planes inclined 55 degrees to the equator, at an altitude of approximately 20,200 km with a 12-hour orbital period.
This arrangement ensures that at least four satellites are visible from any point on Earth's surface at any time. More satellites improve accuracy and redundancy. In open sky conditions, a modern GPS receiver typically tracks 8–12 satellites simultaneously.
Sources of error and accuracy limits
Despite the extraordinary precision of atomic clocks and relativistic corrections, several other sources degrade GPS accuracy:
Ionospheric delay: The ionosphere (60–1,000 km altitude) slows radio signals slightly. This delay varies with solar activity, time of day, and latitude. Dual-frequency GPS receivers (like those in modern smartphones) measure the delay at two frequencies and correct for it. Single-frequency receivers use models.
Tropospheric delay: The lower atmosphere also slows signals, with delays depending on temperature, humidity, and pressure. Atmospheric models correct for this, but residual errors remain.
Multipath interference: Signals reflected off buildings, terrain, or water before reaching the receiver create ghost signals that distort measurements. This is why GPS is less accurate in urban canyons.
Satellite geometry: When visible satellites are clustered together rather than spread across the sky, the intersection of their ranging spheres is less precise. This is measured as dilution of precision (DOP); lower DOP means better geometry.
Receiver quality: A $500 survey-grade receiver with a precision antenna can achieve 1–2 cm accuracy with post-processing. A consumer phone GPS chip achieves 2–5 meters in good conditions.
Augmentation systems
Various augmentation systems improve on standalone GPS accuracy. The FAA's Wide Area Augmentation System (WAAS) broadcasts corrections from a network of precisely known ground stations, achieving roughly 1–3 meter accuracy for aviation. For survey and precision agriculture, Real-Time Kinematic (RTK) systems compare carrier phase measurements from a fixed base station to achieve centimeter-level accuracy in real time.
Other countries have built their own global navigation satellite systems: Russia's GLONASS, the European Union's Galileo, and China's BeiDou. Modern smartphones typically receive signals from multiple constellations simultaneously, improving accuracy and reliability.
FAQ
Q: Does GPS work anywhere on Earth, including the poles? A: Yes. The satellite orbits are inclined 55 degrees from the equator, which means polar regions see satellites at lower elevation angles. GPS works at the poles, though performance may be slightly degraded compared to mid-latitudes. Russia's GLONASS uses a higher inclination (64.8°) partly to improve polar performance.
Q: Why does GPS sometimes take a long time to get a first fix? A: A GPS receiver needs to download the almanac (data about all satellite positions) and ephemeris (precise orbital parameters for current satellites) from the satellite signal. This data is broadcast slowly — a full download can take 12.5 minutes. Once downloaded, it's stored. Assisted GPS (A-GPS) in smartphones downloads this data over the internet, giving fast first fixes in seconds.
Q: Can GPS signals penetrate underground or underwater? A: No — GPS signals are radio waves that don't penetrate water, rock, or dense soil. Submarines and underground workers use other positioning systems. Some indoor positioning systems use Wi-Fi, Bluetooth beacons, or dead reckoning augmented by inertial sensors.
Q: How accurate can GPS get? A: The U.S. military's encrypted P(Y) code achieves roughly 1 meter accuracy. Civilian L1 C/A code achieves 2–5 meters. With WAAS augmentation: 1–3 meters. With RTK and dual-frequency: 1–2 centimeters. With precise point positioning and post-processing: millimeter accuracy.
Q: Is GPS the only satellite navigation system? A: No. Russia's GLONASS has global coverage since 2011. The EU's Galileo reached full operational capability in 2024. China's BeiDou went global in 2020. India's NavIC covers South Asia. Japan's QZSS augments GPS over Japan. Together these are called Global Navigation Satellite Systems (GNSS).
Read next:
Follow new articles
Add SciHub101 to your feed reader to see new science and technology stories.
About the Author
SciHub101 is an independent science and technology publication founded and edited by Buğra Sözeri, a software engineer and app developer based in Türkiye. AI tools assist with drafting and research. Source documentation in the existing archive is uneven, and articles are being reviewed and corrected. The Editorial Team byline identifies editorial responsibility; it does not certify specialist or independent human review. Where we compare products, anything built by our own team is labelled as such — see the editorial guidelines and About page for how corrections and disclosures work.
Related Articles

How Prime Numbers Work: The Math Behind Internet Security
Prime numbers seem like a curious curiosity from school math. They're actually the foundation of every secure transaction on the internet — and one of the deepest mysteries in mathematics.

How Thermodynamics Explains Everything: From Steam Engines to the Heat Death of the Universe
Four laws govern how energy moves, transforms, and degrades — from the steam engine to the Big Bang to every living cell. Understanding thermodynamics means understanding why time has a direction.

How GPS Uses Einstein's Relativity Every Single Day
Your phone's navigation relies on corrections from both special and general relativity. Without Einstein, GPS would be off by kilometers within hours.

What Is Chaos Theory? The Butterfly Effect Explained
A butterfly flaps its wings in Brazil and sets off a tornado in Texas — or so the saying goes. Chaos theory is real science, and it's stranger than the metaphor suggests.

Einstein's Theory of Relativity Explained
Time slows down when you move fast, and mass becomes energy. Here's how Einstein turned Newtonian physics upside down — and why your GPS depends on it.

The Theory of Relativity Explained for Beginners
Time slows down, space bends, and mass becomes energy. Einstein's relativity is strange but beautifully logical.