Light-Year Calculator

Quick answer

The light-year calculator converts between light-years, parsecs, astronomical units and kilometres, and finds how long light takes to cover a distance or how far it travels in a given time.

Light-years
4.2465 ly
Parsecs
1.301983 pc
Astronomical units
268,553.233838 au
Kilometres
40,174,991,951,814.37 km
Light travel time
4.2465

A light-year is a distance, not a time: how far light travels in one year, about 9.46 trillion km. The nearest star beyond the Sun is 4.25 light-years away, so we see it as it was 4.25 years ago.

How to use the Light-Year Calculator

  1. Known value
  2. Distance
  3. Time

Results update as you type, every field has its own unit menu, and everything is calculated in your browser.

How it works

Choose whether you know a distance or a travel time for light.

Inputs explained

Field What to enter
Known value Choose one: Distance, Light travel time
Distance Units: ly, pc, au, km, mi
Time Units: min, s, h, days, years

What each result means

  • Light-years = [D]÷9.4607304725808e15
  • Parsecs = [D]÷3.0856775814913673e16
  • Astronomical units = [D]÷1.495978707e11
  • Kilometres = [D]÷1000
  • Light travel time = [D]÷299792458

Example values

How the main result changes when Distance changes and everything else stays at the example values above:

Distance (ly) Light-years (ly)
2.12 2.1233
3.18 3.1849
4.25 4.2465
5.31 5.3081
6.37 6.3698
8.49 8.493

Formula

1 ly = c × 1 Julian year = 9.4607 × 10¹⁵ m, 1 pc = 3.2616 ly, 1 au = 1.496 × 10⁸ km

Worked example

Inputs: Known value: Distance; Distance: 4.2465 ly.
Results: Light-years = 4.2465 ly; Parsecs = 1.301983 pc; Astronomical units = 268,553.233838 au; Kilometres = 40,174,991,951,814.37 km; Light travel time = 4.2465 years.

Key terms

Astronomical unit
Mean Earth–Sun distance, 149,597,870.7 km.

Frequently asked questions

Is a light-year a unit of time?

No, it is a distance.

How far is a light-year in km?

About 9.46 trillion km.

What is a parsec?

The distance at which 1 au subtends 1 arcsecond: 3.26 ly.

How far away is the Sun in light time?

About 8.3 light-minutes.

Sources

  1. OpenStax: Astronomy 2e
  2. NIST: Fundamental physical constants

Cite this calculator

Speedy Calculator. (2026). Light-Year Calculator. Speedy Calculator. https://speedycalculator.com/calculators/physics/light-year/