How max pain is calculated
- Take the open interest of every call and every put for one expiry.
- Pick a possible expiry level, usually each strike in turn.
- For that level, work out what each open call and put would be worth: a call is worth the level minus its strike if positive, a put the strike minus the level if positive.
- Multiply by the open interest and add everything up.
- Repeat for each level. The level with the smallest total is max pain.
The idea behind it is that most options expire worthless and that the price tends to settle where the fewest options pay out. Whether the market is pulled there, or simply ends up there because open interest clusters around the current price, is the open question.
A worked example on a model Nifty chain
Seven strikes with model open interest in thousands of contracts:
| Strike | Call OI | Put OI |
|---|---|---|
| 24,700 | 42 | 112 |
| 24,800 | 61 | 171 |
| 24,900 | 88 | 118 |
| 25,000 | 120 | 125 |
| 25,100 | 134 | 84 |
| 25,200 | 186 | 46 |
| 25,300 | 97 | 33 |
Total payout to option holders at each expiry level, in thousands of contracts × points:
| Nifty at expiry | Total payout | |
|---|---|---|
| 24,700 | 1,54,600 | |
| 24,800 | 1,01,100 | |
| 24,900 | 70,800 | |
| 25,000 | 61,100 | Lowest: max pain |
| 25,100 | 75,900 | |
| 25,200 | 1,12,500 | |
| 25,300 | 1,72,300 |
Max pain is 25,000. At that level the 24,700 to 24,900 calls pay out on their intrinsic value and the 25,100 to 25,300 puts pay out on theirs, but the total is smaller than at any other level. Move the expiry to 25,200 and the heavy call open interest at 25,000 and 25,100 starts paying, so the total nearly doubles.
Max pain, OI walls and the PCR
Max pain usually sits between the strike with the most put open interest (24,800 here) and the strike with the most call open interest (25,200). Those walls are read as support and resistance, and the max pain level as the point of balance between them. The put-call ratio summarises the same chain: 0.95 on these seven strikes. All three are different readings of one table of open interest, and they move together as positions change. The Nifty PCR guide works through the walls, the ratio and how they shift during the day.
Why traders watch it
- Expiry-day bias. Some traders expect the index to drift towards max pain in the last hours, as sellers defend their strikes and buyers close positions.
- Strike choice for sellers. Strikes far from max pain are seen as safer to sell.
- A sanity check. If the index is far above max pain with a day left, the chain says most call buyers are winning, which is unusual.
Why it is not a forecast
Max pain measures where positions are, not where the price is going. Three things limit it:
- It changes every day. Open interest moves as traders open, close and roll positions, so the max pain level can shift by several strikes during expiry week.
- It counts contracts, not intent. Much of the open interest belongs to hedgers and spread traders whose profit does not depend on the option expiring worthless.
- The index does not need to obey it. Large moves on news or flows go straight through max pain levels, and studies of index expiries find the pull, if any, to be small.
Use it as one input alongside the OI walls, the PCR and price action, not as a target.
How traders use max pain in rules
| Rule | How it works |
|---|---|
| Expiry-day filter | On expiry day, take short-premium trades only when the index is within a set distance of max pain |
| Strike selection | Sell strikes beyond the OI walls on either side of max pain |
| Drift trade | In the last two hours of expiry, trade towards max pain only if the index is already moving that way |
| Avoidance | Skip expiry-day entries when max pain has moved by more than two strikes since the morning |
Each of these can be backtested, and the test should include the days when the index ignored max pain entirely.
How max pain moves during expiry week
Take the model chain above and suppose that on the day before expiry, as the index drifts higher, put writers add 100 thousand contracts at 25,100 and holders close 60 thousand of the 24,900 calls. Rerun the formula and the lowest payout moves from 25,000 to 25,100: 63,900 against 65,100 at 25,000. Nothing about the index has been decided; the positions have changed, and the level follows them. That is the usual pattern: max pain chases the open interest, and the open interest chases the price.
Common mistakes
- Reading it as a target. A trader who sells a straddle at max pain because "the index will pin there" is taking the full risk of a short straddle with a story attached.
- Using one snapshot. The morning's max pain can be two strikes away by the afternoon. Check it again before acting on it.
- Mixing expiries. Max pain is calculated for one expiry. Adding the weekly and monthly chains together gives a level that belongs to neither.
- Ignoring the index's own move. On a strong trend day, the walls themselves are rolled up or down and max pain moves with them.
A short history
Max pain grew out of the observation that stock prices cluster at strike prices on option expiry days. A 2005 study of US equity options by Ni, Pearson and Poteshman found that optionable stocks closed near a strike on expiry Fridays more often than on other days, and linked the effect to hedging by option market makers and to trading by firms that had sold options.1 Retail websites in the United States began publishing "max pain" levels in the early 2000s. In India the measure spread with the growth of weekly index options, which put an expiry on the calendar every week.2 Its value as a forecast for a broad index such as Nifty remains disputed.
Max pain in QuantPower
- The option chain's analytics strip shows max pain for the selected expiry, next to ATM implied volatility, the ATM straddle, the PCR, the call and put walls, the expected move, net gamma exposure and the zero-gamma level. It is recalculated as open interest changes during the day.3 See the option trading app.
- Open interest by strike is shown on the chain, so the walls that set max pain can be seen directly.
- Rule legs can pick a strike by moneyness, premium or a Greek, so a seller's strikes can be placed beyond the walls with a rule rather than by eye.
- Backtests show how an expiry-day rule did on the days when the index moved away from the walls as well as the days it stayed between them.
To check max pain by hand, download the chain's open interest and run the formula above in a spreadsheet.
Related terms
- Put call ratio meaning: the ratio of put to call open interest
- Expiry meaning: when options settle and max pain matters most
- Strike price meaning: the levels max pain is calculated across
- ITM ATM OTM meaning: which options pay out at a given level
Frequently asked questions
What is max pain in Nifty?
The Nifty level at which the open calls and puts for an expiry would be worth the least in total. It is calculated from open interest and changes as positions change.
Does Nifty expire at max pain?
Sometimes close to it, often not. Open interest clusters around the current price, so max pain is usually near the index anyway; large moves on news go straight through it.
Is max pain useful for intraday trading?
Mainly on expiry day, as a filter or a bias. On other days the level moves too much, and too much time is left, for it to say much about the session.
Who benefits at the max pain level?
Option sellers as a group, who keep the most premium. Buyers as a group lose the most, which is where the name comes from.
References
- Xiaoyan Ni, Neil Pearson and Allen Poteshman, "Stock Price Clustering on Option Expiration Dates", *Journal of Financial Economics* 78(1), 2005
- NSE, equity derivatives: index option contract specifications and expiry days (nseindia.com)
- QuantPower: option chain analytics strip, from the app's product notes, checked 12 November 2026