On Monday 29 Jun 2026, one session before the 30 Jun expiry, the max pain strike of the Nifty chain was 24,000. The index settled the next day at 23,865.75, 134.25 points away. The previous close, 23,946.25, was 80.50 points away. A plain "tomorrow looks like today" beat max pain that day. One day proves nothing, so this lesson scores every Nifty expiry in the school's files that has a chain and a settlement, with the rule fixed before any of them is scored. Every figure comes from NSE end of day files, so nothing here is live and nothing is a view on where the index goes next.

3By the end you can

  1. Compute max pain from open interest, strike by strike, and show why it sits where call and put piles balance.
  2. Test a forecast against a plain baseline, with the rule fixed before any scoring, and say how many expiries a test needs.
  3. Say what the pinning research shows and why it is not a test of max pain.
The RupeeCase terminal on sample data: Compare with: what do index, fund and strategy lines show?
Watch in the terminal: what do index, fund and strategy lines show? A short tutorial on sample data.

The idea, plainly

Max pain is a sum over the chain. Pick a level where the index might settle. At that level every option in the money pays its holder the distance between the level and the strike. Multiply by open interest, add up over all the calls and puts, and you have the total the writers would pay the buyers. Do it for every level. The level with the smallest total is max pain. The name says buyers feel the pain, since they collect least there. On a real chain open interest is in units, so one point of payout on one unit is one rupee, and the totals run into crores of rupees.

Index settles atCalls payPuts payTotal
8088
9336
10808
  • Writers can steer the index to their level.
  • All open interest is buyers against writers, when much of it is hedges and spreads, as the open interest module explains.
  • The snapshot stays true until expiry, when open interest keeps changing.
Read 2 more paragraphs, 105 words

Try it on a toy chain, not market data: three strikes called 8, 9 and 10, with open interest in lots. Calls at 8: 3 lots and at 9: 2 lots. Puts at 9: 2 lots and at 10: 3 lots. A payout of one is one point on one lot.

The total is lowest at 9, so 9 is max pain. The recipe uses open interest and nothing else: no prices, no time left, no volatility. The story behind it says writers want to pay least, so the index drifts there. That story assumes three things, and none of them comes from the sum.

The maths, step by step

Write the sum once, with X the settlement level, K each strike, and open interest in units.

Two terms to hold on to from 15.4

Two terms to hold on to from 15.4Two terms to hold on to from 15.4. Max pain: The settlement level at which the total payout to option buyers, worked out from open interest alone, is smallest. Previous close: The index close on the chain date. Used here as the plainest forecast: the index stays where it closed.Max painThe settlement level at which the total payoutto option buyers, worked out from openinterest alone, is smallest.Previous closeThe index close on the chain date. Used hereas the plainest forecast: the index stayswhere it closed.
From the module glossary. Source: Module 15.4, Max pain: the calculation and a Nifty test.

Pain(X) = Σ call OI × max(X − K, 0)
    + Σ put OI × max(K − X, 0)
Max pain = the X that gives
the smallest Pain(X)

Slope at X = call OI below X
    − put OI above X

Read 3 more paragraphs, 281 words

A call is in the money when X is above its strike and pays X less K for each unit. A put pays K less X when X is below its strike. Pain is the sum of both, in rupees. Between two strikes the sum is a straight line, and its slope has a plain meaning. Move X up by one point and every call below X pays one point more while every put above X pays one point less. So:

The slope starts negative, since all the puts are above and few calls are below, and ends positive. Max pain sits where it changes sign: the level at which the open interest of calls below it first outweighs that of puts above it. It is a balance point of two piles, nothing more. Check it on the toy chain. Between 8 and 9 the calls below are 3 lots and the puts above are 5, so the slope is −2. Between 9 and 10 the calls below are 5 and the puts above 3, so the slope is 2. The line falls, then rises, and the turn is at 9.

The same algebra shows what the sum leaves out. It never looks at the price paid for an option, so a buyer who paid a lot for a call is in "pain" at a different place from the strike that minimises payout. It treats every contract as a buyer against a writer, where many are hedges, spreads and legs of larger books. It ignores futures and shares. And it freezes open interest at the date of the chain, when the pile keeps changing until the close.

India: what the expiry day rules do to the sum

  • The settlement level. A cash settled European option pays on the settlement level, so max pain is a forecast of that number. Before 7 Dec 2026 it is the index close of expiry day. SEBI's circular of 16 Jan 2026 introduced a closing auction session in the cash segment from 3 Aug 2026, and its circular HO/47/11/11(3)2025-MRD-POD2/I/23843/2026 of 15 Oct 2026 moves the settlement of expiring index contracts, from 7 Dec 2026, to the volume weighted level of the index shares over the last 30 minutes of continuous trading, with expiring index contracts ceasing at 3:30 pm. A max pain study must name the regime, since the level the sum tries to hit is a different number in each.
  • Why expiry day has its own rules. SEBI's circular SEBI/HO/MRD/TPD-1/P/CIR/2024/132 of 1 Oct 2024 says expiry day trading in index options is largely speculative, with hyperactive trading and average holding periods in minutes. It ended calendar spread relief on expiry day from 1 Feb 2025, added two percent of extreme loss margin on short options expiring that day from 20 Nov 2024, and required intraday monitoring of position limits from 1 Apr 2025. The circular SEBI/HO/MRD/TPD/CIR/P/2025/122 of 1 Sep 2025 sets entity level intraday limits from 1 Oct 2025.
  • Which expiries. NIFTY alone has a weekly expiry on NSE, on Tuesday (NSE circular NSE/FAOP/68747 of 25 Jun 2025). Every other index has a monthly expiry. Max pain is worked out for one expiry at a time, and the answer differs by expiry.
Elliptical orbits of small lit dots around a soft core, one arc traced in teal

What the pinning research shows

Max pain as a named sum has no body of academic tests. The nearest literature is about pinning, the tendency of a price to close at a strike on expiry day, and it asks a narrower question. Ni, Pearson and Poteshman showed that closing prices of US optionable stocks cluster at strike prices on expiry dates. They attribute the effect to two channels, hedge rebalancing by option market makers and stock price manipulation by firms' own trading desks. Avellaneda and Lipkin built a model in which unusually large open interest on a contract makes the aggregate delta hedging of market makers pull the stock towards the strike, with a finite probability of pinning that depends on volatility, time left and open interest. Ni, Pearson, Poteshman and White later showed that the hedge rebalancing of option market makers raises stock return volatility and the probability of large price moves, a channel that does not involve information.

Read one more paragraph, 92 words

For India, Bose and Bhaumik studied expiry day effects at the largest exchange with an AR-GARCH model and found significantly higher trading volumes on expiry days and in the five days before them, and significant effects on daily index returns and on their volatility. None of this says that the index settles at the max pain strike. Pinning is clustering at any strike, tied to market makers' hedging, and max pain is a single strike chosen by a sum that no hedger runs. The pinning module tests the claim on Nifty expiries.

Worked example: ten Nifty expiries

Start with one chain. On 10 Jun 2026 the weekly expiring 16 Jun had its open interest as below. The sum over it gives the payout curve under it, with its lowest bar at 23,300.

Open interest by strike is the only input to max pain

Open interest by strike for the 16 Jun 2026 weekly expiry on 10 Jun 2026, calls and puts, with the day before markedOpen interest at 19 strikes from 22,300 to 24,100. Call open interest peaks at 73.6L at the 24,000 strike and put open interest peaks at 58.2L at the 22,500 strike. Bars show the earlier day as well: a solid extension means added, a dashed outline means removed.Open interest in units, lakh (L) and crore(Cr)PutsCallsAdded since the day beforeRemovedPut OIStrikeCall OI22,30022,40022,50058.2L22,60022,70022,80022,90023,00023,10023,20049.6LSpot 23,21523,30023,40023,50065.5L23,60023,70023,80023,90024,00073.6L24,100
Nifty chain of 10 Jun 2026 for the 16 Jun weekly expiry, at every hundred point strike, with the day before marked. The index closed at 23,214.95 that day. Source: NSE end of day data, computed by RupeeCase. As of 10 Jun 2026.

The payout to buyers is lowest at the 23,300 strike, which is max pain

Total payout to option buyers by settlement level for the 16 Jun 2026 weekly expiry, lowest at 23,30023,100 712; 23,200 540; 23,300 482; 23,400 556; 23,500 745.Payout to option buyers at expiry, Rs crore23,100712 Cr23,200540 Cr23,300482 Cr23,400556 Cr23,500745 Cr
Total payout to call and put buyers if the index settled at each level, from open interest in units on 10 Jun 2026. The lowest bar is max pain. Source: NSE end of day data, computed by RupeeCase. As of 10 Jun 2026.

The index then settled at 23,989.15 on 16 Jun. Max pain was 689.15 points away and the index close of 10 Jun was 774.20 away. Max pain was nearer, and still far.

  • Chain. The last chain in the files before each expiry.
  • Baseline. The previous close, the index close on the chain date.
  • Score. Which of the two was nearer to the settlement. Ties are counted apart.
  • Settlement. The index close on expiry day, which is the rule for every expiry here. All of them fall before 3 Aug 2026, when a closing auction began to set that close. SEBI's circular of 15 Oct 2026 changes the method from 7 Dec 2026, so later expiries need a fresh test.
  • Split. Chains up to six sessions out, and chains further out, kept apart.
ExpiryMax painPrevious closeSettled at
3 Feb 202625,05025,088.4025,727.55
10 Feb 202625,10025,088.4025,935.15
16 Jun 202623,30023,214.9523,989.15
23 Jun 202623,90023,989.1523,824.10
30 Jun 202624,00023,946.2523,865.75
7 Jul 202624,00023,946.2524,398.70

Max pain was nearer on four of six near expiries, a score a fair coin matches about one time in three

Points by which max pain was nearer the settlement than the previous close on six near Nifty expiries: four positive and two negative3 Feb 2026 −38.40; 10 Feb 2026 11.60; 16 Jun 2026 85.05; 23 Jun 2026 89.15; 30 Jun 2026 −53.75; 7 Jul 2026 53.75.Points; above zero, max pain was nearer3 Feb 2026−38.4010 Feb 202611.6016 Jun 202685.0523 Jun 202689.1530 Jun 2026−53.757 Jul 202653.75
Six expiries with a chain up to six sessions out. Above zero, max pain was nearer the settlement than the previous close. The sample is too small to count. Source: NSE end of day data, computed by RupeeCase. As of 7 Jul 2026.
Read 4 more paragraphs, 267 words

Now the test. A forecast has to beat a plain one, because the plain one costs nothing to produce. If max pain cannot beat it, the chain adds no information. So the rule is fixed first.

Max pain was nearer on four of six, the previous close on two. Count the misses as well as the hits. Four or more of six is what a fair coin gives about one time in three. Further out, with four expiries, the split was two and two. On 2 Feb 2026 the 30 Mar chain had max pain at 26,000, and the index settled 3,668.60 points under it. Seven earlier expiries cannot be scored at all, because the index close file starts on 1 Jul 2025.

Size matters as much as count. Max pain's four wins were by 11.60, 85.05, 89.15 and 53.75 points. The previous close's two wins were by 38.40 and 53.75. Small margins. On the six near expiries, max pain missed the settlement by 468 points and the previous close by 493. The gap between them, 25 points, is 0.1% of the index. In three of its four wins it was still hundreds of points off.

Academic work on US stocks finds that closing prices cluster at option strikes on expiry dates. It ties the effect to hedging by option market makers and to trading by firms' own desks. That is about strikes in general, on single stocks. It is not about the one strike a max pain sum picks, and it is not a test of max pain on an index.

Worked example: max pain moves with the expiry

Max pain is a property of one expiry. On the evening of 10 Jun 2026 the school's files hold three Nifty expiries. The sum gave 23,300 for the 16 Jun weekly, 24,000 for the 30 Jun monthly and 23,800 for the 28 Jul monthly. The index closed that day at 23,214.95. Three expiries, three strikes, spread over 700 points. A reader who quotes "the" max pain for the index has picked one of them.

Worked example: what the pin would have cost

Suppose a reader believed the weekly figure and sold one straddle at the 23,300 strike on 10 Jun, a pin trade. The call and put there settled at 348.90 a unit together, so the premium was 22,678.50 rupees a lot. The index then settled at 23,989.15 on 16 Jun. The put expired with no value and the call paid 689.15 points. After the premium the result was a loss of 22,116.25 rupees on the lot. This is a single trade and proves nothing about the rule, but it shows what a sum that picks one strike out of a dozen can cost when it is read as a magnet.

Worked example: how many expiries a test needs

The test above scored six near expiries. How many would it take to tell a rule that is right sixty percent of the time from a coin? For a one sided test at the usual level with good power, the sample size grows as the gap to one half shrinks. The chart gives the answer for four hit rates.

A max pain hit rate of sixty percent needs about 194 expiries to show

Model, not market data: expiries needed to tell a hit rate of 55, 60, 65 or 70 percent from a coin at the usual test level and a power of 80 percent: 782, 194, 85 and 47Hit rate 55% 782; Hit rate 60% 194; Hit rate 65% 85; Hit rate 70% 47.Expiries needed to tell the rate from one halfHit rate 55%782Hit rate 60%194Hit rate 65%85Hit rate 70%47
Model, not market data. Inputs: a null of one half, a test level with z of 1.96 and a power with z of 0.84, The sample size is (za times one half plus zb times the square root of p times (1 - p)) squared, divided by (p less one half) squared. Weekly Nifty expiries come 52 a year, so 194 of them take close to four years. Source: RupeeCase model, no market data. As of 31 Oct 2026.
Read one more paragraph, 56 words

At sixty percent, close to 194 expiries. The weekly Nifty gives 52 a year, so that is nearly 3.7 years of a single rule, and the rules change: the settlement method moves on 7 Dec 2026. Tests of this kind are slow, which is the reason I do not read a few expiries as an answer.

Stretch: from max pain to the dealer book

If this made sense, the next step is the evidence on pinning, in pinning and max OI strikes. The positioning that drives hedging flows is built in gamma exposure and zero gamma and walls. How the day itself works is in expiry day and in expiry and settlement, and the market integrity side is in expiry day market integrity.

The common mistake

The claim: Max pain is where the index gets pulled on expiry, so the chain tells you where it will close. A calculation that looks like a mechanism feels like a forecast. Here it did not beat "tomorrow looks like today" by a margin a coin could not match, and in three of its four wins it was still hundreds of points off. The verdict is not shown, which is not the same as disproved. What would change it: thirty or more expiries, the same rule, and a clear win over the previous close. The test starts again for expiries from 7 Dec 2026. The question page gives the short answer.

Read one more paragraph, 90 words

Three more errors cost rupees. Reading payout as pain: the strike that minimises total payout is not where buyers lose most, because their loss is the premium paid less the payout. Reading one expiry as the index: on one evening max pain was 23,300, 24,000 or 23,800, depending on the expiry. And treating the pin as a trade, as the straddle above did: a premium of 22,678.50 rupees a lot was more than wiped out by a move of 689.15 points, a loss of 22,116.25 rupees a lot.

What I'd keep from this

  • Max pain is the level where option buyers would collect least, from open interest alone.
  • It sits where call open interest below balances put open interest above.
  • The sum uses no prices paid, no time left and no volatility.
  • Max pain beat the previous close on four of six near expiries.
  • Pinning research is about strikes in general, not the max pain strike.
  • The settlement method changes on 7 Dec 2026, so the test starts again.

The term this section turns on: Pinning

The term this section turns on: PinningThe term this section turns on: Pinning. Pinning: The tendency of a price to settle near a strike on expiry day. Studied for US stocks, it is a different claim from max pain.PinningThe tendency of a price to settle near astrike on expiry day. Studied for US stocks,it is a different claim from max pain.
From the module glossary; every term is in the Learn glossary too. Source: Module 15.4, Max pain: the calculation and a Nifty test.

Before you trade. Derivatives trading carries a high risk of loss. SEBI's study "Profitability of Individual Traders in the Equity Derivatives Segment (FY25 to FY26)" (August 2026) found that 87.7% of individual traders in equity F&O made net losses in FY26, with aggregate net losses of Rs 91,685 crore. Read the SEBI study