How is the beta of a stock calculated

HomeKetter51021How is the beta of a stock calculated