Light-Year Converter
Convert astronomical distances between light-years, metres, kilometres, international miles, astronomical units, and parsecs. Enter grouped decimals or scientific notation, swap units, and copy adaptively formatted results.
Non-negative distances only.
Enter a distance value.
Convert between light-years, metres, kilometres, miles, astronomical units, and parsecs.
How to Use the Light-Year Converter
Enter a non-negative distance, choose the source unit, and select the unit you want to convert to.
Use Swap to reverse the direction. When a valid result exists, the unrounded converted value is retained for the reversed calculation.
The input accepts ordinary decimals, grouped values such as 1,000,000, and scientific notation such as 2.5e6.
How Astronomical Distance Conversion Works
Each unit has a defined or conventional metres-per-unit factor.
The converter multiplies the source value by the ratio between the source and target factors.
Visible formatting is applied after calculation so swapping does not reuse a visibly rounded result.
Supported astronomical distance units
Swipe horizontally to view the full table.
What Is a Light-Year?
A light-year is a unit of length, not time. It is the distance light travels through vacuum during one Julian year.
The speed of light in vacuum is exactly 299,792,458 metres per second. A Julian year contains exactly 31,557,600 seconds.
Multiplying those values gives 9,460,730,472,580,800 metres per light-year.
Light-years are commonly used for stellar distances and public explanations of the scale of space.
What Is an Astronomical Unit?
The astronomical unit, symbol au, equals exactly 149,597,870,700 metres.
It originated from the Earth–Sun distance scale, but the modern unit is a fixed conventional length rather than a changing orbital measurement.
Astronomical units are especially useful for planetary orbits, spacecraft positions, and distances within planetary systems.
What Is a Parsec?
A parsec is the distance associated with one astronomical unit subtending an angle of one arcsecond.
Its exact relation is 1 pc = (648,000/π) au.
One parsec is approximately 3.2616 light-years.
Parsecs and their larger multiples are widely used in stellar, galactic, and extragalactic astronomy.
Light-Years, AU, and Parsecs Compared
All three units measure length, but they arise from different ideas.
The light-year connects distance with light travel, the astronomical unit reflects the Solar-System scale, and the parsec comes from parallax geometry.
Changing between them alters only the numerical representation of the same distance.
Light-year, astronomical unit, and parsec compared
Swipe horizontally to view the full table.
Metres, Kilometres, and Miles
A metre is the SI base unit of length, and one kilometre equals exactly 1,000 metres.
The international mile equals exactly 1,609.344 metres.
These units provide familiar context, but astronomical distances expressed in them often require very large numbers.
Choosing a Useful Distance Unit
A useful unit keeps the result readable and matches the scale being discussed.
Kilometres and miles work for familiar distances, au suits planetary systems, and light-years or parsecs suit interstellar space.
Useful units at different scales
Swipe horizontally to view the full table.
Common Light-Year Conversions
The table uses the same constants as the live converter.
Non-terminating results are rounded to no more than four decimal places or displayed in scientific notation.
Common light-year conversions
Swipe horizontally to view the full table.
Precision and Rounding
Exact unit definitions do not make an observed astronomical distance exact.
Parallax uncertainty, calibration, model assumptions, source rounding, and the measurement technique still determine practical accuracy.
The interface uses up to four decimal places for readability and scientific notation when a fixed decimal would be impractical.
Distance Is Not Spacecraft Travel Time
A light-year describes the distance light covers in one Julian year.
A spacecraft with mass cannot be assumed to travel at the speed of light.
Actual travel time depends on speed, acceleration, propulsion, route, and mission constraints.
Privacy and Local Processing
The conversion runs entirely in the browser.
Distance values and unit selections are not uploaded, placed in a public URL, or permanently stored.
Astronomical Distance Conversion Formulas
Each unit is represented by its metres-per-unit factor.
Formula variables
- Distance in the source unit
- Equivalent distance in metres
- Distance in the target unit
- Metres represented by one source unit
- Metres represented by one target unit
Examples
Convert one light-year to kilometres
1Input
1 ly
Show result
Result
9,460,730,472,580.8 km
Convert one light-year to metres
2Input
1 ly
Show result
Result
9.4607e15 m
Convert one light-year to miles
3Input
1 ly
Show result
Result
5,878,625,373,183.6074 mi
Convert one light-year to astronomical units
4Input
1 ly
Show result
Result
63,241.0771 au
Convert one light-year to parsecs
5Input
1 ly
Show result
Result
0.3066 pc
Convert one parsec to light-years
6Input
1 pc
Show result
Result
3.2616 ly
Convert one astronomical unit to kilometres
7Input
1 au
Show result
Result
149,597,870.7 km
Frequently Asked Questions
Is a light-year a distance or a time?
A light-year is a distance. It is the distance light travels in vacuum during one Julian year.
How many metres are in one light-year?
One light-year equals exactly 9,460,730,472,580,800 metres under the definition used by this converter.
How many kilometres are in one light-year?
One light-year equals exactly 9,460,730,472,580.8 kilometres.
How many miles are in one light-year?
One light-year is approximately 5,878,625,373,183.6074 international miles.
How many astronomical units are in one light-year?
One light-year is approximately 63,241.0771 au.
How many parsecs are in one light-year?
One light-year is approximately 0.3066 parsec.
How many light-years are in one parsec?
One parsec is approximately 3.2616 light-years.
What is a Julian year?
A Julian year is exactly 365.25 days, equal to 31,557,600 seconds.
What is an astronomical unit?
An astronomical unit is exactly 149,597,870,700 metres.
What is a parsec?
A parsec is the distance associated with one astronomical unit subtending one arcsecond. It equals exactly (648,000/π) au.
Can I enter scientific notation?
Yes. Inputs such as 2.5e6 and 1e-4 are supported.
Why does the result use scientific notation?
Extremely large or small astronomical values are easier to read in scientific notation.
Does ten light-years mean ten years of spacecraft travel?
No. It is the distance light covers in ten Julian years. A spacecraft's travel time depends on its actual motion.
Does this include expansion of the Universe?
No. It performs ordinary unit conversion and does not calculate cosmological distance measures.
Are my distance values uploaded?
No. The calculation runs locally in the browser.
References
You might also like
Length Converter
Convert millimetres, centimetres, metres, kilometres, inches, feet, yards, miles, and nautical miles.
Area Converter
Convert square metres, square feet, acres, hectares, square kilometres, square miles, and other area units.
Feet to Inches Converter
Convert feet to inches or swap the direction to convert inches to feet, with clean results rounded to three decimal places.
AI Context Splitter & Redactor
Scan text for configured sensitive patterns, optionally redact matches, estimate a broad token range, and export ordered context chunks.