How Max Pain Is Calculated in Options: A Worked Nifty Guide
Learn to calculate options Max Pain step by step with a fully worked Nifty example, lot sizes, costs and Indian F&O tax rules. Illustrative, not advice.
Key Takeaways
- 1.Max Pain is the strike where option writers lose the least and option buyers lose the most, found by adding up the total rupee payout an option seller would owe at every possible expiry price.
- 2.You do not guess the Max Pain strike. You calculate it. For each candidate expiry price you compute the in-the-money payout of every call and every put, multiply by open interest, and pick the strike with the smallest total payout.
- 3.On Nifty (lot size 65) and Bank Nifty (lot size 30), Max Pain is read off the live NSE option chain and updates continuously as open interest shifts intraday.
- 4.Max Pain is a magnet, not a guarantee. Strong trends, news, and big institutional positions routinely push expiry far from the Max Pain strike.
- 5.In India, F&O profit is taxed as business income at your slab, not as capital gains, and STT plus brokerage eat into expiry-day scalps, so factor costs in before trading a Max Pain setup.
What Max Pain Actually Measures
Max Pain is the underlying price at which the total value of all in-the-money options expiring would be the smallest. Said another way, it is the expiry level at which the people who sold (wrote) options have to pay out the least, and the people who bought options collect the least. Because option writers are usually large, well capitalised institutions and option buyers are usually retail traders chasing cheap premium, expiry tends to drift toward the level that is most painful for buyers. That level is the Max Pain strike.
The core idea rests on one simple fact about options at expiry. A call option only has value if the underlying closes above its strike, and a put only has value if the underlying closes below its strike. Everything else expires worthless. So for any guessed expiry price, you can add up exactly how much money all the open calls and puts are worth. The price that makes that total as small as possible is Max Pain. There is no opinion in it. It is pure arithmetic applied to the open interest on the NSE option chain.
This matters in India because Nifty, Bank Nifty, FinNifty and Sensex options are among the most heavily traded contracts in the world. Weekly expiries concentrate enormous open interest into a single afternoon, and the pull toward Max Pain is often most visible in the final two hours of an expiry session.
The Formula, Stated Plainly
For a single candidate expiry price P, the total option value (the writers' total payout) is the sum of two parts. For calls: for every strike below P, the call is in the money by (P minus strike), and that amount is owed on every unit of open interest at that strike. For puts: for every strike above P, the put is in the money by (strike minus P), owed on every unit of put open interest at that strike.
- Call payout at price P = sum over all strikes K below P of (P minus K) multiplied by call open interest at K.
- Put payout at price P = sum over all strikes K above P of (K minus P) multiplied by put open interest at K.
- Total pain at P = call payout + put payout.
- Max Pain strike = the candidate price P where Total pain is the smallest.
You run this calculation once for every strike on the chain, treating each strike in turn as the candidate expiry price P. Lay the results in a column, find the smallest number, and the strike on that row is your Max Pain. The reason it is the smallest total and not the largest is a common point of confusion: Max Pain minimises what writers pay out, which is identical to minimising what buyers receive. Buyers receiving the least is the maximum pain for buyers.
A Fully Worked Nifty Example, Step by Step
Let us take a realistic but illustrative Nifty weekly expiry. Spot is hovering near 22,000 and open interest is clustered in five strikes 100 points apart. The open interest figures below are in number of contracts (read these as raw OI from the NSE option chain). Nifty lot size is 65, but for finding the Max Pain strike the lot size cancels out, so we first work in points per unit of OI, then convert to rupees at the end. Here is the chain.
| Strike | Call OI (contracts) | Put OI (contracts) |
|---|---|---|
| 21800 | 60,000 | 40,000 |
| 21900 | 50,000 | 55,000 |
| 22000 | 90,000 | 90,000 |
| 22100 | 45,000 | 70,000 |
| 22200 | 75,000 | 30,000 |
Now we test each strike as the candidate expiry price P and add up the call payout plus the put payout. Take P equals 22000 as a fully expanded example. Calls below 22000 are in the money: the 21800 call is worth 200 points on 60,000 OI which is 12,000,000 point-units, and the 21900 call is worth 100 points on 50,000 OI which is 5,000,000 point-units. Calls at and above 22000 are worthless. Call total at 22000 equals 17,000,000 point-units.
Puts above 22000 are in the money: the 22100 put is worth 100 points on 70,000 OI which is 7,000,000 point-units, and the 22200 put is worth 200 points on 30,000 OI which is 6,000,000 point-units. Puts at and below 22000 are worthless. Put total at 22000 equals 13,000,000 point-units. Total pain at 22000 equals 17,000,000 plus 13,000,000, which is 30,000,000 point-units. We repeat this same procedure for every strike.
| Candidate expiry P | Call payout (point-units) | Put payout (point-units) | Total pain (point-units) |
|---|---|---|---|
| 21800 | 0 | 56,500,000 | 56,500,000 |
| 21900 | 6,000,000 | 32,000,000 | 38,000,000 |
| 22000 | 17,000,000 | 13,000,000 | 30,000,000 |
| 22100 | 37,000,000 | 3,000,000 | 40,000,000 |
| 22200 | 61,500,000 | 0 | 61,500,000 |
Reading the final column, the smallest total pain is 30,000,000 point-units at the 22000 strike. That is the Max Pain. Notice it happens to coincide with the strike carrying the heaviest open interest here, which is common but not a rule. Max Pain is whichever level leaves option writers owing the least across the whole chain, and you only know which strike that is after you compute every row.
At P equals 22000, calls in the money are the 21800 call (200 points times 60,000 equals 12,000,000) and the 21900 call (100 points times 50,000 equals 5,000,000), giving 17,000,000. Puts in the money are the 22100 put (100 points times 70,000 equals 7,000,000) and the 22200 put (200 points times 30,000 equals 6,000,000), giving 13,000,000. Add them: 30,000,000. Do this strike by strike for every row and never skip a line.
Two practical notes on that worked table. First, the absolute size of the numbers does not matter; only which row is smallest matters, so you can drop trailing zeros to keep the arithmetic manageable. Second, lot size enters only when you convert to rupees. If you wanted the rupee value of the writers' payout at 22000, you would multiply the 30,000,000 point-units by Nifty's lot size of 65, giving 2,25,00,00,000 rupees of notional in-the-money value owed across the chain. That conversion does not change which strike is Max Pain.
Turning Max Pain Into a Real Rupee Trade
Suppose, before that expiry, Nifty was trading at 22,120 and you believed the Max Pain pull toward 22000 would hold. A simple expression is selling the 22200 call. Say its premium is 60 points. One lot is 65 units, so you collect 60 times 65, which is 3,900 rupees per lot as premium (illustrative). If Nifty drifts to the 22000 Max Pain by expiry, the 22200 call finishes out of the money and expires worthless. You keep the full premium minus costs.
Costs are not trivial on expiry. STT on the sell side of options is charged on premium, and exchange charges, GST, SEBI fees and brokerage apply too. As a rough illustrative figure, total round-trip charges on a single Nifty lot scalp might run a few hundred rupees. So a 4,500 rupee gross gain might net somewhere near 4,100 to 4,200 rupees after costs. That is still positive, but the costs are the difference between a good month and a flat one when you trade Max Pain repeatedly. Always model charges before you assume the premium is yours.
Selling a naked option to play Max Pain has limited reward (the premium) and large or unlimited risk. If news hits and Nifty rips to 22,400 instead of drifting to 22,000, that 22200 call you sold for 60 points could be worth 250-plus points, a loss of over 14,000 rupees per lot against the 4,500 you collected. Max Pain is a tendency, not a fence. Define your stop before you enter.
A Bank Nifty Variation
Bank Nifty behaves the same way but with a lot size of 30 and far wider strikes, often 100 to 500 points apart, because the index itself is near 48,000 and moves in larger absolute swings. Imagine Bank Nifty Max Pain computes to 48,000 while spot sits at 48,200. A trader expecting reversion might sell the 48,200 call for, say, 120 points. One lot is 30 units, so the premium collected is 120 times 30, which is 3,600 rupees per lot (illustrative).
Because Bank Nifty is more volatile than Nifty, its expiry rarely sits exactly on Max Pain, and the band of acceptable error is wider. A 200 point miss on Nifty is large; on Bank Nifty it is routine. Traders therefore use Max Pain on Bank Nifty more as a directional bias (is the magnet above or below spot) than as a precise pin. The arithmetic to find the strike is identical; only the interpretation loosens.
Reading Max Pain Off the Live NSE Option Chain
You do not have to build the table by hand every time. The NSE publishes the live option chain with call and put open interest at every strike, and most broker platforms and option analytics tools compute Max Pain for you and update it through the day. But you should understand the calculation, because the displayed Max Pain is only as good as the open interest snapshot behind it, and that snapshot changes every few seconds during active sessions.
- Open the NSE option chain for the contract and the nearest expiry you care about.
- Note the call OI and put OI at each strike around the current spot.
- For each strike treated as the expiry price, add the in-the-money call payouts and put payouts as shown above.
- The strike with the smallest total is the live Max Pain. Re-check it in the last hour of expiry, when OI is most stable and the pull is strongest.
Early in a weekly cycle, when open interest is thin and spread out, Max Pain is noisy and can jump from strike to strike. It becomes meaningful only as OI builds, typically from the day before expiry into expiry afternoon. Treat an early week Max Pain reading with suspicion.
Why Expiry Often Drifts Toward Max Pain
The mechanism people cite is option writer hedging. Large writers who have sold options hedge their exposure in the underlying or futures, and as expiry nears their hedging flows can nudge price toward the level where their payout is smallest. This is sometimes called pinning. It is a real microstructure effect near heavily traded strikes, but it is a tendency produced by many hedgers acting in their own interest, not a coordinated manipulation.
The honest version is this: Max Pain works often enough on quiet expiries to be worth watching, and fails completely on trending or news-driven expiries. When a strong move is underway, fresh directional buying overwhelms any pinning pull, and price closes far from Max Pain. So the edge is conditional. It is highest on range-bound, low-news expiries and near zero when the market has a clear reason to move.
Max Pain Versus PCR Versus OI Buildup
Max Pain is one of several open interest tools, and traders often confuse them. Here is how it sits next to the put-call ratio and raw OI buildup, each of which answers a different question.
| Tool | What it tells you | Best used for |
|---|---|---|
| Max Pain | The single expiry level where writers pay the least | A central magnet or pin level for expiry day |
| Put-Call Ratio (PCR) | Ratio of total put OI to total call OI, a sentiment gauge | Reading whether the crowd is net bearish or bullish |
| OI buildup by strike | Where new positions are being added on calls vs puts | Spotting fresh support (put writing) and resistance (call writing) |
| Change in OI | How fast positions are being added or unwound | Confirming or doubting a price move in real time |
Used together they are far stronger than alone. If Max Pain sits at 22000, the highest call OI (a resistance wall) sits at 22200, and the highest put OI (a support floor) sits at 21800, you have a coherent picture: a range between 21800 and 22200 with a 22000 pin. That confluence is more tradeable than any single reading.
Common Mistakes That Wreck Max Pain Trades
- Treating Max Pain as a price target rather than a tendency. It is a magnet that frequently fails on big-move days.
- Reading it too early in the week, when open interest is thin and the level jumps around meaninglessly.
- Selling naked options to play it without a stop, exposing yourself to unlimited loss for a small premium.
- Ignoring trading costs. STT on the sell side, brokerage, GST and exchange fees can turn a small premium edge negative when repeated.
- Forgetting that monthly expiry OI and weekly expiry OI are different contracts. Mixing them gives a wrong Max Pain.
- Assuming Max Pain causes price. It is computed from positions; it reflects where money sits, it does not command the market.
Taxes and Costs on Max Pain Trades in India
Options trading profit and loss in India is treated as business income, not capital gains. That means your net F&O gains are added to your total income and taxed at your applicable slab rate, and you can set off F&O losses against other business income and carry them forward under the rules. The 20 percent short-term and 12.5 percent long-term capital gains rates that apply to delivery equity do not apply to F&O. This is a frequent and costly misunderstanding among new derivatives traders.
On the transaction side, Securities Transaction Tax on options is charged on the sell side, and the option writer pays STT on the premium. Add exchange transaction charges, GST on brokerage and charges, SEBI turnover fees, and stamp duty on the buy side. For a high-frequency Max Pain scalper these costs compound quickly, so accurate record keeping and a costs-aware trade log matter. Because F&O is business income, many active traders are also liable for tax audit depending on turnover, so keeping a clean trade journal through the year is not optional.
Since F&O is business income, you must report turnover and net profit or loss accurately. A trading journal that captures entry, exit, premium, STT and net rupees per trade makes year-end filing and any audit far easier, and it shows you honestly whether your Max Pain edge survives after costs.
Sources and Further Reading
For authoritative data and contract specifications, refer to the NSE Option Chain, NSE India, Zerodha Varsity and SEBI. Lot sizes, STT rates and tax rules change, so always confirm the current contract specification and the latest Budget rules on the official source before you trade. All numbers in this guide are illustrative and are not a prediction or a promise of returns.
Sources and Further Reading
For authoritative data and further reading on this topic, refer to NSE Option Chain, NSE India, Zerodha Varsity and SEBI (Securities and Exchange Board of India). Always confirm current rules, rates and contract specifications on the official source before you trade.
Related Topics
Related Articles
Understanding Trading Terminals in Indian Markets
What a trading terminal is, how Kite, NEST and ODIN compare, plus a worked Nifty options example, lot sizes, margins and Indian tax rules.
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.
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.
How to Rebalance Your Portfolio in Indian Markets
How to rebalance your Indian portfolio with the correct post-2024 tax: 20% STCG, 12.5% LTCG above Rs 1.25 lakh, plus a worked Nifty example.
What is SIP Investment in Indian Markets
How SIP works in India: rupee cost averaging, a worked Nifty 50 example, XIRR vs CAGR, and the current 20% STCG and 12.5% LTCG tax rules.
Growth vs Value Investing in Indian Markets
Discover growth vs value investing in Indian markets.
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