Gravitational Time Dilation Calculator

Compute how much slower a clock runs in a gravitational field or at high velocity, with annual drift readout.

🕰️ Gravitational Time Dilation Calculator
Central Mass
Distance from Center
Velocity (% of c)90.0000 % c
0%99.9999%
Dilation Factor (α)
Clock Rate
Annual Clock Drift
Schwarzschild Radius
Dilation Factor (α)
Lorentz Factor (γ)
Annual Clock Drift

🕰️ What is the Gravitational Time Dilation Calculator?

Gravitational time dilation is one of the central predictions of Einstein's general theory of relativity: clocks in stronger gravitational fields run slower than clocks in weaker ones. This calculator computes the time dilation factor for two distinct physical scenarios, the Schwarzschild gravitational case and the special relativistic velocity case, giving you both the dimensionless factor and the practical annual clock drift in human-readable units.

In the gravitational (Schwarzschild) mode you enter a central mass (a star, neutron star, or black hole) and an observation distance. The calculator computes the dilation factor alpha = sqrt(1 - r_s/r), where r_s is the Schwarzschild radius of the mass. This tells you how much slower a clock at that distance runs compared to a clock infinitely far away. Practical applications include understanding GPS satellite corrections, estimating time passage near neutron stars, and studying the environment around black holes.

In the velocity (Lorentz) mode you enter a velocity as a percentage of the speed of light. The calculator returns the Lorentz factor gamma and the dilation factor alpha = 1/gamma, telling you how much slower a moving clock runs compared to a stationary one. This is special relativistic time dilation (no gravity), relevant to particle accelerators, hypothetical interstellar travel, and thought experiments about twins.

A common confusion is between the dilation factor and the clock rate percentage. A factor of 0.766 means the clock runs at 76.6% of normal speed, losing 23.4% of time compared to a reference at infinity. The annual drift converts this to concrete terms: a factor of 0.766 means the clock loses about 85.5 days every year. This calculator makes that connection explicit so the effect is immediately tangible.

📐 Formula

Gravitational: α  =  √(1 − rs ÷ r)  =  √(1 − 2GM ÷ rc²)
α = time dilation factor (dimensionless, 0 to 1)
rs = Schwarzschild radius = 2GM/c² (metres)
G = gravitational constant = 6.674 × 10−11 m³ kg−1 s−2
M = central mass (kg)
r = distance from centre of mass (metres, must be > rs)
c = speed of light = 2.998 × 108 m/s
Velocity: α  =  √(1 − v² ÷ c²)  =  1 ÷ γ
v = velocity (m/s); enter as percentage of c in this calculator
γ = Lorentz factor = 1/α
Annual drift = |1 − α| × 31,557,000 seconds, expressed in the most human-readable unit
Source: Einstein, A. (1905). On the electrodynamics of moving bodies. Annalen der Physik, 17, 891. Einstein, A. (1916). The foundation of the general theory of relativity. Annalen der Physik, 49, 769.

📖 How to Use This Calculator

Steps

1
Choose the dilation type - select Gravitational (Schwarzschild) for gravity-induced dilation near a mass, or Velocity (Lorentz) for motion-induced dilation.
2
Enter the mass and distance (gravity mode) - type the central mass in solar masses, Earth masses, or kilograms, and the observation distance in km, AU, or meters. The calculator validates that you are outside the event horizon.
3
Drag the velocity slider (velocity mode) - adjust the velocity as a percentage of the speed of light from 0 to 99.9999%. The Lorentz factor and dilation update in real time.
4
Read the dilation factor and annual drift - the dilation factor alpha tells you what fraction of normal time passes. Annual drift tells you how many seconds, minutes, hours, or days per year the slower clock falls behind.

💡 Example Calculations

Example 1 — Neutron star surface (M = 1.4 M☉, r = 10 km)

Clock on a typical neutron star surface

1
Schwarzschild radius: r_s = 2 × 6.674e-11 × 1.4 × 1.989e30 / (2.998e8)² = 4.135 km.
2
Dilation factor: α = sqrt(1 − 4.135 / 10) = sqrt(0.5865) = 0.76580786.
3
Annual drift = (1 − 0.76581) × 31,557,000 s = 7,391,600 s = 85.537 days/yr.
Dilation factor = 0.76580786 | Clock rate = 76.581% | Annual drift = 85.537 days/yr
Try this example →

Example 2 — Sun's surface (M = 1 M☉, r = 695700 km)

Clock on the surface of the Sun

1
Schwarzschild radius of the Sun: r_s = 2 × 6.674e-11 × 1.989e30 / c² = 2.954 km.
2
Dilation factor: α = sqrt(1 − 2.954 / 695700) = sqrt(0.99999575) = 0.99999788.
3
Annual drift = (1 − 0.99999788) × 31,557,000 s = 66.8 s = 1.117 min/yr.
Dilation factor = 0.99999788 | Clock rate = 99.9998% | Annual drift = 1.117 min/yr
Try this example →

Example 3 — Velocity dilation at 99% of c

A spacecraft travelling at 99% of the speed of light

1
Dilation factor: α = sqrt(1 − 0.99²) = sqrt(0.0199) = 0.141067.
2
Lorentz factor: γ = 1 / 0.141067 = 7.0888.
3
Annual drift = (1 − 0.141067) × 31,557,000 = 27,102,100 s = 313.719 days/yr.
Dilation factor = 0.141067 | Lorentz factor = 7.0888 | Annual drift = 313.719 days/yr
Try this example →

❓ Frequently Asked Questions

What is gravitational time dilation?+
Gravitational time dilation is the slowing of time in a stronger gravitational field, predicted by general relativity and confirmed experimentally. A clock deeper in a gravity well ticks slower than one further out. It has been measured precisely in GPS satellites, the Pound-Rebka experiment, and atomic clocks at different altitudes.
How do you calculate the gravitational time dilation factor?+
Use the Schwarzschild formula: alpha = sqrt(1 - r_s/r), where r_s = 2GM/c^2 is the Schwarzschild radius and r is your distance from the centre of the mass. The result alpha ranges from 1 (no dilation, at infinity) down toward 0 (extreme dilation, at the event horizon).
What is the Lorentz factor?+
The Lorentz factor gamma = 1 / sqrt(1 - v^2/c^2) describes how much a moving clock is dilated relative to a stationary one in special relativity. A clock moving at velocity v ticks at 1/gamma of the rate of a stationary clock. At 99% c, gamma is approximately 7.09; at 99.9% c it is approximately 22.4.
How much does gravity slow time on the surface of a neutron star?+
For a typical neutron star (1.4 solar masses, 10 km radius) the dilation factor is about 0.766. A clock there runs at 76.6% of the rate of a distant clock, losing about 85.5 days per year. This is one of the largest gravitational time dilation effects accessible in known physics outside of black holes.
Why do GPS satellites need relativistic corrections?+
GPS satellites orbit at ~20,200 km altitude. Gravitational dilation (weaker gravity at altitude) makes their clocks run faster by about 45 microseconds per day. Velocity dilation (orbital speed ~3.87 km/s) slows them by about 7 microseconds per day. The net gain of roughly 38 microseconds per day would accumulate to position errors of about 10 km per day without correction.
What does a dilation factor of 0.5 mean?+
A dilation factor of 0.5 means the clock at that location (or velocity) ticks at exactly half the rate of a reference clock. For every 2 seconds of reference time only 1 second of proper time elapses. The annual drift is (1 - 0.5) times 31,557,000 seconds = 15,778,500 seconds = approximately 182.6 days per year.
Is time dilation from gravity and velocity combined?+
Yes, in reality both effects act simultaneously. For an orbiting satellite the total dilation is alpha_total = sqrt(1 - r_s/r) times sqrt(1 - v^2/c^2). This calculator handles each independently for pedagogical clarity; you can multiply the two factors together manually to combine them.
What happens at the Schwarzschild radius?+
At r = r_s the formula gives alpha = 0, meaning time appears to stop for an outside observer. This is the event horizon of a Schwarzschild (non-rotating) black hole. An infalling observer experiences finite proper time and crosses the horizon, but from outside they are never seen to reach it.
How accurate is the Schwarzschild approximation?+
The Schwarzschild metric is exact for a non-rotating, uncharged, spherically symmetric mass in vacuum. For most stars and neutron stars this is an excellent approximation. Rapidly rotating objects (Kerr metric) require a more complex formula, and the ergosphere introduces additional effects not captured here.
What is the annual drift for Earth's surface?+
On Earth's surface (mass = 5.972e24 kg, radius = 6.371e6 m) the dilation factor is approximately 0.9999999993. Clocks at Earth's surface lose about 0.69 microseconds per year compared to a clock at infinity (not accounting for Earth's rotation or altitude). This is about 22 nanoseconds per day.

What is gravitational time dilation?

Gravitational time dilation is the phenomenon by which a clock in a stronger gravitational field (closer to a massive object) runs slower than a clock farther away. Predicted by Einstein's general theory of relativity, it has been confirmed by experiments such as the Pound-Rebka experiment (1959) and GPS satellite corrections applied daily.

What is the formula for gravitational time dilation?

The Schwarzschild metric gives the time dilation factor alpha = sqrt(1 - r_s/r), where r_s = 2GM/c^2 is the Schwarzschild radius of the mass M and r is the distance from the center of mass. A clock at distance r ticks at rate alpha relative to a clock at infinity.

How do I calculate the Lorentz factor for velocity time dilation?

The special relativistic dilation factor is alpha = sqrt(1 - v^2/c^2) = 1/gamma, where gamma is the Lorentz factor and v is the velocity as a fraction of c. A clock moving at velocity v ticks at rate alpha relative to a stationary observer.

What does the annual drift result mean?

Annual drift is the cumulative time difference between two clocks after one year. For example, a clock on a neutron star surface loses about 85.5 days per year compared to a distant clock. A GPS satellite clock gains about 45 microseconds per day due to gravity (partially offset by velocity dilation).

Why is the Schwarzschild radius shown in the results?

The Schwarzschild radius r_s = 2GM/c^2 is an intermediate result in the time dilation formula. Knowing it lets you check whether your chosen distance is safely outside the event horizon. If you enter a distance less than or equal to r_s, the calculator returns an error because time dilation is undefined inside the horizon.

How much does gravity slow time on Earth's surface?

On Earth's surface (M = 5.972e24 kg, r = 6.371e6 m), the dilation factor is approximately 1 - 6.95e-10. Clocks on Earth's surface lose about 21.9 microseconds per year compared to a hypothetical clock at infinite distance. This is why GPS systems must apply relativistic corrections.

Can time dilation be combined for gravity and velocity?

Yes, but this calculator handles them separately for clarity. The combined dilation (as in a satellite orbit) requires integrating both: alpha_total = sqrt(1 - r_s/r) * sqrt(1 - v^2/c^2). The gravitational component makes clocks run faster at higher altitude; the velocity component makes them run slower. For GPS satellites the gravitational effect dominates.

What happens at the Schwarzschild radius?

At r = r_s the dilation factor alpha = 0, meaning a clock there appears frozen to an outside observer. Proper time still passes for an infalling observer, but from the outside the clock never crosses the event horizon. The formula breaks down at and below r_s.

What is the time dilation at 99.9% of the speed of light?

At 99.9% c the Lorentz factor gamma = 1/sqrt(1 - 0.999^2) approximately 22.37. The dilation factor alpha = 1/22.37 approximately 0.04472. A clock at that speed ticks once for every 22.37 ticks of a stationary clock, losing about 0.955 years per calendar year (about 348 days per year).

What is the dilation on a neutron star surface?

For a typical neutron star (1.4 solar masses, radius 10 km), r_s = 4.135 km and r = 10 km, giving alpha = sqrt(1 - 4.135/10) = 0.7658. A clock on the surface runs at 76.6% of the rate of a distant clock, losing about 85.5 days per year.