Consider a space ship traveling from Earth to the nearest star system outside of our solar system: a distance d = 4.45 light years away, at a speed v = 0.866c (i.e., 86.6 percent of the speed of light). The Earth-based mission control reasons about the journey this way (for convenience in this thought experiment the ship is assumed to immediately attain its full speed upon departure): the round trip will take t = 2d / v = 10.28 years in Earth time (i.e. everybody on earth will be 10.28 years older when the ship returns). The amount of time as measured on the ship's clocks and the aging of the travelers during their trip will be reduced by the factor \epsilon = \sqrt{1 - v^2/c^2}, the reciprocal of the Lorentz factor. In this case \epsilon = 0.500 \, and the travelers will have aged only 0.500×10.28 = 5.14 years when they return.
The ship's crew members also calculate the particulars of their trip from their perspective. They know that the distant star system and the Earth are moving relative to the ship at speed v during the trip. In their rest frame the distance between the Earth and the star system is εd = 0.5d = 2.23 light years (length contraction), for both the outward and return journeys. Each half of the journey takes 2.23 / v = 2.57 years, and the round trip takes 2×2.57 = 5.14 years. Their calculations show that they will arrive home having aged 5.14 years. The travelers' final calculation is in complete agreement with the calculations of those on Earth, though they experience the trip quite differently.
If a pair of twins are born on the day the ship leaves, and one goes on the journey while the other stays on Earth, they will meet again when the traveler is 5.14 years old and the stay-at-home twin is 10.28 years old. The calculation illustrates the usage of the phenomenon of length contraction and the experimentally verified phenomenon of time dilation to describe and calculate consequences and predictions of Einstein's special theory of relativity.