Beta measures how much a stock tends to move with the overall market: 1.0 moves in line, above 1.0 swings more, below 1.0 swings less.
In CAPM, beta scales the equity risk premium, so it decides how much return equity investors demand above the risk-free rate. It is usually estimated by regressing the stock's returns on an index's returns over two to five years.
Because a single company's regression is noisy, models often use the median beta of comparable companies, relevered to the target's own debt level.
Practise it: Weighted average cost of capital.