Special relativity

Time Dilation Calculator

How much slower does a moving clock tick? Enter a speed and get the exact Lorentz factor, the time a stationary observer measures, the length contraction and the relativistic kinetic energy — computed live in your browser.

Real Larzscript running in your browser454 automated checksOpen source · MITNo sign-up · your inputs never leave your device

Set the speed and the durations

Lorentz factor γ
—
Time a stationary observer measures
—
Difference between the two clocks
—
Contracted length (along the motion)
—
Kinetic energy per kilogram
—
Light from ahead / behind
—
Show the Larzscript program that just ran
Run a calculation to see the exact program.

This is the real program the page sent to the Larzscript interpreter (compiled to WebAssembly) in your browser. The library it imports is the same code the automated tests check.

What time dilation means

Einstein's special theory of relativity says that the rate at which a clock ticks depends on how fast it moves relative to you. A clock moving at speed v runs slow by the Lorentz factor:

Δt = γ · Δτ   where   γ = 1 / √(1 − v²/c²)

Here Δτ is the proper time — the time measured on the moving clock itself — and Δt is the longer time measured by an observer who sees it go by. Lengths along the direction of motion shrink by the same factor (length contraction), and the kinetic energy of a mass m is (γ − 1)mc², not the familiar ½mv², which is only its low-speed limit.

A worked example, computed above

At 99% of the speed of light the Lorentz factor is 7.0888121. One year on the moving clock therefore corresponds to 7.089 years for a stationary observer — a difference of 6.089 years. A 100 m spaceship measures 14.11 m long as it flies past, and each kilogram of it carries 5.472 × 10¹⁷ joules of kinetic energy.

Time dilation at different speeds

The table shows how much the moving clock lags after one year. Everyday speeds change the clock by far too little to notice without an atomic clock; only near the speed of light does the effect become dramatic.

Moving atSpeedLorentz factor γClock difference after 1 year
a jet airliner (900 km/h)0.25 km/s1 + 3.48 × 10⁻¹³10.97 µs
the International Space Station (7.66 km/s)7.66 km/s1 + 3.26 × 10⁻¹⁰10.3 ms
a GPS satellite (3.874 km/s)3.874 km/s1 + 8.35 × 10⁻¹¹2.635 ms
Earth orbiting the Sun (29.78 km/s)29.78 km/s1 + 4.93 × 10⁻⁹155.7 ms
Parker Solar Probe at closest approach (192 km/s)192 km/s1 + 2.05 × 10⁻⁷6.472 s
10% of light speed10% of c1.00503781.84 days
50% of light speed50% of c1.154700556.5 days
90% of light speed90% of c2.29415731.294 years
99% of light speed99% of c7.08881216.089 years
99.9% of light speed99.9% of c22.36627221.37 years
99.99% of light speed99.99% of c70.71244669.71 years

How accurate is this calculator?

γ is evaluated as 1/√((1−β)(1+β)) rather than 1/√(1−β²), so it stays accurate right up to the speed of light, and (γ−1) is computed without cancelling two nearly equal numbers, so the tiny slow-speed effects above are not lost to rounding. Both are checked against 50-digit decimal arithmetic in the library's test suite (Lorentz factor within 3 parts in 1015 from β = 10−9 to 1 − 10−12).

Limits: this is special relativity for uniform, straight-line motion. Real clocks near massive bodies also feel gravitational time dilation — see the black hole calculator for that, and the GPS correction in the library's relativity package, which combines both.

Frequently asked questions

Does time dilation really happen, or is it just theory?

It is one of the best-tested predictions in physics. Fast-moving muons created high in the atmosphere live long enough to reach the ground only because their clocks run slow; particle accelerators routinely keep unstable particles alive far longer than their rest-frame lifetime; atomic clocks flown on aircraft have disagreed with ground clocks by exactly the predicted amounts; and GPS satellites would drift by kilometres per day if engineers did not correct for relativity.

What is the Lorentz factor?

The Lorentz factor γ = 1/√(1 − v²/c²) is the number that multiplies time, divides length and scales energy and momentum in special relativity. It equals 1 at rest, 1.1547 at half the speed of light, 7.0888 at 99% of light speed, and grows without limit as the speed approaches c.

Why does the calculator reject speeds at or above the speed of light?

Because γ diverges at v = c: an object with mass would need infinite energy to reach it, and beyond it the formula gives imaginary numbers. Massless particles such as photons always travel at exactly c and do not have a rest frame, so time dilation does not apply to them.

How much do astronauts on the International Space Station age differently?

Special relativity alone says a clock moving at the station's 7.66 km/s runs slow by a factor of 3.26 × 10⁻¹⁰, which is about 10.3 ms per year. Gravity partly cancels that: the station is higher than the ground, so its clocks also run slightly fast, and the net effect is a few milliseconds per year.

Is time dilation symmetric — does each observer see the other's clock run slow?

Yes, for two observers in uniform relative motion each measures the other's clock running slow, and there is no contradiction because they disagree about which events are simultaneous. The twin paradox is resolved because only the travelling twin accelerates and changes reference frames, so the twins' histories are not symmetric.

Every number on this page is computed by the open-source larzscript-cosmos library (relativity, physconst, physmath), written in Larzscript, and checked against independent references in its test suite. How it is verified →

All physics calculators → · Science calculators hub · Chemistry calculators →