Implied volatility calculator
calc_finance_implied_volatilityThe volatility at which the Black-Scholes-Merton formula gives an option's market price, pinned between proven bounds.
Turns an option's price back into the volatility that explains it. The Black-Scholes price rises with volatility, so a price inside the option's possible range matches exactly one volatility. It is found here by closing in on it and then proving that the price is too low just below and too high just above, so the digits returned are correct. A price outside the possible range is refused with the reason.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"option_price": "<option_price>",
"spot": "<spot>",
"strike": "<strike>",
"time_to_expiry_years": "<time_to_expiry_years>",
"risk_free_rate_percent": "<risk_free_rate_percent>",
"option_type": "<option_type>"
},
"name": "calc_finance_implied_volatility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spot | Yes | The underlying's price now. A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 1000000000000000. | |
| strike | Yes | The option's strike price. A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 1000000000000000. | |
| options | No | Precision and rounding of the results (default: rounding=half_even, decimals=6). | |
| option_type | Yes | Call or put. Options: call: the right to buy; put: the right to sell | |
| option_price | Yes | The option's market price. A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 1000000000000000. | |
| time_to_expiry_years | Yes | Time to expiry in years. Write days as a ratio, such as "30/365". A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 100. | |
| dividend_yield_percent | No | Dividend yield per year in percent, continuously compounded. Allowed: >= -50 and <= 100. Unit: percent. | 0 |
| risk_free_rate_percent | Yes | Risk-free interest rate per year in percent, continuously compounded. Allowed: >= -50 and <= 100. Unit: percent. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | Yes | The inputs as understood. | |
| result | Yes | ||
| formula | No | ||
| receipt | No | Only with ?receipt=true: a signed receipt for this answer, a JSON Web Token signed with Ed25519 (alg EdDSA). Its claims are iss, iat, jti (the request id), endpoint, date and response (this response without the receipt). Check it with the keys at /.well-known/jwks.json or POST /v1/receipts/verify. | |
| warnings | Yes | ||
| exactness | Yes | For each decimal output: exact; rounded (correctly, to the precision); rounded_uncertified (the last digit could not be proven); or underflow (below 1e-100, reported as 0). | |
| precision | No | The precision and rounding that were applied. | |
| calculator | Yes | The calculator and version that ran. | |
| references | No |