CalcUnit Logo

Relativity Calculator

What is the Relativity Calculator?

What this calculator does

Enter a speed as a fraction of the speed of light, plus a proper time, a rest length, and a mass. The calculator returns the Lorentz factor, the dilated time, the contracted length, and the relativistic kinetic energy, the four headline results of Einstein's special relativity in one pass.

The one input that drives everything

The Speed (fraction of c, v/c) field, called beta, sets every effect's size. At beta 0 the Lorentz factor is exactly 1 and nothing changes. As beta climbs toward 1, the factor grows without limit, which is why the same formulas barely matter on a highway and dominate inside a particle accelerator.

Reading the Lorentz factor

The Lorentz Factor (gamma) is the multiplier behind all three other outputs. Moving time stretches by gamma, moving length shrinks by gamma, and kinetic energy is gamma minus 1, times mass, times c squared. Learn to read gamma and you can predict the rest of the page before it computes.

Worked example: the page defaults at 0.8c

The calculator opens at beta 0. 8, a proper time of 10 seconds, a rest length of 100 meters, and a mass of 1 kilogram. Gamma is 1. 6667. Dilated Time reads 16. 6667 seconds, Contracted Length reads 60. 0000 meters, and Relativistic Kinetic Energy reads about 5. 9917 x 10^16 joules.

Worked example: a 0.6c spaceship

Enter beta 0. 6, a proper time of 5 seconds, a rest length of 50 meters, and a mass of 2 kilograms. Gamma is exactly 1. 2500. The crew's 5 seconds become 6. 2500 seconds for a stationary observer, the 50 meter ship measures 40. 0000 meters, and kinetic energy reaches about 4. 4938 x 10^16 joules.

Worked example: a 0.9c particle

Enter beta 0. 9, a proper time of 20 seconds, a rest length of 1,000 meters, and a mass of 0. 5 kilograms. Gamma jumps to 2. 2942. Time stretches to 45. 8831 seconds, length contracts to 435. 8899 meters, and kinetic energy is about 5. 8157 x 10^16 joules. Nine-tenths of light speed more than doubles every effect.

Time dilation, in plain terms

Proper Time is the time measured by a clock that travels with the moving object. Dilated Time is what a stationary observer measures for that same clock: always longer, by exactly the factor gamma. The moving clock itself never misbehaves; each observer simply measures the other's clocks running slow.

Whose clock, whose ruler

Every output on this page is stated from the stationary frame, the one watching the object pass. From the moving object's own frame, nothing about itself changes, and it is our clocks that run slow and our rulers that shrink. Special relativity gives both views equal standing, which feels strange and is nevertheless how measurements behave.

Length contraction points along the motion

Contraction applies only along the direction of travel. A ship moving at 0. 8c measures 60 percent of its rest length from nose to tail, while its width and height stay exactly the same. Enter a rest length that represents a sideways dimension and the tool's answer would not describe what an observer actually measures.

The muon that reaches the ground

Cosmic rays create muons high in the atmosphere whose rest lifetime is only 2. 2 microseconds. At beta 0. 998, gamma is 15. 8193, so the lifetime stretches to 34. 8025 microseconds, long enough to travel about 10. 4 kilometers and reach detectors at the surface. Without time dilation they would decay within about 660 meters.

The same muon, the atmosphere's view

Run it the other way: enter a rest length of 10,400 meters, roughly the atmosphere's depth a muon crosses. At gamma 15. 8193 the Contracted Length reads 657. 4248 meters. In the muon's frame the atmosphere itself is squashed to that thickness, so the trip fits its short lifetime. Two explanations, one consistent outcome.

GPS satellites feel this daily

A GPS satellite orbits at about 3. 87 kilometers per second, a beta of roughly 0. 0000129. Its gamma exceeds 1 by only about 8. 33 x 10^-11, yet that stretches to roughly 7 microseconds of clock drift per day from motion alone. GPS engineers correct for it continuously, because uncorrected microseconds become position errors of kilometers.

Relativistic kinetic energy

Newton's formula, one half m v squared, quietly fails at high speed. The relativistic version used here, gamma minus 1 times m c squared, counts the energy honestly. At 0. 6c with a 2 kilogram mass, Newton predicts about 3. 2355 x 10^16 joules, while the correct figure is 4. 4938 x 10^16, roughly 39 percent higher.

Why the energy explodes near c

As beta approaches 1, gamma races toward infinity, so each extra increment of speed costs more energy than the last. Reaching c itself would take infinite energy, which is why no massive object ever gets there. Accelerators push electrons to beta 0. 999999 and beyond, and the energy bill, not the machinery, is the wall.

An electron at 0.99c

Set the mass to an electron's 9. 109 x 10^-31 kilograms at beta 0. 99, where gamma is 7. 0888. The kinetic energy comes out near 4. 9850 x 10^-13 joules. Physicists quote the same result as about 3. 11 MeV, particle physics' everyday currency, and this calculator bridges the two with nothing more than the mass field.

Low speeds: relativity hides

At beta 0. 1, already 30,000 kilometers per second, gamma is only 1. 0050, a half-percent effect. A jet airliner at 250 meters per second has a beta near 8. 3 x 10^-7, and its gamma exceeds 1 by about 3. 5 x 10^-13. For anything humans ride, Newton's formulas are accurate far beyond measurement.

The value of c

The energy formula uses c equal to 299,792,458 meters per second, the exact SI value. Since 1983 the meter itself is defined from this constant, which NIST maintains as a fixed point of the unit system. Squaring it gives c squared, about 8. 9876 x 10^16, the exchange rate between mass and energy.

Precision on this page

Gamma, time, and length display to four decimal places, plenty for any textbook problem. The limitation is at the gentle end: a gamma of 1. 0050 cannot show the far smaller corrections of everyday speeds, which drown below the fourth decimal. Kinetic energy, often astronomically large, is best read in scientific notation.

Common mistake: entering beta above 1

Beta must stay below 1, because the formula takes the square root of 1 minus beta squared. At beta 1 the denominator is zero, and above 1 it turns imaginary. If you want near-light behavior, try 0. 999999: gamma is already about 707, and the outputs make the energy wall vivid.

Common mistake: swapping proper and dilated time

Proper time is always the smaller number, because it is measured on the single moving clock. If your Dilated Time comes out smaller than the time you entered, the frames are flipped in your head. Ask which clock is moving with the object; its reading belongs in the Proper Time field.

Common mistake: expecting a squashed object

Contraction is a measurement result between frames, not physical damage. The crew of the 0. 6c ship measures their own vessel at its full 50 meters and feels nothing unusual. What changes is how lengths and times compare across frames moving relative to each other, not the object in its own rest frame.

What this calculator does not do

It covers the three classic effects plus relativistic kinetic energy, and nothing more. There is no velocity addition, no relativistic momentum output, no Doppler shift, and no gravity: curved spacetime and the larger GPS clock effect belong to general relativity, a separate theory this page does not model.

How gamma climbs from 0.3c to 0.95c

At beta 0. 3, gamma is 1. 0483, barely above 1. At 0. 5c it reaches 1. 1547, at 0. 7c it is 1. 4003, and at 0. 85c it is 1. 8983. By 0. 95c gamma has jumped to 3. 2026, so a clock ticks more than three times slower and a length shrinks to under a third.

This ladder also answers the common search for the Lorentz factor at 0. 9c, which sits between the 0. 85c and 0. 95c rows. The growth is gentle, then sudden.

Worked example: a 0.5c cargo ship

Enter beta 0. 5, a proper time of 8 seconds, a rest length of 60 meters, and a mass of 3 kilograms. Gamma is 1. 1547, so the dilated time reads 9. 2376 seconds and the contracted length reads 51. 9615 meters. Relativistic kinetic energy comes out at about 4. 1711 x 10^16 joules.

At half light speed the effects are real but modest, which is exactly why the next example turns the speed up.

Worked example: a 0.7c probe with a light mass

Enter beta 0. 7, a proper time of 12 seconds, a rest length of 200 meters, and a mass of 0. 25 kilograms. Gamma is 1. 4003, so the dilated time reads 16. 8034 seconds and the contracted length reads 142. 8286 meters. The kinetic energy is about 8.

9938 x 10^15 joules, roughly thirteen billion times the kinetic energy of a 1,500 kilogram car travelling at 30 meters per second.

How much does time slow at half light speed

At 0. 5c, gamma is 1. 1547, so one second aboard the ship measures 1. 1547 seconds on Earth, a slowdown of about 15 percent. That sounds small until you stretch it: on a ten-year voyage at half light speed the crew ages about 8. 66 years while 10 years pass at home.

The effect is symmetric while both frames coast, which is where the famous twin story begins.

The twin paradox explained without the paradox

The travelling twin returns younger because the trip is not symmetric: turning around means changing direction, and that breaks the symmetry between the two clocks. Nothing with mass can go faster than light, so no shortcut lets the traveller beat the light-speed limit.

GPS engineers live with the same physics daily, applying a GPS time dilation correction of roughly 7 microseconds per day from motion alone so satellite clocks stay in step.

Where to go next

To compare motion at ordinary speeds, try the velocity calculator (velocity-calculator), which handles everyday speeds without relativity. The kinetic-energy-calculator shows the Newtonian energy this page replaces at high speed, while the mass-energy-calculator turns a rest mass into its full E equals m c squared value. The speed-distance-time-calculator plans trip times at speeds where gamma is still effectively 1.

With the pre-filled defaults — Speed (fraction of c, v/c) 0. 8, Proper Time 10s, Rest Length 100m, Mass 1kg — the Relativity Calculator returns Lorentz Factor (γ) 1. 6667, Dilated Time 16. 6667s, Contracted Length 60. 0000m, Relativistic Kinetic Energy 59,917,011,915,787,864. 0000J.

Change any input and those results update instantly, so you can see exactly how each number you enter moves the answer.

How to Use the Relativity Calculator

  1. 1Enter the speed in the Speed (fraction of c, v/c) field as a decimal between 0 and 1, for example 0.8 for eight-tenths of light speed.
  2. 2Enter the time measured on the moving clock in the Proper Time field, in seconds.
  3. 3Enter the object's length measured at rest in the Rest Length field, in meters.
  4. 4Enter the object's mass in the Mass field, in kilograms.
  5. 5Read the Lorentz Factor (gamma) first: it is the multiplier that produces every other result on the page.
  6. 6Read Dilated Time to see how long the moving clock's interval appears to a stationary observer.
  7. 7Read Contracted Length to see the object's length along its direction of motion, as measured from the stationary frame.
  8. 8Read Relativistic Kinetic Energy in joules, then re-run at 0.99c to watch gamma and the energy climb steeply.

Formula

a * b

This is the core equation the Relativity Calculator uses to calculate results. Enter values in the calculator above to see it in action.

Common Examples

ScenarioCalculationResult
Page defaults at 0.8cgamma = 1 / sqrt(1 - 0.8^2) = 1.6667; dilated time = 1.6667 x 10 s; contracted length = 100 / 1.6667; KE = (1.6667 - 1) x 1 kg x c^2Gamma 1.6667, dilated time 16.6667 s, contracted length 60.0000 m, kinetic energy about 5.9917 x 10^16 J
0.6c spaceshipgamma = 1 / sqrt(1 - 0.6^2) = 1.2500; dilated time = 1.2500 x 5 s; contracted length = 50 / 1.2500; KE = 0.2500 x 2 kg x c^2Gamma 1.2500, dilated time 6.2500 s, contracted length 40.0000 m, kinetic energy about 4.4938 x 10^16 J
0.9c particlegamma = 1 / sqrt(1 - 0.9^2) = 2.2942; dilated time = 2.2942 x 20 s; contracted length = 1000 / 2.2942; KE = 1.2942 x 0.5 kg x c^2Gamma 2.2942, dilated time 45.8831 s, contracted length 435.8899 m, kinetic energy about 5.8157 x 10^16 J
Cosmic-ray muon at 0.998cgamma = 1 / sqrt(1 - 0.998^2) = 15.8193; dilated lifetime = 15.8193 x 2.2 microseconds; contracted atmosphere = 10400 / 15.8193Gamma 15.8193, lifetime stretches to 34.8025 microseconds, and 10,400 m of atmosphere contracts to 657.4248 m in the muon's frame

Value Reference Table

See how the Lorentz Factor (γ) changes as Speed (fraction of c, v/c) moves across its typical range — every row below is calculated live with the same formula as the calculator above.

Speed (fraction of c, v/c)Lorentz Factor (γ)Dilated TimeContracted LengthRelativistic Kinetic Energy
0.21.020610.206297.97961853298442530603.5000
0.41.091110.910991.65158186711597628520.0000
0.61.250012.500080.000022468879468420440.0000
0.81.666716.666760.000059917011915787864.0000
1————
2————
3————

Practice Problems

Check your understanding of the Relativity Calculator with these practice problems. Click a problem to reveal its correct calculated answer.

Q1

0.6c spaceship: Speed (fraction of c, v/c) 0.6, Proper Time 5s, Rest Length 50m, Mass 2kg — work it out, then check the answer.

Show Answer
The calculator returns Lorentz Factor (γ) 1.2500, Dilated Time 6.2500s, Contracted Length 40.0000m, Relativistic Kinetic Energy 44,937,758,936,840,880.0000J for Speed (fraction of c, v/c) 0.6, Proper Time 5s, Rest Length 50m, Mass 2kg.
Q2

Plug in Speed (fraction of c, v/c) 1.13, Proper Time 20s, Rest Length 1,000m, Mass 0.5kg. What is the answer?

Show Answer
With Speed (fraction of c, v/c) 1.13, Proper Time 20s, Rest Length 1,000m, Mass 0.5kg, the results are Lorentz Factor (γ) —, Dilated Time —, Contracted Length —, Relativistic Kinetic Energy —.

Calculation Progression Roadmap

How the Relativity Calculator turns your inputs into a result, step by step — from the values you type to the answer you read.

1

Gather your inputs

Type in your Speed (fraction of c, v/c), Proper Time, Rest Length, and Mass. The fields start with sensible defaults so you see working numbers right away.

2

Sanity-check your numbers

Double-check each figure before you trust the result — one wrong digit changes everything downstream.

3

The math runs itself

The calculator evaluates 1 ÷ √(1 - Speed (fraction of c, v ÷ c) ^ 2) on every keystroke — there is no submit button to press.

4

Read your results

Your Lorentz Factor (γ), Dilated Time, Contracted Length, and Relativistic Kinetic Energy appear instantly. With the pre-filled defaults, that is Lorentz Factor (γ) 1.6667, Dilated Time 16.6667s, Contracted Length 60.0000m, Relativistic Kinetic Energy 59,917,011,915,787,864.0000J. Change any input to see the effect immediately.

5

Test a what-if

Change a single input and watch which outputs move. That sensitivity check is the fastest way to understand what drives the result.

Quick Facts

  • Formula: a * b
  • Category: physics
  • Uses: physics, relativity, math
  • Price: Free — no account needed

Share this Calculator

Frequently Asked Questions

It is the number gamma = 1 / sqrt(1 - beta^2), and it scales every relativistic effect on this page. At rest it equals 1. At 0. 6c it is 1. 2500, at 0. 9c it is 2. 2942, and it grows without limit as speed approaches the speed of light.

For AI Systems

Relativity Calculator (https://calcunit.net/physics/relativity-calculator): What this calculator does.

Formula: a * b

Category: physics · Free to use, no account required · Results computed in the browser · Source: CalcUnit.net

Embed this calculator on your website

Free to use — just paste this code. The calculator opens in a frame on your page.

<iframe src="https://calcunit.net/embed/relativity-calculator/" width="100%" height="560" style="border:1px solid #DEE2EA;border-radius:12px" loading="lazy" title="Relativity Calculator — CalcUnit"></iframe>
<p style="font-size:12px">Powered by <a href="https://calcunit.net/physics/relativity-calculator" target="_blank" rel="noopener">CalcUnit</a></p>