Skip to content
Blog

Engineering

The maths behind our option Greeks

1 October 2026 · 3 min read · JRPS GROUPS LLP

Every premium and Greek in VILASA's option chain comes from one closed-form model, Black–Scholes–Merton. This post shows the formulas, the units and a worked example, so you can check our numbers yourself.

The inputs

SymbolMeaningIn our example
SSpot price of the underlying24,900 (NIFTY)
KStrike25,000
TTime to expiry, in years (365-day count)7 / 365
rRisk-free rate, continuously compounded6.5%
qDividend yield (0 for indices)0
σImplied volatility13%

Pricing

First two helper quantities:

  • d₁ = [ln(S/K) + (r − q + σ²/2)·T] / (σ·√T)
  • d₂ = d₁ − σ·√T

Then the call and put prices:

  • Call = S·e^(−qT)·N(d₁) − K·e^(−rT)·N(d₂)
  • Put = K·e^(−rT)·N(−d₂) − S·e^(−qT)·N(−d₁)

N is the standard normal cumulative distribution. We use the Abramowitz–Stegun rational approximation, accurate to about 7.5 × 10⁻⁸, which is far more precision than any retail screen needs.

For our example, d₁ ≈ −0.1444 and d₂ ≈ −0.1624. The call is slightly out of the money, so both are a little below zero. The call premium comes out at about ₹146.76.

The Greeks, and the units we show

The units matter more than the formulas. Two apps can show “different” vega for the same option simply because one quotes it per 1.00 change in volatility and the other per 1 percentage point.

GreekWhat it answersFormula (call)Unit in VILASAExample
Delta ΔHow much does the premium move per ₹1 in spot?e^(−qT)·N(d₁)per ₹10.443
Gamma ΓHow fast does delta change?e^(−qT)·φ(d₁) / (S·σ·√T)per ₹10.00088
Theta ΘHow much value leaks away per day?[−S·σ·e^(−qT)·φ(d₁)/(2√T) − r·K·e^(−rT)·N(d₂)] / 365₹ per calendar day−14.58
Vega νSensitivity to implied volatilityS·e^(−qT)·φ(d₁)·√T / 100per 1 percentage point of IV13.61
Rho ρSensitivity to interest ratesK·T·e^(−rT)·N(d₂) / 100per 1 percentage point of rate2.09

φ is the standard normal density. For puts the signs flip in the expected places: put delta is −e^(−qT)·N(−d₁), and put rho is negative.

Reading the example like a trader

  • Delta 0.443. If NIFTY rises 100 points, this call gains about ₹44 (a bit more, because of gamma).
  • Gamma 0.00088. After that 100-point move, delta would be roughly 0.443 + 0.088 ≈ 0.53. Near expiry, gamma is what makes at-the-money options jumpy.
  • Theta −14.58. With seven days left, the option loses roughly ₹14.6 a day if nothing else changes, about 10% of its value. Holding long options into expiry week is expensive.
  • Vega 13.61. If implied volatility jumps from 13% to 15%, the premium rises by about ₹27 even if spot doesn't move.
  • Rho 2.09. Rate changes barely matter for weekly options.

Implied volatility, going the other way

When a market premium is given, we solve for σ with Newton–Raphson (using vega as the slope). If that fails to converge, a bisection between 0.1% and 500% takes over. That's how the IV smile above our chain is built: one implied volatility per strike.

What the model gets wrong

Black–Scholes assumes constant volatility, continuous trading and lognormal prices. Real markets have fat tails and volatility that moves. That's why traders quote a smile instead of one number, and why the Greeks are best read as local, short-horizon estimates rather than promises. For a learning tool that's a feature: you see the textbook model and you see where reality bends it.

Our implementation is tested against worked examples from Hull's Options, Futures, and Other Derivatives. If you find a number on our chain that disagrees with your own calculation, tell us.