Black-Scholes Excel Formulas and How to Create a Simple Option Pricing Spreadsheet

This page is a guide to creating your own option pricing Excel spreadsheet, in line with the Black-Scholes model (extended for dividends by Merton). Here you can get a ready-made Black-Scholes Excel calculator with charts and additional features such as parameter calculations and simulations.

Black-Scholes in Excel: The Big Picture

If you are not familiar with the Black-Scholes model, its parameters, and (at least the logic of) the formulas, you may first want to see this page.

Below I will show you how to apply the Black-Scholes formulas in Excel and how to put them all together in a simple option pricing spreadsheet. There are 4 steps:

  1. Design cells where you will enter parameters.
  2. Calculate d1 and d2.
  3. Calculate call and put option prices.
  4. Calculate option Greeks.

Black-Scholes Parameters in Excel

Black-Scholes Calculator

First you need to design 6 cells for the 6 Black-Scholes parameters. When pricing a particular option, you will have to enter all the parameters in these cells in the correct format. The parameters and formats are:

S0 = underlying price (USD per share)

X = strike price (USD per share)

σ = volatility (% p.a.)

r = continuously compounded risk-free interest rate (% p.a.)

q = continuously compounded dividend yield (% p.a.)

t = time to expiration (% of year)

Underlying price is the price at which the underlying security is trading on the market at the moment you are doing the option pricing. Enter it in dollars (or euros/yen/pound etc.) per share.

Strike price, also called exercise price, is the price at which you will buy (if call) or sell (if put) the underlying security if you choose to exercise the option. If you need more explanation, see: Strike vs. Market Price vs. Underlying’s Price. Enter it also in dollars per share.

Volatility is the most difficult parameter to estimate (all the other parameters are more or less given). It is your job to decide how high volatility you expect and what number to enter – neither the Black-Scholes model, nor this page will tell you how high volatility to expect with your particular option. Being able to estimate (= predict) volatility with more success than other people is the hard part and key factor determining success or failure in option trading. The important thing here is to enter it in the correct format, which is % p.a. (percent annualized).

Risk-free interest rate should be entered in % p.a., continuously compounded. The interest rate’s tenor (time to maturity) should match the time to expiration of the option you are pricing. You can interpolate the yield curve to get the interest rate for your exact time to expiration. Interest rate does not affect the resulting option price very much in the low interest environment, which we’ve had in the recent years, but it can become very important when rates are higher.

Dividend yield should also be entered in % p.a., continuously compounded. If the underlying stock doesn’t pay any dividend, enter zero. If you are pricing an option on securities other than stocks, you may enter the second country interest rate (for FX options) or convenience yield (for commodities) here.

Time to expiration should be entered as % of year between the moment of pricing (now) and expiration of the option. For example, if the option expires in 24 calendar days, you will enter 24/365=6.58%. Alternatively, you may want to measure time in trading days rather than calendar days. If the option expires in 18 trading days and there are 252 trading days per year, you will enter time to expiration as 18/252=7.14%. Furthermore, you can also be more precise and measure time to expiration to hours or even minutes. In any case you must always express the time to expiration as % of year in order for the calculations to return correct results.

I will illustrate the calculations on the example below. The parameters are in cells A44 (underlying price), B44 (strike price), C44 (volatility), D44 (interest rate), E44 (dividend yield), and G44 (time to expiration as % of year).

Black-Scholes Calculator

Note: It is row 44, because I am using the Black-Scholes Calculator for screenshots. You can of course start in row 1 or arrange your calculations in a column.

Black-Scholes d1 and d2 Excel Formulas

When you have the cells with parameters ready, the next step is to calculate d1 and d2, because these terms then enter all the calculations of call and put option prices and Greeks. The formulas for d1 and d2 are:

Black-Scholes formula for d1 Black-Scholes formula for d2

All the operations in these formulas are relatively simple mathematics. The only things that may be unfamiliar to some less savvy Excel users are the natural logarithm (LN Excel function) and square root (SQRT Excel function).

The hardest on the d1 formula is making sure you put the brackets in the right places. This is why you may want to calculate individual parts of the formula in separate cells, as I do in the example below:

Black-Scholes Calculator

First I calculate the natural logarithm of the ratio of underlying price and strike price in cell H44:


Black-Scholes Calculator

Then I calculate the rest of the numerator of the d1 formula in cell I44:


Black-Scholes Calculator

Then I calculate the denominator of the d1 formula in cell J44. It is useful to calculate it separately like this, because this term will also enter the formula for d2:


Black-Scholes Calculator

Now I have all the three parts of the d1 formula and I can combine them in cell K44 to get d1:


Black-Scholes Calculator

Finally, I calculate d2 in cell L44:


Black-Scholes Calculator

Black-Scholes Option Price Excel Formulas

The Black-Scholes formulas for call option (C) and put option (P) prices are:

Black-Scholes formula for call option price Black-Scholes formula for put option price

The two formulas are very similar. There are 4 terms in each formula. I will again calculate them in separate cells first and then combine them in the final call and put formulas.

N(d1), N(d2), N(-d2), N(-d1)

Potentially unfamiliar parts of the formulas are the N(d1), N(d2), N(-d2), and N(-d1) terms. N(x) denotes the standard normal cumulative distribution function – for example, N(d1) is the standard normal cumulative distribution function for the d1 that you have calculated in the previous step.

In Excel you can easily calculate the standard normal cumulative distribution functions using the NORM.DIST function, which has 4 parameters:

NORM.DIST(x, mean, standard_dev, cumulative)

For example, I calculate N(d1) in cell M44:


Black-Scholes Calculator

Note: There is also the NORM.S.DIST function in Excel, which is the same as NORM.DIST with fixed mean = 0 and standard_dev = 1 (therefore you enter only two parameters: x and cumulative). You can use either; I’m just more used to NORM.DIST, which provides greater flexibility.

The Terms with Exponential Functions

The exponents (e-qt and e-rt terms) are calculated using the EXP Excel function with -qt or -rt as parameter.

I calculate e-rt in cell Q44:


Black-Scholes Calculator

Then I use it to calculate X e-rt in cell R44:


Black-Scholes Calculator

Analogically, I calculate e-qt in cell S44:


Black-Scholes Calculator

Then I use it to calculate S0 e-qt in cell T44:


Black-Scholes Calculator

Now I have all the individual terms and I can calculate the final call and put option price.

Black-Scholes Call Option Price in Excel

Black-Scholes formula for call option price

I combine the 4 terms in the call formula to get call option price in cell U44:


Black-Scholes Calculator

Black-Scholes Put Option Price in Excel

Black-Scholes formula for put option price

I combine the 4 terms in the put formula to get put option price in cell U44:


Black-Scholes Calculator

Black-Scholes Greeks Excel Formulas

Black-Scholes Calculator

Here you can continue to the second part, which explains the formulas for delta, gamma, theta, vega, and rho in Excel:

Continue to Option Greeks Excel Formulas

Or you can see how all the Excel calculations work together in the Black-Scholes Calculator. Explanation of the calculator’s other features (parameter calculations and simulations of option prices and Greeks) are available in the attached PDF guide.

Related pages

bearish stock definitionblack scholes d1 d2how to calculate cdf in exceldefine skewnessoption greeks vegablack scholes options calculatorblack scholes formulasformula for coefficient of skewnessarithmetic mean formulasformula for sample variance statisticblack scholes stock option calculatorblack scholes value calculatordelta formula mathblack scholes stock option calculatorstd deviation excelwhat are the components of waccpercentile calculator mean sdfischer black and myron scholessharpe ratio analysisleveraged etnstraddle option examplemeasures of dispersion calculatorfutures tickervar function exceloptions expiration calendarexcel cdfhow to find 13f filingsnotepad themesvix yahoo financeending inventory formula accountingdelta hedge optionshistorical stock calculatorskew formulavix options settlementgeometric mean formula excelkurtosis in excelblack scholes in excelvix index futuresvxx prospectusput black scholesformula for kurtosis in statisticsmerton black scholes0-100 calculatorskew calculationcalculate covariance excelema rsistraddle stockmomentum formulasoptions long straddleaapl historicalkurtosis excelvix short etfcreating excel formulasvix etnberkshire hathaway sec filingshow do i buy the vixyahoo finance currency historical dataformula sharpe rationorm.distdownload yahoo finance data into excelskewness formula for grouped datamarket value weighted indexinverse vxxstraddle option strategylong straddle calculatorvix cboe volatility indeximplied volatility optionsstandard deviation excel formulasec 13f filingshow do i trade the vixfind mean variance and standard deviationstandard deviation equation excelsharpe ratio interpretationmacd excelcalculating macdsqrt rulescalculate skewvelocityshares xivsearch 13f filings