Definition
Parallax is the apparent displacement of an observed object against a distant background when viewed from two different positions. In astronomy, stellar parallax refers to the small angular shift of nearby stars seen from opposite sides of Earth's orbit, separated by 2 AU. The semi-annual parallax angle p is defined as half the total observed shift — the angle subtended at the star by the radius of Earth's orbit (1 AU). The relationship between parallax and distance defines the parsec: 1 parsec (pc) is the distance at which a star would have a parallax of exactly 1 arcsecond. Since no star other than the Sun is that close, all stellar parallaxes are less than 1 arcsecond, and all stellar distances exceed 1 parsec.
The formula is elegantly simple: distance in parsecs = 1 / parallax in arcseconds. Proxima Centauri (p = 0.7687") is at 1/0.7687 = 1.301 pc = 4.24 light-years. Sirius (p = 0.3792") is at 2.64 pc = 8.60 light-years. The star 61 Cygni (p = 0.287") was the first measured, by Bessel in 1838, ending centuries of uncertainty about stellar distances. See our parsec entry and light-year entry for related distance units.
Annual parallax and proper motion
Stellar parallax produces an elliptical apparent path on the sky over the course of a year — circular for stars at the ecliptic pole, increasingly elliptical toward the ecliptic plane. Separating this annual parallax from proper motion (the true space velocity of a star across the line of sight) requires observations over multiple years. Gaia does this simultaneously for ~2 billion stars: fitting parallax (annual ellipse), proper motion (linear drift), and position to years of measurements. The separation of these signals is a key part of the astrometric solution. Nearby, fast-moving stars like Barnard's Star (proper motion 10.37 arcsec/yr — the fastest known) require careful modelling to avoid confusion between proper motion and parallax. See our cosmic distances guide.