What is beta? Market sensitivity, formula and a worked example

On this page

Key takeaways

  • Beta measures how much a fund tends to move when the market moves: a beta of 1 moves with the market, below 1 moves less, above 1 moves more.
  • It comes from the capital asset pricing model (Sharpe 1964), where beta is the only risk the market pays for, because the rest can be diversified away.
  • Beta measures co-movement, not total risk: a fund can have a low beta and high volatility if it swings for its own reasons, as gold and long bonds do.
  • R-squared says how much of a fund's month-to-month movement the market explains; when it is low, beta is a weak summary of the fund.
  • MarketHeist estimates beta from monthly total returns over the months the fund and the benchmark share, without subtracting the interest earned on cash.

Definition

Beta is the sensitivity of an investment's returns to the returns of a market benchmark: the slope of a line fitted through their paired returns. A beta of 1 means the investment has tended to move one-for-one with the market, above 1 more than the market, below 1 less, and a negative beta in the opposite direction.

Also known as: beta coefficient, market beta, stock beta, systematic risk, CAPM beta, equity beta, upside and downside capture.

How it works

Put each month's return of the market on a horizontal axis and the same month's return of a fund on the vertical axis, one dot per month. Draw the straight line that fits the cloud of dots most closely. Its slope is the fund's beta: how far the fund's return has moved, on average, for each percentage point the market moved.

The slope combines two things. One is how closely the two move together, their correlation. The other is how large the fund's swings are relative to the market's. Written out, beta is the covariance of the two return series divided by the variance (uncertainty) of the market's, which is the same as the correlation times the ratio of the two volatilities. A fund with the market's volatility and a correlation of one half has a beta of one half; so does a fund twice as volatile as the market with a correlation of one quarter.

Beta became central through the capital asset pricing model of William Sharpe (1964), with John Lintner and Jan Mossin publishing the same result. In that model investors hold the market portfolio and lend or borrow at a risk-free rate, so any risk a holding adds that is not tied to the market can be diversified away and earns no reward. The expected excess return of an asset is then its beta times the market's expected excess return. Decades of tests found the line between beta and average return flatter than the model predicts, but beta survived as the standard measure of how much market risk a holding carries.

Beta is like the gear ratio between two wheels: it says how far one turns when the other does, but not whether the second wheel also spins on its own. That second part is what R-squared and the regression's residuals measure.

A single beta averages over rising and falling markets. Upside and downside capture split it: the fund's average return in months the market rose, divided by the market's average in those months, and the same for months the market fell. A defensive fund with a capture of less than 100% on the way down and close to 100% on the way up is what many investors hope for; most funds show similar figures in both directions.

Formula

Beta (Sharpe 1964)
βi=Cov(Ri,Rm)Var(Rm)=ρi,m·σiσm
βᵢ
beta of investment i against the market m
Rᵢ, Rₘ
returns of the investment and of the market benchmark in the same periods
Cov(Rᵢ, Rₘ)
covariance of the two return series
Var(Rₘ)
variance of the market's returns: its standard deviation squared
ρᵢ,ₘ
correlation of the two return series
σᵢ, σₘ
standard deviations (volatilities) of the investment and of the market
The capital asset pricing model
E[Ri]−Rf=βi(E[Rm]−Rf)
E[·]
expected (long-run average) return
R_f
risk-free rate, such as the Treasury-bill rate
E[Rₘ] − R_f
the market risk premium

The model's claim: only beta is rewarded. Risk that is not shared with the market can be diversified away, so in equilibrium it earns no premium.

As MarketHeist estimates it: a regression on monthly returns
ri,t=a+βrm,t+εt,R2=1−∑εt2∑(ri,t−r¯i)2
r_i,t, r_m,t
monthly total returns of the fund and the benchmark in month t, nothing subtracted (risk-free rate 0)
a
intercept: the fund's average monthly return not explained by the benchmark (×12 is the annualized alpha)
β
slope: the beta estimate
εₜ
residual: the part of month t's return the line does not explain
R²
share of the fund's month-to-month movement that the line explains; with one benchmark it equals the correlation squared
r̄ᵢ
the fund's average monthly return

With a single benchmark the least-squares slope equals the covariance-over-variance formula above exactly. The annualized standard deviation of εₜ is the fund's tracking error against the regression line.

Upside and downside capture
Cup=avg(ri∣rm>0)avg(rm∣rm>0),Cdown=avg(ri∣rm<0)avg(rm∣rm<0)
C_up, C_down
upside and downside capture, as a percentage of the benchmark's average move
avg(rᵢ | rₘ above 0)
the fund's average monthly return over the months the benchmark rose; the down-month version averages over the months it fell

Fund companies often compute capture from compounded returns over the up and down months; MarketHeist uses simple averages of monthly returns.

Worked example

The technology sector fund (XLK, the S&P 500's technology stocks) against the S&P 500 (SPY), 333 monthly total returns from Jan 1999 to Sep 2026.

XLK's beta was 1.31: in an average month, a 1% move in the S&P 500 went with a move of about 1.31% in XLK, in the same direction. Beta is correlation times relative volatility, and the inputs show where it comes from: a correlation of 0.85 and a volatility of 23.2% a year, against 15.0% for the S&P 500.

The sensitivity cut both ways. In months when the S&P 500 rose, XLK's average return was 133.4% of the index's average; in months when the index fell, XLK's average loss was 132.1% of the index's. A beta above 1 amplifies the market's falls as much as its rises.

Beta describes only the part of XLK's movement that it shared with the market. The R-squared was 72.6%, and the rest showed up as a tracking error of 12.1% a year around the regression line: sector-specific swings, such as the collapse of technology stocks after 2000, that the S&P 500 shared only in part.

The intercept of the regression, the annualized alpha, was 0.4% with a t-statistic of 0.15, far from the usual threshold of 2. Over this window XLK's results are described by its market exposure; nothing in the data separates any extra return from zero. The alpha and R-squared guide covers how to read that number.

Data through Sep 2026. Reproduce id 40578a056b87caff (this guide, its lab setup and the data month).

Interactive lab

Each dot is one month: the benchmark's return across, the fund's up. The fitted line's slope is beta; the table adds alpha, R-squared, t-statistics and upside and downside capture. Pick another fund or portfolio.

XLK against SPY: monthly returns and the fitted lineEach dot is one month of Jan 1999 to Sep 2026 (333 months): SPY's return across, XLK's up. The fitted line has a slope (beta) of 1.31 and an intercept (alpha) of 0.0% a month; R-squared 73%.-20%-10%0%10%20%-15%-10%-5%0%5%10%One monthFitted line, slope 1.31XLK monthly returnSPY monthly return
Monthly returns of XLK against SPY, with the least-squares line. Jan 1999 to Sep 2026.
MeasureXLK on SPY
Beta (slope of the fitted line)1.31
Alpha (intercept times 12)0.4%
R-squared72.6%
Correlation0.85
t-statistic of beta29.63
t-statistic of alpha0.15
Residual standard error (annualized)12.1%
Volatility of XLK (annualized)23.2%
Volatility of SPY (annualized)15.0%
Up capture133%
Down capture132%
Months (benchmark up, down)333 (210, 122)

Ordinary least squares of the monthly returns on the benchmark's with an intercept, risk-free rate 0; classical standard errors. Residual standard error: the root of the residual sum of squares over n - 2, times the square root of 12. Up (down) capture: the average return in the benchmark's up (down) months over the benchmark's average in them. Jan 1999 to Sep 2026.

How MarketHeist computes it

Every choice an implementation has to make, as the code makes it today. The page is checked against the code each time it is built.

ChoiceHow it is computedIn the code
DataMonthly total returns (dividends reinvested). Funds younger than the period shown are extended backward with older funds, spliced on returns, not prices.
WindowThe worked example and the lab use the common window of the subject and the benchmark, Jan 1999 to Sep 2026 (333 months), ending at the data month of this page; every month is one point of the regression.
Portfolio streamsA fund is its proxy-extended monthly return stream. A built-in portfolio is read as the MarketHeist MCP reads it: its composed stream with its own rebalancing rule and overlay. A custom mix is rebalanced yearly.
RegressionOrdinary least squares of the subject's monthly returns on the benchmark's, with an intercept and a risk-free rate of 0. Beta is the slope; alpha is the intercept times 12; R-squared is the share of the ups and downs of the subject's returns that the line explains; the t-statistics use the classical standard errors; the residual standard error is the root of the residual sum of squares over n - 2, times the square root of 12. Up (down) capture is the subject's average return in the benchmark's up (down) months over the benchmark's average in those months; months with a benchmark return of exactly 0 are in neither.
MethodOrdinary least squares of the fund's monthly returns on the benchmark's monthly returns, with an intercept. Beta is the slope. With one benchmark this equals the covariance of the two series divided by the benchmark's sample variance.olspackages/shared/engine/factors.ts
Returns and windowMonthly total returns (dividends reinvested) of both picks over their common window, ending in the latest data month. A template is first simulated with its own rebalancing rule. Funds younger than the window are extended backward with older funds or indexes, as everywhere on MarketHeist.
Risk-free rate0. Nothing is subtracted from either series, so the slope is the beta of total returns, not of excess returns. Beta changes little; the intercept changes more (see the alpha guide).
Standard errorsClassical least-squares standard errors with n − 2 degrees of freedom (residuals assumed independent, with constant spread). The t-statistic of beta is the slope divided by its standard error.olspackages/shared/engine/factors.ts
R-squared and tracking errorR-squared is 1 minus the residual sum of squares over the total sum of squares of the fund's returns. The tracking error shown is the standard error of the regression, the square root of the residual sum of squares over n − 2, times √12: the spread around the fitted line, not the spread of the plain return difference.betaSidecontent-engine/lab/compute4.ts
Upside and downside captureThe fund's simple average monthly return over the months the benchmark's return was above (below) zero, divided by the benchmark's simple average over the same months; not compounded. The lab refuses a pair with fewer than 12 up or 12 down months.betaSidecontent-engine/lab/compute4.ts
Engine functionsThe functions the portfolio app and the MarketHeist MCP tools run, called here on the same monthly returns.olspackages/shared/engine/factors.tspearsonpackages/portfolio/engine/correlation.ts

Beta (market sensitivity) compared with its neighbours

Beta and the statistics beside it
StatisticQuestion it answersScaleBlind to
BetaHow much does the fund move per unit move of the market?1 = moves with the marketMovement the market does not share
CorrelationDo the two move in the same direction?−1 to 1Size of the moves
R-squaredHow much of the fund's movement does the market explain?0% to 100%Direction and size of the sensitivity
VolatilityHow large are the fund's swings overall?Percent a yearWhether the swings come from the market
AlphaWhat average return is left after the market exposure?Percent a yearHow reliable the estimate is (see its t-statistic)
Upside / downside captureHow much of the market's rises and falls did the fund take?Percent of the market's moveMonths the market was flat; compounding

Limitations

  • Beta is estimated from one historical window and changes over time. A sector's beta can drift by a large amount from one decade to the next, and estimates over a few years are noisy; Blume (1971) found that betas measured in one period move toward 1 in the next.
  • The answer depends on the benchmark. A fund's beta against the S&P 500 and against a world stock index can differ, and a beta against a stock index says little about a bond fund.
  • Monthly data hide what happens within a month, and a fund whose prices lag (thinly traded or smoothed holdings) shows a beta that is too low on short intervals.
  • A single straight line assumes the sensitivity is the same in rising and falling markets. When it is not, as with options-like strategies, the up and down capture figures say more than beta.
  • Low beta is not low risk. Gold, long Treasuries and commodities have had betas near zero against stocks and still fell by large amounts on their own.

Frequently asked questions

What does a beta of 1.5 mean?
That over the period measured, the investment moved on average about one and a half times as much as the benchmark in the same direction: a market rise of one percentage point went with a rise of about one and a half points, and a fall with a fall of about one and a half. It is an average relationship; individual months scatter around it, and how much they scatter is what R-squared measures.
Can beta be negative?
Yes. A negative beta means the investment has tended to rise when the market fell and the reverse. Long-term Treasuries in some decades, and strategies that buy protection against crashes, have had negative betas against stocks. A beta near zero means no consistent straight-line relationship; it does not mean the two cannot fall together in a crash.
Is beta the same as volatility?
No. Volatility measures the size of a fund's swings from any cause; beta measures only the part tied to the market. A gold fund can be as volatile as the stock market with a beta near zero, because its swings are mostly unrelated to stocks.
How is beta calculated in Excel?
Put the fund's and the benchmark's monthly returns over the same months in two columns and use SLOPE(fund returns, benchmark returns). COVARIANCE.S(fund, benchmark) / VAR.S(benchmark) gives the same number, and RSQ gives R-squared. Use total returns with dividends for both.
Why does my broker show a different beta for the same fund?
Data providers differ in the benchmark, the frequency (daily, weekly or monthly), the length of the window (often three or five years), whether they subtract a risk-free rate and whether they adjust the estimate toward 1. Each choice moves the number; compare betas only when they are computed the same way.

References

  1. Sharpe, W. F. (1964) Capital Asset Prices: A Theory of Market Equilibrium under Conditions of Risk. Journal of Finance 19(3). The capital asset pricing model.
  2. Lintner, J. (1965) The Valuation of Risk Assets and the Selection of Risky Investments in Stock Portfolios and Capital Budgets. Review of Economics and Statistics 47(1).
  3. Blume, M. E. (1971) On the Assessment of Risk. Journal of Finance 26(1). Betas estimated in one period regress toward 1 in the next.
  4. Fama, E. F. and French, K. R. (2004) The Capital Asset Pricing Model: Theory and Evidence. Journal of Economic Perspectives 18(3). A survey of the model's empirical record.

Try it on your own holdings

Open the 60/40 portfolio and see how much of its movement the market factors explain →

Or ask an assistant connected to the MarketHeist MCP server (https://marketheist.io/mcp), which computes the same figures:

Using MarketHeist.io, what is the beta of XLK against SPY on monthly returns, and how much of XLK's movement does the S&amp;P 500 explain (R-squared)? Compare with the utilities fund XLU.

Ask an AI assistant

The prompt opens in a new tab, already filled in. An assistant without the MarketHeist connector answers from its own knowledge, not from the figures on this page.

Historical simulation, not advice. Computed by the MarketHeist portfolio engine from monthly total returns, data through Sep 2026. Markdown version of this page: beta.md.