HomeArticlesSpecial Relativity

Time Dilation & Length Contraction: The Geometry Behind Special Relativity

How the Lorentz factor, derived from one postulate about the speed of light, stretches clocks, shrinks rulers, and resolves the twin paradox on a Minkowski diagram.

mysimulator teamUpdated June 2026≈ 8 min read▶ Open the simulation

One postulate, two consequences

Special relativity rests on a single strange fact confirmed by every experiment ever run: the speed of light in vacuum, c, is measured to be the same by every observer moving at constant velocity, regardless of how fast they or the light source are moving. Ordinary velocity addition -- if you throw a ball forward from a moving train, its speed relative to the ground is the train's speed plus the ball's speed -- simply does not apply to light. Einstein took that as a postulate rather than a puzzle to explain away, and time dilation and length contraction fall out as its unavoidable geometric consequences.

live demo · a ship accelerating toward light speed as the Lorentz factor climbs● LIVE

The Lorentz factor

Every relativistic effect in this simulation is governed by one quantity, the Lorentz factor γ, which depends only on speed v as a fraction of c:

gamma = 1 / sqrt(1 - v^2/c^2)

v = 0        -> gamma = 1        (no relativistic effect)
v = 0.6c     -> gamma = 1.25
v = 0.87c    -> gamma = 2
v -> c       -> gamma -> infinity

At everyday speeds gamma is indistinguishable from 1, which is why relativity never shows up driving a car. It only becomes noticeable once v is a sizeable fraction of c, and it diverges as v approaches c -- which is the mathematical reason nothing with mass can reach light speed: it would take infinite energy to push gamma to infinity.

Time dilation: moving clocks run slow

A clock moving at speed v relative to you ticks slower, by your measurement, than an identical clock at rest next to you:

delta_t_observed = gamma * delta_t_proper

delta_t_proper     time elapsed on the moving clock, in its own rest frame
delta_t_observed   time elapsed as measured by a stationary observer

This is not an illusion or a signal-delay artifact -- it is confirmed directly by particle physics (fast-moving muons created in the upper atmosphere survive long enough to reach the ground only because their internal decay clock runs slow in Earth's frame) and by atomic clocks flown on aircraft, which measurably lag identical ground clocks by amounts matching gamma to high precision. Crucially, the effect is symmetric: each observer, in their own frame, sees the other clock running slow, because "moving" itself has no absolute meaning in special relativity -- only relative motion between frames does.

Length contraction: moving rulers shrink

The companion effect: an object moving at speed v relative to you is measured, along its direction of motion only, to be shorter than its rest length:

L_observed = L_proper / gamma

L_proper    length measured in the object's own rest frame
L_observed  length measured by an observer watching it move past

Length contraction and time dilation are the same phenomenon seen from two frames: from the ship's own perspective, the ship is a normal length and it is the distance to the destination that has contracted, which is exactly why an astronaut experiencing severe time dilation feels no time running slow locally -- their own clock always reads normally in their own frame, and it is the length of the journey ahead of them that shrinks to match.

The twin paradox, resolved on a Minkowski diagram

Send one twin on a round trip near light speed and leave the other on Earth; the travelling twin returns younger. It looks paradoxical only if you insist both twins' viewpoints are symmetric -- they are not, because the travelling twin must accelerate to turn around and come back, while the Earth twin does not. A Minkowski diagram (position on one axis, time on the other, light rays at 45°) makes the asymmetry visible: the Earth twin's path through spacetime is a straight vertical line, but the travelling twin's path bends sharply at the turnaround. Since elapsed proper time along a path corresponds to that path's spacetime length, and (counter-intuitively, because of the geometry of spacetime) the straight path always accumulates more elapsed proper time than any bent path between the same two events, the twin who changed direction necessarily ages less. The acceleration itself does no direct damage to the traveller's aging -- it is the geometric fact of having taken a bent path through spacetime that produces the age gap.

Frequently asked questions

Does time dilation mean time actually slows down, or is it just an illusion?

It is real and measurable, not a visual trick or signal delay. GPS satellites must correct their onboard clocks for exactly this effect (plus general-relativistic gravitational time dilation) or the system would drift kilometres off within a day; fast-moving muons produced in the atmosphere reach the ground because their decay clock genuinely runs slow in Earth's frame.

Why doesn't the twin paradox violate the symmetry of relativity?

Relativity says the laws of physics are the same in every inertial (non-accelerating) frame -- it does not say every observer's experience must be symmetric. The travelling twin accelerates to turn around, which breaks the symmetry between the two twins; only the Earth twin stays in a single inertial frame the whole time, and a Minkowski diagram shows their straight path accumulates more proper time than the traveller's bent one.

Why can't anything with mass reach the speed of light?

The Lorentz factor gamma = 1/sqrt(1 - v^2/c^2) diverges to infinity as v approaches c, and the relativistic energy needed to accelerate a massive object scales with gamma. Reaching c would require infinite energy, which is why light speed is a limit approached asymptotically, never a speed you can accelerate a massive object through.

Try it live

Everything above runs in your browser — open Special Relativity and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open Special Relativity simulation

What did you find?

Add reproduction steps (optional)