Overview
Calculate options max pain for any US stock or ETF from live open interest: the closing price at which the open calls and puts on one expiration would pay their holders the least. With Options Pro, test whether past expirations actually closed near it.
What's inside
- Max pain dashboard: max pain, the stock price, how far max pain is from the price, the put/call open interest ratio and the total payout at max pain, with a one-line reading of the result.
- Pain curve: a column chart of the total payout to option holders at the 21 strikes around max pain.
- Largest open interest: the ten strikes with the most open interest, calls and puts side by side.
- Chain sheet: the full options chain for the expiration and the payout at every strike, so you can follow the calculation.
- Watchlist: max pain and the put/call open interest ratio for ten tickers, one formula per row.
- Backtest (Options Pro): max pain a few trading days before each of the last 24 monthly expirations against where the stock closed, with a scorecard:
- How often the price moved closer to max pain by expiration
- How often it closed within a band of max pain you set, and the average gap
- Path into expiry (Options Pro): daily max pain over the last 10 trading days before an expiration next to the closing price, with a chart of the gap between them.
Enter a ticker in B4 and an expiration in B5 on the Max Pain sheet. The listed expirations are in column K of the Chain sheet, and a date that isn't an expiration uses the next one after it. The Backtest and Path sheets have their own ticker and date inputs, and Backtest lets you set how many trading days before expiration to take the snapshot.
Max Pain, Chain and Watchlist need Options Standard. Backtest and Path use historical options chains, which need Options Pro or an Options trial; without it their cells show "Needs Options Pro" and the rest of the template still works.
Good for
- Checking where open interest is concentrated before an expiration
- Comparing max pain with the price across a watchlist of stocks and ETFs
- Testing max pain theory on the stocks you trade before relying on it
- Seeing how max pain shifts in the days before an expiration, alongside the SF Options Explore Dashboard
How to use it
- Click Copy to Google Sheets to save your own copy.
- Open Extensions → SheetsFinance and make sure you're connected.
- Type a ticker such as
AAPLinto cell B4 on the Max Pain sheet. - Enter an expiration date in B5, picking one from column K of the Chain sheet.
Functions used
The SheetsFinance functions this template is built with. Read the docs to adapt it.

