Expiry Mechanics
Max Pain Theory and Expiry Pinning in NIFTY & Bank Nifty
8 min read·Updated
Max pain is the strike at which the largest number of options expire worthless — the price that inflicts the maximum aggregate loss on option buyers, and therefore the maximum aggregate gain for writers. On expiry day in Indian markets, price has an uncomfortable habit of finishing near it. Understanding why separates a usable tool from a conspiracy theory.
How max pain is calculated
The calculation is a brute-force sweep. For every strike on the chain, ask: if the index settled exactly here, what would the total intrinsic value owed to all option holders be? The strike that minimises that total is max pain.
- Pick a candidate settlement price — start with the lowest strike on the chain.
- For every call strike below the candidate, compute (candidate minus strike) multiplied by that strike's open interest.
- For every put strike above the candidate, compute (strike minus candidate) multiplied by that strike's open interest.
- Sum both. That total is the aggregate payout writers owe if settlement lands at the candidate.
- Repeat for every strike. The candidate producing the smallest total is the max pain strike.
Note what the calculation uses: open interest only. It knows nothing about who is long or short, nothing about hedges, and nothing about spreads. That limitation is the source of most of its failures.
Why price gravitates toward it
The popular explanation — that writers manipulate the market toward max pain — is mostly wrong and unnecessary. There is a cleaner mechanical reason, and it is gamma.
As expiry approaches, the gamma of at-the-money options explodes while gamma at distant strikes collapses to nothing. Dealers hedging that book must trade increasingly large amounts of index for increasingly small moves in spot, and because they are typically long gamma around the heaviest strikes, that hedging is counter-trend. Spot rises toward the strike, they sell; spot falls away, they buy.
The result is a mechanical magnet centred on the heaviest open interest — which is usually at or near max pain, because both metrics are driven by the same open interest concentration. Max pain and gamma pinning are not competing explanations; max pain is a rough proxy and gamma is the mechanism.
The Indian expiry calendar matters
India has an unusually dense expiry schedule, and which contract is expiring changes how strong the pin is. Weekly index expiries concentrate enormous open interest into a single session, and that concentration is what makes pinning visible in the first place.
Monthly expiries carry heavier positioning but spread it over a broader strike range, which produces a weaker and wider pin. And on any expiry day, positioning in the next series continues to build, so the chain you are reading contains two overlapping books — always compute max pain on the expiring series alone.
When max pain fails
Max pain is a weak-force effect. It shapes a quiet market and is completely overwhelmed by a strong one. On a day with a genuine catalyst — a policy decision, a global gap, a large institutional reallocation — directional flow dwarfs hedging flow and price will travel straight past max pain without pausing.
It also fails when the open interest that produced the number is stale. Max pain computed at 9:15 describes yesterday's book. As the session's OI evolves — and especially if a large position is unwound — the max pain strike can migrate substantially. Recompute it through the day rather than fixing it in the morning.
And it fails when the book is not what the calculation assumes. Max pain treats all open interest as naked directional positions. In reality much of it is spreads, hedges against cash positions, and delta-neutral structures that create no pinning pressure at all.
- Any real catalyst overrides the pin entirely.
- Max pain migrates intraday — recompute, do not fix it at the open.
- Compute on the expiring series only, never on the merged chain.
- The further spot is from max pain in the morning, the less likely it closes there.
Trading around max pain sensibly
The realistic use is as a probability tilt on expiry day, not a target. If spot is already close to max pain and there is no catalyst, the odds favour a range-bound session and strategies that profit from time decay and compression. If spot opens far from max pain, the pin is a weak argument and should not stop you from trading a trend.
The one setup where max pain earns its keep is the confluence trade. When max pain, the largest gamma strike and a heavy OI wall all sit at the same price, and the tape shows absorption there, you have four independent reasons for a level. That is materially stronger than any of them alone.
- Treat max pain as a magnet with weak pull, strongest in the final two hours of expiry.
- Require confluence — max pain alone is not a trade.
- Respect a genuine trend day; the pin loses to real flow every time.
- Watch for the pin to break late; when it does, the move can be unusually fast because hedging flips from damping to amplifying.
Frequently asked questions
What is max pain in options?
Max pain is the strike price at which the total intrinsic value payable to all option holders is smallest, meaning the largest quantity of options expires worthless. It is computed by summing call and put payouts across every candidate settlement price and taking the minimum.
Does NIFTY always expire at max pain?
No. Price tends to gravitate toward max pain on quiet expiry days because of dealer gamma hedging, but any genuine directional catalyst overwhelms that pull. Treat it as a probability tilt, not a prediction.
How do I calculate max pain myself?
For each strike, assume settlement lands there, then sum the intrinsic value owed on every in-the-money call and put using each strike's open interest. The strike with the lowest total is max pain. Use only the expiring series.
Is max pain the same as the gamma pin?
They are closely related but not identical. Max pain is derived from open interest payouts; the gamma pin is derived from dealer hedging requirements. Both are driven by open interest concentration, so they usually sit near each other, and gamma is the actual mechanism behind the pinning behaviour.
Related guides
- GEX Explained: Gamma Exposure in NIFTY & Bank Nifty OptionsWhat GEX is, how to compute gamma exposure from the option chain, positive vs negative gamma regimes, the flip point, and how dealer hedging pins or accelerates NIFTY.
- Open Interest (OI) Analysis: How to Read Option Chain OI Like a DeskOpen Interest explained for Indian F&O traders: long build-up vs short covering, OI walls, the four price-OI states, and why change in OI beats absolute OI.
- PCR Explained: Using the Put-Call Ratio Without Fooling YourselfPut-Call Ratio for Indian F&O: OI PCR vs volume PCR, why PCR is contrarian at extremes, how to read PCR trend instead of PCR level, and where it breaks down.