
In March 1952 Harry Markowitz published a 15 page paper in the Journal of Finance. It later earned him a share of the 1990 Nobel Prize in economics. The idea fits in one line: what matters for a portfolio is not how risky each holding is, but how the holdings move against each other. Diversification is not owning many things. It is owning things that do not all fall on the same day.
I learned this the expensive way. Early in my career I spent my energy on which stocks to own and almost none on how they combined. After many years of running systematic books, I would put it bluntly: the way you combine positions decides your drawdown more than the positions themselves.
The textbook says stocks and government bonds cushion each other. Test that on NSE data. In the five years to 31 August 2026 the monthly returns of the Nifty 50 and of NSE's 10 year G-Sec index had a correlation of +0.53, not a negative number. In the worst Nifty month of the period, March 2026, the Nifty 50 fell 11.31% and the bond index fell too, 1.80%, its worst month of the five years. Source: NSE month end index closes, 31 Aug 2021 to 31 Aug 2026, price indices; RupeeCase calculation. This module gives the maths behind diversification, the tests the theory failed, and the part that survives.
6By the end you can
- Work out the volatility of a two asset mix from two volatilities and one correlation, and find the least risky mix by hand, in rupees.
- Write the Markowitz problem, the capital market line and the CAPM, and say what each one assumes.
- Say what Black, Jensen and Scholes (1972) and Fama and French (1992) found, and read the India evidence.
- Show why an optimiser fed with historical averages maximises error, using five years of NSE data.
- Name three repairs: equal weights, shrinkage and Black and Litterman.
- Check your own holdings for shared drivers, such as rates or the rupee, instead of counting names.
2 terms this section turns on
The core insight: correlation and diversification
Take two stocks. Stock A is expected to return 15% a year with 20% volatility. Stock B has the same 15% and the same 20%. Put half your money in each. The expected return is 15% whatever you do. The risk depends on one number, the correlation between them, written ρ (rho).
- If A and B are perfectly correlated (ρ = +1), portfolio volatility stays at 20%. Combining them gained you nothing.
- If they are uncorrelated (ρ = 0), portfolio volatility falls to about 14.1%. Same return, roughly 30% less risk.
- If they are perfectly negatively correlated (ρ = -1), volatility is 0%. Each move cancels the other. Two real stocks never behave like this, but it shows where the benefit comes from.
+ 2w₁w₂σ₁σ₂ρ₁₂
Read one more paragraph, 59 words
Put that in rupees. On ₹10 lakh, a one standard deviation bad year for a single stock at 20% volatility is a ₹2 lakh hit. For the uncorrelated pair it is about ₹1.41 lakh. You gave up no expected return to save that ₹59,000 of typical pain. That is why diversification is called the only free lunch in finance.

How many stocks is enough?
Extend the same maths to an equal weight portfolio of N stocks, each with the same volatility σ and the same average correlation ρ with each other. Portfolio volatility becomes σ × √(ρ + (1 - ρ) / N). Two things fall out of that formula. Adding stocks helps fast at first and then barely at all. And no number of stocks takes you below σ × √ρ, because the shared, market wide part of the risk never diversifies away.
- 1 stock30.0%
- 5 stocks19.9%
- 10 stocks18.2%
- 20 stocks17.4%
- 50 stocks16.8%
- Unlimited, the floor16.4%
Portfolio volatility, equal weight, from σ × √(ρ + (1 - ρ) / N) with each stock at 30% volatility and average correlation 0.3. Illustration, not a back test.
Read one more paragraph, 42 words
Going from 1 stock to 10 removes 39% of the risk. Going from 20 to 50 takes off only 0.6 of a point more. If you want the risk lower still, you need a lower correlation, not more of the same thing.
The research model: Markowitz, Tobin and Sharpe
Three papers built the theory, and each adds one layer. Markowitz (1952) says how to choose among risky assets. Tobin (1958) says what changes when a risk free asset exists. Sharpe (1964), with Lintner (1965) arriving at the same place on his own, says what prices should look like if everyone follows the first two.
₹100 in Allcap Multi Asset became about ₹131 in the model
Layer one: the Markowitz problem
Start with N assets, a vector of expected returns μ and a covariance matrix Σ, which holds every variance and every pairwise covariance. A portfolio is a set of weights w that add up to 1. Its expected return is the weighted average of the parts. Its variance is the double sum over all pairs.
Variance = w' S w
Pick w to minimise variance
for a target return
Weights add up to 1
The model assumes you care only about the mean and variance of one period's return, and that you know μ and Σ. The second assumption is the weak point; the sections below test it.
Layer two: Tobin separation and the capital market line
Tobin (1958) added a risk free asset. Then every investor, whatever their appetite for risk, holds the same mix of risky assets, the one with the highest Sharpe ratio, and only the split between that mix and the risk free asset differs. Plotted, the allowed portfolios lie on a straight line from the risk free rate through that mix: the capital market line.
S = (E(Rm) - rf) / vol(m)

Read one more paragraph, 123 words
A worked line from NSE data. NSE's Nifty 1D Rate Index measures the return on overnight lending against government securities (the CCIL TREPS rate), so it stands in for the risk free rate; it averaged 5.59% a year over the 60 months to 31 August 2026. The Nifty 50 averaged 7.68% with a volatility of 13.12%, a Sharpe ratio of (7.68 - 5.59) / 13.12 = 0.16. Put 60% of ₹10 lakh in the Nifty 50 and 40% at the overnight rate and the line gives 0.6 × 7.68 + 0.4 × 5.59 = 6.84% at 0.6 × 13.12 = 7.87% volatility. Same Sharpe ratio, a smaller ride. A retail investor cannot borrow at the overnight rate, so the line stops at 100%.
Layer three: CAPM and the security market line
Sharpe (1964) asked what happens if every investor solves the problem above with the same beliefs and can lend and borrow at the risk free rate. The risky mix everyone holds must then be the market portfolio, or prices would not clear. Only the part of an asset's risk that moves with the market is rewarded.
(E(Rm) - rf)
beta(i) = Cov(Ri,Rm)/Var(Rm)
The efficient frontier, worked by hand in rupees
Markowitz showed that for any set of assets there is a curve of portfolios that give the highest expected return for each level of risk. That curve is the efficient frontier. A portfolio on it cannot earn more without taking more risk, and cannot cut risk without giving up some return.
| Asset | Return a year | Volatility | Correlation |
|---|---|---|---|
| Nifty 50 | 7.68% | 13.12% | +0.53 |
| 10 year G-Sec index | 5.28% | 3.15% |
Two terms to hold on to from 4.1
Source: NSE daily index files (ind_close_all), month end closes 31 Aug 2021 to 31 Aug 2026; RupeeCase calculation. The Nifty 50 here is the price index, so it leaves out a dividend yield of 1.17% (NSE, 31 Aug 2026).
/ (s1^2 + s2^2 - 2 r s1 s2)
| Nifty 50 share | Return a year | Volatility | Typical swing, ₹10 lakh |
|---|---|---|---|
| 0% | 5.28% | 3.15% | ₹31,500 |
| 10% | 5.52% | 3.70% | ₹37,000 |
| 30% | 6.00% | 5.43% | ₹54,300 |
| 50% | 6.48% | 7.51% | ₹75,100 |
| 70% | 6.96% | 9.72% | ₹97,200 |
| 100% | 7.68% | 13.12% | ₹1.31 lakh |
Computed with the two asset formula above. The swing is one standard deviation a year on ₹10 lakh. Historical averages, five years, price index for the Nifty 50: an illustration of the method, not an expected return.

Read 5 more paragraphs, 238 words
Build a small one from NSE month end closes, 31 August 2021 to 31 August 2026, 60 monthly returns. Asset one is the Nifty 50, price index. Asset two is the NSE 10 year Benchmark G-Sec index, which NSE computes on a total return basis, accrued interest included. Annual figures are the monthly average times 12 and the monthly volatility times √12.
The least risky mix has this weight in asset one:
Here r × s1 = 0.53 × 13.12 = 6.95, which is above s2 = 3.15. The numerator is 3.15² - 6.95 × 3.15 = -11.97 and the weight in the Nifty 50 comes out at -8.7%. A negative stock weight means short selling, which a retail account cannot do, so the least risky mix you can hold is 100% in the bond index. Now walk up the frontier:
The curve bends. The first 30% in stocks adds 0.72 points of return and 2.28 points of volatility. The last 30%, from 70% to 100%, adds the same 0.72 points of return and 3.40 points of volatility. That bend is the frontier. Stocks beat the bond index by only 2.4 points a year in this window, a gap the estimation error section shows is mostly noise.
A portfolio below the curve leaves return on the table. In practice almost every real portfolio sits below it, because the curve is drawn from estimates and the estimates are wrong.
The tests, and where CAPM failed
The prediction is simple: average returns line up on a straight line against beta, and nothing else matters. Fifty years of tests found the line flatter and messier.
- Black, Jensen and Scholes (1972). They sorted US stocks into portfolios by beta, because single stock betas are noisy. The relation was positive and roughly straight but flatter than CAPM predicts: low beta portfolios earned more than the line gives, high beta portfolios less.
- Roll (1977). The theory concerns the market portfolio of all risky assets, which nobody can observe. Every test uses an index as a stand in, so it tests the stand in. Change the index and the alphas change.
- Fama and French (1992). For US stocks from 1963 to 1990, once size is allowed for, beta had no useful link to average returns, even when it was the only variable. Size and book to market explained the cross section. Fama and French (2004) conclude that the model's empirical failures probably invalidate most of its applications.
Where this section sits in module 4.1
The India evidence
The IIM Ahmedabad factor library (Agarwalla, Jacob and Varma) gives, for its December 2025 release, annualised geometric means since 1 January 1994 of 4.93% for the market premium, 6.61% for value (HML), 10.65% for momentum (WML) and -3.71% for size (SMB). Value and momentum earned more than the market premium, which a one factor model has no room for. These are long short research series before costs, not returns you could hold.
IIMA, Fama French and Momentum Factors: Data Library for the Indian Market (release December 2025)| Index | Beta | Excess return a year | The line predicts |
|---|---|---|---|
| Nifty Low Volatility 50 | 0.93 | 3.5% | 1.9% |
| Nifty 50 | 1.00 | 2.1% | 2.1% |
| Nifty 500 | 1.07 | 5.0% | 2.2% |
| Nifty Midcap 150 | 1.12 | 11.6% | 2.3% |
| Nifty Smallcap 250 | 1.18 | 11.1% | 2.5% |
| Nifty High Beta 50 | 1.56 | 13.7% | 3.3% |
| 10 year G-Sec index | 0.12 | -0.3% | 0.3% |
Source: NSE daily index files, month end closes, 31 Aug 2021 to 31 Aug 2026, price indices; beta by regression on monthly excess returns of the Nifty 50 over the Nifty 1D Rate Index; RupeeCase calculation. Standard errors of the betas run from 0.03 to 0.13.
Read 2 more paragraphs, 119 words
Now a security market line from NSE indices: the Nifty 50 as the market, the overnight rate index as the risk free rate, 60 months to 31 August 2026. The market's average excess return was 2.09% a year, so the line predicts beta × 2.09%.
Almost every index sits far above the line. That is not free money. It says the Nifty 50 was a weak stand in for the market: its price index grew 7.05% a year over the window against 10.01% for the Nifty 500 and 17.02% for the Nifty Midcap 150. Roll's point, in rupees. Five years, one path, no significance test: this shows how much the proxy matters, not a verdict on CAPM in India.

What MPT gets right
Correlation, not each holding's own risk, drives portfolio risk. Diversification cuts risk without cutting expected return. Some risk, the market part, cannot be diversified away. And risk and return are linked: no working market pays equity like returns for bond like volatility.
What MPT gets wrong: the practical limitations
Two limits get their own sections below: unstable correlations, and an optimiser that maximises estimation error. Two more:
Estimation error: why an optimiser maximises your mistakes
Michaud (1989) gave the problem its name: a mean variance optimiser is an estimation error maximiser. It loads up on assets whose estimated returns are too high, risks too low or correlations too negative, which are exactly where the estimates are most likely wrong.

Read one more paragraph, 54 words
The noise is not equal across inputs. Ziemba and MacLean, summarising the simulations of Chopra and Ziemba (1993), put the cost of errors in expected returns at about 20 times the cost of errors in covariances on average, and about 100 to 3 to 1 (means, variances, covariances) for an investor with log utility.
How noisy is an average return?
The standard error of an average return is its volatility divided by the square root of the years of data. For the Nifty 50, 13.12% over 5 years gives 13.12 / √5 = 5.87 points. The measured premium over the overnight rate was 2.09 points. The estimate is 0.36 of one standard error away from zero. To pin an equity premium of 2 points down to within 1 point you would need (13.12 / 1)² = 172 years of data.
The split sample shows it: the Nifty 50's excess return over the overnight rate was +5.4% a year in the first 30 months of the window and -1.2% a year in the last 30. Same index, different sign.
The optimiser on NSE data
Now feed those averages to an optimiser. Five assets: the Nifty 50, Nifty Next 50, Nifty Midcap 150, Nifty Smallcap 250 and the 10 year G-Sec index. At each date, take the previous 36 months and find the long only mix with the highest Sharpe ratio, on a grid of 5% steps.
| 36 months ending | Midcap 150 | 10 year G-Sec | Next 50 |
|---|---|---|---|
| 30 Aug 2024 | 100% | 0% | 0% |
| 28 Feb 2025 | 100% | 0% | 0% |
| 30 May 2025 | 10% | 90% | 0% |
| 29 Aug 2025 | 40% | 60% | 0% |
| 27 Feb 2026 | 30% | 70% | 0% |
| 29 May 2026 | 100% | 0% | 0% |
| 31 Aug 2026 | 40% | 0% | 60% |

Source: NSE month end index closes; RupeeCase calculation. Long only, weights sum to 100%, Sharpe ratio against the Nifty 1D Rate Index. The Nifty 50 and the Smallcap 250 received 0% in every window shown.
Read 2 more paragraphs, 118 words
Look at the path. A 100% midcap portfolio in February 2025 became 90% in the bond index three months later, then 100% midcap again by May 2026. The answer moved by 90 points while the assets stayed the same. And the optimiser never held the Nifty 50.
Out of sample, the 30 months to 29 February 2024 picked 100% midcap with a Sharpe ratio of 1.04. In the next 30 months it scored 0.38, a fall of nearly two thirds. Equal weight across the five went from 0.79 to 0.22. In this one split the optimiser's pick still beat equal weight, because the midcap index kept doing well. The drop from the in sample score is the point.
1/N and the DeMiguel test
DeMiguel, Garlappi and Uppal (2009) ran the test properly. They compared 14 models of optimal portfolio choice with plain equal weight, 1/N, across seven data sets, and found that none was consistently better than 1/N on Sharpe ratio, certainty equivalent return or turnover. On US equity parameters, the sample based mean variance strategy needs an estimation window of about 3,000 months to outperform 1/N with 25 assets, and about 6,000 months with 50.
DeMiguel, Garlappi and Uppal (2009), Optimal Versus Naive Diversification, Review of Financial StudiesTwo repairs: shrinkage and Black and Litterman
Shrinkage
Ledoit and Wolf (2004) go after the covariance matrix: the raw sample matrix carries the kind of error most likely to disturb an optimiser. The repair is to blend it with a structured target.
Read one more paragraph, 73 words
With the five NSE series above, the average of the ten pairwise correlations is 0.70. The raw correlation of the Midcap 150 with the Smallcap 250 is 0.95 and with the bond index 0.45. At d = 0.5, a value I picked for the illustration, they become about 0.82 and 0.57. Ledoit and Wolf report on actual stock data that shrinkage reduced tracking error against a benchmark and raised the realised information ratio.
Black and Litterman
Black and Litterman (1992) attack the expected return problem. Start from the returns that would make the market portfolio optimal, and tilt away from them only where you hold a view, in proportion to how confident you are.
With no view, the optimiser hands back the market weights, a sensible default. With a view, the weights move a little, not to a corner. The formula for blending the views is in He and Litterman, listed in the sources.
Black and Litterman (1992), Global Portfolio Optimization, Financial Analysts JournalA worked example: blending two real sleeves
Here is the two asset formula with numbers from this site. The Allcap strategy's factsheet shows annual volatility of 23.58% for the model and 14.15% for the Nifty 50 over the same five year window. Suppose you split ₹10 lakh evenly between a Nifty 50 index fund and the Allcap model.
| Correlation you assume | Volatility of the 50/50 blend | Weighted average of the two | Benefit |
|---|---|---|---|
| 0.8 | 18.0% | 18.9% | 0.9 points |
| 0.5 | 16.5% | 18.9% | 2.4 points |
| 0.0 | 13.7% | 18.9% | 5.1 points |
Volatilities from the Allcap factsheet: model, back tested, weekly figures over rolling 5 years to 13 Jul 2026. Correlations are assumptions for the illustration.
Read 2 more paragraphs, 125 words
Two Indian equity sleeves usually correlate strongly, so the honest row is the first: under a point of risk reduction. The rows below show what a genuinely different asset could do, which is why the multi asset strategies on RupeeCase add debt and gold sleeves rather than more equity names.
Gold has no NSE index in the daily file, so I quote no history; assume volatility 15% and correlation 0.1 with the Nifty 50, for the exercise. A 70/30 mix of the Nifty 50 (13.12%) and gold has variance 84.35 + 20.25 + 8.27 = 112.9, a volatility of 10.6% against a weighted average of 13.7%. At an assumed correlation of 0.6 it is 12.4%. The benefit rests on an input nobody knows in advance.
What actually matters for systematic portfolio construction
From years of building systematic strategies, these are the MPT derived rules I still use:
- Diversify across factors, not only across stocks. Thirty momentum stocks diversify less than fifteen momentum plus fifteen quality stocks.
- Cap the sector bet. A momentum screen can quietly end up with half its names in one sector.
- Size by risk when volatility varies a lot. Giving less weight to very volatile names stops a few of them from driving the whole portfolio. Module 4.2 works through this with numbers.
- Keep return forecasts out of the weights. Use the maths for risk, and let simple rules set the weights.
Why MPT under delivers on Indian data specifically
Markowitz assumed deep, liquid markets with fairly steady correlations. Indian equities break a few of those assumptions.
The market portfolio is itself concentrated. Free float cap weighting is not a neutral choice; it puts the most money in the largest names, and one sector, financial services, carries a large share of the Nifty 50. Fifty stocks do not mean fifty independent bets.
Read 3 more paragraphs, 153 words
Correlation regimes shift. When foreign investors pull money out hard, correlations jump and the benefit you optimised for shrinks. Use stress period correlations, or a blend, when you decide an allocation.
Impact cost is lopsided. The frontier ignores the cost of getting in and out. NSE lets a stock into the Nifty 50 only if its average impact cost was 0.50% or less for 90% of observations on a basket of ₹10 crore. The same rupee trade costs far more in a thinly traded small cap. An optimiser handed the whole Nifty 500 will overweight small caps with great back tested returns, and the trades needed to hold those weights eat the edge. A liquidity floor fixes this.
Factor returns swing hard. An optimiser fitted on a trailing window overweights whatever just worked and underweights whatever is mid drawdown. Equal weight blending has held up better, though it looks less clever on paper.
Where it breaks: March 2026 and the bond hedge
A stock and bond mix leans on a low or negative correlation. Over the 60 months to 31 August 2026 the NSE 10 year G-Sec index rose in only 4 of the Nifty 50's 10 worst months, and averaged -0.26% in those ten months against +0.44% a month across all 60.
| Month ending | Nifty 50 | Midcap 150 | 10 year G-Sec |
|---|---|---|---|
| 30 Jun 2022 | -4.85% | -5.40% | +0.45% |
| 31 Oct 2024 | -6.22% | -6.43% | -0.14% |
| 28 Feb 2025 | -5.89% | -10.58% | +0.36% |
| 30 Mar 2026 | -11.31% | -11.06% | -1.80% |
Source: NSE month end index closes, price indices for equity, RupeeCase calculation. Four of the ten worst Nifty 50 months in the window. India VIX closed at 27.89 on 30 Mar 2026 and 28.57 on 28 Feb 2022, the two highest month end readings of the five years.
Read one more paragraph, 61 words
The bond index cushioned the fall in June 2022 and February 2025 and added to the loss in March 2026, so one correlation number hides which regime you are in. And the Midcap 150 fell more than the Nifty 50 in three of these four months. The frontier you draw from calm months promises more than the next bad month delivers.
Common mistake: counting names instead of correlations
The mistake I see most often is a portfolio of 25 stocks that is really three bets. Eight private banks and NBFCs, seven IT services names, ten stocks from the same capital goods theme. It feels diversified because the list is long. On a day when rates move or the rupee weakens, it trades like three stocks.
- Banks and NBFCs, 8 names32%
- IT services, 7 names28%
- Capital goods theme, 1040%
Illustrative equal weight portfolio, grouped by what drives each stock.
MythThe more stocks you own, the safer you are.
FactBeyond about 20 names the risk barely falls, and stocks that share one driver fall together. Lower correlation, not a longer list, is what reduces risk.
Read one more paragraph, 52 words
The check takes five minutes. Group your holdings by what actually drives them: interest rates, US technology budgets, government capex, commodity prices. If one driver explains more than a third of your money, you own a concentrated portfolio with a long list of names. Fix the driver exposure, not the stock count.
How this shows up in RupeeCase
Each RupeeCase strategy is a published rule: rank a universe by a momentum composite, hold the top names equal weighted, and rebalance on a fixed calendar. The holdings count is part of the design, from 5 names in the most concentrated strategy to 50 in Allcap. No optimiser is involved, for the reasons in the estimation error section. The multi asset strategies, such as Allcap Multi Asset, add debt and gold sleeves for the correlation benefit described above. Every factsheet shows the model's volatility and maximum drawdown next to the Nifty 50. Line any two up on the compare page. All strategy figures are model, back tested.
In the app, the tutorial Correlation: how closely did two lines move together? shows where this number sits on a strategy page, and Compare strategies sets up to four side by side.
Key takeaways
- Diversification is owning things that do not fall on the same day, not owning many things.
- The frontier, the capital market line and the CAPM are three layers: choose among risky assets, add a risk free asset, then price risk by beta.
- CAPM's line came out flatter than predicted from Black, Jensen and Scholes (1972) to Fama and French (1992), and any test depends on the market proxy.
- An average return from 5 years of Nifty 50 data has a standard error of 5.9 points; an optimiser built on it flips between 100% midcap and 90% bonds.
- Equal weight, shrinkage and Black and Litterman are the repairs; plan with stress period correlations.
- Group holdings by driver: if one driver holds more than a third of the money, the portfolio is concentrated.
Questions readers ask
Is Modern Portfolio Theory still used by professionals?
The ideas are used everywhere: correlation, diversification, the risk and return trade off. The raw optimiser fed with historical averages is used far less. Most practitioners constrain it heavily, shrink the inputs, start from market weights as Black and Litterman do, or replace it with simpler weighting that does not need return forecasts.
Why do my bonds not protect me in a fall?
Because the sign of the stock and bond correlation depends on what is driving markets. If growth fears dominate, government bonds tend to rise as stocks fall. If rates or inflation drive the move, both can fall, as in March 2026 when the Nifty 50 fell 11.31% and the 10 year G-Sec index fell 1.80%. Test your mix against more than one regime.
