How to calculate
Take the reciprocal of the annual parallax for distance in parsecs.
Worked example
Use Annual stellar parallax (arcseconds) 0.1. The result is ≈ 10 pc.
Input and result notes
Use annual parallax, equivalent to the angle subtended by one astronomical unit. An uncertain very small measurement gives an uncertain distance.
OpenStax astronomy on stellar parallaxes