Black-Scholes Calculator
Price a European call and put with the Black-Scholes-Merton formula from spot, strike, volatility, rate, dividend yield and expiry.
What this page does
The page prices a European call and put from the lognormal model, printing d1 and d2 so the arithmetic can be checked rather than trusted.
How to use it
Enter this sample with the defaults shown:
100
Press Run. The page gives:
Spot: 100.00
Strike: 100.00
Volatility: 20 % a year
Rate: 5 % risk-free, 0 % dividend yield
Expiry: 1 year
d1: 0.35
d2: 0.15
Call: 10.45
Put: 5.57
Delta call: 0.6368
Delta put: -0.3632
Basis: European exercise, lognormal returns, continuous yield; no implied-volatility search
The formula and its basis
d1 = (ln(S ÷ K) + (r − q + σ² ÷ 2) × T) ÷ (σ × √T); d2 = d1 − σ × √T. Call = S × e^(−qT) × N(d1) − K × e^(−rT) × N(d2); put = K × e^(−rT) × N(−d2) − S × e^(−qT) × N(−d1).
Rates and volatility are annual percentages as entered, converted to decimals; the normal CDF uses the Abramowitz and Stegun 7.1.26 approximation, accurate to about 1.5 × 10⁻⁷. Money prints to two decimals, Greeks to four, and intermediate values are never rounded.
What it is not
This page is arithmetic on the numbers you enter, with each assumption stated: it is not financial, medical or training advice, and nothing is uploaded, stored or logged.
The page prices a European call and put from the lognormal model, printing d1 and d2 so the arithmetic can be checked rather than trusted.
The rule this page applies: d1 = (ln(S ÷ K) + (r − q + σ² ÷ 2) × T) ÷ (σ × √T); d2 = d1 − σ × √T. Call = S × e^(−qT) × N(d1) − K × e^(−rT) × N(d2); put = K × e^(−rT) × N(−d2) − S × e^(−qT) × N(−d1).
Basis: Rates and volatility are annual percentages as entered, converted to decimals; the normal CDF uses the Abramowitz and Stegun 7.1.26 approximation, accurate to about 1.5 × 10⁻⁷. Money prints to two decimals, Greeks to four, and intermediate values are never rounded.
Worked example: the sample values below, with the defaults, give exactly the output recorded in What to Expect.
How to use the Black-Scholes Calculator
Enter spot price in the box, set the options beside it, then press Run. The answer appears beside the form and re-runs on the same input.
Every number in the answer follows from your inputs and the assumptions stated below; the page does not choose a rate for you.
The worked example uses "100" with the defaults shown, and its exact output is printed in What to Expect.
The formula, its basis and its refusals
d1 = (ln(S ÷ K) + (r − q + σ² ÷ 2) × T) ÷ (σ × √T); d2 = d1 − σ × √T. Call = S × e^(−qT) × N(d1) − K × e^(−rT) × N(d2); put = K × e^(−rT) × N(−d2) − S × e^(−qT) × N(−d1).
Rates and volatility are annual percentages as entered, converted to decimals; the normal CDF uses the Abramowitz and Stegun 7.1.26 approximation, accurate to about 1.5 × 10⁻⁷. Money prints to two decimals, Greeks to four, and intermediate values are never rounded. Money prints to two decimals, percentages and ratios to four, and intermediate values are never rounded.
It refuses a spot, strike, volatility or expiry of zero or less, and a rate or dividend yield at or below −100 %.
What this page is not
It is arithmetic on the numbers you enter, with each assumption stated. It does not recommend a product, a rate or a course of action, and it is not financial advice.
Where the tool is the wrong choice: American options, which can be exercised early; An implied-volatility search: the page takes volatility as an input; A trading recommendation.
What to Expect
Best for
- Checking an option price against a textbook example
- Seeing how volatility moves a price
- Reading d1, d2 and delta beside a quoted premium
Not ideal for
- American options, which can be exercised early
- An implied-volatility search: the page takes volatility as an input
- A trading recommendation
What this tool keeps
- The numbers exactly as you entered them
- The same answer on every run
- Nothing sent, stored or logged
What may need cleanup
- Rates entered as fractions rather than percentages: enter 5 for 5 %
- A currency symbol pasted beside a number, which the page refuses by name
Common errors
- It refuses a spot, strike, volatility or expiry of zero or less, and a rate or dividend yield at or below −100 %.
- A non-numeric value, which the page names rather than silently treating as zero
Example use cases
- Learning the model with numbers you can vary
- Sanity-checking a broker's quoted premium
Sample input
100
Sample output
Spot: 100.00 Strike: 100.00 Volatility: 20 % a year Rate: 5 % risk-free, 0 % dividend yield Expiry: 1 year d1: 0.35 d2: 0.15 Call: 10.45 Put: 5.57 Delta call: 0.6368 Delta put: -0.3632 Basis: European exercise, lognormal returns, continuous yield; no implied-volatility search
Who this is for
- Students, analysts and anyone checking an option price by hand
Frequently asked questions
What formula does this page use?
d1 = (ln(S ÷ K) + (r − q + σ² ÷ 2) × T) ÷ (σ × √T); d2 = d1 − σ × √T. Call = S × e^(−qT) × N(d1) − K × e^(−rT) × N(d2); put = K × e^(−rT) × N(−d2) − S × e^(−qT) × N(−d1).
What does it refuse?
It refuses a spot, strike, volatility or expiry of zero or less, and a rate or dividend yield at or below −100 %.
What does this page not do?
It is arithmetic on the numbers you enter, with each assumption stated. It does not recommend a product, a rate or a course of action, and it is not financial advice.
What rate basis and rounding does it use?
Rates and volatility are annual percentages as entered, converted to decimals; the normal CDF uses the Abramowitz and Stegun 7.1.26 approximation, accurate to about 1.5 × 10⁻⁷. Money prints to two decimals, Greeks to four, and intermediate values are never rounded. Money prints to two decimals, percentages and ratios to four, and intermediate values are never rounded.
Does it solve for implied volatility?
No. Volatility is an input. The page prices the option; an implied-volatility search is a different job and is not attempted.
Why is the put price not zero when the call is valuable?
Because both are priced from the same distribution. Put-call parity links them, and the page prints both so the relationship is visible.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.