The Twin Paradox: Time Dilation Spacetime Diagram

2D Canvas real equations

Two twins, two clocks, one round trip at relativistic speed: see exactly why one ages less.

Controls

Readout

What you are seeing

Twin paradox. One twin stays on Earth, the other travels out and back. The diagram shows both worldlines; the traveller's dots (one per year on her own clock) are spaced further apart in Earth time. When the trip ends she has aged less, and the two clocks you see on the left drift apart. The asymmetry is real: only the traveller turns around (changes inertial frame), so her worldline is the shorter path in spacetime. The 1 g mode replaces the sudden turnaround with constant proper acceleration, like a comfortable spaceship.

Self-checks

The science

Proper time along a worldline: tau = integral sqrt(1 - v(t)^2) dt (c = 1). For constant speed out and back over distance L, t = 2L/v and tau = t / gamma, gamma = 1/sqrt(1-v^2). For constant proper acceleration g, rapidity grows as phi = g tau, x = (cosh phi - 1)/g, t = sinh(phi)/g, so covering distance d from rest takes tau = (1/g) acosh(1 + g d). A full trip is four such half-legs (accelerate, brake, accelerate back, brake), giving tau = (4/g) acosh(1 + g D/2) for one-way distance D. The checks integrate numerically and compare with those formulas.

Simplifications: ideal clocks, flat spacetime, no gravity, instantaneous turnaround in the coasting mode (the acceleration is not modelled and does not change the result at this level). This is time dilation, a tested effect (muon lifetimes, atomic clocks on aircraft); it is not time travel to the past.