Skip to content

Home / Glossary / CAPM (Capital Asset Pricing Model)

Finance

CAPM (Capital Asset Pricing Model)

Expected return as risk-free rate plus beta times market premium.

CAPM prices an asset by its systematic risk (beta) alone: investors are only compensated for non-diversifiable risk. It defines the Security Market Line and is the standard cost-of-equity model, despite empirical weaknesses that motivated multi-factor models.

Formula / theory

E(Rᵢ) = R_f + βᵢ · (E(R_m) − R_f)

In Python

import statsmodels.api as sm
X = sm.add_constant(mkt_excess)            # market risk premium
fit = sm.OLS(stock_excess, X).fit()
alpha, beta = fit.params
exp_return = rf + beta * (mkt_ret.mean() - rf)

Practise CAPM (Capital Asset Pricing Model) hands-on — free, in your browser

Related terms