Star distance from parallax

Enter the parallax of a star as a catalogue lists it, in milliarcseconds or arcseconds, and optionally its apparent magnitude. The calculator gives the distance in parsecs, light-years, astronomical units and kilometres, and from the magnitude the absolute magnitude, the distance modulus and the luminosity compared with the Sun in the same band.

Unit
Distance10 pc
In light-years32.616 ly
In astronomical units
2,062,648 au
In kilometres
308,567,758,149,137 km
Absolute magnitude M
6
Distance modulus m − M
0
Luminosity, Sun = 1 (V band)
0.3404

Runs in your browser: nothing you enter is sent anywhere.

How to use it

  1. Enter the parallax and choose mas (milliarcseconds, as in modern catalogues) or arcseconds.
  2. Tick the box and enter the apparent magnitude if you want the absolute magnitude and the luminosity.
  3. Read the distance in parsecs and light-years; au and km are listed below.

Formulas

  • Distance: d (pc) = 1 ÷ p (arcsec) = 1000 ÷ p (mas)
  • Units: 1 pc = 648,000 ÷ π au = 3.0857 × 10¹³ km = 3.2616 light-years; 1 au = 149,597,870,700 m, 1 light-year = 9,460,730,472,580,800 m
  • Absolute magnitude: M = m − 5 × log₁₀(d ÷ 10)
  • Distance modulus: m − M = 5 × log₁₀(d) − 5
  • Luminosity in V: L ÷ L☉ = 10^(0.4 × (4.83 − M))

Interstellar dust (extinction) is not included: it makes stars look fainter, so M comes out too faint for distant stars in dusty directions.

Worked example

A star with a parallax of 100 mas and apparent magnitude 6:

  • d = 1000 ÷ 100 = 10 pc = 32.616 light-years = 2,062,648 au
  • M = 6 − 5 × log₁₀(10 ÷ 10) = 6, distance modulus 0
  • luminosity 10^(0.4 × (4.83 − 6)) = 0.3404 times the Sun

A parallax of 1 mas puts a star at 1,000 pc; if it appears at magnitude 10, its absolute magnitude is 0 and it is 85.5067 times as luminous as the Sun.

Tips

  • Small parallaxes are uncertain. When the error is a sizeable fraction of the parallax, 1/p is a poor distance estimate.
  • Magnitudes run backwards: a lower number means brighter, and 5 magnitudes are a factor of 100 in brightness.
  • Use the same band for m and the Sun’s magnitude; 4.83 is for the visual (V) band.

Frequently asked questions

How do you get a distance from a parallax?

d in parsecs = 1 ÷ p in arcseconds. A parallax of 0.1″ (100 mas) means 10 pc, which is 32.616 light-years.

How is the absolute magnitude calculated?

M = m − 5 × log₁₀(d ÷ 10 pc). It is the magnitude the star would have at 10 parsecs; a star at exactly 10 pc has M = m.

How is luminosity estimated from the magnitude?

L ÷ L☉ = 10^(0.4 × (4.83 − M)), where 4.83 is the Sun's absolute visual magnitude. It compares brightness in the V band only; the total luminosity needs a bolometric correction.

How small are stellar parallaxes?

Always less than one arcsecond: every star is more than a parsec away. Catalogues give them in milliarcseconds (mas); 1 mas means 1,000 pc.

More in Unit converters

All tools in this category: Unit converters ·Updated November 4, 2026

Privacy choices

Google Analytics shows us which tools are used and whether they work. It may set cookies. Your choice is kept in this browser.