Enter data
Education- —
Settings
- 4
- 2
- 6
- 8
- 10
- 9.8 m/s²
- 9.81 m/s²
- 10 m/s² (school)
Result
CalcCoreWhat the distance calculator does
The “Converter” converts a distance between metres, kilometres, astronomical units, light-seconds, minutes, hours and years, and parsecs. “Parallax” finds the distance to a star from its angular shift, “Light and flight time” shows how long a distance takes at a given speed, and “Angular size” shows at what angle an object is seen.
Astronomical units of length
The astronomical unit is the mean Earth–Sun distance, exactly 149,597,870,700 m. A light-year is the distance light covers in a Julian year (365.25 days): 9,460,730,472,580,800 m ≈ 63,241 AU. A parsec is the distance from which the radius of the Earth's orbit is seen at an angle of 1″: 648000/π AU ≈ 3.0857·10¹⁶ m ≈ 3.2616 light-years. The nearest star, Proxima Centauri, is about 4.2465 light-years away.
Distance from parallax
The annual parallax p is the angular shift of a star against distant objects as the Earth moves along its orbit. The distance in parsecs is d = 1 / p with p in arcseconds. For Proxima Centauri p ≈ 0.76807″ (768 milliarcseconds), so d = 1 / 0.76807 ≈ 1.302 pc ≈ 4.246 light-years. The smaller the parallax, the farther the star; the method works out to a few thousand parsecs.
How long light takes
The speed of light c = 299,792,458 m/s is exact by the definition of the metre. From the Sun to the Earth (1 AU) light takes 149,597,870,700 / 299,792,458 ≈ 499 s, that is about 8.32 minutes. Light covers the distance to Proxima in 4.2465 years, while Voyager 1 at 17 km/s would take about 74886 years. The speed in the calculator can be replaced with any other.
Angular size
For small angles the angular size in radians equals the linear size divided by the distance: θ = D / d. The diameter of the Moon, 3474.8 km, at a distance of 384,400 km gives θ ≈ 0.00904 rad ≈ 0.52° ≈ 31.1′. The Sun is seen at nearly the same angle, about 0.53°, which is why total solar eclipses happen. 1 rad ≈ 57.3° ≈ 206,265″.
Scales of distances in space
The farthest planet, Neptune, is about 30 AU from the Sun. The nearest star, Proxima Centauri, is 4.2465 light-years away, which is about 268,550 AU. The diameter of our Galaxy is about 100 thousand light-years, and the Andromeda Galaxy is roughly 0.78 Mpc away, that is ≈ 2.5 million light-years. The astronomical unit is handy within the Solar System, the light-year and parsec for stars, and the megaparsec for galaxies.
The light-year, the AU and the speed of light are defined exactly; the parsec = 648000/π AU is rounded to the metre.
FAQ
How many kilometres are in a light-year?
9,460,730,472,580.8 km, about 9.46 trillion kilometres.
How many light-years are in a parsec?
About 3.2616 light-years, and a light-year is about 0.3066 parsecs.
What is an astronomical unit?
The mean distance from the Earth to the Sun: 149,597,870,700 m, about 150 million kilometres.
How do I find the distance to a star from its parallax?
d = 1 / p, with p in arcseconds and d in parsecs.
What is a milliarcsecond?
A thousandth of an arcsecond (mas). The Gaia space observatory measures parallaxes to a few hundredths of a mas.
How long does light take from the Sun to the Earth?
About 499 seconds, or 8.3 minutes.
What is the speed of light?
299,792,458 m/s, or about 300,000 km/s.
How do I calculate angular size?
θ = D / d in radians; multiply by 57.3 for degrees or by 206,265 for arcseconds.
Why do the Moon and the Sun look the same size?
The Sun is about 400 times larger than the Moon but also about 400 times farther away, so their angular sizes are almost equal.
How exact are the conversions?
The metre, the light-year and the AU are defined exactly; the parsec is expressed as 648000/π AU rounded to the metre.
How many AU are in a light-year?
About 63,241 AU.
Why do we need the parsec if there is the light-year?
The parsec is directly tied to measuring distances by parallax: a star with a parallax of 1″ is 1 pc away. That is why astronomers use it in calculations.