Enter Values

%
Annualized expected return on market portfolio
%
Annualized standard deviation of market
%
T-bill or other risk-free rate
%
Desired portfolio standard deviation
%
Desired portfolio expected return
Computes portfolio utility U = E(rC) - ½AσC²
CML Formula
E(rC) = rf + [(E(rM) - rf) / σM] × σC
E(rC) = Portfolio return | rf = Risk-free rate | σM = Market risk | σC = Portfolio risk Standard CML form (y ≥ 0). Calculator uses canonical form E(rC) = rf + y[E(rM) − rf] for all y.
Ryan O'Connell, CFA
Calculator by Ryan O'Connell, CFA

CML Portfolio Result

Portfolio Expected Return E(rC) 7.3333% Lending
Portfolio Risk σC 12.0000%
Market Weight (y) 66.67%
Risk-Free Weight (1-y) 33.33%
CML Slope (Market Sharpe) 0.4444
Portfolio Sharpe 0.4444
Market Risk Premium 8.0000%
Portfolio Utility (A = 4) 0.044533

Formula Breakdown

CML: E(rC) = rf + y × [E(rM) - rf]
Canonical form — valid for all allocation weights y
Model Assumptions
  • Market portfolio is mean-variance efficient (CAPM assumption)
  • Unlimited borrowing and lending at the risk-free rate
  • Homogeneous investor expectations
  • No transaction costs or taxes
  • Single-period model (one investment horizon)
  • CML applies only to efficient portfolios (combinations of market + risk-free)

For educational purposes. Not financial advice. Market conventions simplified.

Allocation Interpretation

Weight (y) Allocation Meaning
y = 0 100% Risk-Free All capital in T-bills
0 < y < 1 Lending Split between market and risk-free asset
y = 1 100% Market Entire portfolio in market index
y > 1 Leveraged Borrowing at rf to invest beyond 100% in market
y < 0 Short Market CAL extension — shorting the market portfolio

Understanding the Capital Market Line

Video Explanation

Video: Capital Market Line Explained

What is the Capital Market Line?

The Capital Market Line (CML) represents all efficient portfolios formed by combining the market portfolio with the risk-free asset. According to BKM Chapter 6, the CML is the capital allocation line (CAL) when the risky portfolio is the market portfolio itself — a well-diversified index that captures the entire investable universe.

Any point on the CML offers the highest expected return for a given level of total risk (standard deviation). The slope of the CML is the market's Sharpe ratio, representing the risk-return tradeoff available to all investors.

CML Equation (BKM Eq. 6.6)
E(rC) = rf + [(E(rM) - rf) / σM] × σC
Slope = Market Sharpe Ratio = [E(rM) - rf] / σM

CML vs. Security Market Line (SML)

Capital Market Line (CML)

Total risk (σ) on x-axis
Efficient portfolios only — combinations of market portfolio + risk-free asset. Used for portfolio construction and capital allocation decisions.

Security Market Line (SML)

Systematic risk (β) on x-axis
All assets and portfolios — including individual securities. Used for asset pricing via CAPM.

Leverage and the CML

Portfolios to the left of the market portfolio (y < 1) involve lending — investing part of your capital in risk-free T-bills. Portfolios to the right (y > 1) involve borrowing — at the risk-free rate to lever your market exposure.

The key insight: regardless of where you are on the CML, the Sharpe ratio remains constant and equal to the market's Sharpe ratio. Leverage amplifies both risk and return proportionally.

When to Use This Calculator: Use the CML Calculator to find the expected return and allocation for efficient portfolios — combinations of the market portfolio and the risk-free asset. Use the CAPM Calculator to find the expected return of an individual security based on its beta.

Related Concepts

Frequently Asked Questions

The CML is a line in risk-return space that represents all efficient portfolios formed by combining the market portfolio with the risk-free asset. According to BKM Chapter 6, it is the capital allocation line (CAL) when the risky portfolio is the market portfolio. Any portfolio on the CML offers the highest expected return for its level of risk, as measured by the market Sharpe ratio.

The CML plots expected return versus total risk (standard deviation, σ) for efficient portfolios only — combinations of the market portfolio and the risk-free asset. The SML (from CAPM, BKM Chapter 9) plots expected return versus systematic risk (beta, β) for all assets and portfolios, including individual securities. The CML is about portfolio construction along the efficient frontier; the SML is about pricing any asset relative to its systematic risk. Only efficient portfolios lie on the CML, but all fairly priced assets lie on the SML.

Being on the CML means your portfolio is mean-variance efficient — it is some combination of the risk-free asset and the market portfolio. Points below the CML represent inefficient portfolios that could achieve higher returns for the same risk. Only diversified portfolios that combine the market portfolio with risk-free lending or borrowing can lie on the CML.

When the market weight y exceeds 1, the investor borrows at the risk-free rate to invest more than 100% in the market portfolio. This creates a leveraged position with both higher expected return and higher risk, but the Sharpe ratio remains the same as the market’s. For example, y = 1.5 means borrowing 50% of your capital to invest 150% in the market.

The slope of the CML equals the market’s Sharpe ratio: [E(rM) - rf] / σM. It represents the additional expected return per unit of additional risk. A steeper CML means a better risk-return tradeoff. BKM reports the historical U.S. market Sharpe ratio at approximately 0.44 (1927–2021).

Generally no. Individual securities carry unsystematic (diversifiable) risk, so they plot below the CML. Only perfectly diversified portfolios that are combinations of the market portfolio and the risk-free asset lie on the CML. This is why diversification is essential — it eliminates unsystematic risk and moves portfolios closer to the efficient frontier.
Disclaimer

This calculator is for educational purposes only. The Capital Market Line assumes the CAPM holds, investors can borrow and lend at the risk-free rate without limit, and the market portfolio is mean-variance efficient. Real-world constraints such as transaction costs, borrowing rate premiums, and non-normal returns will cause deviations from these theoretical results. This tool should not be used for trading decisions.

Course by Ryan O'Connell, CFA, FRM

Portfolio Analytics & Risk Management Course

Master portfolio theory and risk management from fundamentals to advanced analytics. Covers modern portfolio theory, risk metrics, performance evaluation, and factor models.

  • Sharpe, Sortino, Treynor & Information Ratio deep dives
  • Modern Portfolio Theory and efficient frontier construction
  • Factor models including CAPM and Fama-French
  • Hands-on exercises with real portfolio data