How to use it
- Enter a distance and choose its unit.
- The result shows light-years, AU, parsecs, km and the light travel time at once.
- Very large or small numbers can be written as 1e13 or 4.2e-3.
What this calculates
Space is too big for km, so astronomers use the astronomical unit (AU), the light-year and the parsec. The AU is a defined value based on the mean Earth-Sun distance; a light-year is how far light travels in a vacuum in a year (here a Julian year of 365.25 days). A parsec is about 3.26 light-years. Light travel time makes distances easier to feel: sunlight takes about 8 minutes 20 seconds to reach Earth, so we see the Sun as it was 8 minutes ago. Starlight left its star that many years ago.
The formulas
- 1 AU = 149,597,870,700 m (IAU defined value)
- 1 light-year = c × 365.25 days = 299,792,458 m/s × 31,557,600 s = 9,460,730,472,580,800 m
- 1 parsec = 648,000 ÷ π AU ≈ 3.0857×10¹⁶ m, light time = distance ÷ c
Reference table
| Planet | Mean distance from the Sun (million km) | Astronomical units (AU) | Light travel time (min) |
|---|---|---|---|
| Mercury | 57.9 | 0.387 | 3.219 |
| Venus | 108.2 | 0.7233 | 6.015 |
| Earth | 149.6 | 1 | 8.317 |
| Mars | 228 | 1.524 | 12.68 |
| Jupiter | 778.5 | 5.204 | 43.28 |
| Saturn | 1432 | 9.572 | 79.61 |
| Uranus | 2867 | 19.16 | 159.4 |
| Neptune | 4515 | 30.18 | 251 |
Worked examples
- 1 AU (Earth to Sun) → light takes about 8.32 minutes (499 s)
- Mean Earth-Moon distance of 384,400 km → light takes about 1.28 s
- 4.2465 light-years → about 268,553 AU, about 1.302 parsecs, about 4.25 years by light
Frequently asked questions
Is a light-year a unit of time?
No, it is a unit of distance: how far light travels in a year, about 9.46 trillion km.
How long is the year used?
A Julian year of 365.25 days (31,557,600 s), the light-year commonly used in astronomy.
What is a parsec?
The distance at which Earth's orbital radius appears as one arcsecond (1/3600°). It is about 3.26 light-years and widely used by astronomers.
What does the light travel time mean?
How long light takes to cross that distance in a vacuum. Sunlight takes about 8 minutes 20 seconds to reach Earth, which gives a feel for the distance.
Is the AU a fixed value?
Yes. It was fixed at exactly 149,597,870,700 m in 2012. The real Earth-Sun distance varies a bit through the year.
Are my numbers stored?
No. Everything is calculated in your browser and nothing is sent to a server or saved.
Good to know
- Continue with the Kepler Orbit Calculator for orbital periods and the Gravitation Calculator for gravity between bodies.
- For wavelength and frequency, use the Wave Calculator.
Sources
- International Astronomical Union (IAU) 2012 Resolution B2 — the astronomical unit defined as 149,597,870,700 m
- IAU 2015 Resolution B2 — the parsec defined as 648,000 ÷ π au
- NASA Planetary Fact Sheet — mean distances of the planets from the Sun
- NIST constants table — speed of light in a vacuum c = 299,792,458 m/s
Last updated 2026-12-02 · For reference only; not investment, tax or legal advice.