What is gravitational time dilation?
According to Einstein's general theory of relativity, clocks run slower in stronger gravitational fields. A clock deep in the gravity well of a massive body ticks more slowly than an identical clock far away. This calculator uses the Schwarzschild solution to quantify that effect: given the mass of a body, your distance from its center, and the time elapsed for a distant observer, it returns the proper time experienced close to the mass.
How to use it
Enter three values: the mass of the gravitating body in kilograms, the radial distance r from its center in meters, and the far-away time in seconds. The tool outputs the proper time t₀, the dimensionless dilation factor, and the difference between the two clocks. Scientific notation such as 5.972e24 is accepted.
The formula explained
The core equation is $$t_0 = \text{Time far}\sqrt{1 - \frac{2G\,\text{Mass}}{\text{Radius}\,c^{2}}}$$ where \(G = 6.67430\times10^{-11}\ \text{N}\cdot\text{m}^2/\text{kg}^2\) and \(c = 299{,}792{,}458\ \text{m/s}\). The quantity \(2GM/c^2\) is the Schwarzschild radius. As \(r\) approaches the Schwarzschild radius, the term under the square root approaches zero and time effectively stops for a distant observer — this marks the event horizon of a black hole.
Worked example
For Earth (\(M = 5.972\times10^{24}\ \text{kg}\)) at its surface (\(r = 6{,}371{,}000\ \text{m}\)), the term \(2GM/(rc^2) \approx 1.39\times10^{-9}\). The dilation factor is about \(0.9999999993\), so for every 1 second far away, a surface clock records roughly \(0.9999999993\) seconds — a difference of about \(7\times10^{-10}\ \text{s}\) per second, accumulating to tens of microseconds per year. This is why GPS satellites must correct for relativity.
Constants and Reference Values
The calculator uses the Schwarzschild time-dilation relation \(t_0 = t_{far}\sqrt{1 - \frac{2GM}{rc^{2}}}\). Use SI units: mass in kg, radius in metres (measured from the centre of the body), and time in any unit.
| Quantity | Symbol | Value | Unit |
|---|---|---|---|
| Gravitational constant | G | 6.67430×10⁻¹¹ | m³·kg⁻¹·s⁻² |
| Speed of light | c | 299,792,458 | m/s |
| Solar mass | M☉ | ≈ 1.989×10³⁰ | kg |
| Sun radius | R☉ | ≈ 6.957×10⁸ | m |
| Earth mass | M⊕ | ≈ 5.972×10²⁴ | kg |
| Earth mean radius | R⊕ | ≈ 6.371×10⁶ | m |
| Moon mass | M☾ | ≈ 7.342×10²² | kg |
| Moon radius | R☾ | ≈ 1.737×10⁶ | m |
The Schwarzschild radius is \(r_s = \frac{2GM}{c^{2}}\). It is about 8.87 mm for Earth and about 2.95 km for the Sun. The formula can be written as \(\sqrt{1 - r_s/r}\).
Interpreting Your Result
The square root \(\sqrt{1 - r_s/r}\) is the dilation factor. It is the ratio of the clock's elapsed time to the elapsed time of a distant observer.
- Factor very close to 1 means a weak field. Ordinary planets and stars give this. At Earth's surface \(r_s/r \approx 1.4×10^{-9}\), so the factor is about 0.9999999993. At the Sun's surface the factor is about 1 − 2.1×10⁻⁶.
- Factor toward 0 means a strong field. Clocks run extremely slowly as \(r\) approaches \(r_s\), the horizon of a black hole.
Time difference. The gap between the far time and the local time is the lag the near clock accumulates relative to a distant static observer. As a rough scale, a clock at Earth's surface lags a clock infinitely far away by about 0.02 s per year. For the Sun's surface the figure is about a minute per year.
Limits of the model.
- The formula holds for a static observer outside a non-rotating, uncharged, spherically symmetric mass. A rotating body needs the Kerr metric instead.
- The result covers only gravitational dilation. Velocity effects from special relativity, such as an orbiting clock's motion, are not included. They must be calculated separately and combined.
- The result of 0 when \(r \le r_s\) marks the limit where the formula stops being valid. It is not a physical measurement, because no static observer can exist at or inside the horizon.
FAQ
Does a clock run faster or slower in gravity? Slower. The deeper in the gravity well, the slower it ticks relative to a distant clock.
What if r is below the Schwarzschild radius? The term under the root goes negative; the calculator clamps the factor to 0, since the standard exterior formula no longer applies inside the event horizon.
Is this special or general relativity? This is gravitational (general relativity) time dilation. It is separate from velocity-based special-relativity time dilation.