Time Dilation Calculator: Lorentz Factor, Length Contraction and GPS
By FindMySum · Last reviewed
Time does not pass at the same rate for everyone. A clock that moves relative to you runs slow compared with yours, and so does a clock lower down in a gravity field. Both effects are tiny in daily life, but they are measured routinely, and the GPS in your phone would drift by kilometres a day if engineers ignored them. This calculator handles both.
Time dilation from speed
Special relativity says a clock moving at speed v ticks slower, as seen by you, by the Lorentz factor
γ = 1 ÷ √(1 − v² ÷ c²)
where c = 299,792,458 m/s exactly. If the moving clock records a time Δt₀ (its proper time), you measure
Δt = γ × Δt₀
The same factor shrinks lengths along the direction of motion: an object of rest length L₀ measures L = L₀ ÷ γ.
Worked example (the default). At 0.8c, γ = 1 ÷ √(1 − 0.64) = 1 ÷ 0.6 = 5/3. One year on the traveller's clock is 1.667 years for you, and a 100 m spaceship measures 60 m long as it passes.
| Speed | γ | A year on board is… |
|---|---|---|
| 0.1c | 1.005 | 1.005 years for you |
| 0.5c | 1.155 | 1.155 years |
| 0.9c | 2.294 | 2.294 years |
| 0.99c | 7.089 | 7.089 years |
Everyday speeds
At human speeds γ is so close to 1 that a calculator working with ordinary floating-point numbers would show exactly 1. This one computes γ − 1 directly, as β²γ² ÷ (γ + 1), with extended precision. At 900 km/h, γ − 1 = 3.48 × 10⁻¹³: a ten-hour flight puts a passenger's watch 12.5 nanoseconds behind a ground clock from speed alone. Hafele and Keating flew atomic clocks around the world in 1971 and measured effects of this size.
Time dilation from gravity
General relativity says a clock at distance r from the centre of a mass M ticks at
√(1 − 2GM ÷ r c²)
of the rate of a clock far away. A higher clock is farther from the centre, so it runs faster than a lower one. Near the Earth's surface the difference is about g h ÷ c²: roughly 1.1 × 10⁻¹³ per kilometre of height, or 9.4 nanoseconds per day for a clock 1 km up. A clock on the summit of Everest gains about 83 ns a day on one at sea level.
Both together: the GPS satellites
A satellite clock feels both effects at once: it is higher (runs fast) and moving (runs slow). Choose "Satellite in orbit" and the GPS example, an orbit with a semi-major axis of 26,561.75 km (Ashby 2003), about 20,190 km above the Earth's mean surface.
- Gravity: the satellite clock gains about 45.7 µs per day.
- Speed: at √(GM ÷ r) = 3.87 km/s it loses about 7.2 µs per day.
- Net: it gains about 38.5 µs per day.
Neil Ashby's full analysis, which also includes the ground clock's motion as the Earth spins and the shape of the geoid, gives a net fractional rate of 4.4645 × 10⁻¹⁰, or 38.6 µs per day. Light travels about 11.5 km in 38.6 µs, so uncorrected clocks would put your position off by kilometres within a day. GPS satellite clocks are set to run slightly slow before launch, at 10.229 999 995 43 MHz instead of 10.23 MHz, so that they tick at the right rate in orbit.
The chart in this mode shows the net gain by height. In low orbit the speed effect wins and satellite clocks run slow; above about 3,200 km (half an Earth radius up) gravity wins and they run fast.
Limits
The speed mode assumes constant velocity; the twin paradox needs the turnaround as well. The gravity and satellite modes use a spherical, non-rotating body and circular orbits. These are the textbook approximations, accurate to a few parts in a thousand of the effect for the Earth; navigation systems add the remaining corrections.
More questions
What is the twin paradox?
One twin flies to a distant star at high speed and returns to find the stay-at-home twin older. It seems symmetric, since each sees the other moving, but it is not: the travelling twin changes direction, switching between frames, while the Earth twin stays in one. When the turnaround is included, both agree that the traveller has aged less.
Can anything with mass reach the speed of light?
No. As speed approaches c, γ grows without limit, and so does the energy needed to go faster. Particle accelerators push protons to 0.999 999 99c, where γ is about 7,000, but never to c itself. Only massless particles such as photons travel at exactly c.
Is time dilation an illusion caused by signal delays?
No. The formulas already correct for the time light takes to travel. The effect is real and lasting: atomic clocks flown around the world, muons from cosmic rays and particles stored in accelerator rings all age less than their stationary counterparts, and the clocks stay behind when they come back.
Does length contraction mean objects are squashed?
Only along the direction of motion, and only as measured from a frame in which the object moves. In its own frame an object always has its proper length. A spaceship at 0.8c is 60% as long as at rest when measured from Earth, while its crew notice nothing.
What is gravitational redshift?
The same effect as gravitational time dilation, seen in light. Light climbing out of a gravity well arrives with a lower frequency, shifted towards red, because the clock that emitted it was ticking slowly. Pound and Rebka measured it in 1959 over the 22.5 m height of a tower at Harvard.
Sources
- OpenStax University Physics Volume 3, §5.3 Time Dilation
- OpenStax University Physics Volume 3, §5.4 Length Contraction
- Neil Ashby, "Relativity in the Global Positioning System", Living Reviews in Relativity 6 (2003)
- Neil Ashby, "Relativity and the Global Positioning System", Physics Today 55(5), 41 (2002)
- NIST CODATA: speed of light in vacuum
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.