How to use the calculator
- Enter the stock or ETF and the benchmark to measure it against. SPY, which tracks the S&P 500, is the usual choice for US stocks.
- Pick the period (1 to 10 years) and the returns: monthly or weekly.
- Read the beta and the other figures. Hover over a dot in the chart to see that month’s or week’s returns.
What beta means
Beta measures how strongly a stock’s returns follow the market’s. A beta of 1 means the stock tended to rise and fall about as much as the benchmark. A beta of 1.5 means it moved about 1.5% for every 1% move in the market, in both directions. A beta between 0 and 1 means smaller moves, and a negative beta means it tended to move the opposite way, as long-term Treasury bonds sometimes do.
beta = covariance(stock, benchmark) / variance(benchmark)
correlation = covariance / (sd stock × sd benchmark)
R squared = correlation²
alpha = (average stock return − beta × average benchmark return) × periods a year
In the chart, each dot is one month or week: the benchmark’s return across, the stock’s return up. Beta is the slope of the dashed line that fits the dots best.
Why betas differ between websites
There is no single official beta. Financial sites use different periods (often 5 years of monthly returns, or 2 years of weekly ones), different benchmarks and sometimes price returns instead of total returns. Open Beta over other periods to see how much the figure moves with these choices. When it changes a lot, treat any one number with care.
Beta, correlation and R squared together
- Beta is the size of the typical reaction to a market move.
- Correlation (−1 to +1) is how reliably the stock moves with the market. A high beta with a low correlation means big but erratic moves.
- R squared is the share of the stock’s ups and downs explained by the benchmark. Below about 30%, most of its moves come from company news, not the market.
- Up- and down-market capture compare the stock’s average return with the benchmark’s in rising and falling months.
To compare several stocks with each other, use the stock correlation calculator. For risk-adjusted return, see the Sharpe ratio calculator.
Frequently asked questions
What is a good beta for a stock?
There is no good or bad beta: it depends on what you want. Beta above 1 means bigger swings than the market, below 1 smaller swings. Defensive investors often prefer low-beta stocks; aggressive ones accept high beta.
How is beta calculated?
Beta is the covariance of the stock's returns with the benchmark's returns, divided by the variance of the benchmark's returns. It equals the slope of the best-fit line through a scatter chart of the two.
Which period should I use?
Five years of monthly returns is the most common convention. Weekly returns over two or three years react faster to changes in the business. Check several periods in the table to see how stable the beta is.
Can beta be negative?
Yes. A negative beta means the investment tended to rise when the market fell. Gold and long-term government bonds have had low or negative betas at times.
What does R squared tell me?
The share of the stock's movements explained by the benchmark. A low R squared means beta explains little, and the stock moves mostly on its own news.
Does the calculator include dividends?
Yes. It uses total returns, with dividends reinvested, for both the stock and the benchmark.
Can I put this calculator on my website?
Yes. It is free for any site. Use the embed code generator at the bottom of this page and keep the credit line under the calculator.
Related calculators
- Stock Correlation CalculatorA correlation matrix for up to 6 stocks and ETFs, to check how well your holdings diversify each other.
- Sharpe Ratio & Volatility CalculatorReturn per unit of risk for any stock or ETF: Sharpe and Sortino ratios, volatility and maximum drawdown.
- Drawdown & Recovery CalculatorThe worst fall of any US stock or ETF from a high, how long it took to recover and how far it is below its high today.
- Portfolio Backtest CalculatorHow a mix of up to 10 stocks and ETFs would have done: return, volatility and worst drawdown.
See all free investing calculators, or add live stock quotes to your site with the free stock widgets.
Add this calculator to your website
The calculator is free to embed on any website, personal or commercial, and works on WordPress, Blogger, Wix, Squarespace, Webflow, Ghost and plain HTML. Choose the options, copy the code and paste it into your page.
Preview: this is how the calculator and the credit line will look on your page
Free for personal and commercial websites. Please keep the “by Quotelinks” credit line under the calculator visible and unchanged, and don’t modify the calculator or present it as your own. The <script> line is optional: it sizes the frame to fit the calculator; if your platform removes scripts, the calculator still works at the fixed height. Past returns and past risk don’t predict the future. Results are for illustration only, not financial advice.