Light-Year Converter
Convert light-years, parsecs, astronomical units, kilometres, metres and miles with the exact definitions, a full-precision value and a scale rail.
Inputs
Convert between light-years, parsecs, astronomical units, kilometres, metres and miles using the exact definitions.
Enter the values and press Calculate.
Or load an example to see a worked result.
How to use this calculator
- Enter a distance (zero or more; 4.2465 or 9.4607e15 both work) and choose the unit it is in.
- Choose the unit you want. The result shows the rounded value and the full stored value, and a table gives the same distance in every unit.
- Under More options, set the significant figures shown or force scientific (×10ⁿ) notation. Display rounding never changes the stored value.
How it works
A light-year is a DISTANCE: how far light travels in one Julian year. With c = 299,792,458 m/s (exact) and the Julian year = 365.25 × 86,400 = 31,557,600 s, 1 ly = c × 31,557,600 s = 9,460,730,472,580,800 m exactly.
1 astronomical unit (au) = 149,597,870,700 m exactly (IAU 2012). 1 parsec (pc) = 648,000/π au, so its metre value is irrational and is held to double precision (about 16 significant figures).
Every conversion goes value × (metres per source unit) ÷ (metres per target unit), so a unit change converts the quantity once. Kilometre and mile values are exact by definition but any rounded display of them is not.
Limits: the Julian-year convention is the IAU one, not a calendar year; large values are shown in grouped digits or ×10ⁿ, never in JavaScript "e" notation.
Worked example
1 light-year in kilometres. 1 ly × 9,460,730,472,580,800 m/ly ÷ 1,000 m/km = 9,460,730,472,580.8 km. The same distance is 63,241.077 au and 0.306601 pc — so 1 pc ≈ 3.26156 ly.
Frequently asked questions
Is a light-year a time unit?
No. It is a distance — the distance light travels in vacuum in one Julian year, 9,460,730,472,580,800 m. Light takes a year to cross it, which is where the name comes from.
Which year is used?
The Julian year of exactly 365.25 days (31,557,600 s), the convention adopted by the International Astronomical Union. Using a 365-day or calendar year would give a slightly different number.
Are the values exact?
The light-year, au, km, m and mile definitions are exact; the parsec contains π, so it is stored to double precision. The displayed digits are rounded to the significant figures you choose — the full stored value is shown under the result.
Related tools
- Light Travel Time Calculator
- Angular Size Calculator
- Length Converter
- Telescope Magnification Calculator
- Planet Weight Calculator
- Weight on Other Planets Calculator
Explore more in Astronomy & Navigation.
Cite this tool
Zerdly. (2026). Light-Year Converter. Retrieved from https://www.zerdly.com/tools/light-year-converter/
Tip: Enter any known values to calculate the remaining results.
Designed to run locally in your browser. Tool inputs are not intentionally stored by Zerdly unless stated otherwise.



