Beta Formula

Updated on May 3, 2024
Article byPritha Banerjee
Reviewed byDheeraj Vaidya, CFA, FRM

Beta Formula Calculation

Beta is a measure of the stock’s volatility compared to the overall stock market. We can calculate beta using three formulas –

  1. Covariance/Variance Method
  2. By Slope Method in Excel
  3. Correlation Method

Key Takeaways

  • The beta formula measures a stock’s volatility relative to the overall stock market. It can be calculated using the covariance/variance method, the slope method in Excel, and the correlation method.
  • A beta value of 1 indicates that the stock closely tracks the movements of the overall market.
  • A higher beta value suggests that the stock is riskier, as it tends to have more significant price fluctuations compared to the market. Conversely, a lower beta indicates less volatility compared to the market. 

Top 3 Formula to Calculate Beta

Let us discuss each of the beta formulas in detail –


You are free to use this image on your website, templates, etc, Please provide us with an attribution linkHow to Provide Attribution?Article Link to be Hyperlinked
For eg:
Source: Beta Formula (

#1- Covariance/Variance Method

Beta Formula = Covariance (Ri, Rm) / Variance (Rm)

Covariance( Ri, Rm) = Σ ( R i,n – R i,avg ) * ( R m,n – R m,avg ) / (n-1)

Variance (Rm) = Σ (R m,n – R m,avg ) ^2 / n

To calculate the covariance, we must know the stock return and the market return, which is taken as a benchmark value. We must also know the variance of the market return.

#2 -By Slope Method in Excel

We can also calculate Beta by using the slope function in excel. The Microsoft Excel SLOPE function returns the slope of a regression line based on the data points identified by % change in NASDAQ and % change of the company, which we are calculating.

% change is calculated as below:

Return = Closing Share Price – Opening Share Price / Opening Share Price

slope excel

#3 – Correlation Method

Beta can also be calculated using the correlation method. Beta can be calculated by dividing the asset’s standard deviation of returns by the market’s standard deviation. The result is then multiplied by the correlation of the security’s return and the market’s return.

Beta Formula = Σ Correlation (R i, Rm) * σi / σm

Step by Step Beta Calculation

Follow the below steps:

  1. First, download Historical prices and NASDAQ index data from the past three years.

    You can download the data from yahoo finance, as I have done below.

    #1 – For NASDAQ Dataset, Please visit this link – (

    Beta formula step 1

    #2 – For Google Prices, Please visit this URL –

    Beta formula step 1.2

  2. Then Sort the Prices as Done Below.

    Then we need to sort the dates of the stock prices and adjusted closing prices in ascending order of dates. We need only these two columns, and the remaining columns can be deleted as we donu2019t have use of those for beta calculations in excel.

    Beta formula step 2

  3. Then, prepare the beta coefficient excel sheet, as shown below. We put both the data on one sheet.

    Beta formula step3

  4. Then calculate Daily Returns we get.

    Return = Closing Share Price – Opening Share Price / Opening Share Price

  5. Then, calculate Beta by the Variance-Covariance method.

    In this case, we need to use the two formulas (formulas of variance and covariance in excel), as shown below:

    Beta formula step5

    Using the variance-covariance method, we get the Beta as 0.16548 (Beta Coefficient)

  6. Calculate Beta using SLOPE Function available in excel

    Beta formula step6

    Using this SLOPE function method, we again get the Beta as 1.2051 (Beta Coefficient)

Examples of Beta Formula

Let’s take an example to better understand the beta equation calculation in a better manner.

You can download this Beta Formula Excel Template here – Beta Formula Excel Template

Using Correlation Method – Example #1

An investor is looking to calculate the beta of company XYZ compared to the NASDAQ. XYZ has a standard deviation of returns of 22.12%, and NASDAQ has a standard deviation of returns of 22.21%. Based on data over the past three years, the correlation between the firm XYZ and NASDAQ is 0.82.


Use the following data for the calculation of the beta.

Excel 1.1

So, the calculation of the beta –

Excel 1

Beta of XYZ = 0.82 x (0.2212 ÷ 0.2221)

Beta of XYZ = 0.817

In this case, Company XYZ is considered less risky than the market NASDAQ with its beta of 0.817.

Example #2

We will discuss some examples using data from the industry.

Now we will take an example to calculate the beta of Google and the Market index as NASDAQ. We will calculate the Beta of Google and Amazon in excel– variance/covariance method, slope function. We will see each of the beta coefficient calculations.

Calculation of Beta of Google using correlation and covariance in excel

Excel Google

We will calculate the beta of Google as compared to NASDAQ.

Based on data over the past three years, take the data from Yahoo finance and calculate Beta as below:-

  • Beta = Covariance (Ri, Rm) / Variance (Rm)
  • Beta = 0.165

In this case, Google is considered less volatile than NASDAQ, with its beta of 0.165.

Example #3

We will calculate the beta of Amazon as compared to NASDAQ.

Excel Amazon

Based on data over the past three years, take the data from Yahoo finance and calculate Beta as below:

Beta = Covariance (Ri, Rm) / Variance (Rm)

Beta = 0.000135 

In this case, Amazon has zero correlation with the market movements.

Relevance and Uses

Beta indicates whether an investment is more volatile or less volatile. Beta, which has a value of 1, indicates that it exactly moves following the market value.

A higher beta indicates that the stock is riskier, and a lower beta indicates that the stock is less volatile than the market. Most Betas generally fall between the values range 1.0 to 2.0. The beta of a stock or fund is always compared to the market/benchmark. The beta of the market is equal to 1. If a stock is benchmarked against the market and has a beta value greater than 1 (for example, we consider it as 1.6), this indicates that the stock is 60 percent riskier than the market as the market beta is 1.

Beta is used in the formulae of the capital asset pricing model (CAPM), which calculates the expected return of an asset based on the value of beta and expects a market return.

Frequently Asked Questions (FAQs)

1. What are the assumptions of the beta formula? 

The beta formula relies on several assumptions for accurate interpretation. It assumes efficient markets, meaning stock prices reflect all available information. It also assumes a linear relationship between a stock’s and overall market returns. The beta formula presupposes homoscedasticity, where the variability of stock returns is constant over time. 

2. What are the benefits of using the beta formula?

The beta formula offers various benefits in the field of finance and investment. It helps investors assess a stock’s risk level concerning market movements, aiding in risk management and portfolio diversification. Beta is crucial in the Capital Asset Pricing Model (CAPM), which determines expected returns and the cost of equity. It enables investors to compare and select assets aligned with their risk tolerance and investment objectives. 

3. What is the beta vs. alpha formula? 

Beta and alpha are both important measures in finance. Beta quantifies a stock’s sensitivity to market movements, indicating its risk level. A beta greater than 1 signifies higher volatility compared to the market, while a beta less than 1 suggests lower volatility. On the other hand, alpha measures a stock’s risk-adjusted performance, indicating its excess return above the expected return based on its beta. A positive alpha indicates outperformance, while a negative alpha suggests underperformance. 

Recommended Articles

This article has been a guide to Beta Formula. Here we learn how to calculate beta using the top 3 methods and practical examples, and a downloadable excel template. You can learn more about financial analysis from the following articles –