Speed Of Light Calculator
Solve for distance, time, or speed of light by entering the other two values. Useful for light travel time, signals, and basic conversions.
Speed Of Light Calculator
Result will appear here...
What the speed of light calculator does
Light travels at a fixed, enormous speed, and this calculator uses it to relate distance and time. Enter a distance and it tells you how long light takes to cross it; enter a time and it tells you how far light travels; or work out a speed from a distance and time. It handles everything from metres and seconds to light-years and the age of the universe.
Below is what the speed of light is, the equation behind it, how light travel time works, and a worked example.
How to use it
- Choose what to calculate: distance, time, or speed.
- Enter the values you have, picking units to suit the scale, from everyday distances to astronomical ones.
- Press Calculate for the result, or Reset to clear it.
What the speed of light is
The speed of light in a vacuum is exactly 299,792,458 metres per second, close to 300,000 kilometres every second. It is one of the most important numbers in all of physics, and it is not merely the speed of light but the ultimate speed limit of the universe: nothing carrying energy or information can travel faster. So fundamental is it that the metre is now defined in terms of it, fixing the speed of light to that exact value by definition.
At human scales, light is effectively instantaneous. It crosses a room, or the distance to the horizon, in a flash too brief to notice. But across the vast distances of space, even this colossal speed takes real, measurable time, and that is where the speed of light becomes something you can feel the weight of. The calculator lets you explore it at both scales, from the tiny fraction of a second light needs to cross a room to the billions of years it takes to cross the cosmos.
The equation it uses
The calculator uses the basic relationship between distance, speed, and time, with the speed fixed at the speed of light:
distance = c × time
Here c is the speed of light. Rearranged, the time light takes to cross a distance is that distance divided by the speed of light, and a speed can be found from a distance divided by a time. Because c is so large, a small time corresponds to an enormous distance, which is why light covers astronomical gaps in what seem like modest spans, and why those gaps are often measured in how long light takes to cross them.
Light travel time across space
The most striking use of the speed of light is working out how long light takes to reach us from distant objects, and the numbers tell a story of cosmic scale. Light from the Moon reaches Earth in just over a second. Light from the Sun takes about eight minutes, so the sunlight warming you left the Sun eight minutes ago. Light from the nearest star beyond the Sun takes more than four years to arrive.
These travel times are the reason astronomers measure distances in light-years, the distance light travels in a year, which is a vast stretch of space. A star a hundred light-years away is so far that its light takes a century to reach us. The calculator's units include light-years, astronomical units, and parsecs precisely because, at these scales, distance and light travel time are two sides of the same coin, and converting between them is the natural way to grasp how far away things are.
Why distant light is a look into the past
Because light takes time to travel, looking out into space is always looking back in time. The light you see from a distant object left it long ago, so you see the object not as it is now but as it was when that light departed. The further away something is, the further into its past you are seeing.
This turns telescopes into time machines of a sort. We see the Sun as it was eight minutes ago, nearby stars as they were years ago, and distant galaxies as they were millions or billions of years in the past, some perhaps no longer existing in the form we observe. The most distant light we can detect set out not long after the universe began, giving us a direct view of its infancy. The calculator makes this concrete by turning distances into travel times, showing just how far back the light from any object has come, and it is why the speed of light is woven so deeply into our understanding of the cosmos.
Units and precision
The calculator fixes the speed of light at its exact defined value and lets you work in an enormous range of units: distances from millimetres to millions of parsecs, including light-years and astronomical units, and times from seconds to billions of years and even the age of the universe. This range is what makes it useful for both earthly and cosmic problems. Results are shown with enough precision to stay meaningful across that span.
A worked example
Suppose you want to know how long light takes to travel from the Sun to the Earth, a distance of about 149.6 million kilometres, or 1.496 × 10¹¹ metres.
The time is distance ÷ c = (1.496 × 10¹¹) ÷ 299,792,458 ≈ 499 seconds, which is about 8.3 minutes. So the sunlight reaching you right now left the Sun more than eight minutes ago. Light from the Moon, far closer at 384,400 kilometres, makes the trip in just 1.3 seconds, while light from the nearest star takes over four years.
Questions people ask
What is the speed of light?
Exactly 299,792,458 metres per second in a vacuum, about 300,000 kilometres per second. It is the fastest anything can travel, and the metre is defined in terms of it.
How do you calculate light travel time?
Divide the distance by the speed of light, time = distance / c. Because the speed is so large, even astronomical distances give travel times measured in minutes, years, or longer.
How long does sunlight take to reach Earth?
About 8.3 minutes. The Earth is roughly 150 million kilometres from the Sun, and at the speed of light that crossing takes around 499 seconds.
Why is looking at distant stars looking into the past?
Because their light takes time to reach us, so we see them as they were when it left. The further away an object is, the older the light, and the further back in time we are seeing.
References
A quick note on where the physics comes from. The speed of light as the exact, defined constant and the basis of light travel time are standard physics, fixed by the US National Institute of Standards and Technology and set out in OpenStax's University Physics. The Georgia State University HyperPhysics pages cover the role of the speed of light. The HyperPhysics link is worth a quick click to confirm it lands where you expect.
- National Institute of Standards and Technology (NIST), Fundamental Physical Constants, Speed of light in vacuum. https://physics.nist.gov/cgi-bin/cuu/Value?c
- OpenStax, University Physics Volume 3, Section 5.1, Invariance of Physical Laws (the speed of light). https://openstax.org/books/university-physics-volume-3/pages/5-1-invariance-of-physical-laws
- HyperPhysics, Speed of Light. http://hyperphysics.phy-astr.gsu.edu/hbase/Tables/lightcone.html
Bibek Lal Karna is a PhD student and graduate teaching assistant at the University of Mississippi, with deep interests in theoretical and gravitational physics. He is also the founder of NRCC and is strongly engaged in scientific teaching and communication. At Eon Tools, he reviews physics tools.