Works on this device
Light Travel Time Calculator
Find how long light, or a radio signal, takes to cross a distance in space: to the Moon, from the Sun to a planet, to the nearest star. Or find how far light goes in a time.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use this calculator
- Choose Light travel time for a distance or Distance light travels in a time.
- Type the distance and choose its unit: kilometres, million kilometres, miles, astronomical units, light-years or parsecs. Or choose an example.
- Tick There and back for a signal and its echo, such as a radar ping or a message and its answer.
- Choose Calculate.
The formula
- Time = distance ÷ speed of light. For there and back, time = 2 × distance ÷ speed of light.
- Distance = speed of light × time.
- Speed of light in a vacuum: exactly 299,792,458 m/s. The metre is defined from it.
- Units: 1 astronomical unit (au) = 149,597,870,700 m. 1 light-year = the distance light travels in a Julian year of 365.25 days = 9,460,730,472,580,800 m. 1 parsec = 648,000 ÷ π au, about 3.26156 light-years. 1 mile = 1,609.344 m.
Worked example
Light from the Moon, 384,400 km away on average, takes 384,400,000 ÷ 299,792,458 = 1.28222 s to reach the Earth. Light from the Sun, 1 au away, takes 499.004784 s: 8 min 19 s.
When Mars is at its closest, about 54.6 million km away, a radio message and its answer take 6 min 4 s. Sunlight reaches Neptune, 4,515 million km from the Sun on average, after 4 h 11 min.
In one Julian year light travels 9,460,730,472,580.8 km: one light-year.
Limits you should know
- The examples are mean or typical distances. The Moon and the planets move, so their distance from the Earth changes from day to day; for a date you need the distance on that date.
- Light is slower in air, water and glass. In space the vacuum speed holds.
- For very distant galaxies the universe grows while the light travels, and "distance" can mean several things. This tool uses a plain distance and does not model that.
- For the parallax, magnitudes and distance of stars, see the Absolute Magnitude Calculator. For how often planets line up, see the Synodic Period Calculator.