# Light-Year Calculator

URL: https://speedycalculator.com/calculators/physics/light-year/
Last updated: 2026-11-08

> 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.

## Inputs

- Known value
- Distance (ly, pc, au, km, mi)
- Time (min, s, h, days, years)

## Results

- Light-years
- Parsecs
- Astronomical units
- Kilometres
- Light travel time

## Formula

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

## Explanation

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

- **Known value**
- **Distance**
- **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

FieldWhat to enterKnown valueChoose one: Distance, Light travel timeDistanceUnits: ly, pc, au, km, miTimeUnits: 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.122.12333.183.18494.254.24655.315.30816.376.36988.498.493

## 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.

## FAQ

**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

- [OpenStax: Astronomy 2e](https://openstax.org/details/books/astronomy-2e)
- [NIST: Fundamental physical constants](https://physics.nist.gov/cuu/Constants/)
