Skip to content
Finance Lessons

Portfolio Theory

The Capital Market Line: Adding a Risk-Free Asset

Add a risk-free asset to the efficient frontier and the best portfolios become a straight line — the Capital Market Line. Tangency portfolio, Sharpe slope, leverage.

9 min Updated Jun 4, 2026

So far the best portfolios you could buy lived on a curve: the efficient frontier, that graceful arc of risky-asset mixes where each point squeezes the most return out of its risk. It’s a beautiful curve. It’s also about to get demoted.

Because we’ve quietly been assuming you can only hold risky things. Drop that. Let people park money in something that barely moves — a short-term Treasury bill — and the whole picture snaps from a curve into a straight line. One line that beats the entire frontier at almost every point. That line is the Capital Market Line (CML), and once you see why it’s straight, you’ll understand why every textbook portfolio is really just two ingredients: one risky basket and a pile of cash.

Before you read — take a guess

Once investors can also hold a risk-free asset (alongside risky portfolios), what shape is the set of best risk–return combinations they can achieve?

The risk-free asset: the boring anchor everything pivots on

Picture an asset that pays you a known return with essentially no surprises — a short-term government Treasury bill held to maturity is the classic stand-in. You hand over cash now, you get a fixed amount back in three months, and a solvent government is about as close to certain to pay as finance gets.

Two numbers define it, and both are extreme:

  • Volatility ≈ 0. The return is locked in, so there’s no spread of outcomes. Standard deviation σf0\sigma_f \approx 0.
  • Correlation ≈ 0 with risky assets. A fixed payout doesn’t bob up and down with the stock market — it doesn’t bob at all. So its covariance with anything is essentially zero.

We’ll call its return the risk-free rate, written rfr_f. On a risk–return chart (volatility on the x-axis, expected return on the y-axis), the risk-free asset is the one point sitting flat on the return axis: zero risk, height rfr_f. That single anchor point is what bends the whole story.

Info:

“Risk-free” is a polite fiction

Nothing pays a truly certain real return. A T-bill is free of default risk (the government will pay) but not of inflation risk (what those dollars buy can shrink) or reinvestment risk (when it matures, the next bill might pay less). For Modern Portfolio Theory we idealize it as σf=0\sigma_f = 0; just remember the word “free” is doing some lifting.

Mixing risk-free with one risky portfolio: why it’s a straight line

Here’s the magic trick, and it’s pure algebra. Take any risky portfolio — call its expected return E[Rrisky]\mathbb{E}[R_{risky}] and its volatility σrisky\sigma_{risky} — and split your money: a fraction mm goes into the risky portfolio, the rest, 1m1-m, into the risk-free asset.

What’s the combined expected return? Just the weighted average:

E[Rp]=(1m)rf+mE[Rrisky]=rf+m(E[Rrisky]rf).\mathbb{E}[R_p] = (1-m)\,r_f + m\,\mathbb{E}[R_{risky}] = r_f + m\big(\mathbb{E}[R_{risky}] - r_f\big).

What’s the combined volatility? Normally combining two assets means an ugly variance formula with a covariance term. But the risk-free asset has zero variance and zero covariance with everything, so all those terms vanish and you’re left with just:

σp=mσrisky.\sigma_p = m\,\sigma_{risky}.

Look at what happened. Both E[Rp]\mathbb{E}[R_p] and σp\sigma_p are linear in mm — straight-line functions of the same dial. As you turn mm from 0 to 1 and beyond, the point (σp,E[Rp])(\sigma_p, \mathbb{E}[R_p]) slides along a straight line that starts at the risk-free point (0,rf)(0, r_f) and passes through the risky portfolio. No curve. The curvature on the old frontier came entirely from covariance between two risky assets; kill one asset’s variance and the bend disappears.

Worked example

Let the risky portfolio return 10% with volatility 16%, and let rf=3%r_f = 3\%. Put 50% in each (m=0.5m = 0.5):

QuantityFormulaResult
Expected returnrf+m(E[Rrisky]rf)=3%+0.5(10%3%)r_f + m(\mathbb{E}[R_{risky}] - r_f) = 3\% + 0.5(10\% - 3\%)3%+3.5%=6.5%3\% + 3.5\% = \mathbf{6.5\%}
Volatilitymσrisky=0.5×16%m\,\sigma_{risky} = 0.5 \times 16\%8%\mathbf{8\%}

Halving your exposure to the risky basket halved its volatility (16% → 8%) and pulled the return exactly halfway between rfr_f and the risky return (3% → 6.5%). Both moved in lockstep along a line. That straight, proportional trade-off is the entire point.

Fill in why the risk-free mix is a straight line.

Pick the right option for each blank, then check.

Splitting money between a risk-free asset and a risky portfolio makes the combined return in the weight m, and because the risk-free asset has , the combined volatility is just . Since both risk and return are functions of the same weight, the combinations trace a from the risk-free point through the risky portfolio.

The tangency portfolio: the steepest line you can draw

You can draw a line from the risk-free point to any risky portfolio on the frontier. Some lines are steep (great return per unit of risk), some are shallow (lousy). Which risky portfolio should you actually combine with cash?

The one that gives the steepest line. Geometrically, pivot a ruler at the risk-free point (0,rf)(0, r_f) and rotate it upward until it just touches the efficient frontier — touches it at a single point without crossing above. That kissing point is the tangency portfolio, and the line to it is steeper than the line to any other frontier portfolio.

Why steepest? Because the slope of the line from rfr_f to a portfolio is exactly its Sharpe ratio — excess return per unit of volatility, (E[R]rf)/σ(\mathbb{E}[R] - r_f)/\sigma. The tangency portfolio is, by construction, the risky portfolio with the highest achievable Sharpe ratio. Any other risky portfolio you mix with cash gives you a flatter line, which means less return for the same risk. So tangency wins, full stop.

Warning:

Tangent, not topmost

The tangency portfolio is usually not the highest-return point on the frontier, and not the lowest-risk one either. It’s the point where a line from the risk-free rate is steepest. Move along the frontier away from it in either direction and the line to it gets flatter — a worse deal once cash is on the menu.

The Capital Market Line: the line that dominates the curve

That steepest line — from rfr_f through the tangency portfolio and onward — is the Capital Market Line. In a market where everyone agrees on the inputs, the tangency portfolio is the market portfolio MM (the whole basket of risky assets, value-weighted), so we write the CML as:

E[Rp]=rf+E[RM]rfσMσp.\mathbb{E}[R_p] = r_f + \frac{\mathbb{E}[R_M] - r_f}{\sigma_M}\,\sigma_p.

Read it as a recipe: start at the risk-free rate, then earn an extra slope × your volatility. And that slope, E[RM]rfσM\dfrac{\mathbb{E}[R_M] - r_f}{\sigma_M}, is precisely the Sharpe ratio of the market portfolio — the price the market pays you for taking on a unit of risk.

Slide the allocation dial below and watch the marker travel the CML. Notice the muted curved frontier underneath the straight line: the CML lies above the frontier everywhere except where it touches at the market portfolio. That’s the punchline — for any level of risk you pick, the CML offers at least as much return as the old curve, and usually more. The risk-free asset didn’t just add an option; it dominated the entire efficient frontier of risky-only portfolios.

The Capital Market LineLending
0%4%8%12%16%0%7%14%21%28%Risk-free assetMarket (tangency) portfolioRisk (volatility)Expected return
Capital Market Line · LendingBorrowing (leverage)Efficient frontier (risky only)
Market (tangency) portfolio
60%
Risk-free asset
40%
Expected return
7.2%
Risk (volatility)
9.6%
Sharpe ratio (slope)
0.44
Allocation to the market portfolio
Lending

Drag the allocation slider. Left of the market point you're lending (some cash in T-bills); right of it you're borrowing to lever up. The straight CML sits above the muted curved frontier at every risk level except the single tangency (market) point.

Because a straight line from the risk-free point can reach higher than the curve for the same risk. The efficient frontier bends — its slope flattens as you climb, since piling into higher-return assets costs ever more volatility. But mixing with the risk-free asset gives a constant trade-off: every extra unit of volatility buys the same extra return (the market Sharpe ratio). So the straight CML out-climbs the curving frontier at every risk level except the one point where they touch. You’re no longer stuck riding a curve with diminishing returns — you ride a line with a fixed, best-possible payoff per unit of risk.

Two-fund separation: everyone holds the same risky basket

Here’s the result that makes finance professors grin. If the CML is the best menu, then every rational investor holds some mix of just two things: the risk-free asset and the one tangency (market) portfolio. Nobody needs a bespoke pile of stocks — your stock picks are identical to everyone else’s (the market portfolio); the only personal decision is how much to put in it versus cash. This is two-fund separation.

So risk appetite no longer changes what risky assets you own — it only changes the dial mm:

  • Conservative? You lend. Keep m<1m < 1: some money in T-bills, the rest in the market portfolio. You sit on the CML left of the market point — lower risk, lower return. Lending money to the government is the risk-free leg.
  • Aggressive? You borrow. Push m>1m > 1 by borrowing at the rate rfr_f and plowing the loan into the market portfolio — that’s leverage. You sit on the CML right of the market point — higher risk, higher return, same Sharpe slope.

Worked Sharpe ratio

The slope of the whole CML is just the market’s Sharpe ratio. With E[RM]=10%\mathbb{E}[R_M] = 10\%, rf=3%r_f = 3\%, σM=16%\sigma_M = 16\%:

Sharpe=10%3%16%=7160.44.\text{Sharpe} = \frac{10\% - 3\%}{16\%} = \frac{7}{16} \approx 0.44.

That 0.44 is the exchange rate of the entire market: every extra percentage point of volatility you take on buys you about 0.44 extra percentage points of return — whether you get there by lending (m<1m<1) or borrowing (m>1m>1). Pick your spot on the line; the rate per unit of risk never changes.

Sort each investor's position by where they sit on the Capital Market Line.

Place each item in the right group.

  • 70% in the market portfolio, 30% in T-bills
  • Sits left of the tangency point: lower risk, lower return
  • Borrows at r_f to hold 130% in the market portfolio
  • Uses leverage to push past the market point
  • A cautious retiree parking half in short-term government bills
  • Sits right of the tangency point: higher risk, higher return

Fill in the Capital Market Line and its slope.

Pick the right option for each blank, then check.

The CML equation is E[R_p] = r_f + × σ_p, where the slope equals the of the market portfolio. Under two-fund separation, every investor holds the same of risky assets, and their only personal choice is .

Pitfalls: where the clean line gets messy

The CML is gorgeous on paper. Reality sands off some corners — and a careful investor names them:

  • You can’t borrow at the true risk-free rate. Governments borrow at rfr_f; you don’t. Your borrowing rate is higher, so the right half of the CML (the leverage segment) is actually flatter — a kink at the market point, not a single straight line. Borrowed return per unit of risk is worse than lent return per unit of risk.
  • The “risk-free” asset isn’t truly risk-free. Inflation can erode the real return, and when a short bill matures you face rollover (reinvestment) risk at an unknown future rate. Certain in nominal dollars ≠ certain in purchasing power.
  • The tangency portfolio depends on noisy estimates. It’s computed from expected returns, volatilities, and correlations — all estimated from past data and notoriously unstable. Small errors in the inputs can swing the “optimal” portfolio wildly, so the real-world tangency point is fuzzier than the crisp dot on the chart.
  • Leverage cuts both ways. Going right of the market point (m>1m>1) magnifies losses just as much as gains, and a leveraged position can trigger a margin call — being forced to sell at the worst possible moment. The line says “more return for more risk”; it doesn’t warn you about getting liquidated.
Warning:

The straight line has a kink in real life

The single biggest break from the textbook is the borrowing rate. Because real investors pay more to borrow than the government does, the genuinely achievable frontier is the lending CML up to the market point, then a flatter borrowing CML beyond it. The elegant one-line picture is a simplification — useful, but don’t lever up expecting the same Sharpe ratio you got from lending.

Match each term to its meaning.

Pick a term, then click its definition.

Key Takeaways

Success:

What to remember

  • A risk-free asset (idealized T-bill) has volatility ≈ 0 and ≈ 0 correlation with risky assets; it plots as a single point at height rfr_f on the return axis.
  • Mixing it with one risky portfolio makes both risk and return linear in the weight mm: σp=mσrisky\sigma_p = m\,\sigma_{risky} and E[Rp]=rf+m(E[Rrisky]rf)\mathbb{E}[R_p] = r_f + m(\mathbb{E}[R_{risky}] - r_f) — so the combinations form a straight line, not a curve.
  • The tangency portfolio is the risky portfolio giving the steepest line from rfr_f — equivalently, the highest Sharpe ratio.
  • The Capital Market Line runs from rfr_f through that portfolio: E[Rp]=rf+E[RM]rfσMσp\mathbb{E}[R_p] = r_f + \frac{\mathbb{E}[R_M]-r_f}{\sigma_M}\sigma_p. Its slope is the market Sharpe ratio, and it dominates the curved frontier everywhere except the tangency point.
  • Two-fund separation: everyone holds the same market portfolio of risky assets; risk appetite only sets the cash split — lend (m<1m<1, left) or borrow/leverage (m>1m>1, right).
  • Pitfalls: real borrowing costs more than rfr_f (flatter borrowing CML), the risk-free asset faces inflation/rollover risk, the tangency point rests on noisy estimates, and leverage magnifies losses and risks margin calls.

Big picture

The Capital Market Line at a glance

  • Capital Market Line
    • Risk-free asset
      • T-bill, return r_f
      • Volatility ≈ 0
      • ≈ 0 correlation
    • Why a line
      • σ_p = m · σ_risky
      • Return linear in m
      • No covariance bend
    • Best line
      • Tangency portfolio
      • Steepest from r_f
      • Slope = market Sharpe
      • Dominates the frontier
    • Two-fund separation
      • All hold market basket
      • Lend: m < 1 (left)
      • Borrow: m > 1 (leverage)
    • Pitfalls
      • Borrow rate > r_f (kink)
      • Inflation / rollover risk
      • Noisy tangency estimate
      • Leverage → margin calls
One screen: how a single boring asset turns a curve into a line.

Capital Market Line check

Question 1 of 50 correct

Why is a mix of the risk-free asset and a single risky portfolio a straight line rather than a curve?

Check your answer to continue.

Next up: CAPM — if everyone holds the market, what return should a single asset earn? Enter beta and the Security Market Line.

Mark lesson as complete