Convert AU to km, meters, miles, light-years or parsecs, or km to AU, using 1 AU = 149,597,870.7 km. Also finds light travel time and orbital period.

Use a positive distance for parallax and angular-size calculations.

Examples and display precision
Selecting an example fills an editable distance. These are reference scales, not current observed separations.

Calculator Functions

FunctionWhat it doesWhat it requires
Convert distanceConverts a distance between AU, km, m, miles, light-time units, light-years and parsecsRequires the distance and the result unit
Light travel timeFinds how long light takes to cross a distanceRequires the distance
Distance from light travel timeFinds the distance light covers in a given timeRequires the light travel time
Distance from parallaxFinds the distance to a star from its annual parallaxRequires the parallax in arcseconds or milliarcseconds
Parallax from distanceFinds the annual parallax of an object at a known distanceRequires the distance
Physical size from angular sizeFinds how large an object is from how large it appearsRequires the angular size and the distance
Angular size from physical sizeFinds how large an object appears from a given distanceRequires the physical size and the distance
Distance from size and angular sizeFinds the distance to an object of known sizeRequires the physical size and the angular size
Orbital periodFinds the period of an orbit from its sizeRequires the semi-major axis and the total system mass in solar masses
Orbital semi-major axisFinds the size of an orbit from its periodRequires the orbital period and the total system mass in solar masses

Distance examples such as Earth–Moon, Mars, Jupiter, Neptune and one parsec can fill the distance field, and a display precision setting controls the decimals shown. The system mass is 1 solar mass unless changed. Conversions also list the distance in AU, km, m, miles, light-years and parsecs.

AU (Astronomical Units) Formulas

km = AU × 149,597,870.7 [1]
AU = km ÷ 149,597,870.7
AUDistance in astronomical units
kmDistance in kilometers

The astronomical unit is a fixed length of exactly 149,597,870,700 m, adopted by the International Astronomical Union in 2012 [1] and listed among the units accepted for use with the SI [2]. It is close to the average distance between Earth and the Sun.

Convert distance

AUKilometersMilesLight travel time
0.574,798,93546,477,9044.16 min
1149,597,87192,955,8078.32 min
1.5224,396,806139,433,71112.48 min
2299,195,741185,911,61516.63 min
5747,989,354464,779,03641.58 min
101,495,978,707929,558,0731.39 h
304,487,936,1212,788,674,2184.16 h
10014,959,787,0709,295,580,72713.86 h

Going the other way, 300,000,000 km ÷ 149,597,870.7 = 2.005 AU. One light-year, the distance light covers in a year of 365.25 days, is 63,241 AU. One parsec is 206,265 AU [4], or 3.26 light-years.

Light travel time

t = d ÷ c [3]

c is the speed of light in vacuum, exactly 299,792,458 m/s [3]. Light crosses 1 AU in 149,597,870.7 ÷ 299,792.458 = 499.0 seconds, or 8.32 minutes. This is a one-way time for light, not for a spacecraft.

Distance from light travel time

d = c × t

Light travelling for 499.004784 seconds covers 149,597,871 km, which is 1 AU.

Distance from parallax

d = 1 ÷ p

d is in parsecs and p in arcseconds. A parsec is the distance at which 1 AU spans one arcsecond [4]. Proxima Centauri’s parallax of 0.762 arcseconds puts it 1.31 parsecs away [4]. The annual parallax is half of the apparent shift of the star over six months.

Parallax from distance

p = 1 ÷ d

An object 1.31 parsecs away has an annual parallax of 0.763 arcseconds.

Physical size from angular size

s = θ × d

θ is the angular size in radians, and one arcsecond is π ÷ 648,000 radians. An object that spans 1 arcsecond from 1 AU away is 725 km across.

Angular size from physical size

θ = s ÷ d

An object 1,391,400 km across seen from 1 AU spans 1,391,400 ÷ 149,597,870.7 = 0.0093 radians, which is 1,918 arcseconds or about 0.53°.

Distance from size and angular size

d = s ÷ θ

An object 1,391,400 km across that spans 1,919 arcseconds is 0.9997 AU away. The three angular-size functions stop at 0.1 radian, about 5.7°, where the small-angle shortcut is still within 0.1% of the full geometry.

Orbital period

P = √(a³ ÷ M)

P is in years, a in AU and M the combined mass of the two bodies in solar masses [5]. At Jupiter’s distance of about 5.2 AU [6], entered as 5.204 AU around one solar mass, P = √(5.204³) = 11.87 years.

Orbital semi-major axis

a = ∛(M × P²)

A period of 11.86 years around one solar mass gives a = ∛(11.86²) = 5.20 AU.

Limits of This Estimate

  • Light-time results are for vacuum, and light-years use a year of exactly 365.25 days.
  • Parallax distance is a plain reciprocal. It takes no account of measurement error, which matters when the parallax is small or uncertain.
  • Angular-size results use the small-angle approximation and stop at 0.1 radian.
  • The orbit functions assume two bodies and ignore perturbations. The period depends on the sum of both masses [5].

Sources

  1. Paris Observatory (SYRTE), The IAU 2012 re-definition of the astronomical unit: the astronomical unit as exactly 149,597,870,700 m
  2. International Bureau of Weights and Measures, The International System of Units (SI Brochure), 9th edition, Table 8: the astronomical unit as a unit accepted for use with the SI
  3. NIST, CODATA Value: speed of light in vacuum: the exact speed of light
  4. Georgia State University, HyperPhysics, Stellar Parallax: the parsec, its size in AU and distance from parallax
  5. Georgia State University, HyperPhysics, Kepler’s Laws: the law of periods and its dependence on the sum of the masses
  6. NASA Space Science Data Coordinated Archive, Planetary Fact Sheet, Ratio to Earth Values: Jupiter’s distance from the Sun in AU and its orbital period