Discovered in 1956 by Olin Wilson and M.K. Vainu Bappu, the Wilson–Bappu effect uses the effect known as spectroscopic parallax. Many stars have features in their spectra, such as the calcium K-line, that indicate their absolute magnitude. The distance to the star can then be calculated from its apparent magnitude using the distance modulus.