The Black-Scholes formula
The model gives the fair value of a European option on a stock that pays a continuous dividend yield q:
C = S·e^(−qT)·N(d1) − K·e^(−rT)·N(d2) P = K·e^(−rT)·N(−d2) − S·e^(−qT)·N(−d1)
d1 = [ln(S/K) + (r − q + σ²/2)·T] / (σ·√T) d2 = d1 − σ·√T
S is the share price, K the strike, T the time to expiry in years, r the risk-free rate, σ the volatility and N the standard normal cumulative distribution.
What the model leaves out
Black-Scholes assumes volatility is constant and that the option can only be exercised at expiry. US equity options can be exercised early, which matters most for deep in-the-money puts and for calls just before a dividend. Market prices also imply different volatilities at different strikes. Treat the output as an estimate. Read the longer guide.