How to Calculate Stock Beta in Excel-Replicating Yahoo Stock Beta

Harbourfront Technologies
2 min readSep 8, 2020

In a previous post, we presented a method for calculating a stock beta and implemented it in Python. In this follow-up post, we are going to implement the calculation in Excel. We continue to use Facebook as an example. Recall that,

In finance, the beta (market beta or beta coefficient) is a measure of how an individual asset moves (on average) when the overall stock market increases or decreases. As such, beta is a useful measure of the contribution of an individual asset to the risk of the market portfolio when it is added in small quantity. Thus, beta is referred to as an asset’s non-diversifiable risk, its systematic risk, market risk, or hedge ratio. Beta is not a measure of idiosyncratic risk. Read more

We utilize the following equation to calculate the stock beta,

where

  • rS is the stock return,
  • rM is the market return,
  • Cov denotes the return covariance and,
  • Var denotes the return variance.

We downloaded 5 years of monthly Facebook data from Yahoo Finance. We implemented the above equation in Excel and obtained a beta of 1.21

The picture below shows Facebook beta calculated by Yahoo Finance. It is 1.26. Our result agrees well with Yahoo’s result, although there is a small difference.

Click on the link below to download the Excel workbook.

Also, let us know what you think where the difference comes from.

Article Source Here: How to Calculate Stock Beta in Excel-Replicating Yahoo Stock Beta

--

--

Harbourfront Technologies

We are a boutique financial service firm specializing in quantitative analysis and risk management. Visit us at http://tech.harbourfronts.com