Black-Scholes option calculator
price_optionCalculate European option fair value and Greeks (delta, gamma, theta, vega, rho, ITM probability), or derive implied volatility from a market price. Works offline.
Instructions
Price a European option and its Greeks (delta, gamma, theta per day, vega, rho, probability of expiring in the money), or give market_price to back out implied volatility. Works offline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spot | Yes | Underlying price. | |
| strike | Yes | Strike price. | |
| rate_pct | No | Risk-free rate in percent. | |
| option_type | Yes | call (CE) or put (PE). | |
| market_price | No | Option's market price, to solve for implied volatility. | |
| days_to_expiry | Yes | Calendar days until expiry (fractions allowed). | |
| volatility_pct | No | Annual volatility in percent, e.g. 14.5. | |
| dividend_yield_pct | No | Dividend yield in percent. |