Light-Year Distance Calculator

Convert cosmic distances between light-years, parsecs, AU, km and more — with light travel time.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

A light-year distance calculator that converts any cosmic distance between ten units — light-years, kilometres, astronomical units, parsecs, kiloparsecs, megaparsecs, and light-seconds through light-days — and instantly reports how long light takes to cross that distance. Fifteen named cosmic destinations from the Moon to the edge of the observable Universe are built in as one-click presets.

How it works

The calculator is built on three exact physical constants defined by the International Bureau of Weights and Measures (BIPM) and the International Astronomical Union (IAU):

  • Speed of light: c = 299,792,458 m/s (exact, 2019 SI)
  • Astronomical Unit: 1 AU = 149,597,870,700 m (IAU 2012, exact)
  • Julian year: 1 yr = 365.25 × 86,400 s = 31,557,600 s

From these, the other units follow:

  • Light-year: 1 ly = c × 31,557,600 s = 9.4607304725808 × 10^15 m
  • Parsec: 1 pc = AU × (648,000 ÷ π) ≈ 3.08568 × 10^16 m = 3.26156 ly

Light travel time is then t = d ÷ c. No approximations are used anywhere in the chain.

Worked example: Proxima Centauri

Proxima Centauri lies 4.2441 light-years away. Converting step by step:

  1. Metres: 4.2441 × 9.4607 × 10^15 = 4.015 × 10^16 m
  2. Kilometres: 4.015 × 10^13 km (40.15 trillion km)
  3. Astronomical Units: 4.015 × 10^13 ÷ 1.496 × 10^11 = 268,440 AU
  4. Parsecs: 4.2441 ÷ 3.26156 = 1.3013 pc
  5. Light travel time: 4.2441 × 365.25 × 86,400 = 1.339 × 10^8 s ≈ 4.244 years

So the light reaching your eyes tonight from Proxima left that star in mid-2021 (if you are reading this in 2026). This is cosmic look-back time: telescopes are time machines.

Formula note

All conversions are a single multiplication or division by the appropriate ratio of metre-exact values. No trigonometry or relativistic corrections are applied — the distances here are proper distances at a given epoch (essentially ruler distances), not light-travel distances corrected for cosmic expansion. For objects within our galaxy the difference is negligible. For the Andromeda Galaxy (~2.5 Mly) and beyond, the comoving vs. light-travel distance distinction starts to matter at the 1–10% level, but for the purposes of education and general reference this calculator is accurate to many significant figures.

Why so many units?

Different communities use different units for practical reasons:

  • Light-years — science communication, school textbooks, public astronomy
  • Parsecs / kiloparsecs / megaparsecs — professional astronomy, cosmology papers
  • Astronomical units — Solar System science, planetary missions
  • Kilometres — engineering, space-probe navigation
  • Light-seconds / minutes / hours — mission control signal-delay calculations

This tool covers all of them so you can move fluently between whichever context you are working in.

Ad placeholder (rectangle)