Works on this device
Time Dilation Calculator
Moving clocks run slow, and so do clocks deep in a gravity field. Work out the time dilation from a speed (special relativity), near a planet, a star or a neutron star (general relativity), or for a trip to a star at a steady speed.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use this calculator
- Choose a task: time dilation from a speed, gravitational time dilation, or a space trip.
- For a speed, choose its unit. With "c" you type a fraction of the speed of light, such as 0.8; you can also use % of c, km/s, m/s, km/h or mph.
- For gravity, choose a mass (Earth, Sun or Jupiter masses, or kilograms) and the distance of the clock from the centre. Examples fills in the Earth, a GPS orbit, the Sun, a white dwarf or a neutron star.
- Choose Calculate. The answer shows both times, their difference and how much a clock falls behind per day.
The formulas
- Special relativity: Δt = γ × Δτ, with the Lorentz factor γ = 1 ÷ √(1 − v² ÷ c²). Δτ is the proper time on the moving clock; Δt is the time for an observer who sees it move.
- Gravity (Schwarzschild): dτ/dt = √(1 − 2GM ÷ (r c²)) for a clock at rest at the distance r from the centre of a round mass M, against a clock far away. 2GM ÷ c² is the Schwarzschild radius.
- Space trip: Δt = d ÷ v on Earth, and Δτ = Δt ÷ γ on the ship.
- At everyday speeds γ − 1 is tiny. This tool works it out as β² ÷ (√(1 − β²) × (1 + √(1 − β²))), with β = v ÷ c, so that the small difference keeps its digits.
Worked examples
A clock at 0.8 c. γ = 1 ÷ √(1 − 0.64) = 1 ÷ 0.6 = 1.6667. One year on the moving clock is 1.6667 years for the observer.
A trip of 10 light-years at 0.8 c. It takes 10 ÷ 0.8 = 12.5 years on Earth, but 12.5 ÷ 1.6667 = 7.5 years on the ship. For the travellers the distance is only 6 light-years.
A clock on the Earth. With GM = 3.986004 × 10^14 m³/s² and the equatorial radius 6,378.1 km, a clock on the surface runs slow by 6.9535 × 10^-10 against a clock far away: about 60.1 µs a day.
A GPS satellite. At a radius of 26,560 km the weaker gravity makes its clock gain about 45.7 µs a day against a clock on the ground. Its speed of about 3.87 km/s makes it lose about 7.2 µs a day. Together that is about 38 µs a day.
A neutron star of 1.4 Sun masses and 12 km radius: a clock on its surface runs at 0.8096 of the rate of a far clock.
Limits you should know
- The speed calculation is for a steady speed. The time to speed up, slow down and turn round is not included.
- The gravity calculation is for a clock at rest outside a round mass that does not rotate. For a satellite, work out the effect of its speed as well and add the two.
- Masses of the Earth, the Sun and Jupiter are given as GM, with the IAU 2015 nominal values. A mass in kilograms is multiplied by G = 6.67430 × 10^-11 m³/(kg·s²) (CODATA). The white dwarf and neutron star are example values, not a particular star.
- A year here is the Julian year of 365.25 days, the year that defines the light-year.
- Answers are shown to the significant figures of your least precise input. The Lorentz factor and clock rates are shown with more digits so that small changes can be seen.
- For the Lorentz factor, lengths and the time along a path, see the Lorentz Factor Calculator, the Length Contraction Calculator and the Proper Time Calculator.