OptionDesk

Max Pain: How the Screen Calculates It, With a Worked NIFTY Example

Max pain calculation: the strike where open options would pay out least at expiry. It is arithmetic, not a forecast. See a real NIFTY session and the controls.

Updated 2026-11-27 · 5 min read

On this page
  1. How is max pain calculated?
  2. A worked read: NIFTY 25AUG26 at the close of 21 Aug 2026
  3. What are the two views?
  4. Did NIFTY settle at max pain?
  5. Where does max pain mislead?
  6. Related screens

Max pain is the strike at which all the open calls and puts of one expiry would be worth the least if the expiry settled there. It is a calculation on open interest, not a forecast. OptionDesk's /max-pain screen draws the payout at every strike and shows how the answer moved through the session.

Projected, not advice. The rupee and point figures below are read from archived sessions and a small historical comparison. They are hypothetical as a basis for any decision and are not indicative of future results.

Max Pain for NIFTY 25AUG26 at the close of 21 Aug 2026: stacked call and put value per strike, with markers for max pain, fair price and futures. One stacked bar per strike. Red is call value, green is put value, in crore rupees. The lowest bar is max pain.

How is max pain calculated?

For a trial settlement level S:

  • Call value(S) = sum over strikes K below S of call OI at K × (S − K)
  • Put value(S) = sum over strikes K above S of put OI at K × (K − S)

Add the two. The strike S with the smallest total is max pain. The open interest is in units, so the values are rupees.

A small worked example with three strikes and made-up open interest (arithmetic only, units on both sides):

Trial S Call value Put value Total
24,100 0 200 × 100 + 100 × 200 = 40,000 40,000
24,200 100 × 100 = 10,000 100 × 100 = 10,000 20,000
24,300 100 × 200 + 200 × 100 = 40,000 0 40,000

Here call open interest is 100, 200 and 300 units at 24,100, 24,200 and 24,300, and put open interest is 300, 200 and 100. The smallest total is at 24,200, so max pain is 24,200.

A worked read: NIFTY 25AUG26 at the close of 21 Aug 2026

The screen uses 121 strikes, with settled open interest. Around the minimum:

Strike S Call value (₹ Cr) Put value (₹ Cr) Total (₹ Cr)
24,150 440.1 1,314.5 1,754.6
24,200 508.8 1,075.8 1,584.6
24,250 621.7 912.4 1,534.1
24,300 768.4 783.3 1,551.7
24,350 982.5 701.8 1,684.4

Max pain was 24,250. The fair price was 24,283.85, so the gap (fair price minus max pain) was +33.85 points. The futures official close was 24,286.00.

Notice how flat the bottom is. The totals at 24,250 and 24,300 differ by ₹17.6 Cr out of about ₹1,540 Cr. A small change in open interest at one strike can move the minimum from one to the other. On the same session the Trend view showed 24,250 at the first bar, 24,300 one minute later and 24,250 again by 10:52.

What are the two views?

  • Max Pain: the stacked bars above, at one moment. Dashed markers show max pain, the expiry's fair price and the near-month futures. Tap or hover a bar for full figures. At the close the futures figure is the official close (last-half-hour volume-weighted average); at a minute it is the last trade.
  • Trend (archived sessions): max pain recomputed every minute on open interest carried to that minute and nothing later, drawn as a step line beside the futures, its VWAP and the fair price. The 1d, 5d and 10d buttons widen the window to earlier sessions of the same expiry.

Did NIFTY settle at max pain?

The screen does not answer that, and a single session cannot. How far NIFTY actually settled from max pain across many expiries, measured against simply using the previous close, is a study of its own. Read it in Max Pain Explained before treating the strike as anything more than a description of where the open contracts sit.

The Trend view on this screen is the nearest check on how stable the answer is within one session.

Where does max pain mislead?

  • It is arithmetic, not a forecast. The calculation assumes nothing about who holds the contracts.
  • The minimum can be flat. Neighbouring strikes can differ by about one per cent, so the exact strike is fragile.
  • Open interest counts both sides. A written call and a bought call are the same open contract. The screen cannot tell which dominates.
  • It is one expiry. Weekly and monthly expiries have separate answers, and positions in other expiries are ignored.
  • Intraday it moves. A minute's max pain is computed on that minute's carried open interest.
  • Hedged and spread positions are counted as outright. A spread's two legs are summed as if they were independent positions.

Next step: open Max Pain, pick a session the day before a monthly expiry, and compare the minimum in the bars with the Trend view's step line.

Common questions

What is max pain in options?
Max pain is the strike at which all open calls and puts of one expiry would be worth the least at expiry. For each strike, the screen adds call open interest times how far each call would be in the money and put open interest times the same for puts, then takes the strike with the smallest total.
Does NIFTY settle at max pain?
Not reliably. Max pain is arithmetic on open interest and the screen makes no claim about where the index will settle. A separate study of how far NIFTY settled from it across many expiries is in the Max Pain Explained guide.
Is max pain a prediction?
No. It is arithmetic on open interest. It describes where the open contracts would pay out least, and it assumes nothing about which side holds them, and it does not say where the index will settle.
What do the bars on the Max Pain screen show?
One stacked bar per strike: the call value in red plus the put value in green if the expiry settled at that strike, in crore rupees. The lowest bar is max pain. Dashed markers show max pain, the expiry's fair price and the futures.
What is the Trend view?
It recomputes max pain every minute on open interest carried to that minute and draws it as a step line beside the futures, its VWAP and the fair price. The 1d, 5d and 10d buttons widen the window to earlier sessions of the same expiry. It is available for archived sessions.
Why can max pain move during the day?
Because open interest changes. Each minute's max pain uses the open interest carried to that minute and nothing later. A strike with a large new position can pull the minimum to a different strike.
Which open interest does the screen use?
The settled figure at the close, and the last print carried to the minute at a minute. Open interest is in units, so the call and put values come out in rupees.

Disclosures

  • Not investment advice. OptionDesk provides tools, analytics, backtesting and education for NSE F&O only. It is not a SEBI-registered Investment Adviser or Research Analyst, and does not provide investment advice, buy/sell calls, tips or trade execution. You place every order yourself, through your own broker.
  • Projected, not promised. Every projected figure — payoffs, max profit/loss, probability of profit, target-date P&L and similar estimates — is “projected, not advice.” Backtested and simulated results are hypothetical, do not represent actual trading, and are not indicative of future results.
  • Delayed market data. Market data shown on OptionDesk is delayed by approximately one minute — it is not a live feed. It is provided for analysis and education only, and must not be relied on for time-sensitive execution.
  • F&O risk. Trading in futures & options carries a high risk of loss and is not suitable for every investor. Consider your objectives and risk tolerance, and seek independent advice where appropriate.

More in Options