Saved

Press the star next to a tool's name to save it.

All my tools

Gravitational Time Dilation Calculator

Use this gravitational time dilation calculator to find how much slower a clock runs near a planet, a star or a black hole, from the mass and the distance from its centre.

Restored your last values ·

Choose US or metric units. Enter the mass of the object and the distance from its centre, which is its radius plus your height above the surface. Add a time interval to see the lag over that interval. To compare two places, fill in the optional second mass and distance too.

Everything is worked out in your browser. Nothing you type is sent anywhere.

–

–

Enter the mass and the distance from its centre, then press Calculate.

See full result

A gravitational time dilation calculator shows how much slower a clock runs close to a massive object than a clock far away from any mass. Enter the mass and the distance from its centre. You get the rate factor, the time lost over an interval and, if you wish, a comparison with a second place.

How to use the gravitational time dilation calculator

  1. Choose US or metric units.
  2. Enter the mass and the distance from its centre.
  3. Optionally set a time interval, or add a second mass and distance to compare.
  4. Press Calculate.

The formula

Wikipedia gives the proper time of a clock in gravity as Δt′ = Δt √(1 − 2GM ÷ (r c²)), where Δt is the interval far from any mass, M is the mass and r is the distance from its centre [1]. The constants are G = 6.6743 × 10⁻¹¹ N·m²/kg² [2] and c = 299,792,458 m/s [3]. The same factor can be written with the Schwarzschild radius as √(1 − r_s ÷ r) [1]. Near a mass, a clock ticks more slowly.

Radius from the centre

The radius is measured from the centre of the object. Wikipedia describes the radial coordinate as analogous to the distance from the centre of the object [1]. For a point above the surface, add the altitude to the radius of the object. For a clock on the ground, use the radius of the planet. For a satellite, use the planet's radius plus the height of its orbit. The calculator rejects a radius at or inside the Schwarzschild radius 2GM ÷ c², where the formula no longer works.

Earth's surface

Wikipedia says that a clock on the surface of the Earth gains around 0.0219 fewer seconds in a year than a distant clock [1]. With the mass 5.972e24 kg and a radius of 6,371 km, our tool gives a lag of 0.021967 seconds over a year of 365.25 days, which agrees. The rate factor is 0.999999999304: the effect is real but tiny, about seven parts in ten billion.

The Sun

The same article says a clock at the surface of the Sun falls behind by around 66.4 seconds in a year [1]. With 1.989e30 kg and 695,700 km our tool gives 67.0 seconds. The 1 percent difference is due to the input values and the year length we assume, and it is our assumption that this is the cause, since the article does not list its inputs.

Comparing two places

Fill in the optional second mass and distance and the tool compares two clocks over the same far-away interval. With the Sun at 695,700 km as the first place and the Earth at 6,371 km as the second, the clocks differ by 66.979 seconds a year, and the first one is slower. This is close to the difference between the Wikipedia figures for the Sun and the Earth, about 66.4 seconds a year [1].

Why it matters

Gravitational time dilation is not just theory. Wikipedia notes that GPS satellites had their atomic clocks permanently corrected for the effect [1]. We do not repeat a figure in microseconds, because the article does not give one. In the 1971 Hafele and Keating experiment, atomic clocks flown around the world on airliners gave results consistent with relativity [4]. Motion also slows clocks, and that is a separate effect.

Time interval

The optional interval is a time measured far from any mass. Choose seconds, hours, days or years; a year is 365.25 days, which is our convention. The tool reports how much a clock at your place falls behind, using a form of the formula that avoids rounding errors, because the lag is a tiny difference of two numbers that are almost the same. The result line also gives the lag over one year, for easy comparison.

Black holes

The formula applies at any distance outside the Schwarzschild radius, but the effect becomes large only near it. Close to the Schwarzschild radius, the factor √(1 − r_s ÷ r) approaches zero, so a clock there runs far slower than one far away [1].

US units

In US mode, the mass is in pounds and the distance is in miles. We convert with 0.45359237 kilograms per pound and 1,609.344 metres per mile. For planets and stars, metric is simpler, since masses are quoted in kilograms. The results are the same in both modes, apart from rounding of the example values.

Limits

The calculator is for a clock at rest relative to one non-rotating mass. It does not add the slowing due to speed, the spin of the body or the pull of other bodies. For an orbiting clock, the velocity effect must be added separately. For everyday heights on Earth the lag is minute, so use the calculator to see the size of the effect rather than as a timekeeping tool.

Reading the rate factor

The rate factor is the number by which a clock rate is multiplied. It is just below 1, so it is easier to read as the amount below 1. For the Earth's surface, that amount is about 6.96 × 10⁻¹⁰, which is half of 2GM ÷ (r c²) to a very good approximation. This is our own working from the formula, and it is the reason that the tool reports the lag directly, in seconds. Multiply the amount by any interval to get the time lost over that interval.

Common mistakes

  • Using the surface height as the radius. Use the distance from the centre.
  • Entering the mass in the wrong unit. Check kilograms or pounds.
  • Expecting a large effect on Earth. It is a fraction of a second a year.
  • Ignoring speed. Motion adds a separate slowing.

What next

Use this often? Add Gravitationa to your Home screen.

Frequently asked questions

What is a gravitational time dilation calculator?

A tool that finds how much slower a clock runs near a massive object than a clock far from any mass.

What formula does it use?

Δt′ = Δt times the square root of 1 − 2GM ÷ (r c²), with r measured from the centre of the mass.

How much time does a clock on Earth lose?

About 0.022 seconds a year compared with a clock far from the Earth.

What is the Sun figure?

About 67 seconds a year at the Sun's surface in this tool; the cited article gives 66.4.

Does it include the effect of speed?

No. Motion causes a separate slowing that this calculator does not add.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Unit Converters