Speed of Light Distance Calculator

Enter any time value to calculate how far light travels in vacuum, or enter a distance to calculate light travel time. Try seconds, milliseconds, microseconds, a light-year, the Moon, or sunlight from the Sun to Earth.

Inputs

Enter a duration, then choose a time unit.

We convert your input to seconds before multiplying by c.

Distance in vacuum - Exact c = 299,792,458 m/s.

More Units

Meters
-
Kilometers
-
Miles
-
Feet
-
Light-seconds
-
Light-minutes
-
Light-hours
-
Light-days
-
Light-years
-
Earth circumferences
-
Lunar distances
-
AU
-
Lunar distances
-
AU
-

Light-time units describe distance: 1 light-second is the distance light travels in 1 second.

Advertisement

How this is calculated

Time to distance

d = c x t

Convert the input time to seconds, then multiply by the exact vacuum speed of light: c = 299,792,458 m/s.

Distance to time

t = d / c

Convert the input distance to meters, then divide by c. The result is light travel time in vacuum.

Worked example

300 ms = 0.300 s

299,792,458 x 0.300 = 89,937,737.4 m, so light travels about 89,937.7 km during a 300 ms blink.

Common light travel answers

Question Distance or time Useful comparison
How far does light travel in 1 ns?0.2998 mAbout 30 cm, or 11.8 in
How far does light travel in 1 microsecond?299.792 mAbout 984 ft
How far does light travel in 1 millisecond?299.792 kmAbout 186.3 miles
How far does light travel in 1 second?299,792.458 kmAbout 7.48 Earth circumferences
How far does light travel in 1 minute?17,987,547 kmAbout 46.8 Moon distances
300 ms blink89,937.7 kmAbout 2.24 times around Earth
Earth circumference133.7 msOne equator-length trip at light speed
Average Earth-Moon distance1.282 sOne lunar distance
1 AU / sunlight to Earth8 min 19 sAverage Sun-Earth distance
1 light-year9.461 trillion kmDistance light travels in one Julian year

Constants used

The calculator uses light in vacuum. Real-world speeds are lower in air, water, glass, and optical fiber because those media have refractive indices greater than 1.

Speed of light 299,792,458 m/s, exact in vacuum. Source: NIST constants.
Astronomical unit 149,597,870,700 m. Source: IAU 2012 Resolution B2.
Average Earth-Moon distance 384,400 km. Source: NASA Moon facts.
Earth circumference 40,075 km, equatorial approximation. Source: Earth circumference reference.

5 Fun Facts about Light Speed

Earth to Moon in 1.28 s

A photon takes about 1.28 seconds to go from Earth to the Moon—and back in about 2.56 s.

Lunar ping

Fiber is slower

In fiber, light crawls at ~2/3 c. A 75 ms ping across oceans can be mostly glass-time, not routers.

Glass lag

Sunlight is old

Core photons random-walk for thousands of years before escaping the Sun, then only ~8 minutes to reach Earth.

Solar journey

Laser rangefinding

Lidar gear often times light over nanoseconds to measure distance—the same idea, just way faster.

Time-of-flight

Blink and it’s gone

A 300 ms blink lets light travel about 89,937 km—more than twice around Earth.

Blink distance

Why tiny times make huge light distances

Light's speed is so extreme that everyday slices of time translate into enormous distances. In vacuum, c = 299,792,458 m/s. That's roughly 300 meters in a microsecond, 300 kilometers in a millisecond, and nearly 300,000 kilometers in one second. This calculator turns those timings into concrete units: meters, kilometers, miles, feet, light-seconds, Earth circumferences, lunar distances, AU, and light-years.

The math is the simplest motion equation: d = c x t. A nanosecond is one-billionth of a second, a microsecond is one-millionth, and a millisecond is one-thousandth. For reverse questions such as "how long does light take to reach the Moon?", the same formula becomes t = d / c.

Light actually slows in media. Air changes the speed only slightly, water and glass slow it more, and optical fiber is often around two-thirds of the vacuum speed. For a clean physics baseline, the calculator defaults to vacuum speed and labels the results accordingly.

A useful learning angle is how linear changes in time scale distances. Halving your input halves every output. Doubling it doubles them. Yet reference landmarks jump quickly: a 50 ms network delay is enough time for light to cross about 15,000 km in vacuum, while one AU is already an 8 minute 19 second trip.

Try camera shutter speeds, computer ping times, sensor cycle times, the Earth-Moon distance, or 1 AU. The distances are not just trivia; they connect everyday timing to cosmic scale in one line of math.

FAQ

How far does light travel in 1 second?

In vacuum, light travels exactly 299,792,458 meters in 1 second. That is 299,792.458 kilometers, about 186,282 miles, or about 7.48 times around Earth's equator.

How far does light travel in 1 millisecond?

In 1 millisecond, light travels 299,792.458 meters, or about 299.792 kilometers, in vacuum.

How far does light travel in 1 microsecond?

In 1 microsecond, light travels 299.792458 meters in vacuum, which is just under 300 meters.

How long does light take to reach the Moon?

Using an average Earth-Moon distance of 384,400 km, light takes about 1.282 seconds to travel from Earth to the Moon in vacuum.

How long does sunlight take to reach Earth?

Using 1 AU, sunlight takes about 499.005 seconds, or about 8 minutes 19 seconds, to reach Earth in vacuum.

Is a light-year a time or distance?

A light-year is a distance. It is the distance light travels in vacuum during one Julian year, about 9.461 trillion kilometers.

Does light travel slower in air, water, or fiber?

Yes. The calculator uses vacuum speed. Light is slightly slower in air, slower in water and glass, and often around two-thirds of vacuum speed in optical fiber.

Explore more tools