Greeks Calculator (Delta, Gamma, Theta, Vega, Rho)
Calculate the sensitivity measures (Greeks) for a single options contract using the Black-Scholes model.
Calculated Greeks & Theoretical Price
| Metric | Value | Description |
|---|---|---|
| Underlying Price (S) | Current price of the asset. | |
| Strike Price (K) | Price at which the option can be exercised. | |
| Days to Expiration (T) | Time remaining until the option expires. | |
| Implied Volatility (σ) | Market's expectation of future price swings. | |
| Risk-Free Rate (r) | Interest rate of a risk-free investment. | |
| Dividend Yield (q) | Annual dividend payout rate of the underlying. | |
| Option Type | Whether the option is a Call or Put. | |
| Greeks & Price | ||
| Theoretical Price | Estimated fair value of the option. | |
| Delta (Δ) | Change in option price per $1 change in underlying price. | |
| Gamma (Γ) | Change in Delta per $1 change in underlying price. | |
| Theta (Θ) | Change in option price per day as time passes (time decay). | |
| Vega (ν) | Change in option price per 1% change in implied volatility. | |
| Rho (ρ) | Change in option price per 1% change in risk-free rate. | |
Risk-Free Rate (r): ${outputRiskFreeRate.textContent}
Dividend Yield (q): ${outputDividendYield.textContent}
Option Type: ${outputOptionType.textContent}
Calculated Greeks & Theoretical Price
| Metric | Value | Description |
|---|---|---|
| Theoretical Price | ${outputTheoreticalPrice.textContent} | Estimated fair value of the option. |
| Delta (Δ) | ${outputDelta.textContent} | Change in option price per $1 change in underlying price. |
| Gamma (Γ) | ${outputGamma.textContent} | Change in Delta per $1 change in underlying price. |
| Theta (Θ) | ${outputTheta.textContent} | Change in option price per day as time passes (time decay). |
| Vega (ν) | ${outputVega.textContent} | Change in option price per 1% change in implied volatility. |
| Rho (ρ) | ${outputRho.textContent} | Change in option price per 1% change in risk-free rate. |
Note: Greeks are sensitivities. Delta/Gamma are per 1 unit change in underlying. Theta is per day. Vega and Rho are per 1% change in volatility and risk-free rate, respectively. This tool uses the Black-Scholes model for European options, which may not accurately reflect American options or real-world market complexities.
`; element.innerHTML = pdfContent; html2pdf().from(element).set({ margin: [10, 10, 10, 10], filename: 'Greeks_Calculator_Report.pdf', image: { type: 'jpeg', quality: 0.98 }, html2canvas: { scale: 2, logging: true, dpi: 192, letterRendering: true }, jsPDF: { unit: 'mm', format: 'a4', orientation: 'portrait' } }).save(); } // Attach event listeners if (calculateButton) { calculateButton.addEventListener('click', calculateAndDisplayGreeks); } else { console.error("Calculate button not found."); } if (downloadPdfButton) { downloadPdfButton.addEventListener('click', downloadPDF); } else { console.error("Download PDF button not found."); } });