By The Oracle · For education, not financial advice.
Max pain is the price at which all the options open for one expiration would be worth the least, in total, at expiration: the price where option buyers as a group would collect the least and option sellers would pay out the least. To calculate it, take each strike as a possible closing price, add up what every call and put would be worth there (intrinsic value × open interest × 100), and pick the strike with the smallest total. Price sometimes settles near it on expiration day, mostly when dealers are long gamma around a heavy strike and nothing else is moving the stock. It fails when news, negative gamma or shifting positions take over.
Where the idea comes from
The theory says that because option sellers, dealers among them, do best when options expire worthless, price tends to drift toward the strike that hurts option buyers most. The pull is real in some conditions, but the likely reason is more mundane than anyone steering the price: dealers hedging large positions near a strike can hold the price close to it as expiration approaches. That is a gamma effect, and it has limits.
How to calculate max pain, step by step
- Pick one expiration. Each expiration has its own max pain.
- Collect open interest for every call and put strike in that expiration.
- Take each strike as a possible closing price. The total payout only changes direction at strikes, so the minimum always falls on one.
- Value every call at that price: if the price is above the strike, the call is worth the difference. Multiply by open interest and by 100.
- Value every put the same way: if the price is below the strike, the put is worth the difference.
- Add calls and puts to get the total payout at that price.
- Pick the smallest total. That strike is max pain.
A worked example
90 · 500 / 3,500
95 · 1,500 / 5,000
100 · 4,000 / 3,000
105 · 6,000 / 1,000
110 · 3,000 / 300
Total payout if XYZ closes at each strike:
$90 · $7.6M
$95 · $3.2M
$100 · $2.05M
$105 · $4.4M
$110 · $10.25M
Take $100. The 90 and 95 calls are in the money by $10 and $5: 500 × $10 × 100 = $500,000, and 1,500 × $5 × 100 = $750,000. The 105 and 110 puts are in the money by $5 and $10: 1,000 × $5 × 100 = $500,000, and 300 × $10 × 100 = $300,000. Everything else expires worthless. Total: $2.05 million, the smallest of the five, so max pain is $100.
XYZ at $102 sits $2 above it. Whether that gap closes by Friday depends far less on the number than on the conditions below.
When price tends to pin
- Dealers are long gamma near the strike. Their hedging sells above the strike and buys below it, which holds price close. This is the positive gamma regime, and it is the real engine of a pin.
- Price is above the gamma flip. In the calmer regime, small moves get leaned against; the gamma flip explains the boundary.
- Heavy open interest sits close to the price. A big strike $1 away matters; one $20 away does not.
- The last day or two. Gamma is highest for options near the money and near expiration, so the effect is strongest at the very end.
- A quiet tape. No earnings, no major economic report, no big news.
There is evidence that strikes do attract prices at expiration. A 2005 study in the Journal of Financial Economics by Ni, Pearson and Poteshman found that stocks with listed options closed at or near strike prices on expiration dates more often than chance would suggest, and linked part of the effect to the hedging of options positions. Note what that shows: clustering at strikes, not at max pain specifically.
When it does not pin
- Negative gamma. When dealers are short gamma, hedging pushes price away from strikes rather than toward them.
- News. Earnings, a Fed decision or an inflation report can carry price far past any strike.
- Stale open interest. Open interest is counted overnight. In expiration week many positions close, and same-day trades never appear in it at all, so the number can describe positions that are already gone.
- Max pain far from the price. A max pain $15 away with two days left is a curiosity, not a magnet.
- Settlement rules. Some index options settle on the next morning’s opening prices rather than the close, which changes what the expiration price even means.
Max pain and GEX
Max pain looks only at open interest and payouts. It ignores who holds the options and how they hedge. Gamma exposure (GEX) estimates exactly that: where dealer hedging is heaviest and which way it leans. The pin story is strongest when the two agree, with the max pain strike sitting on a large positive-gamma strike, price above the gamma flip and expiration close. When they disagree, for example when max pain sits below a heavy negative-gamma put wall, the pin story is weak. What is GEX? covers the hedging side.
Limits
- Max pain is not a price target, and nobody is obliged to deliver it.
- It changes daily as open interest changes, so recalculate it rather than reusing an old number.
- It describes one expiration at a time, while dealers hedge across all of them.
- It works best in large, liquid underlyings and least in thinly traded stocks.
Max pain in context
MomoEdge does not turn max pain into a trade. Its GEX tab and PRISM show gamma by strike and expiration, the part of the picture that decides whether a pin is likely at all, and the GEX tab lesson shows how to read it. For how same-day options feed into pins, see 0DTE options and dealer hedging. The $10K account shows every trade our team takes with real money, winners and losers, before commissions and fees. If you want to see the gamma map on live data, you can see what the terminal includes.
FAQ
Is max pain accurate?
It is a calculation, not a forecast. Research shows stock prices cluster near strikes on expiration days, but nothing forces price to the max pain strike, and it often closes elsewhere when news or negative gamma dominates.
Do market makers push price to max pain?
Not as a goal. The usual explanation for a pin is simpler: when dealers are long gamma near a heavy strike, their routine hedging can hold price nearby.
Why does max pain change every day?
It is computed from open interest, which updates overnight as positions are opened and closed, and expiration week is when the most positions close.
Which expiration should max pain be calculated for?
The one you care about. Each expiration has its own max pain, and the nearest ones matter most because their options carry the most gamma.