# Understanding Capital Market Line (CML) and How to Calculate It

> **Definition**
>
> The capital market line reflects the full spectrum of investment portfolios formed by blending a risk-free asset with a diversified market portfolio of risky investments.

## What Is the Capital Market Line (CML)?

The capital market line (CML) is a theoretical construct that depicts portfolios achieving the most efficient trade-off between risk and return. It reflects all possible blends of a no-risk investment and a diversified basket of market-based assets that yield the highest expected return for a given level of risk.

Under the [capital asset pricing model](https://www.investopedia.com/terms/c/capm.asp) (CAPM), all investors will choose a position on the capital market line, in equilibrium, by borrowing or lending at the risk-free rate, since this maximizes return for a given level of risk.

### Key Takeaways

*   The capital market line (CML) represents portfolios with a balanced combination of risk and return.
*   CML is a special case of the capital allocation line (CAL) where the risk portfolio is the market portfolio. Thus, the slope of the CML is the Sharpe ratio of the market portfolio.
*   The intercept point of CML and the efficient frontier would result in the most efficient portfolio called the tangency portfolio.
*   As a generalization, buy assets if the Sharpe ratio is above CML and sell if the Sharpe ratio is below CML.

![Capital Market Line (CML)](https://www.investopedia.com/thmb/J8mDCjlXuuJxutk4sGKsCZgpsZE=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc()/DDM_INV_CML-Final-a50f290fb65849cdab26156c236777a5.jpg)

*Investment funds and individual investors use the capital market line to guide how much risk to take on for a desired level of return. — Investopedia / Eliana Rodgers*

## Formula and Calculation of the Capital Market Line (CML)

Calculating the capital market line is done as follows:  

$\begin{aligned} &R_p = r_f + \frac { R_T - r_f }{ \sigma_T } \sigma_p \\ &\textbf{where:} \\ &R_p = \text{portfolio return} \\ &r_f = \text{risk free rate} \\ &R_T = \text{market return} \\ &\sigma_T = \text{standard deviation of market returns} \\ &\sigma_p = \text{standard deviation of portfolio returns} \\ \end{aligned}$

## What the CML Can Tell You

Portfolios that fall on the capital market line (CML), in theory, optimize the risk/return relationship, thereby maximizing performance. The [capital allocation line](https://www.investopedia.com/terms/c/cal.asp) (CAL) makes up the allotment of risk-free assets and risky portfolios for an investor.

CML is a special case of the CAL where the risk portfolio is the market portfolio. Thus, the slope of the CML is the [Sharpe ratio](https://www.investopedia.com/terms/s/sharperatio.asp) of the market portfolio. As a generalization, buy assets if the Sharpe ratio is above the CML and sell if the Sharpe ratio is below the CML.  

> **Important**
>
> CML differs from the more popular efficient frontier in that it includes risk-free investments. The intercept point of CML and the efficient frontier would result in the most efficient portfolio, called the tangency portfolio.

Mean-variance analysis was pioneered by Harry Markowitz and [James Tobin](https://www.investopedia.com/terms/j/james-tobin.asp). The efficient frontier of optimal portfolios was identified by Markowitz in 1952, and James Tobin included the risk-free rate in [modern portfolio theory](https://www.investopedia.com/terms/m/modernportfoliotheory.asp) in 1958. William Sharpe then developed the CAPM in the 1960s, and won a Nobel prize for his work in 1990, along with Markowitz and Merton Miller.

The CAPM is the line that connects the risk-free rate of return with the tangency point on the efficient frontier of optimal portfolios that offer the highest [expected return for a defined level of risk](https://www.investopedia.com/terms/c/characteristicline.asp), or the lowest risk for a given level of expected return.

The portfolios with the best trade-off between expected returns and variance (risk) lie on this line. The tangency point is the optimal portfolio of risky assets, known as the market portfolio. Under the assumptions of [mean-variance analysis](https://www.investopedia.com/terms/m/meanvariance-analysis.asp)—that investors seek to maximize their expected return for a given amount of variance risk, and that there is a risk-free rate of return—all investors will select portfolios that lie on the CML.

According to Tobin's separation theorem, finding the market portfolio and the best combination of that market portfolio and the risk-free asset are separate problems. Individual investors will either hold just the risk-free asset or some combination of the risk-free asset and the market portfolio, depending on their risk aversion.

As an investor moves up the CML, the overall portfolio risk and returns increase. Risk-averse investors will select portfolios close to the risk-free asset, preferring low variance to higher returns. Less risk-averse investors will prefer portfolios higher up on the CML, with a higher expected return, but more variance. By borrowing funds at a risk-free rate, they can also invest more than 100% of their investable funds in the risky market portfolio, increasing both the expected return and the risk beyond that offered by the market portfolio.

## Capital Market Line vs. Security Market Line

The CML is sometimes confused with the [security market line](https://www.investopedia.com/terms/s/sml.asp) (SML). The SML is derived from the CML. While the CML shows the rates of return for a specific portfolio, the SML [represents the market’s risk and return](https://www.investopedia.com/ask/answers/041315/how-do-i-interpret-security-market-line-sml-graph.asp) at a given time and shows the expected returns of individual assets. While the measure of risk in the CML is the standard deviation of returns (total risk), the risk measure in the SML is [systematic risk](https://www.investopedia.com/terms/s/systematicrisk.asp) or [beta](https://www.investopedia.com/terms/b/beta.asp).

Securities that are fairly priced will plot on the CML and the SML. Securities that plot above the CML or the SML are generating returns that are too high for the given risk and are underpriced. Securities that plot below CML or the SML are generating returns that are too low for the given risk and are overpriced.

## Why Is the Capital Market Line Important?

Portfolios that fall on the capital market line (CML), in theory, optimize the risk/return relationship, thereby maximizing performance. So, the slope of the CML is the Sharpe ratio of the market portfolio. As a generalization, investors should look to buy assets if the Sharpe ratio is above the CML and sell if the Sharpe ratio is below the CML.

## How Is Capital Allocation Line (CAL) Related to CML?

The capital allocation line (CAL) makes up the allotment of risk-free assets and risky portfolios for an investor. CML is a special case of the CAL where the risk portfolio is the market portfolio. As an investor moves up the CML, the overall portfolio risk and returns increase. Risk-averse investors will select portfolios close to the risk-free asset, preferring low variance to higher returns. Less risk-averse investors will prefer portfolios higher up on the CML, with a higher expected return, but more variance. 

## Are CML and Efficient Frontier the Same?

CML differs from the more popular efficient frontier in that it includes risk-free investments. The efficient frontier is made up of investment portfolios that offer the highest expected return for a specific level of risk. The intercept point of CML and the efficient frontier would result in the most efficient portfolio, called the tangency portfolio.

## Are CML and Security Market Line (SML) the Same?

The CML is sometimes confused with the security market line (SML). The SML is derived from the CML. While the CML shows the rates of return for a specific portfolio, the SML represents the market’s risk and return at a given time, and shows the expected returns of individual assets. And while the measure of risk in the CML is the standard deviation of returns (total risk), the risk measure in the SML is systematic risk or beta.

> **Article Sources**
>
> 1.  The Nobel Prize. "[This Year's Laureates are Pioneers in the Theory of Financial Economics and Corporate Finance](https://www.nobelprize.org/prizes/economic-sciences/1990/press-release/)."