Beta Stock Calculator
Calculate a stock's beta from the covariance of its returns with the market and the variance of market returns, both taken from the same data.
Beta Stock Calculator
Background.
To calculate a stock's beta you need two numbers, both taken from the same set of paired returns: how the stock and the market moved together, which is their covariance, and how much the market moved on its own, which is its variance. Divide the first by the second. A covariance of 0.018 against a market variance of 0.012 gives a beta of 1.5, meaning that over the period measured the stock tended to move one and a half times as far as the market, in the same direction.
That ratio is exactly the slope of a regression line through a scatter of the stock's returns plotted against the market's. Beta 1 means the stock rose and fell with the index on average; 0.5 means half as much; a negative beta means it tended to move the other way. It is the risk measure at the heart of the capital asset pricing model, where a stock's expected return is the risk-free rate plus beta times the market's excess return, and it is why analysts quote beta when estimating a company's cost of equity.
Beta is an estimate, and the estimate depends on choices made before the arithmetic. Daily, weekly and monthly returns give different answers for the same stock; so do two years of data rather than five, and the S&P 500 rather than a broader index such as the value-weighted market return in the Kenneth French Data Library. Data providers make these choices differently, which is why two websites can show different betas for the same company on the same day. Computing it yourself from data you have chosen tells you exactly what the number means.
It also measures only one kind of risk: the part of a stock's movement tied to the market. A stock can swing wildly for its own reasons and still have a low beta.
What is beta stock calculator?
Beta is the sensitivity of a stock's returns to the returns of a market benchmark, defined as β = Cov(Rs, Rm) ÷ Var(Rm). It is the slope from an ordinary least-squares regression of the stock's returns on the market's returns over the same dates. Beta measures systematic risk, the part of the stock's variability that moves with the market; it says nothing about risk specific to the company, and nothing about whether the stock will rise or fall.
How to use this calculator.
- Collect total returns, with dividends included, for the stock and your chosen benchmark over the same dates and the same interval, for example 60 monthly returns or 104 weekly returns.
- Compute the covariance of the paired returns and the variance of the market returns with the same estimator: COVARIANCE.S and VAR.S in a spreadsheet, or both population versions. Mixing them biases the result.
- Keep the two figures in the same units. If one is in decimals and the other in percent squared, the beta will be off by a factor of 10,000.
- Enter the covariance, which can be negative, and the market variance, which must be positive. As a cross-check, a spreadsheet's SLOPE of stock returns on market returns should give the same beta.
The formula.
β = Cov(Rs, Rm) ÷ Var(Rm), where Rs is the stock's return and Rm the market's return in each period. Because the covariance equals the correlation between the two series times both standard deviations, beta can also be written β = ρ × σs ÷ σm: a stock gets a high beta either by moving closely with the market or by being much more volatile than it. Scaling cancels out, so annualizing both inputs by the same factor, or expressing both in percent, leaves beta unchanged; what does not cancel is mixing frequencies or date ranges. In CAPM work the regression is often run on excess returns, each minus the risk-free rate, which changes beta little when that rate is stable. A raw historical beta is a noisy estimate, and betas measured in one period tend to drift toward 1 in the next, so many practitioners report an adjusted beta of two-thirds of the raw value plus one-third. Beta also changes with financial leverage: more debt makes the equity riskier and raises its beta even if the business itself is unchanged.
A worked example.
Suppose five years of returns give a covariance between the stock and the market of 0.018 and a market variance of 0.012. Beta is 0.018 ÷ 0.012 = 1.5. The variance implies a market standard deviation of the square root of 0.012, about 10.95%, so on this data a month in which the market fell 4% would, on average, see the stock fall about 6%. Beta alone does not say how much of the stock's movement the market explains. If the stock's own variance were 0.0625, a standard deviation of 25%, its correlation with the market would be 0.018 ÷ (0.25 × 0.1095), about 0.657. Squaring that gives 0.432: about 43% of the stock's variance moved with the market and the other 57% was specific to the company. The two-thirds adjustment would report this stock's beta as about 1.3333.
Frequently asked questions.
Why do different websites show different betas for the same stock?
How do I use beta to estimate a cost of equity?
Can a stock have a negative beta?
Does a low beta mean a stock is safe?
Why does a company's beta rise when it borrows more?
Which market index should I use as the benchmark?
References& sources.
- [1]Kenneth French Data Library; market return series and research factors. Retrieved 2026-08-07.
- [2]U.S. Securities and Exchange Commission. Investor.gov glossary: Beta. Retrieved 2026-08-07.
- [3]U.S. Securities and Exchange Commission. Investor.gov: Assessing your risk tolerance. Retrieved 2026-08-07.
How this page was produced
- Published by
- Quanta Calculator
- Overseen by
- Daniel, Quanta Calculator Researcher
- Primary sources
- 3 cited below
- Method
- stock beta = covariance(stock return, market return) / variance(market return)
- Published
- Last verified
Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.
In this category
Embed
Quanta Pro
Paid features are coming later.
- All 1560 calculators remain free
- No billing is enabled