FormatterHQ

Astronomical Distance Converter

Convert space distances between kilometers, miles, light-seconds, light-minutes, astronomical units, light-years, parsecs, kpc, Mpc and Earth or solar radii.

Loading tool…
Ready.

How to use the Astronomical Distance Converter

  1. Enter a distance, using a dot for decimals. Exponent notation such as 1.5e8 is accepted.
  2. Choose the unit you have and the unit you want, such as ly to pc.
  3. Raise the significant digits if you need the full precision of very large numbers.
  4. Copy the converted distance.

Astronomical distance converter for AU, light-years and parsecs

This astronomical distance converter handles the scales of space, from the radius of the Earth to megaparsecs between galaxies. It includes kilometers and miles for reference, light-travel units, the astronomical unit, the parsec family, and Earth and solar radii.

How each unit is defined

  • Astronomical unit (au): set by an IAU resolution in 2012 at 149,597,870,700 meters, close to the mean Earth–Sun separation.
  • Light-second and light-minute: the distance light travels in 1 s (299,792.458 km) or 60 s.
  • Light-year (ly): how far light goes during one Julian year (365.25 days): 9,460,730,472,580.8 km.
  • Parsec (pc): the distance at which 1 au subtends one arcsecond, which is 648,000/π au. The kiloparsec and megaparsec are 1000 and 1,000,000 parsecs.
  • Earth radius: the mean radius, 6371 km. Solar radius: the nominal value, 695,700 km.

Examples

1 au      = 8.316746397 lmin
1 pc      = 3.261563777 ly
1 pc      = 206264.8062 au
4.24 ly   = 1.29998991 pc
384400 km = 1.282220382 ls
1 rs      = 109.1979281 re

Sunlight takes about 8 minutes 19 seconds to reach us, since 1 au is 8.32 light-minutes. The nearest star beyond the Sun, Proxima Centauri, lies about 4.24 light-years away, which is 1.3 parsecs. The Moon's average distance of 384,400 km is only about 1.28 light-seconds.

Familiar distances for scale

These rounded reference values make it easier to sanity-check a result:

DistanceApproximate value
Earth to Moon (average)384,400 km ≈ 1.28 light-seconds
Earth to Sun1 AU ≈ 8.3 light-minutes
Sun to Neptune≈ 30 AU ≈ 4.2 light-hours
Sun to Proxima Centauri≈ 4.25 light-years ≈ 1.30 pc
Sun to the Milky Way's center≈ 8.2 kpc ≈ 26,700 light-years
Milky Way to Andromeda≈ 0.77 Mpc ≈ 2.5 million light-years

Each step up the table is a jump of several orders of magnitude, which is why astronomers switch units instead of writing ever longer numbers in kilometers.

Light-years versus parsecs

Popular writing favors light-years, while professional astronomy mostly uses parsecs, because a parallax angle in arcseconds converts straight to parsecs: distance in pc = 1 / parallax in arcsec. The angle converter handles arcseconds if you need them. Remember that the light-year is a distance, not a time.

Working with huge numbers

Very large or very tiny results appear in exponent notation, such as 2.4983761708e-10. At the default ten significant digits, 4.24 ly shows as 40113497200000 km; raise the precision if you need every digit. For shorter, everyday distances the length converter is simpler, and the speed converter includes the speed of light itself.

Frequently asked questions

How many kilometers are in a light-year?
One light-year is 9,460,730,472,580.8 km, just under 9.5 trillion kilometers. It is defined using the speed of light and a Julian year of 365.25 days.
How many light-years are in a parsec?
One parsec is about 3.261563777 light-years, or 206,264.8 astronomical units. It is defined as the distance at which one astronomical unit spans an angle of one arcsecond.
How long does sunlight take to reach Earth?
About 8 minutes and 19 seconds on average. One astronomical unit is 8.316746397 light-minutes, and the actual Earth–Sun distance varies slightly through the year.
Is a light-year a unit of time?
No. Despite the name, a light-year is a distance: how far light travels in one year. Looking at an object 100 light-years away, you see light that left it about 100 years ago.

Last updated October 3, 2026

Related tools

Data Size Converter (Bytes / Bits) Data Size Converter (Bytes / Bits): convert between bit, byte, kilobit, kilobyte (1000) and 11 more units instantly. Density Converter Density Converter: convert between kilogram per cubic meter, gram per cubic centimeter, gram per milliliter, gram per liter and 6 more units instantly. Electric Current Converter Electric Current Converter: convert between nanoampere, microampere, milliampere, ampere and 4 more units instantly. EM to PX Converter Convert em to pixels for CSS using a configurable root/base font size (default 16px). Energy Converter Energy Converter: convert between joule, kilojoule, megajoule, calorie and 8 more units instantly. Force Converter Force Converter: convert between newton, kilonewton, millinewton, dyne and 4 more units instantly. Frequency Converter Frequency Converter: convert between millihertz, hertz, kilohertz, megahertz and 4 more units instantly. Fuel Economy Converter Fuel Economy Converter: convert between kilometers per liter, liters per 100 km, miles per us gallon, miles per imperial gallon and 1 more units instantly. Inches to Pixels Converter Convert inches to pixels at any resolution: 96 DPI for screens, 300 DPI for print, or a custom value. Length Converter Length Converter: convert between nanometer, micrometer, millimeter, centimeter and 14 more units instantly. Mass Converter Convert SI mass units from microgram to tonne with significant-digit control, scientific notation and a table of every unit. Pixels to Inches Converter Convert pixels to inches at any resolution: 96 DPI for screens, 300 DPI for print, or a custom value.