Correlation in Indian Markets: Nifty and Bank Nifty
Real Nifty and Bank Nifty correlation, how to calculate it, a worked pair trade with lot sizes and rupee maths, plus Indian F&O tax rules.
Key Takeaways
- 1.Correlation is a number between -1 and +1 that tells you how closely two instruments move together. Nifty 50 and Bank Nifty have historically shown a strong positive correlation, often in the 0.85 to 0.95 range on daily closing returns over rolling 250 day windows.
- 2.A high positive correlation means two positions are NOT real diversification. Holding long Nifty futures and long Bank Nifty futures is close to doubling one bet, not spreading risk.
- 3.Correlation is not stable. It rises towards 1.0 in panic phases, for example late February and March 2020 during the COVID crash, when almost all Indian stocks fell together.
- 4.Traders use correlation for hedging, pair trading and portfolio risk, not just diversification. A worked Nifty versus Bank Nifty pair example below shows the rupee maths with correct lot sizes.
- 5.Correlation never proves causation, and it says nothing about how big a move is. Use it alongside beta, volatility and your own trading journal data.
What Correlation Actually Means
Correlation is a single number, the correlation coefficient, usually written as r, that measures how two securities move relative to each other. It always sits between -1 and +1. A value of +1 means the two move in perfect lockstep in the same direction, -1 means they move in perfectly opposite directions, and 0 means there is no linear relationship at all. Most real pairs in Indian markets sit somewhere in between.
One point traders constantly get wrong is that correlation describes direction of co movement, not size. Two stocks can have a correlation of 0.9 while one routinely moves three times as far as the other. The size of the move is captured by beta and volatility, not by correlation. So a high correlation between Nifty and Bank Nifty does not mean they move by the same number of points. Bank Nifty is far more volatile and typically swings a larger percentage on the same news.
Correlation is also calculated on returns, not raw price levels. If you correlate the absolute index values of Nifty and Bank Nifty you will get a misleadingly high number simply because both indices have trended up over the years. Professionals correlate daily or weekly percentage returns, which strips out the shared long term drift and shows the true day to day relationship.
The Real Nifty and Bank Nifty Correlation
This is the example that matters for Indian traders, and it replaces the vague Stock A and Stock B textbook case. Nifty 50 and Bank Nifty are the two most heavily traded indices on the NSE. Because banking and financial services make up a very large share of the Nifty 50 by weight, the two indices share a huge amount of their movement. Measured on daily closing returns over a rolling one year window, their correlation has historically tended to stay in the 0.85 to 0.95 band through most normal market regimes.
To make this concrete, here is a small five day worked sample using illustrative daily percentage returns. These are example figures, not a live data feed, used only to show how the coefficient is computed in a spreadsheet using the CORREL function.
| Trading day | Nifty 50 daily return | Bank Nifty daily return |
|---|---|---|
| Day 1 | +0.80% | +1.10% |
| Day 2 | -0.50% | -0.70% |
| Day 3 | +0.30% | +0.20% |
| Day 4 | +1.20% | +1.60% |
| Day 5 | -0.40% | -0.55% |
Run CORREL on those two return columns in Excel or Google Sheets and you get an r of roughly 0.98 for this tiny sample. A real one year window smooths out to a steadier figure around 0.88 to 0.92. Notice the pattern in the table: every time Nifty rises Bank Nifty rises, and every time Nifty falls Bank Nifty falls, but Bank Nifty almost always moves further. That larger swing is beta, not correlation, and it is the single most important practical takeaway for anyone trading both.
To pull real history yourself, download daily close data for Nifty 50 and Nifty Bank from niftyindices.com, convert each column to daily percentage returns, then apply =CORREL(range1, range2). Re do it on a rolling 250 day basis to see how the relationship strengthens in stress and loosens in calm, sector driven phases.
How To Calculate The Correlation Coefficient
You do not need to compute the Pearson formula by hand. In practice every Indian trader uses a spreadsheet. Put the daily percentage returns of instrument one in column A and instrument two in column B, then type =CORREL(A2:A251, B2:B251) for a one year window of about 250 trading days. The result is your r.
The mechanics matter. First, always use the same dates for both columns, with no gaps, because a single mismatched holiday row corrupts the result. Indian markets follow the NSE holiday calendar, so align both series to NSE trading days only. Second, decide your timeframe deliberately. Daily returns capture short term trading relationships, while weekly or monthly returns capture the slower structural relationship that matters for an investor.
- Use percentage returns, never raw price or index levels, or trends will inflate your number.
- Match both series to identical NSE trading dates with no missing rows.
- Pick a window length on purpose. 250 days is a common one year window, 60 days reacts faster to regime change.
- Recompute on a rolling basis. A single static number from three years ago can be dangerously out of date.
- Cross check with a scatter plot. If the dots form a clear straight line, the Pearson r is trustworthy. If they form a curve, correlation understates the true relationship.
Worked Pair Trade Example With Real Rupee Maths
Because Nifty and Bank Nifty are so highly correlated, traders run pair trades on them. The idea is to bet that the gap between two normally linked instruments will revert to its average. The numbers below are illustrative and are only meant to show the method and the rupee outcome. They are not a prediction and there is no guaranteed return.
Suppose on a given day Bank Nifty looks unusually expensive relative to Nifty compared with their normal ratio. A trader expects the gap to narrow, so they go short one lot of Bank Nifty futures and long Nifty futures to roughly balance the rupee exposure. Remember the current F&O lot sizes: Nifty is 75, Bank Nifty is 15.
| Leg | Action | Index level | Lot size | Notional value |
|---|---|---|---|---|
| Bank Nifty | Sell 1 lot | 48,000 | 30 | Rs 14,40,000 |
| Nifty | Buy 2 lots | 23,500 | 65 | Rs 30,55,000 |
To balance exposure properly a trader would size the legs so the rupee notional on each side is similar, since one Bank Nifty lot is much smaller in rupee terms than the figures suggest at first glance. For a clean single leg illustration, take just the Bank Nifty short. If Bank Nifty falls from 48,000 to 47,600, that is a 400 point gain. With a lot size of 30, the profit is 400 x 30 = Rs 12,000 per lot, before costs. If instead it rose 400 points against the short, that is a Rs 12,000 loss per lot. This is why correlation traders watch the relationship, not just one leg.
Costs are real and must be subtracted. On index futures, STT applies at 0.05% on the sell side of the contract value, plus exchange transaction charges, GST on brokerage and charges, SEBI turnover fees and stamp duty on the buy side. On a Rs 7,20,000 sell notional the STT alone is roughly Rs 144, and a discount broker may charge a flat fee around Rs 20 per order. So a gross Rs 6,000 profit might net closer to Rs 5,700 to Rs 5,800 after all charges on a round trip. Always model costs before assuming a pair trade is worthwhile, because thin spreads can be eaten alive by fees.
Pair trading on highly correlated indices is a relative bet, not a directional one. Your risk is that the correlation breaks down and the gap widens instead of closing. Always set a stop on the spread itself, for example exit if the loss on the combined position reaches a fixed rupee figure, because a correlation that snaps can hurt both legs at once.
Why High Correlation Quietly Destroys Diversification
The classic reason to study correlation is diversification, spreading money across assets that do not move together so a single bad event does not sink the whole portfolio. The trap in Indian markets is that many popular names are far more correlated than they look. HDFC Bank and ICICI Bank, the two largest private banks, often show daily return correlations around 0.8 or higher because they respond to the same interest rate, credit cycle and regulatory news from the RBI.
If a retail investor buys HDFC Bank, ICICI Bank, Axis Bank and Kotak Mahindra Bank believing they hold four stocks, in correlation terms they are close to holding one big banking bet four times over. When the banking sector sells off, all four fall together. Genuine diversification requires mixing in sectors with lower or different correlation, such as IT, FMCG or pharma, which respond to different drivers like the rupee, rural demand and global generics pricing.
| Pair | Typical daily return correlation | What it means |
|---|---|---|
| Nifty 50 and Bank Nifty | High, roughly 0.85 to 0.95 | Almost the same bet, weak diversification |
| HDFC Bank and ICICI Bank | High, roughly 0.75 to 0.85 | Same sector, moves together |
| Nifty IT and Nifty FMCG | Low to moderate | Different drivers, better diversification |
| A Nifty stock and a government bond fund | Often low or negative | Classic cross asset hedge |
Correlation Is Not Stable, Especially In A Crash
The most dangerous mistake is treating a correlation number as a permanent fact. Correlations shift with the market regime, and they have a cruel habit of spiking towards 1.0 exactly when you most need diversification. During the COVID crash of late February and March 2020, almost every Indian stock across every sector fell together as investors fled risk indiscriminately. Diversification that looked solid in calm months evaporated because everything became correlated at once.
The reverse also happens. In quiet, sector rotation driven phases, IT and banking can decouple, with one rising while the other falls, pushing their short term correlation down or even negative for stretches. This is why traders recompute correlation on a rolling window rather than relying on a single historical figure. A 60 day rolling correlation reacts far faster to a regime change than a static three year average.
- In broad market panics correlations rise towards 1.0 and diversification fails when you need it most.
- In calm, stock specific phases correlations between sectors can fall sharply or turn negative.
- A correlation measured last year may be useless today, so always refresh it.
- Pair trades that depend on a stable correlation carry the specific risk that the relationship breaks.
Tax And Cost Rules You Cannot Ignore
Correlation strategies usually live in the derivatives or short term cash segment, so the tax treatment matters. In India, F&O trading is treated as business income and taxed at your applicable income tax slab rate, not as capital gains. This is true whether you trade Nifty futures, Bank Nifty options or single stock derivatives. You can also set off F&O losses against other business income subject to the rules, which makes maintaining a clean trading journal important at filing time.
If your correlation work spills into the cash, or delivery, segment, then capital gains rules apply. As of the Budget 2024 changes, short term capital gains on listed equity are taxed at 20%, and long term capital gains are taxed at 12.5% on the amount above Rs 1.25 lakh per financial year. STT is charged on every trade, and on options the sell side STT is 0.15% of premium while on futures it is 0.05% on the sell side of contract value. These costs directly shrink the thin edges that pair and arbitrage strategies rely on.
Before scaling any correlation based strategy, run a full cost and tax model on a single round trip. Add STT, exchange charges, GST, SEBI fees, stamp duty and brokerage, then apply your slab rate to F&O profit. A strategy that looks profitable on gross points often barely breaks even after the full Indian cost stack.
Correlation Versus Beta, A Common Confusion
Traders mix up correlation and beta constantly, and the two answer different questions. Correlation tells you the direction and consistency of co movement on a -1 to +1 scale. Beta tells you the magnitude, how much a stock typically moves for a given move in the index. Bank Nifty and Nifty can have a correlation near 0.9 while Bank Nifty has a beta well above 1.0 relative to the broad market, meaning it amplifies the same moves.
For hedging this distinction is critical. If you want to hedge a basket of high beta banking stocks using Nifty futures, the high correlation tells you Nifty is a valid hedging instrument, but the beta tells you how many lots you need. A high beta book requires a larger notional hedge than a one to one match. Use correlation to choose the hedge, and use beta to size it.
Common Mistakes Traders Make With Correlation
- Assuming correlation means causation. Two stocks rising together may simply share a common driver like an RBI rate decision, not influence each other.
- Correlating raw price levels instead of returns, which fakes a high number from shared long term trends.
- Treating one historical correlation as permanent and ignoring that it spikes in crashes and loosens in calm markets.
- Confusing correlation with the size of a move, then being shocked when Bank Nifty moves far more than Nifty on the same day.
- Building a portfolio of four banks and believing it is diversified when in correlation terms it is one concentrated bet.
- Ignoring costs and the F&O business income tax treatment, which can wipe out the thin edge of a pair trade.
How Indian Traders Actually Use Correlation
In day to day practice, correlation has three main uses for an Indian trader. First, risk control, by checking that open positions are not secretly the same bet. Second, hedging, by selecting a liquid instrument like Nifty futures to offset a correlated cash basket. Third, pair and relative value trades, betting that a temporarily stretched gap between two normally linked instruments, such as Nifty and Bank Nifty, will revert.
Most NSE charting platforms and brokers, including Zerodha Kite and others, let you plot two instruments together and eyeball their relationship, while a simple spreadsheet gives you the exact coefficient. The discipline that separates winners is not having a fancier tool, it is refreshing the number, logging it in a journal, and respecting that it can change without warning.
Sources And Further Reading
For authoritative data and contract specifications, refer to NSE Indices (Nifty Indices) for index history, Zerodha Varsity for plain language explainers, and Investopedia for the statistical background. Always confirm current lot sizes, STT rates and tax rules on the official NSE and SEBI sources before you trade, since contract specifications and rates change. See also our notes on volatility and risk management.
Sources and Further Reading
For authoritative data and further reading on this topic, refer to Zerodha Varsity, NSE Indices (Nifty Indices) and Investopedia. Always confirm current rules, rates and contract specifications on the official source before you trade.
Related Topics
Related Articles
Understanding the Diamond Top Pattern in Indian Markets
Spot the diamond top reversal on Bank Nifty with a dated Oct 2024 example, options P&L in rupees, targets, stops and Indian F&O tax rules.
Understanding Trading Psychology in Indian Markets
Learn trading psychology for Indian markets with a worked Nifty options example showing how fear and greed turned a Rs 3,600 loss into Rs 16,500.
Covered Call in Indian Markets: A Comprehensive Guide
Covered call meaning for Indian traders: how it works on NSE, a worked Reliance example, STT, physical settlement, plus correct 20% STCG, 12.5% LTCG tax.
Understanding the Flag Pattern in Indian Markets
How to trade bullish and bearish flag patterns on Nifty, Bank Nifty and NSE stocks, with a worked example, costs, taxes and honest reliability data.
RBI Monetary Policy and the Indian Markets
RBI repo rate is 5.50% after the 6 June 2025 MPC cut. See how policy moves Nifty and Bank Nifty, with a worked options example and tax rules.
CPI Inflation and Stock Market in Indian Markets
How CPI inflation and the RBI 4 percent plus or minus 2 percent band move Nifty and Bank Nifty, with a worked options example, taxes and costs.
The trading journal built for Indian F&O traders. Track your trades, spot patterns, build discipline.
- Log one trade a day by hand, on purpose
- AI mentor finds your repeat mistakes
- Behavioural analytics catch tilt early
- Trading calendar with P&L heatmap
- Pre-trade checklist flags risks
Yearly ₹2,499 · No broker credentials