Black–Scholes, with the Greeks.
Move the sliders and watch the prices, the Greeks and the payoff curve respond. a study tool European options on a stock that pays no dividends, with constant volatility and interest rate. Not a trading signal.
01 inputs and prices
Five inputs, two prices, five Greeks
The textbook case: S = K = 100, T = 1, σ = 20%, r = 5% gives a call of 10.45 and a put of 5.57.
02 payoff and value
What it pays at expiry, and what it is worth now
The dashed line is the payoff if you hold to expiry. The solid line is the Black–Scholes value today, with the time you set still left. The gap between them is the time value. Hover or drag across the chart to read it.
03 the maths
What is being computed
d₁ = [ ln(S/K) + (r + σ²/2)·T ] / (σ√T) d₂ = d₁ − σ√T
Call = S·N(d₁) − K·e−rT·N(d₂) Put = K·e−rT·N(−d₂) − S·N(−d₁)
Δcall = N(d₁), Δput = N(d₁) − 1 Γ = N′(d₁) / (S·σ√T) ν = S·N′(d₁)·√T
Θcall = −S·N′(d₁)·σ / (2√T) − r·K·e−rT·N(d₂) ρcall = K·T·e−rT·N(d₂)
N is the standard normal CDF and N′ its density. Put–call parity, C − P = S − K·e−rT, is checked live under the table. The code is checked against textbook values and finite differences.