Get full access to all Data Science, Machine Learning, and AI courses built for finance professionals.
One-time payment - Lifetime access
Or create a free account to start
A step-by-step guide covering Python, SQL, analytics, and finance applications.
Or create a free account to access more
Get full access to all Data Science, Machine Learning, and AI courses built for finance professionals.
One-time payment - Lifetime access
Or create a free account to start
A step-by-step guide covering Python, SQL, analytics, and finance applications.
Or create a free account to access more
As we know, an efficient frontier represents the set of efficient portfolios that will give the highest return at each level of risk or the lowest risk for each level of return. A portfolio is efficient if there is no alternative with:
Let’s take a portfolio of two assets and see how we can build the efficient frontier in excel. Let’s say we have two securities, A and B, with the following risk-return data.

We can combine these two assets to form a portfolio. In the portfolio, we can combine the two assets with different weights for each asset to create an infinite number of portfolios having different risk-return profiles. For example, if we take 50% of each asset, the expected return and risk of the portfolio will be as follows:
E(R) = 0.50*12% + 0.50*20% = 16%
σ = Sqrt(0.20^2*0.5^2+0.40^2*0.5^2+2*(-0.2)*0.5*0.5*0.2*0.4) = 20.49%
The following table shows the risk-return profile for different portfolios created by combining the two assets in different weights.

The risk and return of these portfolios can be plotted on the XY scatter graph with risk on x-axis and return on Y axis. The graph looks as follows and is called the efficient frontier.

Note that this graph was created with just two assets in the portfolio. The efficient frontier can be created using multiple assets. This frontier represents all the feasible portfolio combinations that one can create. There is also a minimum variance portfolio (MVP) for which there is minimum risk. An investor will not want to purchase a portfolio below the MVP. The curve bends backwards which indicates the benefits of diversification due to negative correlation.