PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

More from Astronomy & The Sky

Other simulators in this category — or see all 45.

View category →
NewSchool

Nuclear Binding Curve

Qualitative B/A vs A with fusion/fission context.

Launch Simulator
NewSchool

Seasons & Axial Tilt

Obliquity ~23.4°: declination model vs day of year and noon sun altitude at latitude.

Launch Simulator
NewSchool

Single-Layer Climate (Toy)

S, α, ε: T_eff vs T_surface from gray-slab balance — intuition only.

Launch Simulator
NewSchool

Moon Phases

Sun–Earth–Moon geometry and synodic cycle; lit fraction from phase angle.

Launch Simulator
NewSchool

Solar Eclipse Geometry

Sun–Moon–Earth: angular sizes, umbra and penumbra cones, orbit tilt.

Launch Simulator
NewSchool

Lunar Eclipse Geometry

Sun–Earth–Moon: Earth’s shadow on the Moon; total, partial, and penumbral (schematic colors).

Launch Simulator
PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Astronomy & The Sky/GPS & Relativity

GPS & Relativity

Global Positioning System satellites provide precise timing signals, but their onboard atomic clocks experience measurable relativistic effects. This simulator models the two primary relativistic corrections required to keep GPS accurate: a special relativistic time dilation due to the satellite's orbital speed and a general relativistic gravitational time dilation due to the weaker gravity at orbital altitude. The net effect is that satellite clocks run faster than identical clocks on Earth's surface. The model uses the first-order approximations from the weak-field limit of General Relativity. The special relativistic time dilation factor is derived from the Lorentz transformation, approximated as 1 - (v²/2c²). The general relativistic (gravitational) time dilation factor for a clock in a gravitational potential Φ is approximated as 1 + (ΔΦ/c²), where ΔΦ is the difference in gravitational potential between the satellite and the Earth's surface. For a satellite in a circular orbit, the combined rate difference relative to a surface clock is calculated. The simulator simplifies by assuming perfectly circular orbits, a non-rotating Earth, and ignoring smaller effects like the Earth's oblateness and the gravitational pull of the Sun and Moon. By adjusting the satellite's altitude and orbital speed, students can explore how each effect contributes to the total clock drift, observing that the gravitational effect dominates, causing satellite clocks to gain about 38 microseconds per day. This drift, if uncorrected, would lead to positioning errors of kilometers per day, demonstrating that relativity is not just theoretical but an essential engineering consideration.

Who it's for: Undergraduate physics or engineering students studying special and general relativity, as well as advanced high school students in astronomy or modern physics courses.

Key terms

  • Time Dilation
  • Special Relativity
  • General Relativity
  • Gravitational Potential
  • Lorentz Factor
  • Global Positioning System (GPS)
  • Atomic Clock
  • Orbital Mechanics

Near GPS-like MEO values (~20 200 km, ~3.9 km/s), the gravitational gain and special-relativistic loss partially cancel; the net effect is on the order of tens of microseconds per day — the same order as the rough sum of the two terms shown in the sidebar.

Orbit

20200 km
3.87 km/s

Weak-field gravitational potential difference (satellite vs ground) speeds clocks; orbital motion slows them (SR). Values use Δf/f ≈ ΔΦ/c² per second integrated over a day — a spherical Earth model, not a full GPS ephemeris.

Measured values

GR part (est.)45.72 µs/day
SR part (est.)-7.20 µs/day
Net (est.)38.52 µs/day

How it works

Navigation needs nanosecond timing; ignoring relativity would accumulate large range errors — engineers apply both corrections routinely.

Frequently asked questions

Which relativistic effect is stronger for GPS satellites, speed or gravity?
The gravitational effect is stronger. Due to weaker gravity at altitude, the satellite clock runs faster. The speed effect (special relativity) makes it run slower. The gravitational effect is about twice as large, so the net result is that satellite clocks gain time relative to ground clocks.
Why do we need to correct for these tiny time differences?
GPS determines position by measuring the time delay of signals from multiple satellites. Light travels about 300 meters in one microsecond. An uncorrected drift of tens of microseconds per day would accumulate, causing positioning errors of several kilometers daily, rendering the system useless for navigation.
Does the simulator show the exact drift for real GPS satellites?
It provides a close estimate. Real GPS satellites orbit at about 20,200 km altitude. The simulator's simplified model ignores smaller corrections like the Earth's rotation (Sagnac effect) and oblateness, but it captures the dominant first-order effects that account for over 99% of the required relativistic correction.
Is the satellite's speed independent of its altitude?
No, for a stable circular orbit, speed is determined by altitude via Newtonian orbital mechanics: v = sqrt(GM/(R+h)), where h is altitude. The simulator may allow independent adjustment to explore each effect separately, but in reality, they are linked for a given orbital radius.