Parallax Calculator

Enter a star's parallax angle to find its distance in parsecs, light-years, astronomical units, and kilometers using d = 1/p.

Quick Facts

Distance formula
d (pc) = 1 / p(″)
p is the parallax angle in arcseconds, measured with a 1 AU baseline (half of Earth's orbital diameter).
Parsec definition
1 pc ≈ 3.2616 ly ≈ 206,265 AU
The distance at which 1 AU subtends an angle of exactly 1 arcsecond.
Nearest star check
Proxima Centauri: p ≈ 0.7685″ → d ≈ 1.30 pc
Smaller parallax angles always mean greater distances.

Your Results

Calculated
Distance
-
d = 1 / p, in parsecs
Distance in Light-Years
-
parsecs × 3.2616
Distance in Astronomical Units
-
parsecs × 206,265
Distance in Kilometers
-
parsecs × 3.0857 × 10¹³

Ready

Enter a parallax angle and unit, then press Calculate.

Formula and Method for the Parallax Calculator

Astronomers measure the distance to nearby stars using stellar parallax: the tiny apparent shift in a star's position against the distant background sky when observed from opposite points in Earth's orbit, six months apart. Half of that total angular shift is called the parallax angle, p. Because the two observation points are separated by Earth's orbital diameter and the reference baseline is defined as 1 astronomical unit (AU), the distance to the star in parsecs is simply the reciprocal of the parallax angle in arcseconds: d (pc) = 1 / p(″). This calculator also converts that distance to light-years, astronomical units, and kilometers.

How the calculation works

Enter the parallax angle you measured or looked up, and choose its unit — arcseconds, milliarcseconds (common in modern catalogs like Gaia), arcminutes, or degrees. The calculator first converts your value to arcseconds, then applies d = 1/p to get the distance in parsecs. From there it converts to light-years (× 3.2616), astronomical units (× 206,265), and kilometers (× 3.0857 × 10¹³) using the standard definition of the parsec.

Common mistakes

  • Confusing the full angular shift with the parallax angle: p is half of the star's total apparent swing over six months, not the full amplitude of the shift.
  • Wrong angle units: most modern catalogs report parallax in milliarcseconds (mas) — a Gaia value of "768.5 mas" is 0.7685 arcsec, not 768.5 arcsec.
  • Applying 1/p with a non-standard baseline: the reciprocal shortcut only works because the baseline is fixed at 1 AU; a different baseline (like a terrestrial survey) requires the general triangulation formula d = b / tan(p) instead.

Real-world applications

  • Parallax is the only direct, purely geometric method for measuring stellar distances, and it anchors the rest of the cosmic distance ladder.
  • The Gaia space telescope measures parallax angles as small as tens of microarcseconds, mapping distances to over a billion stars.
  • Surveyors and rangefinders use the same triangulation principle at a much smaller scale, using a known baseline and a measured angle instead of the fixed 1-AU convention.

Frequently Asked Questions

What is the parallax formula for stellar distance?
The standard formula is d (pc) = 1 / p(″), where d is the distance in parsecs and p is the parallax angle in arcseconds, measured using a 1 AU baseline (half of Earth's orbital diameter). For example, a parallax angle of 0.5″ corresponds to a distance of 1 / 0.5 = 2 parsecs.
How do I convert a parallax angle in milliarcseconds to distance?
Divide the milliarcsecond (mas) value by 1000 to get arcseconds, then apply d = 1/p. A Gaia-catalog parallax of 768.5 mas is 0.7685″, giving a distance of 1 / 0.7685 ≈ 1.301 parsecs — close to Proxima Centauri's real distance.
What is a parsec, and how does it relate to light-years?
A parsec (pc) is the distance at which 1 astronomical unit subtends an angle of exactly 1 arcsecond. One parsec equals about 3.2616 light-years, 206,265 astronomical units, or roughly 3.086 × 10^13 kilometers.