How to Calculate Beta

Contributor, Benzinga

Want to jump straight to the best options broker? Most people prefer Interactive Brokers for their options trades.

Beta is the 2nd letter in the Greek alphabet, and the financial world uses it to refer to the sensitivity of an asset’s price compared to a specific index or benchmark. Beta is also used as a measure of an asset’s risk relative to that benchmark. The beta of a stock tells an investor how much a stock moves compared to the general stock market it trades in. Read on to find out more about this very important asset risk metric.

Beta Calculation

The beta can readily be computed for a stock or portfolio in a spreadsheet like Excel using opening and closing price data for each stock and the relevant stock market index. Three methods for calculating the beta on an individual stock are described below.

Variance/Covariance Method

Calculating beta using the covariance/variance formula is probably the most common method of calculating the beta of a stock. This formula takes the covariance of the return of the market and the return of the asset and then divides that by the market return’s variance over a given time frame. 

To calculate beta for a stock using this method, you first need to understand the following terms:

  • Variance (σ2): The spread between numbers in a specific data set. In finance, the variance is commonly used to calculate how each asset in a portfolio performs in relation to the other assets in the portfolio. It can also be used to determine the amount the market moves in relation to its mean.
  • Covariance: A measure used in finance to determine the similarity and degree of the directional relationship between the returns on 2 assets. If 2 stocks move in the same direction, then they have a positive covariance of an amount proportional to the degree they do so. If they move in opposite directions, the covariance is negative in an amount related to the degree that they diverge.

Furthermore, given that: 

Return = closing price – opening price/opening price

The formula for the beta calculation could then be written: 

Beta = Covariance of market and asset returns / Variance of the market’s returns



?i= beta of asset i

r= average expected return on asset i

rm = average expected rate of return on the general market

The Correlation Method 

This method of calculating beta involves dividing the standard deviation of an asset’s returns by the standard deviation of the market’s returns and then multiplying the result by the correlation of the asset’s and the market’s returns: 

?i = (σi / σm)*Correlation (ri, rm


?i= beta of asset i

r= average expected return on asset i

rm = average expected rate of return on the general market

σi = standard deviation of the asset’s returns 

σm= standard deviation of the market’s returns

The Slope Method 

Beta can also be calculated for an asset using the SLOPE function in Microsoft Excel. This function computes the slope of a regression line based on 2 sets of data points. To compute the beta, these data point sets should correspond to the set of percent changes in a market index and the set of percent changes of the specific asset’s price observed over the same time period. 

You would enter this formula into a cell to compute beta from market and stock returns: 

beta = SLOPE (Market returns range, Stock returns range)


Market returns range = Rows and columns of 1st market return and last market return separated by a colon (:), as in A1:A500 where column A contains 500 daily returns of the market. 

Stock returns range = Rows and columns of 1st stock return and last stock return separated by a colon (:), as in B1:B500 where column B contains 500 daily returns of the stock.

As before, returns are calculated for each period for the stock and the market by subtracting the open from the close and then dividing by the open.

Calculating Beta Example

To calculate the beta of Apple Inc. (NASDAQ: AAPL) as a specific example using the covariance/variance method, you would take the covariance of the expected return on AAPL stock to the average expected return on the S&P 500 index and then divide that number by the variance in the overall S&P 500 market’s average expected return. 

Let’s say the covariance of the S&P 500’s return to AAPL’s returns is 0.032, which is then divided by the average market return’s variance of 0.0235 to give us a beta of 1.36. The formula would look like this:

AAPL beta = 0.032 / 0.0235 = 1.36

In practice, a beta of 1.36 means that the returns involved in holding Apple stock are about 36% more volatile than those derived from the S&P 500 index. Holding Apple stock therefore presents a greater degree of investment risk than holding a portfolio of stocks conforming to the overall S&P 500 market. 

In general, a stock that moves in tandem with the market would have a beta of 1.0. If the stock moves less than the general market, the beta would be below 1.0, while a stock that moves more than the general market would have a beta of more than 1.0.

Calculate Beta of a Portfolio

As any seasoned investor and portfolio manager know, an important consideration when building a portfolio consists of the level of diversification. Diversifying stocks in your portfolio lowers investment risk — owning stocks in a wide range of companies and industries tends to reduce the overall volatility of the portfolio. 

Accordingly, when you own stocks in a broad number of companies, your exposure to market events generally decreases because some stocks remain unaffected or are affected either positively or negatively by an event. This is one good reason that portfolio managers give importance to the beta of a portfolio. 

To calculate the beta of a portfolio, follow the steps outlined below:

  1. Calculate the value of each stock you own in your portfolio by listing the number of shares you have multiplied by the current share price.
  2. After you’ve determined the value of each stock holding in the portfolio, calculate what proportion or share each stock represents in the portfolio. 
  3. Multiply those proportions by the beta of each stock. For example, if Apple Inc. makes up 0.30 of the portfolio and has a beta of 1.36, then its weighted beta in the portfolio would be 1.36 x 0.30 = 0.408. 
  4. Add up the weighted beta numbers of each stock. The sum of the weighted betas of all the stocks in the portfolio will give you the portfolio’s overall beta. 
StockValuePortfolio shareStock betaWeighted beta
Apple Inc. $40,0000.301.360.408
Tesla Motors$25,0000.201.950.390
General Electric$20,0000.181.230.221
Pfizer Inc. $50,0000.320.5820.186

In the table above, the value of the stock in the portfolio and the proportion or share of the portfolio of each stock can be seen in the 1st 2 columns. The sum of the weighted betas in the furthest column to the right gives you the overall beta of the portfolio.  

Best Online Stock Brokers

Most online brokers provide excellent stock research resources, but some brokers may be more suited for your needs than others. Below we have compiled a list of some of the best online stock brokers for building a portfolio. Make sure you have a good idea of what you need in a broker before funding an account with them. 

get started securely through TradeZero’s website
Best For
1 Minute Review

TradeZero is an online broker and free stock trading platform that provides everything you need to successfully share and trade, including round-the-clock customer support. TradeZero provides four different trading state-of-the-art software programs with its services, a locator for sourcing shares for shorting, commission-free trades, and real-time streaming, to name a few of the features promoted on their website. The software is a unique and (potentially) affordable option for anyone interested in stock trading.

Best For
  • Traders seeking high transparency and mobility in a stock trading program
  • Those attracted to commission-free trades
  • Those seeking a free version of a high-quality trading program
  • 24/7 live customer support
  • Uses ZeroWeb technology, a powerful level 2 online platform with direct market access
  • Mobile app allows users to access stocks and trade in real-time while on the go
  • Enforces Pattern Day Trading restrictions (accounts need to maintain a daily equity balance of at least $25k)
  • Mobile app could offer more features
get started securely through Webull’s website
Best For
Intermediate Traders and Investors
1 Minute Review

Webull, founded in 2017, is a mobile app-based brokerage that features commission-free stock and exchange-traded fund (ETF) trading. It’s regulated by the Securities and Exchange Commission (SEC) and the Financial Industry Regulatory Authority (FINRA).

Webull offers active traders technical indicators, economic calendars, ratings from research agencies, margin trading and short-selling. Webull’s trading platform is designed for intermediate and experienced traders, although beginning traders can also benefit.

Webull is widely considered one of the best Robinhood alternatives.

Best For
  • Active traders
  • Intermediate traders
  • Advanced traders
  • No account maintenance fees or software platform fees
  • No charges to open and maintain an account
  • Intuitive trading platform with technical and fundamental analysis tools
  • Does not support trading in mutual funds, bonds or OTC stocks
Get started securely through Axos Invest’s website
Best For
Sign Up Bonus
1 Minute Review

It seems like new digital investment management platforms are sprouting up left and right, and for good reason — there’s a great need for easy, straightforward investment management that doesn’t cost an arm and a leg in fees or to get started. If you’re new to investing or an old hat who wants to make the switch to a virtual manager, deciding which features you need can be confusing if not overwhelming.

If you want a no-frills financial management platform, Axos Invest (formerly WiseBanyan) takes a traditional but sophisticated approach to automated online investing.

Best For
  • Traditional investors trying out an automated investor for the first time
  • New investors that want to take a hands-off approach to portfolio management
  • Straightforward automated investing
  • Relatively low account minimum and automated investing fee
  • A solid roster of available investment account types
  • Not a stand-out from other services if you’re someone who likes all the bells and whistles with your digital financial platform
  • No direct relationship with a human financial advisor
get started securely through Interactive Broker’s website
Best For
Global and Active Traders
1 Minute Review

Interactive Brokers is a comprehensive trading platform that gives you access to a massive range of securities at affordable prices. You can buy assets from all around the world from the comfort of your home or office with access to over 135 global markets. Options, futures, forex and fund trading are also available, and most traders won’t pay a commission on any purchase or sale.  

IBKR is geared primarily toward experienced traders and investors but now with the availability of free trades with IBKR Lite, casual traders can also acclimate to IBKR’s offerings.

Best For
  • Options traders
  • Traders trading 24/7
  • Sophisticated investors
  • Access to International markets
  • Advanced trading platform & suite of options trading tools to create & execute sophisticated trading strategies
  • Fixed fees offer infrequent traders low, flat rate per contract, inclusive of all fees
  • Tiered fees offer active traders lower cost per transaction and possible exchange rebates for higher volumes
  • Beginner investors might prefer a broker that offers a bit more hand-holding and educational resources

Using Beta to Evaluate Risk

If you’ve been trading or investing in recent times, then you probably already understand how vital assessing the risk involved in a stock or market is before taking a position. By diversifying your portfolio, you’ll probably reduce the risk of the portfolio against general market moves. 

Since beta is based on price and determined relative to the market, however, it may not be the best assessment of risk for some stocks. To accurately determine the risk of a stock, take into account the company’s fundamentals, its earnings and business prospects and the future market for its products or services. Other factors that can indicate risk include the firm’s level of debt, the cost of servicing that debt and the value of assets. 

Finally, remember that if the overall volatility of the market increases, as it has in 2020, then a stock with a beta of 1 would also experience the same higher volatility levels. While the beta of a stock can be useful as a risk assessment, it is relative and so can change with market volatility. Make sure you research your investments thoroughly and have a suitable risk appetite before committing your funds to a particular stock.   

Benzinga's #1 Breakout Stock Every Month

Looking for stocks that are about to breakout for gains of 10%, 15%, even 20% potentially or more? The only problem is finding these stocks takes hours per day. Fortunately, Benzinga's Breakout Opportunity Newsletter that could potentially break out each and every month. You can today with this special offer:

Click here to get our #1 breakout stock every month.