QTQuant Terminal
D2-01D2·intermediate·~18 min

CAPM — risk and return in one equation

capmbetamarket-risk-premiumfactor-models

▸ Pretest — guess, even if you don't know

A stock has β = 1.5 vs. the S&P 500. If the risk-free rate is 4% and the expected market return is 10%, what does CAPM say the expected return on the stock should be?

The economic story

The Capital Asset Pricing Model (Sharpe 1964, Lintner 1965, Mossin 1966 — sometimes called Sharpe-Lintner CAPM) gives the simplest "right answer" for what a stock's expected return should be:

E[ri]=rf+βi(E[rm]rf)E[r_i] = r_f + \beta_i \cdot (E[r_m] - r_f)

Components:

The logic: you should be compensated only for risk you can't diversify away.

If you hold a well-diversified portfolio, each stock's idiosyncratic risk (Apple-specific news) cancels out. Only the market risk (the part correlated with everything else) remains. So in equilibrium, the market only pays a risk premium for the un-diversifiable part — which is beta.

Why this is beautiful (and why it's wrong)

Beautiful because it gives a clean prediction:

Wrong in practice:

Fama and French (1992) put a fork in single-factor CAPM by showing that size and book-to-market explain cross-sectional returns better than beta alone. This is the launching point for multi-factor models (next several lessons in D2).

But CAPM is still the right baseline — every more-sophisticated model is a correction to it.

How to use CAPM in practice

Three practical applications:

1. Hurdle rate for evaluating a stock

What return is reasonable to expect from a stock?

E[r]=rf+βMRPE[r] = r_f + \beta \cdot \text{MRP}

With rf=4%r_f = 4\%, MRP = 6%, β=1.2\beta = 1.2: expected return =4%+1.26%=11.2%= 4\% + 1.2 \cdot 6\% = 11.2\%.

If you believe the stock will return more than this, it's underpriced (positive alpha). If less, overpriced.

2. Required return for capital budgeting

Companies use CAPM to set the discount rate for project NPV calculations:

NPV=tcash flowt(1+rCAPM)t\text{NPV} = \sum_t \frac{\text{cash flow}_t}{(1 + r_\text{CAPM})^t}

Higher business risk (higher β\beta) means higher required return means lower NPV for the same cash flows.

3. Decomposing strategy returns

For a strategy returns rsr_s regressed on market: rs=α+βrm+εr_s = \alpha + \beta r_m + \varepsilon.

The market risk premium — how big is it really?

The historical equity risk premium (US, 1928–present): roughly 5–6% per year. Globally and over longer windows: 3–5%.

This is the biggest single edge available to long-term investors. Compound 5% per year for 30 years and you have ~4.3× your money in real terms.

Forward-looking estimates (Damodaran, Asness, others) suggest the future MRP might be lower (3–4%) than historical (5–6%) due to high current valuations. Reasonable people disagree by 2–3 percentage points. The right answer is "use a range and stress-test."

Why CAPM isn't enough

Fama-French (1992) showed that:

  1. Size effect — small caps earned more than CAPM predicted in the historical data FF studied (though this premium has weakened substantially since publication).
  2. Value effect — high book-to-market ("value") stocks earn ~5% per year more than CAPM predicts.

This led to the Fama-French 3-Factor model: market + size (SMB) + value (HML). Later extended to 5 factors (adding profitability and investment quality). We'll meet each in subsequent lessons.

The pattern is: CAPM is a useful baseline. Real-world expected returns are explained by multiple factors. The whole field of "factor investing" / "smart beta" is built on this.

The most important practical takeaway

Always benchmark a strategy's return against the CAPM prediction, not against zero. Example: with rf=4%r_f = 4\% and a 12% market return (MRP = 8%), a strategy earning 15% per year with β=1.5\beta = 1.5 has CAPM-required return 4%+1.58%=16%4\% + 1.5 \cdot 8\% = 16\% — its alpha is −1% despite the impressive-looking headline. It's just leveraging beta inefficiently. Most retail strategies fall into this trap.

We'll see this rigorously in D4 (backtesting methodology) when we discuss benchmark choice.

Try it

Turn the CAPM equation into code:

▮ EXERCISE · d2-01-ex1

Implement capm_expected_return(rf, beta, market_return) = rf + beta * (market_return - rf). Rates are decimals (0.04 = 4%). Sanity-check the edge cases: beta 0 should earn the risk-free rate, beta 1 should earn the market.

⧉ Review card
What is the CAPM equation?
E[r_i] = r_f + β_i × (E[r_m] − r_f). Expected return = risk-free rate + beta × market risk premium.
⧉ Review card
What's the intuition for why CAPM uses beta as the only risk measure?
Idiosyncratic risk can be diversified away. In equilibrium, the market only pays a premium for un-diversifiable (market) risk — which is what beta measures.
⧉ Review card
What is the historical US equity risk premium (MRP)?
Roughly 5–6% per year (1928–present). Forward estimates often lower (3–5%) due to current valuations. Use ranges, not point estimates.
⧉ Review card
What did Fama-French (1992) show was missing from CAPM?
Size effect (small caps earn more than CAPM predicts) and value effect (high book-to-market stocks earn more). Led to the FF 3-factor model: market + SMB + HML.
⧉ Review card
What's the practical mistake CAPM helps you avoid?
Comparing strategy returns to zero instead of to the CAPM-predicted return. With rf=4% and MRP=8%, a 15% return with β=1.5 has required return 16% → alpha = −1%. You're not generating edge; you're paying for leverage.

Predict before the next lesson

Tomorrow we'll look at regression diagnostics — when does OLS lie to you? Predict:

◈ Calibration check

Could you compute a stock's CAPM-expected return given its beta and current rates?

1 = guessing · 5 = could teach it

⏻ End of lesson

Mark it read to book its 5 review cards into your deck.

Sources & further reading