F&O Margin Calculator: Understanding SPAN, Exposure, and Overnight Margins on NSE
Team MarketNetra
1 July 2026

Every trader who sells options or carries futures overnight needs to understand how an F&O margin calculator works—specifically how SPAN, exposure, and overnight margins on NSE India interact to determine how much capital gets blocked in your trading account. Get this wrong, and you face margin shortfall penalties from your broker, forced square-offs at the worst possible time, or—worse—position sizes that quietly blow up your risk management.
The margin framework on NSE isn't arbitrary. It's a precisely engineered system designed by NSE's clearing corporation (NSE Clearing Limited, formerly NSCCL) to cover the risk your open positions create. But most retail traders treat it as a black box. They punch numbers into a calculator, see a figure, and move on. That's a mistake. Understanding the components of that figure—and how they shift intraday versus overnight—gives you a genuine edge in position sizing, strategy selection, and capital efficiency.
How NSE Calculates F&O Margins: The Two-Layer System
NSE margins for futures and options consist of two primary components:
-
SPAN Margin (Standard Portfolio Analysis of Risk): This covers the worst-case loss your portfolio could suffer in a single trading day under 16 predefined scenarios. NSE uses the CME's SPAN algorithm, which stress-tests your positions across different price moves and volatility shifts simultaneously.
-
Exposure Margin: This is an additional buffer over and above SPAN. For index derivatives (NIFTY, BANKNIFTY, FINNIFTY), exposure margin is 3% of the notional value. For stock derivatives, it's the higher of 5% of notional value or 1.5 standard deviations of the stock's logarithmic returns.
Your total initial margin = SPAN margin + exposure margin. This is the amount blocked when you initiate a position. For a single NIFTY futures lot (lot size 25, NIFTY at 24,500), the notional value is ₹6,12,500. SPAN might be around ₹85,000–₹1,00,000 depending on volatility, and exposure margin adds another ₹18,375 (3% of notional). Total: roughly ₹1,03,000–₹1,18,000.
This two-layer system is the foundation of every F&O margin calculator for SPAN, exposure, and overnight margins on NSE India—understanding it explained through this India guide will transform how you size positions.
SPAN Margin Deep Dive: What Those 16 Scenarios Actually Do
SPAN doesn't just look at one potential price move. It constructs a risk array of 16 scenarios for each contract, combining:
- Price moves: Up and down by 1/3, 2/3, and 3/3 of the price scan range (which is derived from the contract's volatility and is updated by NSE six times daily during market hours).
- Volatility moves: Up and down by a defined volatility scan range.
- Two extreme scenarios: Extreme price moves (typically 2x the price scan range) at a fraction of the loss (currently 35%).
The SPAN margin is the worst-case loss across these 16 scenarios. This is why SPAN margins spike during high-volatility periods—the price scan range widens, meaning each scenario tests a larger potential move.
Portfolio-Level Offsets
Here's where it gets powerful. SPAN calculates margins at the portfolio level, not per contract. If you're long NIFTY 24,500 CE and short NIFTY 24,700 CE (a bull call spread), the losses on one leg are partially offset by gains on the other across all 16 scenarios. The net SPAN margin for the spread is dramatically lower than the margin for the naked short call alone.
For example, a naked short NIFTY 24,500 PE might require ₹1,10,000 in SPAN margin. But a 24,500/24,300 put credit spread might need only ₹30,000–₹40,000. This is the single biggest reason to use defined-risk strategies if you're capital-constrained.
Important: SPAN offsets only apply within the same underlying and expiry. You won't get a cross-margin benefit between NIFTY and BANKNIFTY positions in the SPAN calculation itself (though NSE does offer some cross-margining benefits between equity cash and F&O segments under specific conditions).
Exposure Margin: The Overlooked Buffer That Eats Capital
Most traders obsess over SPAN and ignore exposure margin. That's a costly oversight. Exposure margin cannot be offset by spreads—it's calculated on the gross notional value of your positions. Even if your SPAN margin drops to near zero because of a perfectly hedged position, you'll still pay exposure margin.
For stock F&O, this gets expensive. Take RELIANCE futures: lot size 250, stock price around ₹1,300. Notional value = ₹3,25,000. Exposure margin at 5% = ₹16,250. For a volatile stock with high standard deviation, it could be higher. Add SPAN of roughly ₹45,000–₹55,000, and your total margin is ₹61,000–₹71,000 per lot.
For index options sellers, the exposure margin is 3% of notional. On a short BANKNIFTY straddle (lot size 15, BANKNIFTY at 52,000), you're looking at a notional of ₹7,80,000 per leg, so ₹23,400 per leg in exposure margin alone—₹46,800 for the straddle. This is on top of SPAN.
Key takeaway: When comparing strategies for capital efficiency, always look at total margin (SPAN + exposure), not SPAN alone.
Intraday vs. Overnight Margins: The Penalty You Didn't Plan For
This is where most retail traders get caught. Many brokers offer reduced intraday margins—sometimes as low as 50% or even 40% of the exchange-mandated margin—for positions that are squared off before 3:20 PM. This feels like leverage, and it is.
But SEBI's peak margin reporting rules (implemented from September 2021) changed the game. Brokers now report margins to the exchange at four random snapshots during the day. If your position exceeds your available margin at any snapshot, you face a penalty of 0.5% to 5% of the shortfall amount, depending on the number of consecutive days of shortfall.
Overnight margins are the full exchange-mandated margins—SPAN + exposure—with no discount. If you're carrying positions overnight, you need the complete initial margin in your account at end-of-day. Additionally, NSE recalculates SPAN margins after market hours using end-of-day prices and volatilities. If the market moved sharply during the day, your overnight margin requirement can be significantly higher than what was blocked when you entered the position.
Real Scenario
You sell a BANKNIFTY 52,000 PE at 2 PM when margins are ₹1,20,000. BANKNIFTY falls 500 points by close. The end-of-day SPAN recalculation might push your margin requirement to ₹1,60,000. If you only have ₹1,30,000 in your account, you're short ₹30,000—and your broker will either auto-square-off or charge you the penalty. Either outcome is bad.
This is why serious F&O traders maintain a buffer of 20-30% above the calculated margin requirement. An F&O margin calculator that shows you SPAN, exposure, and overnight margins on NSE India should be your starting point, not your final answer.
How SEBI's Margin Framework Affects Strategy Selection
SEBI's margin rules directly influence which strategies are viable for different account sizes. Here's the practical math:
-
Naked option selling (NIFTY): Requires ₹1,00,000–₹1,40,000 per lot depending on strike distance and volatility. Suitable for accounts above ₹5,00,000 if trading 2-3 lots with buffer.
-
Credit spreads (NIFTY): Require ₹25,000–₹50,000 per lot. Suitable for accounts as small as ₹2,00,000.
-
Iron condors (NIFTY): Require ₹40,000–₹70,000 per lot (two spreads). Excellent capital efficiency for range-bound views.
-
Calendar spreads: Margin treatment is less favorable because the legs are in different expiries. SPAN provides limited offset, and the short leg often gets near-full margin treatment.
-
Stock futures: Margins range from ₹40,000 (low-volatility large-caps like HDFCBANK) to ₹2,00,000+ (volatile mid-caps). Always check the specific stock's SPAN file.
The Weekly Expiry Factor
With weekly expiries on NIFTY (Thursday), BANKNIFTY (Wednesday), FINNIFTY (Tuesday), and SENSEX (Friday), margin requirements for near-expiry options can behave unpredictably. As expiry approaches, gamma increases, SPAN scenarios show larger P&L swings for ATM options, and margins can spike for short positions. This is especially dangerous on expiry day if you're carrying short ATM options—margins can jump 30-50% in the last two hours.
Practical Tools: Using an F&O Margin Calculator Effectively
When you use an F&O margin calculator (NSE provides one on its website, and platforms like Zerodha and Sensibull offer their own), here's what to actually verify:
-
Check SPAN and exposure separately. A strategy that looks cheap on SPAN might still be expensive on exposure.
-
Simulate the overnight margin, not the intraday margin. If you plan to carry positions, ignore the "MIS" or intraday margin figure entirely.
-
Calculate margin for the combined portfolio. Enter all legs of your strategy simultaneously. A bull put spread entered as two separate legs will show inflated margins; entered together, it shows the portfolio-level SPAN offset.
-
Re-check margins during high-VIX environments. When India VIX moves above 18-20, SPAN margins can jump 30-50% across the board. A position that needed ₹1,00,000 margin at VIX 12 might need ₹1,50,000 at VIX 20.
-
Account for delivery margin for ITM stock options. From 4 days before expiry, SEBI requires physical delivery margins for ITM stock options that increase progressively—10%, 25%, 45%, and finally the full delivery margin (equivalent to buying/selling the shares). This catches unprepared traders every month.
What to Actually Do
-
Before entering any F&O position, calculate total initial margin (SPAN + exposure) for overnight carry, add a 25% buffer, and ensure your account has that amount after accounting for all existing positions.
-
Use portfolio margining to your advantage. If you're already short NIFTY puts, adding long puts at a lower strike doesn't just limit risk—it frees up margin for additional positions.
-
Monitor your margin utilization throughout the day. A 70% margin utilization feels safe until the market gaps against you and suddenly it's 110%.
-
On expiry days, either close short ATM options by 1 PM or ensure you have 40-50% margin buffer to handle the gamma-driven SPAN spikes.
-
For stock F&O, always check physical delivery margin implications if your option has any chance of expiring ITM. The margin jump from day T-4 to expiry can be 5-10x the original option margin.
Understanding how SPAN, exposure, and overnight margins interact isn't academic—it's the difference between surviving a volatile session and getting margin-called out of a fundamentally sound position. The best trade means nothing if you can't hold it.
Platforms like MarketNetra integrate AI-driven market intelligence with the kind of real-time data that helps you anticipate margin shifts before they hit your account. When your margin awareness is as sharp as your directional view, you stop leaving edge on the table.
Ready to trade smarter?
Get AI-powered market analysis for NIFTY, BANKNIFTY, and 200+ F&O stocks.
Start for ₹1 →