⏱️ Time Dilation & Length ContractionRelativity🇺🇦 Українська
Velocity
Speed v / c
0.6000 c
Presets
Options
Show Minkowski diagram
Animate clocks
Show proper time
Relativistic Values
Lorentz γ1.250
v / c0.600
Time ratio τ/t0.800
Length ratio L/L₀0.800
Relativistic p0.750 mc
Kinetic E0.250 mc²
γ − 12.500e-1
Clock lag / day17280 s
γ = 1/√(1 − v²/c²)
Time dilation: t = γ·τ — moving clocks run slow.
Length contraction: L = L₀/γ — moving rulers
shrink.
The Minkowski diagram shows world lines: the tilted axis belongs
to the moving frame. Events simultaneous in one frame are not in
another.
Only special relativity here. The
“Clock lag / day” readout is the purely kinematic slowing
(1 − 1/γ)·24 h. In orbit, gravity also acts: a GPS satellite’s clock
loses ≈7.2 µs/day from its speed but gains ≈45.9 µs/day from
the weaker gravitational potential, so it runs ≈38.6 µs/day fast
overall. This simulation models only the −7.2 µs/day part.
Clock comparison — rest frame (left) vs moving frame (right)
Length contraction — rest ruler (top) vs contracted ruler
Minkowski spacetime diagram — ct vs x
About Time Dilation & Length Contraction
This simulation visualises the kinematic effects of Einstein's special relativity. As you raise the velocity of a moving observer, two synchronised clocks drift apart, a ruler shrinks along the direction of motion, and a Minkowski spacetime diagram tilts the moving frame's axes. Everything is driven by the Lorentz factor γ = 1/√(1 − v²/c²), with proper time τ = t/γ and contracted length L = L₀/γ.
The single velocity slider sets v/c on a logarithmic scale from 10⁻⁶c up to 0.9999c, so real orbital speeds and near-light speeds are both reachable, and preset buttons jump to physically meaningful cases such as the ISS (0.0000256c), a GPS satellite (0.0000129c), muon decay, an LHC proton and the γ = 2 point at 0.866c. Toggles reveal the Minkowski diagram, animate the ticking clocks and show proper time. The live readout reports γ, γ−1, time and length ratios, relativistic momentum p = γβmc, kinetic energy (γ−1)mc² and the kinematic clock lag per day. Only special relativity is modelled: for a GPS satellite the gravitational blueshift (+45.9 µs/day) is larger than, and opposite in sign to, the −7.2 µs/day of velocity time dilation shown here.
Frequently Asked Questions
What is time dilation?
Time dilation is the slowing of a moving clock as measured from a frame in which it is in motion. The simulation shows it through Bob's clock, which advances by the proper time tau = t divided by gamma while Alice's rest clock advances by the full coordinate time t. The faster Bob moves, the larger the gap between the two clock faces.
What is length contraction?
Length contraction is the shortening of an object along its direction of motion, given by L = L0 divided by gamma. The lower ruler in the simulation is the contracted one: at 0.866c it shrinks to half its rest length because gamma equals 2. Lengths perpendicular to the motion are unaffected.
What is the Lorentz factor gamma?
Gamma is defined as 1 divided by the square root of (1 minus v squared over c squared). It equals 1 when the object is at rest and grows without bound as the speed approaches c. It is the single number that scales both time dilation and length contraction, and the simulation displays it to four decimal places.
What does the velocity slider control?
The slider sets the speed as a fraction of the speed of light, v/c, on a logarithmic scale from 0.000001c to 0.9999c. Below 0.9c it is log-uniform in v/c, above it is log-uniform in (1 − v/c), so everyday orbital speeds and ultra-relativistic speeds are both resolvable. Every quantity in the panel, the clocks, the rulers and the Minkowski diagram updates instantly as you drag it.
What do the preset buttons do?
The presets load real or instructive velocities: the ISS at 7.66 km/s (0.0000256c, a kinematic clock lag of about 28 µs per day), a GPS satellite at 3.87 km/s (0.0000129c, about 7.2 µs per day), a cosmic-ray muon at 0.9941c, an LHC proton at 0.9999c, a twin paradox example at 0.5c, and 0.866c where gamma is exactly 2. Because the slider is logarithmic, the ISS and GPS presets give genuinely different readouts.
Why do moving muons reach the ground?
Muons created high in the atmosphere have a half-life of only about 2.2 microseconds, too short to reach the surface at nearly light speed in a naive calculation. At 0.9941c, gamma is roughly 9.2, so their clocks run slow enough that many survive the trip. From the muon's own frame the atmosphere is length contracted instead, giving the same result.
What is the Minkowski diagram showing?
It plots time (ct) vertically against space (x) horizontally. Alice's rest axes are drawn at right angles, while Bob's primed axes tilt inward by an angle theta = arctan(beta). The dashed 45-degree lines are the light cone, and the moving dots mark each observer's current event on their world line. The tilt illustrates why simultaneity is frame dependent.
Is this simulation physically accurate?
The core formulae are exact special relativity: gamma, the time and length ratios, momentum p = gamma times beta, and kinetic energy gamma minus one (in units of mc squared) are all computed directly. The clock and ruler animations are simplified illustrations rather than a full ray-traced view, but the numerical readouts are correct for any speed below c.
Why can the speed never reach exactly c?
As v approaches c, the term under the square root in gamma tends to zero, so gamma and the relativistic energy diverge to infinity. Accelerating a massive object to c would require infinite energy, which is why the slider caps at 0.9999c. Only massless particles such as photons travel at exactly c.
Does each observer see the other's clock slow down?
Yes. Time dilation is symmetric: each inertial observer measures the other's clock as running slow, because neither frame is privileged. The apparent paradox is resolved only when one observer accelerates or turns around, as in the twin paradox, which breaks the symmetry and produces a genuine difference in elapsed proper time.
How does relativistic momentum differ from the classical value?
Classical momentum is just mass times velocity, but the relativistic version is p = gamma times beta times mc, shown in the readout. Because gamma rises steeply near c, the momentum grows far faster than velocity alone would suggest, which is why a particle's speed barely increases even as accelerators pump in huge amounts of energy.
Where does time dilation matter in everyday technology?
The GPS system is the classic example, and it is worth being precise about it. A GPS satellite's clock loses about 7.2 µs per day because of its 3.87 km/s orbital speed — that is the special-relativistic effect this simulator computes — but it gains about 45.9 µs per day from the weaker gravitational potential at 20,200 km altitude, an effect of general relativity that this simulator does not model. The net result is a clock running roughly 38.6 µs per day fast, so the gravitational term dominates and has the opposite sign. Uncorrected, that drift would move fixes by about 10 km per day.