How long does light take to travel?

Explore light travel and the delay before a reply between two points in space.

Light carries energy and information at a finite speed. In vacuum, a signal travels exactly 299,792.458 kilometres in one second. Looking far away and communicating with a spacecraft therefore involve a delay.

Study light speed, units and the formula

d is the one-way distance between origin and destination. A round trip covers 2d.

km, au and light-year are distance units. The tool converts the distance to km before calculating time.

Fixed references: Moon at 384,400 km and Sun at 1 au. Actual distances vary; these are not live positions.

One-way travel time
—
Round-trip travel time
—
One-way time in seconds
—
Distance in kilometres
—

In the lunar example, the outward journey takes about 1.2822 s; an immediate reply completes the round trip in 2.5644 s.

Follow a light signal

OriginDestination

Signal travelling to the destination.

Represented propagation time—

Ready to start.

Each complete journey takes 12 seconds on screen. Diagram not to scale; with reduced motion, follow the numerical progress.

t = d / c · c = 299,792.458 km/s

What do d, c and t mean? · Understand the round-trip calculation

Understand the experiment

A message sent to the Moon does not arrive instantly. Even in vacuum, a signal must cross the distance between sender and receiver. Try nearby or astronomical distances and compare signal arrival with the return of a reply.

What is light?

Visible light is part of the electromagnetic spectrum. Radio waves, microwaves, infrared and X-rays are also electromagnetic radiation, differing in frequency and wavelength. All propagate at speed c in vacuum. A radio signal between a spacecraft and Earth therefore also has a light travel time.

Unlike sound, electromagnetic radiation does not need a material medium to propagate and can cross a vacuum. This page follows a signal between two points without simulating its intensity, colour or probability of detection.

NASA · electromagnetic waves and light

What does the speed c mean?

In vacuum, c = 299,792,458 metres per second, exactly. Dividing by 1,000 gives 299,792.458 kilometres per second, the value used by the tool. It is an enormous but finite speed: doubling the distance doubles the arrival time.

The value of c is exact in the International System because the definition of the metre fixes it. This defines a unit; it does not eliminate uncertainty in real distance or time measurements. Screen results are rounded and the astronomical references are not distances measured now.

In special relativity, inertial observers measure the same light speed in vacuum even when moving relative to each other. The source’s speed is not added to c. This value also sets the local limit for information transmission; comparing clock times requires the reference-frame analysis explained in the other article.

NIST · Definition of the metre and speed of light

Einstein Online · light speed and the information limit

Symbols and units explained

The calculation relates distance, speed and time. Read the symbols below before inserting numbers; mixing metres and kilometres changes the result by a factor of 1,000.

d
One-way distance between the points, converted to kilometres before calculation.
c
Propagation speed in vacuum: 299,792.458 km/s. It stays constant in this model.
t
One-way time, calculated as d/c. With d in km and c in km/s, t is in seconds.
T
Total round-trip time with an immediate reply: T = 2t = 2d/c.
s
Second, a unit of time. km/s means kilometres travelled per second.
km
Kilometre, a distance unit: 1 km = 1,000 metres.
au
Astronomical unit, a fixed distance of 149,597,870.7 km.
light-year
Distance travelled by light in vacuum in one Julian year: 9,460,730,472,580.8 km.
Julian year
Convention of 365.25 days of 86,400 seconds, totalling 31,557,600 s; not a specific calendar year.

Where does t = d/c come from?

For a signal at constant speed, distance is speed multiplied by time: d = c × t. Dividing both sides by c gives t = d/c. The model assumes two stationary points, a fixed path length and propagation in vacuum.

Each line represents a path of distance d between A (origin) and B (destination). An immediate reply returns along the same path.
  1. Convert the distance to km. For the lunar reference, d = 384,400 km.
  2. Divide by the speed: t = 384,400 / 299,792.458 ≈ 1.2822 s. The units check out: km / (km/s) = s.
  3. For an immediate reply along the same path, add another leg: T = 2t ≈ 2.5644 s. If the destination waits 3 s before replying, the total becomes about 5.5644 s.

d = c × t · t = d/c

T = 2t = 2d/c

au and light-year: why use other distance units?

The astronomical unit is useful for Solar System distances. It is fixed by definition and close to the average Earth–Sun separation. The 1 au button uses that reference without looking up current celestial positions. Dividing 1 au by c gives approximately 499.0048 s, or 8 minutes and 19 seconds.

For greater distances, the light-year avoids long numbers in km. Despite its name it measures distance. Multiplying c by 31,557,600 s gives 1 light-year. In this model, crossing 2 light-years takes 2 Julian years one way and 4 round trip; changing units does not change the signal speed.

NASA/JPL · Astronomical constants and units

Why does looking far away mean looking into the past?

The image we receive was emitted before it reached us. At this page’s lunar reference distance, we see light from about 1.28 seconds earlier; at 1 au, from about 8 minutes and 19 seconds earlier. This is propagation time, rather than a clock slowing down. NASA uses this idea to explain how telescopes observe the past.

At cosmological distances, expansion of the Universe makes the relation between distance and travel time more complex. This tool does not calculate galaxy distances or the age of the Universe; it uses a fixed distance and ignores that expansion.

NASA · How Webb sees back in time

What about water, glass or the internet?

The value c refers to vacuum. Pulse propagation in materials such as water, glass and optical fibre involves interaction with the material and is usually slower. This page keeps c constant; choosing a distance does not select a propagation medium.

An internet connection also depends on the actual cable path, equipment, queues and processing. The value 2d/c represents only an ideal vacuum round trip, not a network ping prediction. In a space conversation, the person still needs time to listen and reply.

Max Planck · light propagation in water and glass

How does this help measure a distance?

We can invert the relation: knowing the round-trip time T of a reflected pulse, the one-way distance is d = cT/2. We divide by two because the signal travelled the path twice. A real measurement must account for atmosphere, motion and instrument delays.

Lunar laser ranging sends pulses to retroreflectors on the Moon and measures their return. It is a real application of time of flight. This tool’s Moon button still uses a fixed average rather than a ranging station’s data.

d = cT/2

NASA/ILRS · laser ranging data and time of flight

How to use

Enter a distance and choose kilometres, astronomical units or light-years. The three buttons fill in fixed references. Select one way or round trip and click to animate. Pause, resume or restart; changing distance, unit or journey resets the animation.

How the calculation works

The model uses t = d/c, with c = 299,792.458 km/s in vacuum. An immediate return along the same path takes 2d/c. One au is exactly 149,597,870.7 km. A light-year uses a Julian year of 365.25 days of 86,400 seconds: 9,460,730,472,580.8 km. Displayed results are rounded.

Worked example

For the Moon at 384,400 km, 384,400 ÷ 299,792.458 ≈ 1.2822 seconds one way and 2.5644 seconds round trip. For 1 au, one way takes approximately 499.0048 seconds, or 8.3167 minutes. The animation takes 12 seconds in both cases: only the represented scale changes.

Limitations and precautions

Two stationary points, constant distance and propagation in vacuum, without gravity or expansion of the Universe. The round trip assumes an instantaneous reply; processing and waiting increase the real delay. It does not calculate internet or fibre-optic latency or current celestial positions. Accepts 0.000000001 km to 1 million light-years.

Frequently asked question

Does a light-year measure time or distance?

Distance: it is the path travelled by light in vacuum in one Julian year. In this page’s model, light therefore crosses 1 light-year in 1 Julian year. Selecting light-years changes the distance unit without changing the signal speed.

Where do the reference values come from?

The lunar distance of 384,400 km is the average published by NASA. The Sun button uses 1 au as a reference without estimating today’s distance. Conversions use c and the Julian year from the JPL table. NIST documents the exact SI value of c.

NASA · Average Moon distance

NASA/JPL · Astronomical constants and units

NIST · Definition of the metre and speed of light

To compare signal propagation with the passage of time on clocks, explore the time dilation simulation.

Continue with Time dilation: two clocks, two intervals or read how the tools work.