Stellar parallax
Because Earth orbits the Sun, a nearby star seen six months apart appears to shift slightly against the far-away background stars. Half of that angle of shift is called the stellar parallax. The closer the star, the bigger its parallax, so the distance to a star is inversely proportional to its parallax.
Formulas
When to use it
Use it when you need to find the distance to a star from its parallax or compare which of several stars is closer.
Worked example
A star's position shifts by 0.4″ between two observations taken six months apart. The parallax is half of that, 0.2″. Then , so the star is 5 pc away.
Common mistake
Many students plug in the whole 0.4″ shift and get pc. The parallax is only half of the total shift.