SPAN margin calculator
Choose an underlying and a position, and the calculator runs a teaching version of SPAN: it moves the price and volatility through the exchange’s scenarios, takes the worst one-day loss as SPAN, adds exposure margin and shows the total, the leverage and what a 2% move does to it. Bought options need only the premium, and the tool says so.
In short
- Total margin = SPAN + exposure margin. SPAN is the worst one-day loss across 16 scenarios; exposure is 2% (index) or 3.5% (stock) of contract value.
- One Nifty futures lot at 25,000 needs about ₹1,83,625 in this model, 11.30% of the ₹16,25,000 contract.
- A sold at-the-money call needs about ₹1,66,410; a bought call needs only its premium.
- Margin is a deposit. Losses are measured on the full contract value.
What SPAN actually calculates
SPAN asks one question: if tomorrow is a bad day, how much could this position lose? It answers it by testing a grid of scenarios. The price is moved by 0, one third, two thirds and the whole of the price scan range, up and down. For options, each price move is tried with volatility up and volatility down by the volatility scan range. Two extreme moves of twice the range are added at 35% weight. That gives sixteen results, and the worst loss becomes SPAN.
On top of SPAN the exchange adds exposure margin, also called extreme loss margin, as a cushion for moves the scenarios do not cover. NSE sets it at 2% of notional value for index derivatives and 3.5% for stock derivatives, or 1.5 standard deviations of the stock’s returns if that is higher.
- ₹16,25,000. Index level times lot size. Every margin figure is a percentage of this.
- SPAN, ₹1,51,125. The largest one-day loss across the exchange’s scenarios. For a plain future that is the full scan range, 9.3%, against you.
- Exposure, ₹32,500. An extra cushion of 2% for index derivatives, or 3.5% for stock derivatives.
- ₹1,83,625. What the broker blocks. It is a deposit against loss, not a cap on loss.
On the real screen: The calculator above opens on this position; switch the underlying to a stock and both layers grow.
Good habitKeep spare cash beyond the margin so an ordinary day does not trigger a shortfall.
Common mistakeTreating the margin as the most you can lose.
Scan ranges and exposure rates
The scan range is not a fixed number. NSE Clearing works it out from recent volatility and applies a floor, so a calm market cannot shrink margins too far. The minimums used in this calculator come from NSE’s published risk parameters.
| Product | Minimum price scan range | Exposure margin |
|---|---|---|
| Index futures and options | 9.3% of the underlying | 2% of notional |
| Index options over 9 months to expiry | 17.7% | 2% |
| Stock futures and options | 14.2% | 3.5% or 1.5 standard deviations |
For a single future the worst scenario is always the full scan range against you, so SPAN is simply the scan range times the contract value. For options the answer depends on how far in or out of the money the strike is and how volatility moves, which is why the calculator revalues them with the Black–Scholes model.
Worked examples
All use Nifty at 25,000 with a 65-unit lot, 20 days to expiry and 13% implied volatility, except the stock future, which uses a ₹1,500 share with a 500-share lot.
| Position | SPAN | Exposure | Total | Share of contract |
|---|---|---|---|---|
| Buy 1 Nifty future | ₹1,51,125 | ₹32,500 | ₹1,83,625 | 11.30% |
| Sell 1 ATM Nifty call | ₹1,33,910 | ₹32,500 | ₹1,66,410 | 10.24% |
| Sell 1 Nifty 24,500 put | ₹1,08,118 | ₹32,500 | ₹1,40,618 | 8.65% |
| Buy 1 ATM Nifty call | – | – | ₹22,476 (premium) | 1.38% |
| Buy 1 stock future | ₹1,06,500 | ₹26,250 | ₹1,32,750 | 17.70% |
Two patterns stand out. A sold option a little out of the money needs less margin than one at the money, because a large move hurts it less. And a single-stock future needs a far bigger share of its value than an index future, because both the scan range and the exposure rate are higher.
Why selling an option ties up so much money
Selling the at-the-money call above brings in about ₹22,476 of premium in the model. The margin is about ₹1,66,410, more than seven times as much. That gap is the whole risk of option selling in one number: the premium is the most you can make, while the scenario loss shows what one bad day can cost.
- +3.1%: −₹39,772. A third of the scan range. The option is revalued with Black–Scholes after one day, with volatility up.
- +6.2%: −₹84,740. Two thirds of the range. The loss grows faster than the move, because the option’s delta rises.
- +9.3%: −₹1,33,910. The full scan range with volatility up is the worst of the sixteen, so it becomes SPAN.
- +18.6% at 35%. The extreme scenario uses twice the range but only 35% of the loss, so it does not win here.
On the real screen: Pick “Sell a call” in the calculator above; the scenario table highlights the worst row.
Good habitLook at the scenario table before selling options: it shows which way the risk lies.
Common mistakeAssuming a sold option needs less margin because the premium is small.
The worst scenario for a sold call is a sharp rise with volatility up. For a sold put it is the opposite: a sharp fall with volatility up. Either way the loss grows faster than the move once the option moves into the money, which is why the extreme scenario carries a 35% weight rather than being ignored.
Margin, leverage and an ordinary day
Leverage is the contract value divided by the margin. At 11.30% margin a Nifty future is leveraged about 8.8 times, so a 2% move in the index is a 17.7% gain or loss on the money blocked. A 2% move on the stock future is 11.3% of its margin, because that margin is larger. The margin and leverage calculator shows the same relationship for any contract, and the position size calculator sizes a trade from the stop instead of from the margin.
Why your broker’s number will differ
This page explains the method; the binding figure is the one in your broker’s margin calculator. Four things make it differ:
- The live risk file. NSE Clearing publishes new scan ranges and volatility parameters every trading day, sometimes intraday.
- Portfolio offsets. Hedged positions, such as a spread, get a lower SPAN because their scenarios cancel out.
- Extra charges. Short-option minimums, additional margin on expiry day for index options and a broker’s own buffer.
- Peak margin rules. Margin is checked at several points during the day, and a shortfall can attract a penalty.
Commodity contracts on MCX also use SPAN with their own scan ranges; the commodity brokerage calculator covers their charges and the F&O margin calculator gives quick percentage estimates.
Sources
- NSE: equity derivatives margins, exposure margin rates
- NSE Clearing circular: price scan range minimums of 9.3% and 14.2%
- Zerodha support: what is SPAN and exposure margin – checked 18 November 2026
The calculator is a teaching model. It uses a 6% interest rate and a one-day horizon for option revaluation and ignores portfolio offsets. It is not the exchange’s SPAN software and must not be used as the margin you will be charged.
Questions people ask
What is SPAN margin?
SPAN (Standard Portfolio Analysis of Risk) is the exchange’s estimate of the largest one-day loss on a position or portfolio. It revalues the position under 16 scenarios of price and volatility and takes the worst result.
How is total F&O margin calculated in India?
Total margin is SPAN plus exposure margin. Exposure margin is 2% of contract value for index derivatives and 3.5% for stock derivatives, or more for volatile stocks.
How much margin is needed for one Nifty futures lot?
In this teaching model, about ₹1,83,625 at Nifty 25,000 with a 65-unit lot: ₹1,51,125 of SPAN at the minimum 9.3% scan range and ₹32,500 of exposure margin. The live figure changes daily.
Why is margin for selling options so high?
A sold option can lose far more than the premium received. SPAN prices the option after a large move and a rise in volatility, which for an at-the-money Nifty call can be more than ₹1.3 lakh a lot.
Do option buyers pay SPAN margin?
No. Buying an option needs only the premium, paid in full. The most you can lose is that premium.
What is the price scan range?
The size of the price move SPAN tests, set by NSE Clearing from recent volatility with minimums of 9.3% for index derivatives and 14.2% for stock derivatives.
Why does my broker show a different margin?
Brokers use the exchange’s live SPAN file, spread credits for hedged positions and their own extra requirements. This calculator uses a simplified model to explain the method.
What is exposure margin or ELM?
Extreme loss margin, a cushion on top of SPAN for moves beyond the scenarios. It is 2% of notional value for index derivatives and 3.5% or 1.5 standard deviations for stock derivatives.
Does a hedge reduce margin?
Usually yes. A sold option with a bought option further out, or a future against an option, gets a portfolio benefit in SPAN because the scenarios offset. This single-position calculator does not model that benefit.
