Skip to content
Back to blog

What Is Max Pain in Options? Definition, Formula, and an Example

Max pain is the strike price at which option holders would be paid the least at expiration. How it is calculated from open interest, a query that reproduces it, and a DIS example.

3 min readOptionData
max-painopen-interestoption-chainglossary
OPTION CHAINOptionData blog450445440435430425

Max pain is the strike price at which all open options on an underlying would be worth the least, in total, at expiration. It is the price that would pay option holders least and option writers most. It is also called the max pain price or the option pain point.

DIS on 2026-10-15

  • Close: 110.68

  • Max pain, all later expirations: 105

  • Max pain, 8 to 31 days: 107

How it is calculated

Max pain uses only open interest and strikes:

  1. Take each listed strike as a possible price at expiration.
  2. At that price, value every call as (price − strike) × open interest × 100 if positive, and every put as (strike − price) × open interest × 100 if positive.
  3. Add them up.
  4. Max pain is the strike with the smallest total.

Here it is in SQL, on OptionData's free DIS option chain sample:

SQL
WITH c AS (
  SELECT strike, put_call, oi
  FROM 'DIS_chains_2026-10-15.parquet'
  WHERE expiration_date > DATE '2026-10-15'
),
k AS (SELECT DISTINCT strike AS price FROM c)
SELECT price,
       sum(CASE WHEN put_call = 'CALL' THEN greatest(price - strike, 0)
                ELSE greatest(strike - price, 0) END * oi * 100) AS payout
FROM k, c
GROUP BY price
ORDER BY payout
LIMIT 1;

It returns 105, with a total value of $94,969,300 at that price. That is the max_pain in the DIS levels sample.

One expiration or all of them

Max pain is usually quoted for a single expiration date, because that is when the options settle. The value above pools every later expiration. OptionData's levels files also give it for contracts expiring in 1 to 7 days and in 8 to 31 days; for DIS those were 105 and 107. To get one expiration, add AND expiration_date = DATE '…' to the query.

How traders use it

The max pain theory says the price tends to drift toward max pain as expiration nears, because writers who hedge have a reason to push it there. The evidence for this is mixed, so most traders use max pain as one reference level next to the gamma flip and the call and put walls, not as a forecast.

Get max pain for every symbol

The GEX levels files hold max pain, the gamma flip and the walls for every option root, one row per root per trading day, at $1 a day with a $2 minimum. To compute max pain for one expiration yourself, use the option chain files.

Frequently asked questions

Does max pain use volume? No, only open interest. Volume shows what traded today; open interest shows what is still open.

Why does max pain change from day to day? Open interest changes as positions open and close.

Is max pain the same as the gamma flip? No. Max pain depends only on open interest and strikes; the gamma flip depends on gamma, so on price and implied volatility.