Astronomical Length Converter
Convert astronomical distances between astronomical units, light-years, parsecs and kilometres.
What this converter does
Enter a distance, pick the unit you have and the unit you want, and the tool returns the converted value. It works across metres, kilometres, astronomical units, light-years and parsecs. At the defaults it turns 1 AU into 149,597,870.7 km. Each unit is stored as a factor in metres, so any pair converts with one multiplication and one division.
The conversion formula
The astronomical unit is the anchor of the solar system. The IAU fixed it at exactly 149,597,870,700 m in 2012, which is why the kilometre figure carries one decimal place and no uncertainty. Multiply an AU count by that number for metres, or by 149,597,870.7 for kilometres.
The light-year is a distance, not a duration. It is how far light travels in one Julian year: 299,792,458 m/s × 31,557,600 s = 9,460,730,472,580,800 m. That makes 1 ly = 63,241.077 AU, or about 9.461 trillion km.
The parsec comes from parallax geometry. A star that shifts by one arcsecond against the background as Earth moves across its orbit sits 1 pc away: 1 AU ÷ tan(1 arcsecond) ≈ 206,264.8 AU, which is 3.26156 ly. Parsecs dominate professional astronomy because the number is simply the inverse of the measured angle in arcseconds.
Worked example: 1 AU in three units
The default run takes value 1, from AU, to km. The arithmetic is 1 × 149,597,870,700 ÷ 1,000 = 149,597,870.7 km. Switch the output to light-years and the same distance is 1 ÷ 63,241.077 = 0.0000158 ly. Switch to parsecs and it is 1 ÷ 206,264.8 = 0.00000485 pc.
Reading the small numbers
Those tiny outputs are the point of the tool. An AU is a convenient ruler inside the solar system and a useless one outside it. Proxima Centauri is 268,550 AU away but only 4.2465 ly or 1.302 pc, and the Andromeda galaxy sits 2.54 million ly away, which is 1.6 × 1011 AU — a figure nobody quotes in a paper.
Reference distances
| Object | AU | Light-years | Parsecs |
|---|---|---|---|
| Earth from the Sun | 1 | 0.0000158 | 0.00000485 |
| Jupiter from the Sun | 5.20 | 0.0000823 | 0.0000252 |
| Voyager 1 (2026) | ≈170 | 0.0027 | 0.00082 |
| Proxima Centauri | 268,550 | 4.2465 | 1.302 |
| Sirius | 543,900 | 8.60 | 2.64 |
| Galactic centre | 1.69 billion | 26,700 | 8,180 |
| Andromeda galaxy | 1.60 × 1011 | 2,537,000 | 778,000 |
Every row follows from the factors above, so you can check any of them with the calculator. Proxima Centauri: 4.2465 × 63,241.077 = 268,553 AU, shown as 268,550. Sirius: 8.60 ly ÷ 3.26156 = 2.64 pc, and the same 8.60 ly is 543,900 AU. The table rounds to four significant figures throughout.
Where the conversion matters
- Parallax catalogues report parsecs. A measured shift of 0.1 arcsecond means 10 pc, which is 32.6 ly or 2.06 million AU.
- Mission telemetry uses AU. Voyager 1 at about 170 AU is 25.4 billion km away, and its radio signal takes roughly 23.5 hours to cross that gap.
- Press coverage mixes the two: stars are quoted in light-years, galaxies in parsecs or megaparsecs, so a headline reading 1.3 pc means 4.25 ly, not 1.3 years.
- Telescope pixel scales are quoted in arcseconds, which pairs directly with parsecs through the distance to the object.
One shortcut earns its keep. At 1 pc, 1 AU subtends 1 arcsecond, so an angular size in arcseconds equals a physical size in AU divided by the distance in parsecs. A 100 AU dust disc at 20 pc spans 5 arcseconds, small enough that it needs a steady night.
Two scales, two habits
Inside the solar system the numbers stay human: Mars is 1.52 AU out, Jupiter 5.20 AU, Neptune 30.1 AU, and the Voyager probes sit near 170 AU. Past the heliopause the useful unit switches to the light-year or parsec, because 1 pc is 206,264.8 AU and writing six-figure AU counts invites transcription errors. Interstellar mission concepts therefore quote cruise speeds in km/s and journey times in years rather than a raw distance.
Rounding and precision
The factors are exact, but measured distances are not. Proxima Centauri is published as 4.2465 ly, which is 1.30197 pc. Round to 4.25 ly before converting and you get 1.303 pc, a gap of 0.001 pc or roughly 225 AU. Keep the input at four or five significant figures and convert once instead of converting an already rounded number.
Do not round an AU to 150 million km
Treating 1 AU as 150 million km is 0.27% high. That is harmless on a sketch of the solar system and wrong everywhere else: 1,000 AU becomes 150 billion km rather than 149.6 billion km, an error of 400 million km, wider than Earth’s own orbit.
Mistakes worth avoiding
- Treating a light-year as a duration. A star 8.6 ly away is seen as it was 8.6 years ago, but the distance is 8.6 ly, not 8.6 years.
- Building a light-year from a 365-day year. That is 0.07% short, which works out to 6.5 billion km per light-year.
- Mixing arcseconds and milliarcseconds. Gaia publishes milliarcseconds, so a 743 mas parallax is 1.346 pc, not 743 pc.
- Using 3.26 as the parsec-to-light-year factor. The exact value is 3.26156, so the shortcut is 0.05% low and drifts at kiloparsec scales.
A quick sanity check
If a result looks wrong, compare orders of magnitude. 1 ly should come out near 63,000 AU and 9.5 trillion km. 1 pc should land near 3.26 ly and 206,000 AU. A wildly different answer usually means the two selectors are swapped: converting 1 km to AU gives 6.68 × 10-9, not 149 million.
Frequently asked questions
How many kilometres are in 1 AU?
Exactly 149,597,870.7 km, from the IAU definition of 149,597,870,700 m.
How many AU are in a light-year?
63,241.077 AU. Multiply light-years by that figure, so 4.2465 ly is 268,550 AU.
How many light-years are in a parsec?
3.26156 ly, which also makes 1 pc equal to 206,264.8 AU or 30.857 trillion km.
Why is a parsec larger than a light-year?
A parsec is 206,264.8 AU, set by the parallax angle of one arcsecond. A light-year is 63,241 AU, so the parsec is 3.26 times longer.
How far is Proxima Centauri from Earth?
4.2465 ly, equal to 1.302 pc, about 268,550 AU and 40.2 trillion km.
Is a light-year a unit of time?
No. It is the distance light covers in one Julian year, 9,460,730,472,580.8 km. A star 4.2465 ly away is seen 4.2465 years in the past, but the distance itself is not a time.
How do I convert parsecs to kilometres?
Multiply by 30,856,775,814,913.7. So 1 pc is 30.857 trillion km and 10 pc is 308.6 trillion km.
How many AU is the centre of the Milky Way?
About 1.69 billion AU, since 26,700 ly × 63,241.077 = 1.688 × 109 AU.
Why does 1 AU show as 0.0000158 light-years?
Because 1 ÷ 63,241.077 = 0.000015813. An AU is 0.0016% of a light-year, so the number is small by definition.
Method and sources
- IAU definition: 1 AU = 149,597,870,700 m.
- Parsec: distance subtending 1 arcsecond at 1 AU.