Start with one contract and a reproducible model
All calculations on this page use a hypothetical European option with strike K = $100, continuous risk-free rate r = 0%, continuous dividend yield q = 0%, and 365 calendar days per year. The baseline is spot S = $100, 30 days remaining and annualized IV = 20%. These are explicit teaching inputs, not retrieved quotes. Values are per share before contract scaling.
- Use the Black-Scholes model with continuous dividend yield: T = days / 365; d1 = [ln(S/K) + (r - q + σ²/2)T] / (σ√T); d2 = d1 - σ√T. Enter 20% IV as σ = 0.20 in these formulas.
- With N the standard normal cumulative distribution and φ(x) = exp(-x²/2) / √(2π), call price C = S exp(-qT)N(d1) - K exp(-rT)N(d2). Call delta = exp(-qT)N(d1); put delta = exp(-qT)[N(d1) - 1].
- Differentiating either delta with respect to S gives gamma Γ = exp(-qT)φ(d1) / (Sσ√T). Require S > 0, K > 0, T > 0 and σ > 0 for this expression. It is undefined at exactly zero time or volatility.
| Baseline output | Calculated value | Unit or meaning |
|---|
| Call price | $2.28715063 | Theoretical premium per share |
| Call delta | 0.51143575 | Option price change per $1 underlying move |
| Put delta | -0.48856425 | Negative first-order price sensitivity |
| Call and put gamma | 0.06954844 | Delta change per $1 underlying move |
See where gamma concentrates as time runs out
Hold the $100 strike and 20% IV fixed. Each cell is gamma per $1 underlying move, recalculated at the spot price and remaining time shown. This grid demonstrates why a statement about near-expiry gamma must also specify moneyness.
- At S = $100, the one-day gamma is about 5.48 times the 30-day value. At S = $90, gamma shrinks as expiry approaches because the $100 call becomes increasingly unlikely to finish in the money under these fixed assumptions.
- The curve is concentrated near the strike, but its precise peak need not be exactly at S = K. The density term, the 1/S factor, rates, yield and volatility affect its location.
- Do not extend the one-day row to expiry itself. The terminal payoff has a kink at the strike; a smooth pre-expiry gamma is not an ordinary finite derivative at that point.
| Days remaining | S = $90 | S = $100 | S = $110 |
|---|
| 90 | 0.026767 | 0.040121 | 0.021942 |
| 30 | 0.015057 | 0.069548 | 0.015143 |
| 7 | 0.000122 | 0.144024 | 0.000335 |
| 1 | Less than 0.000001 | 0.381084 | Less than 0.000001 |
Change IV without assuming gamma always moves one way
Reset the time to 30 days and hold every other input fixed. IV is an absolute annualized level in this table: moving from 20% to 40% means a 20 percentage-point increase. Higher IV reduces gamma at the $100 spot in this example, but increases gamma at the far lower $80 spot.
- At the strike, a lower IV concentrates the delta transition into a narrower price interval. Far from the strike, increasing IV can make that transition relevant at the selected spot. Recalculate rather than applying an unconditional inverse relationship.
- These are parallel scenarios with constant IV within each calculation. If IV changes when spot changes, the observed delta change includes volatility effects as well as gamma. A fixed-IV derivative does not describe the whole move.
| Annualized IV | Gamma at S = $100 | Gamma at S = $80 |
|---|
| 10% | 0.13913976 | Less than 0.00000001 |
| 20% | 0.06954844 | 0.00004999 |
| 40% | 0.03473137 | 0.00730958 |
Verify gamma from delta and option price
Return to the baseline and choose a small spot bump h. Reprice the same option at S - h, S and S + h, keeping IV, time, rates and yield unchanged. Central differences give Γdelta ≈ [Δ(S + h) - Δ(S - h)] / (2h) and Γprice ≈ [C(S + h) - 2C(S) + C(S - h)] / h².
- For h = $0.10, the calculated deltas are 0.5044760418 at $99.90 and 0.5183850335 at $100.10. Their difference divided by $0.20 is approximately 0.06954496.
- The corresponding call prices are $2.2363549601, $2.2871506280 and $2.3386417630. Subtract twice the middle price from the outer-price sum, then divide by 0.01 to obtain approximately 0.06954670.
- Keep full calculation precision before taking differences. Reducing h should initially improve agreement, but rounded screen values, approximate normal distributions and floating-point cancellation eventually dominate. A smaller bump is not automatically a better check.
- Adjacent strikes are different contracts. Their delta difference is not a spot derivative. Quotes taken at different times also change the inputs, so they cannot isolate gamma.
| Spot bump h | Gamma from delta | Gamma from call price |
|---|
| $1.00 | 0.06920173 | 0.06937483 |
| $0.50 | 0.06946148 | 0.06950494 |
| $0.10 | 0.06954496 | 0.06954670 |
| $0.05 | 0.06954757 | 0.06954801 |
| Analytic derivative | 0.06954844 | 0.06954844 |
Translate contract gamma into a position change
Assume one long contract represents exactly 100 shares. Its baseline delta exposure is 100 × 0.51143575 = 51.143575 shares. Position gamma is 100 × 0.06954844 = 6.954844 shares of delta change per $1 underlying move. Verify the actual deliverable and multiplier for an adjusted or non-equity contract before using 100.
- The local estimate after a $1 rise is delta ≈ 0.51143575 + 0.06954844 = 0.58098419 per share. Repricing at $101 instead gives 0.58012240 because gamma changes along the path.
- For a small move x, the price approximation is change in C ≈ Δx + 0.5Γx². At x = $5, it estimates a final call price of $5.71368490; full repricing gives $5.64490411. Use repricing for wider scenarios, especially near expiry.
- A short contract reverses both exposures: approximately -51.143575 shares of delta and -6.954844 shares of delta change per $1. A negative put delta does not make the long put gamma negative.
- This single-contract calculation cannot establish market-wide GEX, dealer positioning or the direction of hedging flows. Those estimates require separate position data and assumptions about who owns each side.
Reconcile TradingView scenarios with Pineify inputs
In TradingView Options, identify one expiry, strike and option type in the chain, then use a single long leg in the Strategy Builder. Select Gamma on the chart and inspect it across underlying prices. The builder also provides what-if scenarios for time and IV changes. Keep the contract and position size fixed while comparing scenarios.
- Record the underlying quote and timestamp, option identifier, strike, expiration time, IV, rates, dividend treatment, exercise style and quantity. If a model input is not available, mark it unknown; a discrepancy cannot be attributed to gamma until the inputs and units match.
- Check the resulting IV level when using a scenario shift. An interface label such as +10% does not by itself establish whether your comparison uses a relative change or ten percentage points. Record the final IV and remaining time.
- Open Pineify AI Stocks & Options Picker, choose the ticker and its Options Chain tab, select the expiration and expand the strike row to inspect available delta and gamma. Match the exact contract. Missing provider Greeks remain missing; this workflow does not reconstruct them from a stock score.
- For the controlled example, open the linked Option Greeks Calculator and enter Call, spot 100, strike 100, 30 days, IV 20, rate 0 and dividend yield 0. Select Gamma and compare the spot, time and volatility views. Change the spot manually to 99.90 and 100.10 for a finite-difference check; displayed rounding can limit precision.
Treat model agreement as a calculation check
Agreement between the formula and its finite differences checks the derivative calculation. It does not prove that the model matches an executable market price. The Black-Scholes assumptions here exclude early exercise, discrete dividends, jumps and changing volatility; American exercise or a volatility surface can produce different sensitivities.
- Do not use an expired contract, zero IV, nonpositive spot or strike, or a spot bump that crosses zero in the displayed formula. Missing inputs are not zeros. Very short maturities require the actual remaining fraction of a day.
- A midpoint from a wide or stale quote can produce an unreliable IV and gamma estimate. Compare quote times and model conventions before increasing numerical precision.
- Positive gamma does not imply a profitable option. Premium paid, time decay, volatility changes, execution costs and the path of any hedge determine the outcome.