Max pain is the strike price at which the largest rupee value of options expires worthless. That is the whole definition. It is arithmetic over open interest, not a forecast, and the distance between what it measures and what people believe it predicts is where most of the confusion lives.
You can see today's number for NIFTY, BANKNIFTY, FINNIFTY, MIDCPNIFTY and NIFTY Next 50 on Options Today, and for every F&O stock on its own page - RELIANCE, for instance, or any of the others in the stock directory. Free, no account needed.
How the number is actually calculated
Take every strike in the chain. For each one, ask a single question: if the index settled exactly here at expiry, how much money would every open option contract be worth?
For a call at a lower strike, settlement above it means the writer pays out. For a put at a higher strike, settlement below it means the writer pays out. Add up that total payout across every open contract, strike by strike, and you get a curve. The bottom of that curve - the strike where the total payout to option buyers is smallest - is max pain.
Two things follow from the arithmetic, and both matter more than the number itself.
First, it is weighted by open interest, so it moves when positions are opened and closed, not when the index moves. A large position written at one strike drags max pain toward that strike whatever the market subsequently does.
Second, it is a snapshot. Recalculated tomorrow with tomorrow's open interest, it can sit somewhere else entirely. A max pain that has moved 300 points in a week is telling you about positioning, not about a level the index is being drawn toward.
The theory, and what is actually established
The pin risk theory says settlement tends to gravitate toward max pain, because the people who wrote those options have both the motive and, in size, some means to defend it.
The honest position on this is narrower than either camp usually admits. The mechanism is real: delta hedging by option writers genuinely does create buying and selling pressure around large open positions near expiry, and that pressure is strongest in the final hours. What is not established is that this is reliably tradeable after costs, or that the effect is large enough to overcome a directional move.
The useful reading is not "the index will go here". It is "here is where the largest open positions sit, and here is roughly what those writers would prefer". That is a real piece of information about who is exposed to what. It is not a price target.
Read it with the other two numbers, not alone
Max pain on its own is a strike with no context. The two figures that give it meaning sit beside it on the same card.
Distance from spot. Max pain 400 points away with two days to expiry is a different statement from max pain 40 points away. We show the gap as a percentage for exactly this reason: the absolute strike is meaningless across five underlyings at five different index levels.
The put-call ratio. Max pain says where the open interest is concentrated. PCR says which side it is concentrated on. A max pain well above spot with a low PCR describes a market positioned very differently from the same max pain with a high one.
Both appear on Options Today with the max pain figure, and both are on every stock page alongside the live chain.
Does the index actually close at max pain?
Sometimes, and less often than the theory implies. The pinning mechanism is real near expiry and it is strongest in the last session, but it competes with everything else moving the market. Treat a close near max pain as unremarkable rather than as confirmation, and a close far from it as equally unremarkable.
How often does max pain change?
Every session, because it is recalculated from that session's open interest. It typically settles down as expiry approaches and positions stop rolling. A max pain that is still moving sharply two days before expiry is telling you that positioning is still being built.
Is max pain useful for stocks as well as indices?
The arithmetic is identical, but stock option chains carry far less open interest than index chains, so a single large position moves the number much more. We publish it on every F&O stock page and it should be read with more caution there than on NIFTY.
Where does EdgeTest get the number from?
From the live option chain, recomputed from open interest at each strike. During market hours the figure updates through the session; after the close it shows the last session and is labelled with its date. We never show a cached figure under a live label.
What we would rather you did with it
Max pain is a description of positioning. If you want to know whether a strategy that trades around expiry has actually worked, the useful thing is not a single number on a single day - it is running the rule across every expiry we hold and looking at what came out.
That is what the backtester is for, and the free plan covers it: Unlimited backtests on the free plan. What Free limits is DATA - three years, the Nifty 50, no options - never the number of runs. Options backtesting is on the paid tier, and the depth behind it is Index options from 2016 for NIFTY and BANKNIFTY, 2021 for FINNIFTY, 2022 for MIDCPNIFTY and 2024 for NIFTY Next 50These are the dates each contract was LISTED, not gaps in our data. Ten years of options history cannot exist for an index whose options have existed for five.
And the honest caveat that belongs with any options result we produce: Options rules are checked once a day on the settle price, except for minute testing on one index