Optimal portfolio, capital allocation line and CML

Optimal portfolio, capital allocation line and CML

Published September 28, 2026

Optimal portfolio, capital allocation line and CML

On this page

Learning Outcome Statement

Explain the selection of an optimal portfolio, given an investor’s risk aversion and the capital allocation line, and how this extends to the market portfolio and the capital market line.

On the exam: You are given the risk-free return, risky reference portfolio return and standard deviation, and investor risk aversion, then calculate a risky weight, complete-portfolio return or risk, utility, or identify the CAL/CML relationship.

You start with a risk-free asset that pays the one-period return $R_f$, and a risky reference portfolio with expected return $E(R_R)$ and standard deviation $\sigma_R$. You put fraction $y$ of your money in the risky reference portfolio and the rest in the risk-free asset, creating complete portfolio $C$ with expected return $E(R_C)$. All returns and standard deviations are annual decimals for one annual holding period. Risk aversion $A$ is dimensionless and controls how heavily variance reduces the portfolio’s appeal.

LineRisky reference portfolioComplete portfolio mix
CALAny chosen risky portfolioRisk-free plus chosen portfolio
CMLMarket portfolioRisk-free plus market portfolio

The capital allocation line, or CAL, can use any chosen risky reference portfolio. The capital market line, or CML, is the market-portfolio case, so every CML is a CAL but not every CAL is the CML.

At any point on the CAL, the complete portfolio’s expected return is the risk-free return plus the risky allocation multiplied by the risky portfolio’s excess return.

$$ E(R_C)=R_f+y\left[E(R_R)-R_f\right] $$

$R_f$ is the return supplied by the risk-free asset. The bracket is the risky portfolio’s excess return, and $y$ scales that reward. The slope of the line is excess return per unit of standard deviation, which is the risky portfolio’s Sharpe ratio. An allocation above all available wealth borrows at the risk-free rate.

Use this sequence when the question asks for a direct calculation.

Loading diagram…

Keep the risky reference portfolio given in the question separate from the amount you choose to hold. The flowchart separates identifying the risky opportunity from deciding how much of it belongs in the complete portfolio. That distinction matters because the same reference portfolio can support different allocations for investors with different risk preferences. After selecting a weight, translate it into the complete portfolio’s return and risk, then name the line according to whether the reference portfolio is the market.

When the risk-free asset has zero standard deviation and zero covariance with the risky portfolio, complete portfolio standard deviation $\sigma_C$ comes only from the risky position.

$$ \sigma_C=y\sigma_R $$

A larger positive $y$ raises complete-portfolio risk in direct proportion. This proportionality makes the CAL a straight line in expected-return and standard-deviation space. The building-block picture shows why the risky holding drives uncertainty: the risk-free portion contributes return but no standard deviation under the stated assumptions. Read the weight as the fraction exposed to the risky portfolio, then use that fraction to scale its standard deviation. A weight above one means borrowing to hold more than available wealth in the risky position.

Risky weightComplete-portfolio standard deviation
$y=0$$0$
$0<y<1$Between $0$ and $\sigma_R$
$y=1$$\sigma_R$
$y>1$Above $\sigma_R$

Your choice of $y$ balances return against risk. Let $U(C)$ denote the investor’s mean-variance utility in utility units per year.

$$ U(C)=E(R_C)-0.5\times A\sigma_C^2 $$

Call the utility-maximizing dimensionless risky allocation $y^*$. Combining the CAL return and risk relationships gives:

$$ y^*=\frac{E(R_R)-R_f}{A\sigma_R^2} $$

The numerator rewards excess return. The denominator multiplies risk aversion by variance, so a larger $A$ or a larger $\sigma_R$ lowers $y^$. A larger excess return raises $y^$. This formula chooses the investor’s complete-portfolio allocation, not a new risky reference portfolio.

Worked example

You are handed annual decimal inputs for a risk-free asset, a risky reference portfolio, and your risk aversion. You need the utility-maximizing risky allocation, then the complete portfolio’s expected return, standard deviation, and utility. The exam would ask for a direct calculation and an interpretation of the chosen point on the CAL.

InputValue
Risk-free return, $R_f$0.03 per year
Risky expected return, $E(R_R)$0.09 per year
Risky standard deviation, $\sigma_R$0.15 per year
Risk aversion, $A$4 dimensionless

The x-axis is complete-portfolio standard deviation and the y-axis is expected return. The line uses the allocation points listed below. Each point reflects the same risk-free asset and risky reference portfolio, with the risky weight increasing from left to right. The return rises with that weight, while the standard deviation also rises because it is scaled by the same allocation. Use the chart to locate the pattern, then use the table to connect each plotted point to its exact weight.

Loading diagram…

The chart makes the CAL’s straight-line relationship visible, while the values let you check the arithmetic at selected allocations. At zero risky weight, the complete portfolio is risk-free; at one, it matches the risky reference portfolio. Intermediate and larger weights extend along the same line. Keep return and standard deviation paired at each weight so you can interpret both dimensions of the chosen complete portfolio.

Complete SDExpected returnRisky weight
0.00000.03000
0.07500.06000.5
0.15000.09001
0.22500.12001.5

Read the points from left to right as increasing risky allocations.

  1. Subtract the risk-free return from the risky return to find the reward for taking risk: $E(R_R)-R_f=0.09-0.03=0.0600$ per year. This is the numerator of the risky allocation.
  2. Square the risky standard deviation because utility uses variance: $\sigma_R^2=0.15^2=0.0225$. Multiply by risk aversion to get the denominator: $A\sigma_R^2=4\times0.0225=0.09$.
  3. Divide excess return by risk-adjusted variance: $y^*=\frac{0.0600}{0.09}=0.6667$.
  4. Use the CAL return formula to combine the two assets: $E(R_C)=0.03+0.6667\times0.0600=0.0700$ per year.
  5. Scale the risky standard deviation because the risk-free asset has no risk: $\sigma_C=0.6667\times0.15=0.1000$ per year.
  6. Square complete-portfolio risk before applying utility: $\sigma_C^2=0.1000^2=0.0100$. Then $U(C)=0.0700-0.5\times4\times0.0100=0.0500$ utility units per year.

Choose the complete portfolio with $y^*=0.6667$. It has expected return 0.0700, standard deviation 0.1000, and utility 0.0500.

Changed condition

Keep every input from the worked example except risk aversion, which rises from 4 to 6. Predict the direction of each output before looking at the table.

MeasureBase caseHigher aversion
Risk aversion, $A$46
Optimal risky weight, $y^*$0.66670.4444
Expected return / SD / utility0.0700 / 0.1000 / 0.05000.0567 / 0.0667 / 0.0433

The last row lists expected return, standard deviation, and utility in that order. Raising $A$ makes the variance penalty heavier, so $y^*$ falls. The smaller risky holding pulls expected return and standard deviation down along the same CAL. Utility also falls because the higher-aversion investor applies a larger penalty to risk.

Before checking the next section, calculate the higher-aversion $y^*$ yourself.

Common error

A candidate may maximize the risky portfolio’s Sharpe ratio and call that allocation optimal. That feels right because the Sharpe ratio identifies the best reward per unit of risk among risky portfolios, but it selects the risky reference portfolio rather than the investor’s mix with the risk-free asset. When the question gives investor risk aversion, use the utility-based formula for the complete-portfolio risky weight $y^*$ instead of choosing the risky portfolio alone.

Calculator

Enter the base inputs before the final computation.

KeysDisplay
0.03 STO 10.03
0.09 STO 20.09
0.15 STO 30.15
4 STO 44
RCL 2 - RCL 10.0600
RCL 2 - RCL 1 ÷ (RCL 4 × (RCL 3 y^x 2)) CPT0.6667
The stored values let you reuse the same inputs without re-entering them. First retrieve the risky return and risk-free return to obtain excess return. Then divide that amount by risk aversion times the squared risky standard deviation. Changing only risk aversion isolates its effect on the optimal risky weight; the second sequence therefore provides a direct comparison with the base case.

Repeat the sequence with risk aversion set to 6.

KeysDisplay
0.03 STO 10.03
0.09 STO 20.09
0.15 STO 30.15
6 STO 46
RCL 2 - RCL 10.0600
RCL 2 - RCL 1 ÷ (RCL 4 × (RCL 3 y^x 2)) CPT0.4444

Check yourself

Practice

Which statement best distinguishes the CAL from the CML?

Put the calculation and interpretation steps in order.

  • Read the risk-free return, risky return, standard deviation, and risk aversion
  • Calculate the risky portfolio excess return
  • Apply the utility-based risky weight formula
  • Calculate and interpret the complete portfolio

Revision snapshot

The CAL formula is $E(R_C)=R_f+y[E(R_R)-R_f]$. When the risk-free asset has zero standard deviation, $\sigma_C=y\sigma_R$. For mean-variance utility, $y^=\frac{E(R_R)-R_f}{A\sigma_R^2}$. The CML is the CAL whose risky reference portfolio is the market portfolio. If the question gives $A$, do not maximize the risky portfolio’s Sharpe ratio and call that allocation optimal. Calculate $y^$, then interpret the complete portfolio’s return and risk.

Unlock the full lesson and continue reading

Signup to continue reading this lesson and unlimited access questions, flashcards, AI notes, and more

Scan to download app

Scan to download
UNLOCK FREE ACCESS

Practice Questions: Optimal portfolio, capital allocation line and CML

  1. 1. A quantitative analyst at Meridian Asset Management estimates a multiple regression to explain the monthly excess return of an actively managed credit portfolio. The explanatory variables are the equity market excess return, the monthly change in the term spread, and the monthly change in the credit spread. All spread changes are expressed in percentage points. The analyst uses 60 monthly observations and estimates the model by ordinary least squares. Exhibit 1 presents the coefficient estimates, conventional standard errors, p-values, and variance inflation factors. Unless otherwise stated, tests are two-tailed. The analyst evaluates individual coefficients at both the 5% and 1% significance levels. She also uses the reported F-test to evaluate the joint null hypothesis that all slope coefficients are zero. The analyst recognizes that rejecting this joint null would indicate explanatory association but would not, without an appropriate research design, establish that changes in the regressors cause portfolio returns. Before using the model for inference, the analyst tests whether the residual variance is constant and whether residuals are serially uncorrelated. Exhibit 2 reports the Breusch–Pagan and Ljung–Box test results. For each diagnostic, the null hypothesis represents the absence of the tested problem. The analyst notes that heteroskedasticity can make conventional ordinary least-squares standard errors unreliable even when the coefficient estimators remain unbiased under the other classical assumptions. Serial correlation may likewise invalidate conventional inference and signal unmodeled time-series structure. A second analyst develops an expanded specification by testing transformations of 75 accounting, market, and macroeconomic variables. Eight transformed predictors that produced the largest reduction in training error are added to the base model. Both models are then evaluated on the same later, chronologically separate validation sample. Their root mean squared errors are shown in Exhibit 2. Lower RMSE indicates better predictive performance. The portfolio manager wants the model that is most likely to generalize to new observations. She instructs the analysts not to prefer additional complexity merely because it improves in-sample fit and not to interpret R-squared or coefficient significance as proof of an economic causal relationship.

    • 2. Daniel Cho is validating a factor model used by Northbridge Asset Management to explain the monthly excess return of an actively managed equity portfolio. The proposed model uses the contemporaneous market excess return and the monthly change in a government-bond term spread as explanatory variables. All return variables are measured in percentage points, and the term-spread change is also measured in percentage points. The model is estimated using 60 monthly observations and an intercept. Exhibit 1 reports the ordinary least-squares coefficient estimates and model-fit statistics. Cho evaluates each slope coefficient using a two-tailed 5% significance level. He also uses the reported F-test to assess the joint null hypothesis that both slope coefficients equal zero. The portfolio manager argues that an insignificant intercept proves that the model lacks explanatory power. Cho notes that this claim confuses a test of alpha with a test of the slopes' joint explanatory contribution. He also cautions that R-squared measures in-sample variation explained and does not establish causality or guarantee out-of-sample forecasting accuracy. Cho next examines whether the standard ordinary least-squares assumptions are sufficiently satisfied for conventional inference. Exhibit 2 presents the residual diagnostics. The Breusch–Pagan test uses the null hypothesis of homoskedastic errors. The residual-versus-fitted review shows that residual dispersion increases as fitted portfolio returns increase, although the residual mean remains approximately zero. Cho considers retaining the coefficient estimates while modifying the estimated covariance matrix if the evidence indicates heteroskedasticity. The time ordering of the monthly observations is also important. A Durbin–Watson statistic close to 2 would be consistent with no first-order residual serial correlation, whereas a value materially below 2 would be consistent with positive serial correlation. Cho understands that serially correlated errors can make conventional standard errors and hypothesis tests unreliable even when the explanatory variables are exogenous. He will not infer the direction of any coefficient bias solely from the Durbin–Watson statistic. Finally, Cho reviews multicollinearity and functional form. The variance inflation factors in Exhibit 1 are calculated for the two slope variables. The model-development team also tested squared terms and inspected residual plots, finding no material nonlinear pattern. Cho must choose remedies linked to the actual diagnostics rather than changing the model merely to increase adjusted R-squared or deleting an economically motivated variable solely because its individual p-value exceeds 5%.

      • 3. An analyst at Meridian Multi-Asset Fund evaluates whether the fund's monthly excess return is associated with two market factors. She estimates an ordinary least squares regression in which the dependent variable is the fund's monthly excess return and the explanatory variables are the market excess return and the monthly change in the term spread. All returns and spread changes are expressed in percentage points. The estimated model includes an intercept and uses 72 consecutive monthly observations. The regression results are shown in Exhibit 1. The analyst explains that each slope must be interpreted while holding the other included explanatory variable constant. She also cautions the investment committee that a statistically significant relationship does not, by itself, establish economic causality. The adjusted R-squared is reported as a measure of in-sample explanatory power, not as proof that the selected factors cause the portfolio's returns. The committee asks whether the two explanatory variables are jointly useful. The analyst therefore performs an F-test with the null hypothesis that the market and term-spread slope coefficients are jointly equal to zero. Exhibit 2 reports both the calculated statistic and the applicable 5% critical value. The intercept is not included in the restrictions for this joint test. Before using the model for inference, the analyst reviews residual diagnostics. The Breusch–Pagan test evaluates whether the residual variance is constant. The Durbin–Watson statistic is used as an indicator of first-order residual serial correlation, and variance inflation factors are reviewed for multicollinearity. She assumes the explanatory variables are exogenous, so the conditional mean of the regression error is zero. If only the constant-variance assumption is violated, she plans to retain the OLS coefficient estimates but adjust the estimated standard errors appropriately. A colleague proposes removing the term-spread change to simplify the model. For the sample under review, the term-spread change is positively correlated with market excess return. The analyst expects the true partial effect of a term-spread increase on the portfolio's excess return to remain negative, consistent with the coefficient in Exhibit 1. She evaluates the likely direction of omitted-variable bias before deciding whether simplification is defensible.

        • 4. A research analyst evaluates the monthly performance of the Northbridge Equity Fund using a multiple regression. The dependent variable is the fund's return in excess of the one-month risk-free rate. The explanatory variables are the broad equity market's excess return and a small-cap factor return. All returns in the regression are expressed in percentage points, and the sample contains 60 monthly observations. The analyst assumes the relationship is linear and initially estimates the model using ordinary least squares. Exhibit 1 reports the coefficients, conventional standard errors, individual t-statistics, p-values, model fit statistics, and a residual diagnostic. The coefficient on each explanatory variable measures the expected change in the fund's excess return associated with a one-percentage-point change in that variable, holding the other variable constant. The investment committee uses a 5% significance level for all tests. For each individual coefficient, the relevant two-sided null hypothesis is that the population coefficient equals zero. The model F-test uses the null hypothesis that all slope coefficients jointly equal zero. The committee recognizes that statistical significance does not by itself establish economic significance or causality. After reviewing the initial output, the analyst makes the three comments in Exhibit 2. The committee asks whether the intercept provides evidence of positive abnormal performance, whether an insignificant individual coefficient prevents the regression from being significant overall, and how the residual diagnostic should affect inference. The Breusch–Pagan test reported in Exhibit 1 tests the null hypothesis that the regression errors are homoskedastic. The analyst notes that heteroskedasticity does not, by itself, bias ordinary least squares coefficient estimates when the other classical assumptions hold, but conventional standard errors may be inconsistent. Therefore, any response to the diagnostic should focus on improving statistical inference without automatically removing economically relevant explanatory variables or replacing the multiple regression with a bivariate measure.

          • 5. Elena Park evaluates the Meridian Factor Fund using 60 monthly observations. The dependent variable is the fund's monthly excess return, and the explanatory variables are contemporaneous market, size, and value factor returns. Park estimates the model by ordinary least squares and initially assumes that the relationship is linear, the regressors are measured without error, and the error term has an expected value of zero conditional on the regressors. Exhibit 1 reports the estimated coefficients, conventional standard errors, model-fit measures, and selected diagnostics. Park uses a two-tailed 5% significance level when evaluating individual coefficients. She understands that an individual coefficient's t-statistic is calculated as the estimated coefficient minus its hypothesized value, divided by its standard error. For all individual tests, the hypothesized coefficient is zero. A committee member states that the model's R-squared proves the included factors cause the majority of the fund's monthly performance. Park notes that a regression may explain sample variation without establishing a causal relationship or guaranteeing out-of-sample predictive accuracy. She also notes that adjusted R-squared accounts for the number of regressors, whereas unadjusted R-squared does not impose a penalty for adding variables. Park reviews the diagnostic results before presenting the model. The Breusch–Pagan test has a null hypothesis of homoskedastic errors. She considers whether conventional coefficient estimates can remain unbiased while conventional standard errors and hypothesis tests become unreliable. She also observes the Durbin–Watson statistic but evaluates each diagnostic according to the specific condition it is intended to detect. The reported variance inflation factors are not unusually high. Finally, Park investigates possible model misspecification. Exhibit 2 describes a profitability factor that is currently omitted. She applies the omitted-variable-bias framework: the direction of bias in an included coefficient depends on both the omitted variable's effect on the dependent variable and the correlation between the omitted variable and the included regressor. All else is assumed unchanged when profitability is added to the model.

            • 6. A Northbank Investments analyst evaluates whether the excess return of an actively managed equity fund is related to three traded factor returns. She estimates the multiple regression reported in Exhibit 1 using 60 consecutive monthly observations. All returns are expressed in percentage points, and the model includes an intercept. The analyst uses two-sided tests at the 5% significance level and has been instructed to distinguish individual coefficient significance from the joint significance of the regression. The analyst states that the size-factor coefficient should be interpreted on a ceteris paribus basis. In particular, its estimated effect assumes that the market and value factors are held constant. She also notes that the t-statistic measures the coefficient relative to its estimated standard error and is not itself an estimate of economic sensitivity. As part of the diagnostic review, the analyst prepares a residual-versus-fitted-value plot. The residuals remain centered near zero, but their vertical spread is narrow at low fitted returns and becomes progressively wider at higher fitted returns. The resulting point cloud has a clearly visible fan shape. The analyst also reviews the Durbin–Watson statistic in Exhibit 1. For this sample and specification, the firm's diagnostic guidance treats a statistic materially below 2.0 as evidence consistent with positive serial correlation. The analyst considers three responses. First, she could continue using the ordinary least squares coefficient estimates while calculating standard errors designed to be robust to both nonconstant error variance and serial correlation. Second, she could delete any variable whose individual coefficient is statistically insignificant, without considering economic theory or omitted-variable effects. Third, she could rely on the model's R² and significant F-test as proof that each factor has a causal effect on the fund. Northbank's research policy states that diagnostic violations must be evaluated separately from coefficient interpretation. Heteroskedasticity and serial correlation may make conventional ordinary least squares standard errors unreliable even when the coefficient estimates remain usable under the relevant exogeneity conditions. The policy also prohibits describing statistical association or explanatory power as proof of causality.

              • 7. An institutional research team evaluates whether the Alpha Fund's monthly excess returns are associated with two systematic factors. The senior analyst estimates an ordinary least squares regression in which the dependent variable is the fund's monthly return minus the monthly risk-free rate. The independent variables are the market excess return and the return on a size factor. All returns are expressed in percentage points, and the sample contains 60 monthly observations. The analyst uses two-tailed tests at the 5% significance level. For each individual coefficient, the null hypothesis is that the coefficient equals zero. The alternative hypothesis is that the coefficient differs from zero. Because the regression contains an intercept and two explanatory variables, the individual coefficient tests have 57 degrees of freedom. The relevant critical value and diagnostic findings are provided in Exhibit 2. The team also performs an F-test of overall regression significance. The joint null hypothesis is that the coefficients on both the market and size factors equal zero. The alternative is that at least one of those two slope coefficients differs from zero. The team understands that rejection of this joint null does not necessarily imply that every explanatory variable is individually significant. During model review, an analyst observes a fan-shaped residual plot: observations with larger fitted excess returns tend to have residuals of greater magnitude. The team confirms that this pattern is not caused by an omitted nonlinear term and that the explanatory variables remain uncorrelated with the regression error. It also finds no material multicollinearity. The team additionally computes the Durbin-Watson statistic to test for serial correlation in the residuals, a diagnostic distinct from the heteroskedasticity pattern noted above. The senior analyst notes that, under these conditions, ordinary least squares slope estimates remain unbiased and consistent, but conventional estimates of coefficient standard errors may be unreliable in the presence of either heteroskedasticity or autocorrelation. The team must therefore determine the appropriate adjustment for statistical inference without deleting economically justified explanatory variables or claiming that the regression establishes causal relationships.

                Flashcards: Optimal portfolio, capital allocation line and CML

                1. 1. In Portfolio Management (Risk and Return), what is the formula for the standard deviation of returns for a portfolio of two risky assets?

                  Show answer

                  \[\sigma{portfolio} = \sqrt{w1^2 \sigma1^2 + w2^2 \sigma2^2 + 2 w1 w2 \rho{12} \sigma1 \sigma2}\]

                2. 2. In the two-asset portfolio standard deviation formula, what does \(\rho{12}\) represent?

                  Show answer

                  The correlation coefficient between the returns of Asset 1 and Asset 2.

                3. 3. In the two-asset portfolio variance formula, what does \(Cov{AB}\) represent?

                  Show answer

                  The expected value of the product of the deviations of the two assets' returns from their respective expected values.

                4. 4. What is the formula for the expected return of a portfolio?

                  Show answer

                  \[E(Rp) = \sum{i=1}^{n} wi E(Ri)\] where \(wi\) is the asset weight and \(E(Ri)\) is the expected return.

                5. 5. What formula do you use to calculate the variance of a two-asset portfolio?

                  Show answer

                  \[\sigmap^2 = wA^2 \sigmaA^2 + wB^2 \sigmaB^2 + 2wA wB Cov{AB}\]

                Everything you need for CFA prep

                Get full Oncourse access with lessons, practice questions, flashcards and AI study tools.

                GET STARTED FOR FREE
                75% OFFLimited time offer
                GET 75% OFF