Option Formula in Excel: Complete Guide to Option Pricing and Greeks

M
MarketXLS Team
Published
Option formula in excel showing Black-Scholes pricing model and option chain data in a MarketXLS spreadsheet

Option formula in Excel empowers traders and financial analysts to price options, calculate Greeks, and pull live option chain data directly inside their spreadsheets. Whether you want to understand the Black-Scholes model from scratch or use ready-made MarketXLS functions to instantly retrieve option prices and Greeks, this guide covers every formula you need. From constructing option symbols to pulling full chains with a single function, you will learn how to build a complete option analysis toolkit in Excel.

Why Use Option Formulas in Excel?

Excel remains the most widely used tool in finance for a reason: it is flexible, transparent, and accessible. For options analysis specifically, Excel lets you:

  • Build custom pricing models using the Black-Scholes formula or binomial trees
  • Retrieve live option data with MarketXLS functions — no coding required
  • Calculate all five Greeks (delta, gamma, theta, vega, rho) for risk management
  • Construct dynamic option symbols to price any contract on the fly
  • Compare strategies by modeling multi-leg positions with real market data
  • Backtest ideas using historical option data alongside your own formulas

The combination of Excel's calculation engine with MarketXLS's data functions creates a powerful, affordable alternative to expensive platforms like Bloomberg Terminal.

The Black-Scholes Option Pricing Formula Explained

The Black-Scholes model, developed by Fischer Black and Myron Scholes in 1973, provides the theoretical price of European-style call and put options. It remains the foundation of modern option pricing.

The Black-Scholes Formula

For a call option:

C = S × N(d₁) − K × e^(−rT) × N(d₂)

For a put option:

P = K × e^(−rT) × N(−d₂) − S × N(−d₁)

Where:

VariableMeaning
SCurrent stock price
KStrike price
TTime to expiration (in years)
rRisk-free interest rate (annualized)
σVolatility of the underlying (annualized)
N()Cumulative standard normal distribution function
eEuler's number (≈ 2.71828)

And:

  • d₁ = [ln(S/K) + (r + σ²/2) × T] / (σ × √T)
  • d₂ = d₁ − σ × √T

Implementing Black-Scholes in Excel Step by Step

Here is how to build the Black-Scholes formula entirely with native Excel functions:

Step 1: Set up your inputs

CellLabelExample Value
B1Stock Price (S)150
B2Strike Price (K)155
B3Time to Expiration (T, years)0.25
B4Risk-Free Rate (r)0.05
B5Volatility (σ)0.25

Step 2: Calculate d₁ and d₂

d1 (cell B7): =(LN(B1/B2)+(B4+B5^2/2)*B3)/(B5*SQRT(B3))
d2 (cell B8): =B7-B5*SQRT(B3)

Step 3: Calculate option prices

Call Price (cell B10): =B1*NORM.S.DIST(B7,TRUE)-B2*EXP(-B4*B3)*NORM.S.DIST(B8,TRUE)
Put Price (cell B11): =B2*EXP(-B4*B3)*NORM.S.DIST(-B8,TRUE)-B1*NORM.S.DIST(-B7,TRUE)

This gives you a fully functional Black-Scholes calculator using only native Excel formulas.

Understanding the Black-Scholes Assumptions

The model assumes:

  1. No dividends are paid during the option's life (though adjustments exist)
  2. Markets are efficient — no arbitrage opportunities
  3. Constant volatility over the option's life
  4. Log-normal distribution of stock returns
  5. Constant risk-free rate over the option's life
  6. European-style exercise — the option can only be exercised at expiration

These assumptions do not perfectly match real markets, which is why implied volatility varies across strikes (the "volatility smile"). Despite these limitations, Black-Scholes remains the benchmark for option pricing.

Option Greeks Formulas in Excel

The Greeks measure how an option's price changes in response to various factors. Here is how to calculate each Greek in Excel.

Delta

Delta measures the change in option price for a $1 change in the underlying.

Call Delta: =NORM.S.DIST(d1, TRUE)
Put Delta: =NORM.S.DIST(d1, TRUE) - 1

A call delta of 0.60 means the option gains approximately $0.60 for every $1 increase in the stock.

Gamma

Gamma measures the rate of change of delta per $1 move in the underlying.

Gamma (calls and puts): =NORM.S.DIST(d1, FALSE) / (S * σ * SQRT(T))

In Excel: =NORM.S.DIST(B7,FALSE)/(B1*B5*SQRT(B3))

Theta

Theta measures time decay — how much the option loses per day.

Call Theta: = -(S * NORM.S.DIST(d1,FALSE) * σ) / (2 * SQRT(T)) - r * K * EXP(-r*T) * NORM.S.DIST(d2,TRUE)

Divide by 365 to get daily theta. In Excel:

=(-(B1*NORM.S.DIST(B7,FALSE)*B5)/(2*SQRT(B3))-B4*B2*EXP(-B4*B3)*NORM.S.DIST(B8,TRUE))/365

Vega

Vega measures sensitivity to a 1% change in implied volatility.

Vega (calls and puts): = S * SQRT(T) * NORM.S.DIST(d1, FALSE) / 100

In Excel: =B1*SQRT(B3)*NORM.S.DIST(B7,FALSE)/100

Rho

Rho measures sensitivity to interest rate changes.

Call Rho: = K * T * EXP(-r*T) * NORM.S.DIST(d2,TRUE) / 100
Put Rho: = -K * T * EXP(-r*T) * NORM.S.DIST(-d2,TRUE) / 100

Greeks Summary Table

GreekMeasuresCall Formula ElementTypical Range
DeltaPrice sensitivity to underlyingN(d₁)0 to 1 (calls), -1 to 0 (puts)
GammaRate of delta changeN'(d₁) / (S×σ×√T)Always positive
ThetaTime decay per dayComplex (see above)Usually negative for long options
VegaIV sensitivity per 1%S×√T×N'(d₁) / 100Always positive
RhoInterest rate sensitivityK×T×e^(-rT)×N(d₂) / 100Positive for calls, negative for puts

MarketXLS Option Formulas: The Fast Track

While building Black-Scholes from scratch teaches you the mechanics, MarketXLS provides ready-made functions that pull live option data and pricing directly into Excel.

=QM_GetOptionChain() — Full Option Chain

Retrieve the complete option chain for any symbol:

=QM_GetOptionChain("AAPL")

Returns all available strikes and expirations with bid, ask, last, volume, open interest, and implied volatility. This single function replaces the need to manually look up option prices.

=QM_GetOptionQuotesAndGreeks() — Chain with Greeks

Get everything =QM_GetOptionChain() provides, plus all five Greeks:

=QM_GetOptionQuotesAndGreeks("AAPL")

This is the most comprehensive option data function available. It returns delta, gamma, theta, vega, rho, and implied volatility for every contract in the chain.

=OptionSymbol() — Build Option Symbols

Construct the standard option symbol for any contract:

=OptionSymbol("AAPL", "2026-03-21", "C", 230)

Returns: @AAPL 260321C00230000

The format is @TICKER YYMMDD[C/P]SSSSSSSSS where the strike is multiplied by 1000 and zero-padded.

=QM_Last() — Get Last Price for Any Option

Once you have the option symbol, get the current price:

=QM_Last("@AAPL 260321C00230000")

Or chain it with =OptionSymbol():

=QM_Last(OptionSymbol("AAPL", "2026-03-21", "C", 230))

=QM_Stream_Last() — Stream Live Option Prices

For continuously updating prices:

=QM_Stream_Last("@AAPL 260321C00230000")

=Stream_Last() — Stream Underlying Stock Price

Monitor the underlying alongside your options:

=Stream_Last("AAPL")

Comparison: Manual Black-Scholes vs. MarketXLS Functions

FeatureManual Black-Scholes in ExcelMarketXLS Functions
Setup time30-60 minutesInstant
Data sourceRequires manual input of S, K, T, r, σPulls live market data automatically
GreeksMust build each formulaIncluded with =QM_GetOptionQuotesAndGreeks()
AccuracyDepends on your inputsUses market-calibrated implied volatility
Full chain dataNot available=QM_GetOptionChain() returns all contracts
Learning valueHigh — understand the mechanicsModerate — focus on application
Best forEducation, custom modelsTrading, real-time analysis
Live updatesManual entry requiredReal-time with streaming functions

Recommendation: Learn Black-Scholes to understand how option pricing works. Use MarketXLS functions for actual trading analysis where speed and accuracy matter.

Building an Option Pricing Spreadsheet: Complete Walkthrough

Part 1: The Pricing Calculator

Create a sheet with your Black-Scholes inputs (as shown above) and add MarketXLS functions to compare theoretical vs. market prices:

Cell B1: AAPL (ticker)
Cell B2: 230 (strike)
Cell B3: 2026-03-21 (expiration)
Cell B4: C (call/put)
Cell B5: =OptionSymbol(B1, B3, B4, B2)     → builds the symbol
Cell B6: =QM_Last(B5)                       → market price
Cell B7: [Your Black-Scholes call price]    → theoretical price
Cell B8: =B6-B7                             → difference (mispricing?)

Part 2: The Chain Browser

In a separate sheet:

Cell A1: =QM_GetOptionQuotesAndGreeks("AAPL")

This populates the entire chain. Use Excel's filter feature to narrow by expiration or strike range.

Part 3: The Strategy Builder

For a bull call spread:

Long call symbol:  =OptionSymbol("AAPL","2026-03-21","C",225)
Short call symbol: =OptionSymbol("AAPL","2026-03-21","C",235)
Long call price:   =QM_Last(long call symbol)
Short call price:  =QM_Last(short call symbol)
Net debit:         =Long call price - Short call price
Max profit:        =(235-225) - Net debit
Max loss:          =Net debit
Breakeven:         =225 + Net debit

Part 4: Position Monitor with Live Streaming

=QM_Stream_Last(OptionSymbol("AAPL","2026-03-21","C",225))

This continuously updates as the market moves, letting you monitor your position in real time.

Option Pricing Concepts Every Excel User Should Know

Intrinsic Value vs. Time Value

Every option price consists of two components:

  • Intrinsic value: The amount the option is in-the-money. For a call: MAX(0, Stock Price − Strike Price)
  • Time value: The premium above intrinsic value, reflecting the possibility of further movement before expiration

In Excel: =MAX(0, StockPrice - StrikePrice) for intrinsic value of a call.

Implied Volatility

Implied volatility (IV) is the market's forecast of how much the stock will move. It is derived by solving the Black-Scholes equation in reverse — given the market price, what volatility produces that price?

You cannot calculate IV directly with a simple formula. It requires iterative solving (Newton-Raphson method or Excel's Goal Seek). MarketXLS provides IV directly in the output of =QM_GetOptionQuotesAndGreeks().

Put-Call Parity

Put-call parity is a fundamental relationship between call and put prices:

C − P = S − K × e^(−rT)

If this relationship is violated, an arbitrage opportunity exists. In Excel:

=CallPrice - PutPrice - StockPrice + StrikePrice * EXP(-Rate * Time)

This should equal approximately zero for correctly priced options.

Moneyness

Options are classified by their relationship to the current stock price:

  • In-the-money (ITM): Calls where stock > strike; puts where stock < strike
  • At-the-money (ATM): Stock ≈ strike
  • Out-of-the-money (OTM): Calls where stock < strike; puts where stock > strike

Moneyness affects delta, time value, and the probability of the option expiring with value.

Real-World Applications of Option Formulas in Excel

Portfolio Hedging

If you hold a stock portfolio, you can use put option formulas to calculate the cost of downside protection. Pull put prices with =QM_Last() for various strikes and expirations, then calculate the hedge ratio using delta from =QM_GetOptionQuotesAndGreeks(). The goal is to find the most cost-effective protection level — how many puts you need to buy to offset a given percentage decline in your portfolio.

Income Generation with Covered Calls

Covered call writers need to evaluate the trade-off between premium received and upside cap. Use =QM_GetOptionChain() to scan for out-of-the-money calls, calculate the annualized premium yield, and compare across different expirations. The option formula approach lets you model scenarios: what happens if the stock stays flat, rises to the strike, or rises past it?

Earnings Event Analysis

Before earnings, implied volatility typically spikes. Use =QM_GetOptionQuotesAndGreeks() to capture IV levels before and after announcements. Compare the straddle price (call + put at the ATM strike) to the actual stock move to assess whether options were overpriced or underpriced. This historical analysis helps you decide whether to buy or sell premium around future earnings.

Advanced Option Formula Techniques in Excel

Technique 1: Implied Volatility Solver

Use Excel's Goal Seek to find implied volatility:

  1. Set up your Black-Scholes call formula in a cell
  2. Enter the market price of the option in another cell
  3. Go to Data → What-If Analysis → Goal Seek
  4. Set the BS formula cell to equal the market price by changing the volatility cell

Technique 2: Sensitivity Tables

Use Excel's Data Table feature to see how option price changes across a range of stock prices and volatilities simultaneously. This creates a matrix showing the option value for each combination.

Technique 3: Payoff Diagrams

Plot the profit/loss at expiration for any strategy:

For a long call at strike K, premium P:
Payoff = MAX(0, Stock Price - K) - P

Create a column of stock prices from (K-30) to (K+30), calculate the payoff for each, and chart the results.

Technique 4: Multi-Leg Strategy Analysis

Combine multiple payoff formulas for complex strategies:

Iron Condor:

= Short Put payoff + Long Put payoff + Short Call payoff + Long Call payoff
= -MAX(0, K1-S)+P1 + MAX(0, K2-S)-P2 - MAX(0, S-K3)+P3 + MAX(0, S-K4)-P4

Where K1 < K2 < K3 < K4 and P1-P4 are the respective premiums.

Getting Started with Option Formulas in MarketXLS

Ready to combine theoretical knowledge with live market data? Get started with MarketXLS to access all the option formulas covered in this guide:

  1. Install MarketXLS: Download the Excel add-in from MarketXLS
  2. Set up data access: Configure your QuoteMedia subscription for real-time option data
  3. Try the chain function: Enter =QM_GetOptionQuotesAndGreeks("AAPL") to see live data with Greeks
  4. Build your analysis: Use =OptionSymbol() and =QM_Last() to price specific contracts
  5. Explore templates: Browse MarketXLS templates for pre-built option analysis workbooks

Visit the MarketXLS pricing page to find a plan that fits your needs.

Frequently Asked Questions

What is the best option formula in Excel for pricing options?

The Black-Scholes formula is the most widely used option pricing model. In Excel, you implement it using =NORM.S.DIST() for the normal distribution, =LN() for the natural log, and =EXP() for the exponential function. For live market pricing, MarketXLS's =QM_Last() retrieves actual market prices instantly.

How do I calculate option Greeks in Excel?

You can calculate Greeks manually using Black-Scholes derivatives (delta = N(d₁), gamma = N'(d₁)/(S×σ×√T), etc.) or use =QM_GetOptionQuotesAndGreeks() from MarketXLS to pull all five Greeks directly from market data for every contract in the chain.

Can I get a full option chain in Excel with one formula?

Yes. Use =QM_GetOptionChain("AAPL") to retrieve the complete option chain including all strikes and expirations with bid, ask, volume, and open interest. For chains with Greeks included, use =QM_GetOptionQuotesAndGreeks("AAPL").

How do I build an option symbol in Excel?

Use =OptionSymbol("AAPL", "2026-03-21", "C", 230) which returns the standardized symbol @AAPL 260321C00230000. This symbol can be passed to =QM_Last() or =QM_Stream_Last() for pricing.

Is the Black-Scholes model still accurate for modern options trading?

Black-Scholes provides a strong theoretical foundation and is still widely used in finance. However, it assumes constant volatility, which does not match real markets where implied volatility varies by strike (the volatility smile). Most practitioners use Black-Scholes as a baseline and adjust for real-world factors. MarketXLS provides market-calibrated Greeks and IV that account for these real-world dynamics.

What data do I need to price an option in Excel?

You need five inputs: current stock price (S), strike price (K), time to expiration (T), risk-free interest rate (r), and volatility (σ). With MarketXLS, you can get the stock price via =QM_Last("AAPL") and implied volatility from =QM_GetOptionQuotesAndGreeks(), leaving you to input only the risk-free rate for your Black-Scholes model.

Summary

Option formula in Excel covers everything from the foundational Black-Scholes pricing model to live market data retrieval with MarketXLS functions. By understanding how to calculate d₁, d₂, call/put prices, and all five Greeks using native Excel formulas, you gain deep insight into how options are priced. By combining that knowledge with MarketXLS functions like =QM_GetOptionChain(), =QM_GetOptionQuotesAndGreeks(), =OptionSymbol(), and =QM_Last(), you can build professional option analysis spreadsheets that work with live market data. Whether you are learning option theory or actively trading, Excel gives you the flexibility and transparency to analyze options your way.

Important Disclaimer

The information provided in this article is for educational and informational purposes only and should not be construed as investment advice, a recommendation, or an offer to buy or sell any securities. MarketXLS is a financial data platform and is not a registered investment advisor, broker-dealer, or financial planner. Always conduct your own research and consult with a qualified financial professional before making any investment decisions. Past performance is not indicative of future results. Trading and investing involve substantial risk of loss.

#1 Excel Solution for Investors

Get Market data in Excel easy to use formulas

  • Real-time Live Streaming Option Prices & Greeks in your Excel
  • Historical (intraday) Options data in your Excel
  • All US Stocks and Index options are included
  • Real-time Option Order Flow
  • Real-time prices and data on underlying stocks and indices
  • Works on Windows, MAC or even online
  • Implement MarketXLS formulas in your Excel sheets and make them come alive
  • Save hours of time, streamline your option trading workflows
  • Easy to use with formulas and pre-made templates
Call: 1-877-778-8358
Ankur Mohan MarketXLS
Welcome! I'm Ankur, the founder and CEO of MarketXLS. With more than ten years of experience, I have assisted over 2,500 customers in developing personalized investment research strategies and monitoring systems using Excel.

I invite you to book a demo with me or my team to save time, enhance your investment research, and streamline your workflows.
Implement "your own" investment strategies in Excel with thousands of MarketXLS functions and templates.
MarketXLS provides all the tools I need for in-depth stock analysis. It's user-friendly and constantly improving. A must-have for serious investors.

John D.

Financial Analyst

I have been using MarketXLS for the last 6+ years and they really enhanced the product every year and now in the journey of bringing in AI...

Kirubakaran K.

Investment Professional

MarketXLS is a powerful tool for financial modeling. It integrates seamlessly with Excel and provides real-time data.

David L.

Financial Analyst

I have used lots of stock and option information services. This is the only one which gives me what I need inside Excel.

Lloyd L.

Professional Trader

Meet The Ultimate Excel Solution for Investors

Live Streaming Prices in your Excel
All historical (intraday) data in your Excel
Real time option greeks and analytics in your Excel
Leading data service for Investment Managers, RIAs, Asset Managers
Easy to use with formulas and pre-made sheets