Rajandran R Creator of OpenAlgo Sketchmaker, RagZ. Building GenAI Applications. Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Now the recent curiosity on building Trading AI Agents.

Option Pain Charts for Nifty

7 min read

Option pain charts for Nifty show the total value that option buyers would receive at expiry for every possible settlement price, and highlight the strike where that payout is the lowest. That strike is called the max pain or option pain point: the level at which the largest number of Nifty calls and puts would expire worthless. Below I explain the theory, how to calculate it step by step, and how far you can rely on it.

Key Takeaways

  • Max pain is the strike where the combined intrinsic value of all open calls and puts is the lowest at expiry.
  • It is calculated from open interest only, so it shifts during the expiry cycle as positions change.
  • The idea that option writers “pull” the index to max pain is a theory; treat max pain as one input alongside OI build-up, price action and volatility.
  • Nifty options now expire on Tuesdays (weekly and monthly) for contracts expiring on or after 1 September 2025.

What is Option Pain?

There’s a saying in Wall Street that “90% of all options purchased and held until they expire will turn out to be worthless.” This implies that in 90% of cases, those who issue the option and receive the premium do not have to buy back their stock or take on additional stock. The specific percentage, whether it’s 90% or something else, doesn’t significantly impact the analysis of the Max-Pain™ phenomenon.

What is Option Pain? Option Pain, often referred to as Max Option Pain or Max Pain, is a concept based on the notion that since a majority of options traders end up losing, the market price of the underlying stock is likely influenced to settle at a point where the greatest number of options expire without value during the expiration of the options. If the Option Pain theory is accurate, it suggests the feasibility of predicting the precise closing price of a stock at option expiration by analyzing the open interest in both call and put options. This specific price point is referred to as “Option Pain” or “Max Pain”.

Open Varsity: 13 free courses for traders and investors

FREE AND SELF-PACED

Open Varsity: 13 free courses for traders and investors

From stock market basics to options strategies, quant trading and taxation, built around Indian market examples.

  • 407 chapters, beginner to expert
  • Options, Python, AmiBroker AFL and quant tracks
  • Risk management and trading psychology

Assumptions of Option Pain

The definition for Option Pain taken from Optionpain.com is:

“In the option market, wealth transfer between option buyers and sellers is a zero-sum game. On option expiration days, the underlying stock price often moves toward a point that brings maximum loss to option buyers. This specific price, calculated based on all outstanding options in the market, is called Option Pain. Option Pain is a proxy for the stock price manipulation target by the option selling group.”

In this definition, we can extract the following assumptions:

1. “Wealth transfer between option buyers and sellers is a zero-sum game”. This means both parties cannot gain or suffer together. In options trading, when one party wins, the other party loses.

2. “On option expiration days, the underlying stock price often moves toward a point that brings maximum loss to option buyers”. This means that on option expiration day, most option buyers with open positions loses money.

3. “calculated based on all outstanding options in the market”. This means that Open Interest is representative of the number of buyers of stock options.

4. “stock price manipulation target”. This means that stock prices can and are manipulated on option expiration days.

5. ” by the option selling group”. This means that a specialized group of traders exist that manipulates stock prices known as the Option Selling Group.

How to Calculate Option Pain for Nifty

In order to compute the maximum pain price, or the price level that will see the greatest number of options expire worthless, one has to compute the total rupee value of all open contracts. Let’s consider an example using the Nifty and the April 2010 Nifty options, which expire in fourteen more days. To start the Max-Pain™ analysis, list the available spectrum of strike prices and total Open Interest volume for the April’10 Puts and Calls. (The original April 2010 open interest table from this post is no longer available; the worked figures below and the chart above come from it.)

Then calculate the cumulative total value of the current Open Interest positions, as if they are held to the expiry day, over a range of closing prices for the ITM Options during expiry , Nifty

After gathering all of the strike prices and open interest numbers for the April 2010 Nifty options, the next step is to compute the cumulative value of the open interest for both the puts and the calls assuming the Nifty closes at various prices. Here will assume that, at expiration, the Nifty closes at a value equal to each of the nineteen strike prices ranging from 4100 to 6000. The process is done for both the puts and the calls.

For example,

If the Nifty closes on expiry at 4200, then only 4100 call is at the In the money(ITM) option.Then the value of all the in-the-money CALL options is Rs 17245000 [or (100 x 172450)].

This is the value of the options that will NOT expire worthless if the Nifty is at 4200 at expiration(Just an assumtion 🙂 ). From table we can see that the cumulative rupee value of the calls increases as the Nifty moves up in price, but the value of the puts declines as the Nifty moves higher.

If the Nifty closes on expiry at 4300, then only 4100 call and 4200 is at the In the money(ITM) option.Then the value of all the in-the-money CALL options is Rs 35975000 [or (100 x 14850)] + (200*172450)].

If the Nifty closes on expiry at 4400, then only 4100,4200,4300 call is at the In the money(ITM) option and rest of the call expires worthless.Then the value of all the in-the-money CALL options is Rs 56615000 [or (100 x 19100) + (200 x 14850) + (300 x 172450)]. (An earlier version of this post showed Rs 68365000 here, which does not match the formula; the corrected total is Rs 5,66,15,000.)

this process needs to be continued till the end of the strike prices.. in our case it is 6000. The calculation is little large and lengthy :). Also the same procedure needs to be done to calculate the ITM put values at expiration

Finally after computing CALL Value,PUT Value. The next step in finding the point of maximum pain is to add the total value of the open interest for both the puts and calls across the various prices. In table , the total value appears in the last column. The point of maximum pain occurs where the total value is the least. At that level, the most puts AND the most calls will expire worthless, causing the most pain to option owners. In our example, 5300 represents the price of maximum pain.

Stacked Chart is plotted i.e the sum of the PUT Value and the CALL Value. The point at which the most options expire worthless is labeled and is the point where the overall minimum value occurs (the Max-Pain Point™). It appears to be at the 5300 closing price point.

Reading and Using Option Pain Charts

How Should I Read the Call and Put Chart?

This chart plots the total value of calls (blue) and puts (orange) separately. At a specific price point, if the call value is greater than the put value, the stock price may be manipulated below the strike price, making all call options worthless. If the put value is larger than the call value, the stock price may stop above the strike and make the put options worthless.

What Should I Do if I Hold In-The-Money Options Near Expiration?

You may want to sell the in-the-money option, call or put, one week before the final option expiration Thursday. (When this post was written, Nifty options expired on Thursday. NSE moved equity derivatives expiry to Tuesday for contracts expiring on or after 1 September 2025, so today this means the last Tuesday of the month for monthly options, as reported by Moneylife.) If you hold these options to the last moment, very likely you will see your options become worthless.

How to Profit From Option Pain

It has been proposed from some investment and options trading websites that stocks tend to move towards the Option Pain level as expiration hour approaches and is most predominant in high volume stocks (these are again claims that have yet to be rigorously tested or proven.). Essentially, if you know what price a stock will end up and when, there is almost an endless number of options trading strategies that you can use to take advantage of it. If the Option Pain level is higher than the stock price right now, you could use a Bull Call Spread by buying the At The Money call options and then sell the Out Of The Money call option slightly above or at the Option Pain price. Conversely, if the Option Pain level is lower than the stock price right now, you could use a Bear Put Spread using the same logic. Naked call write and put write at the strike price slightly above or below the Option Pain price works as well.

Calculate Max Pain for Nifty in Python

The manual method above becomes tedious with today’s Nifty option chain, which has many more strikes than the nineteen we used in 2010. A few lines of Python do the same calculation for any expiry. Feed it the strikes and the call and put open interest from the NSE option chain or your broker API:

def max_pain(strikes, call_oi, put_oi):
    """Return the max pain strike and the total payout to option buyers at each strike."""
    pain = {}
    for s in strikes:  # assume the index settles exactly at strike s
        call_value = sum((s - k) * oi for k, oi in zip(strikes, call_oi) if s > k)
        put_value = sum((k - s) * oi for k, oi in zip(strikes, put_oi) if s < k)
        pain[s] = call_value + put_value
    return min(pain, key=pain.get), pain


# Illustrative open interest (in lakh contracts) - replace with the live option chain
strikes = [24800, 24900, 25000, 25100, 25200]
call_oi = [20, 35, 60, 80, 55]
put_oi = [70, 85, 65, 30, 15]

strike, pain = max_pain(strikes, call_oi, put_oi)
print("Max pain strike:", strike)
print(pain)

With these illustrative numbers the output is a max pain strike of 25000, where the total payout to option buyers is 13,500 (in OI units multiplied by points). At 24800 it would be 36,500 and at 25200 it would be 38,500, which gives the familiar U-shaped curve you see in option pain charts. If you want to pull live open interest automatically, the approach in the live Nifty options open interest monitoring tool is a good starting point.

Limitations of Option Pain

  • It is a snapshot. Max pain changes as open interest changes through the expiry cycle. A max pain level calculated a week before expiry can be very different on expiry morning.
  • Open interest does not tell you who is long. OI counts contracts, not whether buyers or writers initiated them, and many writers are hedged. Reading OI correctly needs price context; see interpreting the options price and open interest relationship.
  • Big events override it. On days with RBI policy, budget, global shocks or large FII flows, the index can settle far away from max pain.
  • Pinning is not manipulation proof. Index settling near a high-OI strike is often explained by delta hedging by option writers, not a coordinated “option selling group”. Treat the manipulation assumption with caution.
  • Expiry day behaviour is different. ATM and OTM options lose time value very fast on the last day. I covered what that means for buyers in what happens when you trade ATM/OTM options on expiry day.

Frequently Asked Questions

What is max pain in Nifty options?

Max pain is the Nifty strike at which the total intrinsic value of all outstanding call and put options is the lowest at expiry. At that level the maximum number of option buyers lose money, and option writers keep most of the premium.

Is the max pain theory reliable?

Not as a standalone signal. The index sometimes settles close to max pain, especially on quiet expiries, but it often does not. Use it as a reference level along with OI build-up, the put call ratio and price action.

Does max pain change during the day?

Yes. Because it is calculated from open interest, max pain moves as traders open and close positions. On expiry day it can shift several times, so always check the latest value.

When do Nifty options expire now?

For contracts expiring on or after 1 September 2025, NSE equity derivatives expire on Tuesday. Nifty weekly options expire every Tuesday and monthly options on the last Tuesday of the month, subject to holiday adjustments.

Marketcalls Elite Traders Club

MEMBERSHIP

Marketcalls Elite Traders Club

Every Marketcalls course and live mentorship in one membership: 127 courses and 2,500+ hours of learning.

  • Market Profile, Orderflow, AFL, Pine Script and Python
  • Live mentorship and TradEdge trading room
  • Premium tools and the Elite Slack community

Learn by watching: free videos every week

Market Profile, order flow, Python, AI and OpenAlgo tutorials on YouTube.

Rajandran R Creator of OpenAlgo Sketchmaker, RagZ. Building GenAI Applications. Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Now the recent curiosity on building Trading AI Agents.

14 Replies to “Option Pain Charts for Nifty”

  1. THANK YOU VERY MUCH RAJENDARAN SIR FOR SUCH LOVELY ARTICLE. THIS KNOWLEDGE INCREDIBLE ARTICLE HELPS TO UNDERSTAND COMPLEXITY OF OPTION AND INCREASE OUR KNOWLEDGE…

  2. Rajendaran,

    Very interesting and thank you for all the effort you put in the calculations to arrive at 5300.

    Have you back tested your results and would you be kind enough to share your analysis.

    I have my doubts about this concept of Max Pain succeeding in our markets, as you know that options on the Nifty are sold much more than bought and being predominantly dominated by institutions, the ‘max pain’ calculations may be actually ‘max gain’ for them.

    I like to be proved wrong though, and wish for some more previous results.

    Cheers,

    Viren.

  3. thanks rajendran for the informative article on options and the pain in the ***.every month one has to face trading options.

    after trading for a year in options i felt that i am making money a good amount in the first 2 weeks and losing big time in the last two weeks of a month.

    all the calls and puts that i buy are usually rocking , but due to the manipulation of option traders i miss out most of the time.

    i am only alive and kicking as i turn to hedging in the last week.

    however , thanks all the same.

    now can we take it one step further and prepare a simple excel sheet where we can calculate the options pain on a daily basis and find out the trend for high volume and operator active stocks.

    think about it and pls do send me a email. i could have done it myself but i do not know of any website which shows the value and open interest of option calls .

    can u help as the 2 weeks are over and i am looking at the 3rd week with some open positions.

    bye

    spm

  4. Wondeful. We have to keep on calculating everyday because the OI changes everyday.Finally it follows that the concept OI plays the role i.e. increase in price and increase in OI is Bullish etc. etc. Am I correct sir?

  5. Hi Rajendran,
    Again…same query !!
    The Option Pain Charts seem to be missing !!
    Any news on when they will be back again??
    Thanks
    T

  6. Can i get The columns and rows of nifty options somewhere? for e.g

    date Nifty Options put price call price
    22 sept. 6009 2.00 100.4
    23 Sept 5900 “” ::

    It will be very help ful to interprete and analyze.

  7. How do we calculate the put value or call value in option pain…i could not understand a bit..please help.

  8. hi i read your post about max pain. I trying to create my own spread sheet in excel so i can back test this theory with old open interest data. Im have trouble to get the formula correct. Wandering what was the excel formula you used?
    i used =((($B10-$B9)*C9)+((J9*2))) colum B was the strikes, C was the open interest, and J the total value

Leave a Reply

Get Notifications, Alerts on Market Updates, Trading Tools, Automation & More