Star Distance Calculator
Type a star’s parallax angle in arcseconds and this calculator returns its distance in light-years, with the parsec figure shown as a reading underneath. It is the geometric method, d = 1/p, with no assumptions about how bright the star is, which is what separates it from the distance modulus method (which needs apparent and absolute magnitudes) and from redshift distances (which need a spectrum). If your number comes from Gaia or Hipparcos, it is probably in milliarcseconds: divide by 1,000 before you type it in.
The main figure uses the standard 3.26156 light-years per parsec. Smaller parallax means a more distant star: halve the angle and the distance doubles.
Quick Answer
Proxima Centauri's parallax is 0.768 arcseconds. Divide 1 by 0.768 to get 1.30 parsecs, then multiply by 3.26156 to get 4.25 light-years. That is the value pre-filled in the calculator: press Calculate distance and you get the same two numbers back, with the parsec figure as a reading under the main result.
Key takeaways
- The whole method is one division: distance in parsecs = 1 / parallax in arcseconds. The parsec was defined to make that true, not discovered by coincidence.
- One parsec = 3.26156 light-years = 206,265 AU. The calculator shows light-years as the headline and the parsecs as a reading, because professional catalogs think in parsecs and everyone else thinks in light-years.
- Gaia and Hipparcos publish milliarcseconds, not arcseconds. Sirius's 379.21 mas becomes 0.37921 arcseconds before it goes in the box.
- Parallax is a half-angle: half the star's total six-month shift. Enter the full shift by mistake and your distance comes out at half the true value.
- Smaller angle means farther star. Halve the parallax and the distance doubles, which is why the nearest stars all have parallaxes under one arcsecond.
- Quick Answer
- How to use the star distance calculator
- The parallax formula, and why the parsec makes it trivial
- Worked example: Proxima Centauri, checked four ways
- Milliarcseconds: the Gaia conversion nobody should skip
- The half-angle trap: parallax is half the visible shift
- How far parallax reaches, and what takes over after it
- What competing calculators miss
- Frequently asked questions
- Add This Calculator to Your Website
How to use the star distance calculator
Enter one number, click Calculate distance, and read two. The results stay hidden until you calculate, and Reset returns the field to the Proxima Centauri example.
- Enter the parallax in arcseconds: 0.768 is pre-filled, Proxima Centauri's measured value. Replace it with any star's parallax, for example 0.37921 for Sirius after converting its 379.21 milliarcseconds.
- Click Calculate distance (or press Enter in the field). The distance appears in light-years to two decimals, with the parsec equivalent as a reading underneath.
- Read the pair together: the light-year figure is the public-friendly number; the parsec figure is the one you would quote alongside a catalog value or feed into the distance modulus calculator.
- Handle rejections calmly: a blank field, zero, a negative number or text triggers the message "Please enter a valid positive parallax angle." Zero would mean dividing by zero, and a negative parallax is not a distance the geometry can produce.
The Copy and Share buttons sit beside the results and copy the light-year figure together with its parsec reading, so a pasted result like "4.25 light-years (1.30 parsecs)" still carries both units wherever it lands.
The parallax formula, and why the parsec makes it trivial
Distance in parsecs = 1 divided by the parallax in arcseconds. A parsec is defined as the distance at which one astronomical unit subtends exactly one arcsecond, so the formula is true by definition: a star with a 1-arcsecond parallax is 1 parsec away, and everything else scales inversely from there.
d (light-years) = d (parsecs) × 3.26156
p (arcseconds) = p (milliarcseconds) ÷ 1,000 | reverse: p = 1 ÷ d
The geometry behind it is a long, skinny triangle: the 1 AU radius of Earth's orbit as the short side, the star at the far vertex, and the parallax angle at that vertex. Because the angle is microscopic, the small-angle approximation collapses the trigonometry into the single division above, as the Cambridge stellar-distances notes and the University of Washington parallax explainer both show step by step. The 3.26156 factor is the fixed conversion between the two units, the same constant used by the SDSS SkyServer parallax exercises, so a result here matches what the catalogs would give for the same input.
Worked example: Proxima Centauri, checked four ways
Proxima Centauri's parallax is 0.768 arcseconds, the largest known, which is why it is our nearest stellar neighbor. The arithmetic is: 1 ÷ 0.768 = 1.30208 parsecs, and 1.30208 × 3.26156 = 4.24683 light-years, which the calculator reports as 4.25 light-years with a 1.30-parsec reading.
The same one-division run, applied to four more real stars, produces the checks below. Every row is a real run of this calculator: type the arcsecond value and you get the same figures back.
| Star | Parallax entered | Parsecs (reading) | Light-years |
|---|---|---|---|
| Proxima Centauri | 0.768″ | 1.30 | 4.25 |
| Sirius (379.21 mas ÷ 1,000) | 0.37921″ | 2.64 | 8.60 |
| Tau Ceti | 0.277″ | 3.61 | 11.77 |
| Vega (130.23 mas ÷ 1,000) | 0.13023″ | 7.68 | 25.04 |
| 61 Cygni (Bessel, 1838) | 0.314″ | 3.18 | 10.39 |
The 61 Cygni row is a small piece of history: Friedrich Bessel's 1838 measurement of 0.314 arcseconds was the first successful stellar parallax, and running it through the same formula gives 10.39 light-years, close to the modern Gaia-based value of about 11.4 light-years. For perspective on the scale, ESA notes that even Proxima Centauri, the nearest star beyond the Sun, sits about 40 trillion kilometers away.
Milliarcseconds: the Gaia conversion nobody should skip
Modern parallax catalogs publish milliarcseconds, so divide by 1,000 before entering the value: Sirius's Hipparcos parallax of 379.21 mas becomes 0.37921 arcseconds. Equivalently, distance in parsecs = 1,000 divided by the parallax in milliarcseconds.
This matters because the raw catalog number looks nothing like the input the formula wants. Gaia measures parallaxes to microarcsecond precision across nearly two billion stars, which means essentially every parallax you will ever look up arrives in mas or microarcseconds. The conversion is exact and lossless: 379.21 ÷ 1,000 = 0.37921, then 1 ÷ 0.37921 = 2.637 parsecs, then × 3.26156 = 8.60 light-years. Forgetting the division is the single most common data-entry error in parallax work, and it inflates the distance by a factor of exactly one thousand: Sirius would wrongly come out at 8,600 light-years instead of 8.60.
The half-angle trap: parallax is half the visible shift
The parallax angle is HALF of the star's total apparent shift measured six months apart, not the whole thing. If you measure the full peak-to-peak displacement and enter it as p, the formula returns half the true distance.
The geometry makes the reason plain: the parallax triangle uses the 1 AU Earth-Sun radius as its baseline, while the observable shift spans the 2 AU diameter of Earth's orbit. The full 2 AU baseline subtends twice the parallax angle at the star. So a star whose total six-month wobble is 1.536 arcseconds has a parallax of 0.768 arcseconds (hello again, Proxima Centauri), and entering 1.536 would give 2.12 light-years instead of 4.25. Whenever a source quotes a "parallax" without qualification, confirm whether it means the annual half-angle before trusting the distance.
How far parallax reaches, and what takes over after it
Parallax stays clean out to a few thousand light-years; beyond that the angle shrinks past what instruments can measure reliably, and other rungs of the distance ladder take over. Ground-based parallax was trustworthy to roughly 100 parsecs (about 326 light-years); Hipparcos pushed that to around a kiloparsec; Gaia's microarcsecond astrometry extends useful parallaxes to tens of thousands of light-years for bright stars.
Past the parallax limit, astronomers switch methods rather than angles. The distance modulus calculator covers the brightness route: compare a star's apparent magnitude with its absolute magnitude and the distance follows, which reaches far beyond Gaia's parallax horizon. The redshift distance calculator covers the cosmological route for galaxies, where expansion stretches the light itself. And if you want a feel for what a light-year actually spans, the light speed distance calculator shows how far light travels in any timespan you name. Parallax is the foundation rung: every other method is ultimately calibrated against it.
What competing calculators miss
Parallax tools split into three camps, and each leaves something on the table:
- Unit-complete tools (NumericCore's parallax page): parsecs, light-years and AU together, plus the half-angle warning. Strong, and honest about the geometry. What it does not give you is a single real star to anchor on: no pre-filled example, no verification table of named stars you can reproduce.
- Formula-forward tools (OnlyCalculators' parallax page): the full equation set including the reverse solve p = 1/d, with a Sirius worked example. Good reference material, but the tool itself is generic: one abstract input, no mas guidance, no catalog-to-input conversion.
- Thin tools (BraveCalculator's star distance page): one worked example at 0.1 arcseconds, a short FAQ, and nothing about milliarcseconds, nothing about the half-angle trap, no real stars. Fine if you already know the pitfalls; unhelpful if you do not.
- The gap this page fills: Proxima Centauri pre-filled so the first click teaches the method, parsecs and light-years reported together, a five-star verification table where every row reproduces in the tool, the mas-to-arcseconds conversion as its own section instead of a footnote, the half-angle trap spelled out, and honest range limits with links to the distance-modulus and redshift methods that take over where parallax ends.
Frequently asked questions
Stellar parallax is the apparent shift of a nearby star against distant background stars as Earth orbits the Sun. The parallax angle is half of the total shift measured six months apart, and it is tiny: even Proxima Centauri, the nearest star beyond the Sun, shifts by only 0.768 arcseconds.
A parsec is the distance at which a star would show exactly one arcsecond of parallax. It equals 3.26156 light-years or 206,265 astronomical units. The name comes from "parallax arcsecond", and the unit was defined to make the formula d = 1/p work without any extra constants.
Divide by 1,000 first. Gaia and Hipparcos publish milliarcseconds, so Sirius's 379.21 mas becomes 0.37921 arcseconds. Equivalently, distance in parsecs = 1,000 divided by the parallax in milliarcseconds.
Zero would mean dividing by zero, which has no answer, and a negative parallax is not a distance the geometry can produce. Very distant stars sometimes get published with negative parallaxes, but that means the measurement is noise-dominated, not that the star sits at a negative distance.
Ground-based parallax stays reliable to about 100 parsecs (326 light-years). Hipparcos extended that to roughly a kiloparsec, and Gaia's microarcsecond measurements push useful parallaxes to tens of thousands of light-years for bright stars. Beyond that, astronomers use the distance modulus or redshift methods.
This calculator uses pure geometry: one angle in, one distance out, with no assumptions about the star. The distance modulus method compares how bright a star looks with how bright it really is, which needs an absolute magnitude and works at far greater distances. Parallax calibrates the modulus scale, not the other way round.
Two decimals match the precision of most published parallaxes, which carry three or four significant figures. Extra digits would be false precision: the last digit shown is already approximate when the input parallax is uncertain.
Add This Calculator to Your Website
Embed this calculator on your own site with the code below. Pick a size to preview it live, then copy the code.
Powered by Calculator Zilo
References
- European Space Agency. How does Gaia study the Milky Way? Parallax section: even the nearest star beyond the Sun is 40 trillion kilometres away, and Gaia measured nearly two billion stars to microarcsecond accuracy. Accessed October 23, 2026.
- European Space Agency, Gaia Cosmos. How far away are the stars? The Gaia parallaxes explained. Direct trigonometric parallax from Earth's 300-million-kilometre baseline. Accessed October 23, 2026.
- Sloan Digital Sky Survey, SkyServer DR12. Calculating Distances from Parallax Angles. Worked Hipparcos example: Sirius at 379.21 milliarcseconds gives 2.637 parsecs, 8.6 light-years. Accessed October 23, 2026.
- University of Washington, Galactic Discovery Project. Parallax. Distance in parsecs d = 1/p with p in arcseconds, using Earth's orbit as the baseline. Accessed October 23, 2026.
- Cambridge Institute of Astronomy. Stellar Distances: Calculating the distance. Distance in parsecs = 1 / P in seconds of arc, from the 1 AU baseline geometry. Accessed October 23, 2026.
- Australia Telescope National Facility (CSIRO). Brief History of Astrometry. Bessel's 1838 first stellar parallax: 61 Cygni at 0.3 arcseconds. Accessed October 23, 2026.
