Quant Sandbox
DerivativesPortfolio & RiskFixed IncomeCorporate FinanceStochastic ModelsGuide
Portfolio & Risk
Risk & ReturnBeta
CAPMBeta
Portfolio LabBeta
Portfolio OptimizationBeta
Connected Guides
  • CAPM, beta and the security market line
  • The efficient frontier and the capital market line

© 2026 Quant Sandbox · A study aid for quantitative finance

Privacy & dataNo cookies

This site does not use cookies and asks for no personal data. It keeps a few small settings in your browser's local storage — your chosen theme and language, the sidebar layout, and your progress and answers in the Guides — so it remembers them on your next visit. This data never leaves your device; clearing your browser storage removes it. Inputs you change can also be captured in the page URL, so you can share or bookmark a specific setup. The site uses Vercel Web Analytics, a privacy-friendly, cookieless service that records only anonymous, aggregated usage (such as page views) without identifying you or tracking you across other sites.

CAPM

The capital asset pricing model: expected return as a function of beta along the security market line.

Parameters

Market
%
%
Market risk premium
6.0%
Selected asset
1.10
02
10.0%
00.25
CAPM expected return
9.6%
Actual expected return
10.0%
Alpha (Jensen)
+0.4%

Drag the asset point to change beta and expected return, or drag the market point (β = 1) vertically: the SML tilts and alphas can flip sign.

Security market line (SML)
SMLRisk-freeMarketCAPM requiredSelected
CAPM expected return
9.6%
Actual expected return
10.0%
Alpha (Jensen)
+0.4%
Market risk premium
6.0%

About this tool

The Capital Asset Pricing Model links an asset's expected return to its beta, its sensitivity to the market. This tool plots the security market line from the risk-free rate and the market risk premium, places assets by beta, and shows Jensen's alpha as the gap between an asset's expected return and the CAPM prediction.

Frequently asked questions

How is expected return calculated with CAPM?

E[R] = r_f + β (E[R_m] − r_f): the risk-free rate plus beta times the market risk premium.

What does a positive alpha mean?

The asset's expected return lies above the security market line, more than CAPM requires for its beta, so it plots as underpriced relative to the model.