Back to Blog
F&O tradingprofit loss calculationoptions tradingNSESTT charges

How to Calculate Profit and Loss in F&O Trading: Complete Guide With Examples

T

Team MarketNetra

10 July 2026

10 min read
How to Calculate Profit and Loss in F&O Trading: Complete Guide With Examples

Mastering f&o profit loss calculation is the single most important skill that separates consistently profitable traders from the 89% who lose money in derivatives — a number SEBI itself confirmed in its 2023 study of 1 crore+ F&O traders. Yet most retail participants on NSE enter trades without a clear understanding of how their actual P&L is computed after brokerage, STT, and margin costs.

This guide breaks down exactly how to calculate profit and loss in options trading India and futures trading, with real NIFTY and BANKNIFTY examples, actual cost structures, and the formulas you can apply before every trade. No theory dumps — just the math that hits your trading account.

The Basic P&L Formula for Futures and Options

Before layering in costs, understand the raw P&L mechanics for each instrument.

Futures P&L

The formula is straightforward:

Futures P&L = (Exit Price – Entry Price) × Lot Size × Number of Lots

  • If you buy 1 lot of NIFTY futures (lot size: 25) at 24,500 and sell at 24,650:
    • P&L = (24,650 – 24,500) × 25 = ₹3,750 profit
  • If you short BANKNIFTY futures (lot size: 15) at 52,000 and it moves to 52,400:
    • P&L = (52,000 – 52,400) × 15 = ₹6,000 loss

For stock futures, the lot size varies. RELIANCE has a lot size of 250, HDFCBANK is 550. One point move in RELIANCE futures = ₹250 per lot.

Options P&L (Buyer)

Options Buyer P&L = (Exit Premium – Entry Premium) × Lot Size × Number of Lots

  • You buy 1 lot of NIFTY 24,500 CE at ₹180 premium and sell at ₹260:
    • P&L = (260 – 180) × 25 = ₹2,000 profit
  • You buy BANKNIFTY 52,000 PE at ₹350, it expires worthless:
    • P&L = (0 – 350) × 15 = ₹5,250 loss (your entire premium)

Options P&L (Seller/Writer)

Options Seller P&L = (Entry Premium – Exit Premium) × Lot Size × Number of Lots

  • You sell 1 lot of NIFTY 24,800 CE at ₹95 premium, buy it back at ₹30:
    • P&L = (95 – 30) × 25 = ₹1,625 profit

The raw formula is simple. What kills most traders is ignoring everything that comes next.

The Real Cost of F&O Trading: Charges That Eat Your P&L

The biggest mistake in f&o profit loss calculation is computing only the gross P&L. Here's every charge that applies on NSE F&O trades as of 2024-25:

  • Brokerage: Discount brokers charge flat ₹20 per order (or zero for some). Full-service brokers can charge 0.01%-0.05% of turnover.
  • STT (Securities Transaction Tax):
    • Futures: 0.0125% on sell side turnover
    • Options: 0.0625% on sell side premium (for buyers at exercise, it's on settlement price × lot size — this can be massive)
    • Options seller: 0.0625% on premium received (sell side)
  • Exchange Transaction Charges: NSE charges ₹3,503 per crore for futures, ₹3,503 per crore for options (revised periodically)
  • GST: 18% on (brokerage + exchange charges)
  • SEBI Turnover Fee: ₹10 per crore
  • Stamp Duty: 0.003% on buy side for futures, 0.003% on buy side for options

Let's apply this to a real trade.

Worked Example: NIFTY Options Buy Trade

You buy 1 lot NIFTY 24,500 CE at ₹180, sell at ₹260.

  • Gross P&L: (260 – 180) × 25 = ₹2,000
  • Turnover (for charge calculation): 260 × 25 = ₹6,500 (sell side premium turnover)
  • Brokerage: ₹20 (buy) + ₹20 (sell) = ₹40
  • STT: 0.0625% × ₹6,500 = ₹4.06
  • Exchange charges: ₹6,500 × 0.0003503 ≈ ₹2.28 (each side, so ~₹4.56 total on buy + sell turnover)
  • GST: 18% × (₹40 + ₹4.56) = ₹8.02
  • SEBI fee: negligible at this size
  • Stamp duty: 0.003% × ₹4,500 (buy side premium turnover: 180 × 25) = ₹0.14

Total charges ≈ ₹56.78 Net P&L = ₹2,000 – ₹56.78 ≈ ₹1,943

On a ₹2,000 gross profit, charges consumed only ~2.8%. But watch what happens on a smaller move.

If you bought at ₹180 and sold at ₹190 (just ₹10 move):

  • Gross P&L = ₹250
  • Charges remain roughly ₹50-55
  • Net P&L ≈ ₹195 — charges ate 22% of your profit

This is why scalping cheap OTM options with ₹5-10 targets is a losing game for most retail traders. The cost drag is brutal on small absolute gains.

How to Calculate Profit and Loss in Options Trading India: Expiry vs. Intraday

The P&L calculation changes significantly depending on whether you square off before expiry or hold to settlement. This distinction is critical for how to calculate profit and loss in options trading India accurately.

Squared Off Before Expiry

When you buy and sell the option yourself before the expiry Thursday:

  • P&L = premium difference × lot size
  • STT is 0.0625% on sell-side premium
  • This is the standard scenario covered above

Options Expiring In-The-Money (ITM)

If you hold a long call or put that expires ITM, NSE auto-exercises it. Here's where the STT trap hits:

  • STT on exercised options = 0.0625% on settlement price × lot size (not on premium)

Example: You hold 1 lot NIFTY 24,500 CE. NIFTY expires at 24,600. Your option is ₹100 ITM.

  • Intrinsic value profit = 100 × 25 = ₹2,500
  • STT = 0.0625% × 24,600 × 25 = ₹384.38

Compare this to squaring off manually where the premium might be ₹105 and STT = 0.0625% × 105 × 25 = ₹1.64. The difference is ₹382 — that's 15% of your gross profit evaporated.

Rule of thumb: Always square off ITM options before 3:00 PM on expiry day. Never let auto-exercise trigger if you can avoid it. The STT difference alone can turn a winning trade into a losing one for slightly ITM positions.

Options Expiring OTM

If your option expires worthless:

  • P&L = –(Entry Premium × Lot Size) — your full premium is lost
  • No STT on expiry (no transaction occurs)
  • The exchange simply marks it zero

F&O Profit Loss Calculation for Multi-Leg Strategies

Real traders don't always trade naked positions. Spreads, strangles, and iron condors require calculating net P&L across legs.

Bull Call Spread Example on NIFTY

  • Buy NIFTY 24,400 CE at ₹220
  • Sell NIFTY 24,600 CE at ₹120

Net debit = (220 – 120) × 25 = ₹2,500

Scenario 1: NIFTY expires at 24,700

  • 24,400 CE value = 300, 24,600 CE value = 100
  • P&L on long leg = (300 – 220) × 25 = ₹2,000
  • P&L on short leg = (120 – 100) × 25 = ₹500
  • Gross P&L = ₹2,500
  • Maximum profit = (spread width – net debit) × lot size = (200 – 100) × 25 = ₹2,500 ✓

Scenario 2: NIFTY expires at 24,300

  • Both options expire worthless
  • P&L on long leg = –220 × 25 = –₹5,500
  • P&L on short leg = +120 × 25 = +₹3,000
  • Gross P&L = –₹2,500 (max loss = net debit)

For multi-leg strategies, always calculate:

  1. Net debit or net credit at entry
  2. P&L for each leg at expected exit
  3. Charges per leg (each leg incurs separate brokerage, STT, etc.)
  4. Combined net P&L after all charges

With a 4-leg iron condor, you're paying brokerage on 4 entry orders + 4 exit orders = 8 × ₹20 = ₹160 in brokerage alone, plus STT and other charges on each leg. A narrow iron condor collecting ₹30-40 total credit on NIFTY (₹750-1,000 gross) can lose 20%+ to transaction costs.

The Margin Factor: Calculating Return on Capital

Raw P&L numbers are meaningless without knowing the capital deployed. This is where many traders fool themselves.

Options Buyer

Capital deployed = Premium paid = Entry premium × Lot size

If you buy NIFTY 24,500 CE at ₹180:

  • Capital = 180 × 25 = ₹4,500
  • If you make ₹2,000 net profit, ROI = 2,000/4,500 = 44.4% on that trade

This looks incredible, but remember — option buyers lose on 6-7 out of 10 trades typically.

Futures and Options Seller

Capital deployed = SPAN margin + exposure margin (checked via NSE's SPAN calculator or your broker's margin calculator).

  • 1 lot NIFTY futures margin ≈ ₹1,10,000–₹1,30,000 (varies with volatility)
  • 1 lot BANKNIFTY short straddle margin ≈ ₹1,80,000–₹2,50,000

If you make ₹3,750 on 1 lot NIFTY futures with ₹1,20,000 margin:

  • ROI = 3.1% on deployed capital — far less exciting than the raw number suggests

On expiry day, margins for weekly options can be lower, but SEBI's peak margin rules mean your broker snapshots margin requirements at multiple points during the day. If you're short options and volatility spikes, your margin requirement can jump 30-50% intraday, and margin shortfall penalty is 0.5% per day (minimum ₹1,000 per day above ₹1 lakh shortfall).

Always include opportunity cost of margin: ₹1,20,000 locked in margin could earn ~7% annually in a liquid fund. That's ₹23 per day. A futures trade held for 5 days needs to net more than ₹115 just to beat parking the money.

Tax Impact on F&O P&L

F&O trading income is classified as business income under Indian tax law — not capital gains. This changes your effective P&L significantly.

  • If your net F&O profit for the year is ₹5,00,000 and you're in the 30% tax bracket: ₹1,50,000 goes to taxes (plus cess)
  • You can deduct expenses: internet, charting software subscriptions, data feeds, a portion of device depreciation
  • F&O losses can be carried forward for 8 years and set off against future business income — but only if you file your ITR by the due date (July 31 for non-audit cases, October 31 if turnover exceeds ₹10 crore or if you're in a tax-loss situation requiring audit)

Turnover calculation for tax audit purposes — this trips up many traders:

  • Futures: absolute sum of (positive + negative) settlement differences
  • Options: absolute premium differences + absolute profit on exercised contracts

If your turnover exceeds ₹10 crore, tax audit under Section 44AB is mandatory. Below ₹10 crore but above ₹2 crore, you can use presumptive taxation under 44AD if you declare at least 6% profit (8% for non-digital transactions) — but this rarely works for F&O traders with actual losses.

Your true f&o profit loss calculation must factor post-tax returns. A trade making ₹10,000 gross profit nets approximately ₹6,500 after charges and taxes for a 30% bracket trader.

What to Actually Do: A Pre-Trade P&L Checklist

Before entering any F&O trade, run through this:

  1. Calculate your gross P&L target: What price move are you targeting? Multiply by lot size.
  2. Estimate total charges: Use your broker's brokerage calculator (Zerodha's calculator is freely available). For a quick estimate, assume 2-5% of gross P&L for medium-sized trades, 10-25% for scalps.
  3. Check margin requirement: Use the NSE SPAN margin calculator or your broker's tool. Calculate ROI on margin deployed, not on notional value.
  4. Assess risk-reward in net terms: A 1:2 gross risk-reward becomes roughly 1:1.7 after charges. If your stop loss is ₹5,000 and target is ₹10,000, the real ratio after charges is approximately ₹5,200 risk to ₹9,500 reward.
  5. Factor the expiry STT trap: If holding options near expiry, set alerts to square off before 3:00 PM.
  6. Annualize your returns: A 3% return on a 2-day trade sounds small. That's 547% annualized. A 15% return on a monthly option strategy is 180% annualized. Context matters.
  7. Record everything: Maintain a trade journal with entry, exit, charges, net P&L, and ROI on margin. Pattern recognition from your own data is worth more than any indicator.
  • Don't chase trades where charges exceed 10% of realistic gross P&L
  • Don't sell options where max profit barely covers margin opportunity cost
  • Don't hold ITM options through expiry settlement
  • Don't ignore the tax impact on your annual P&L calculation

The traders who survive in F&O markets are obsessive about these numbers. They know their breakeven before they click buy. They know their effective win rate needs to be higher because costs shave every edge.

Accurate f&o profit loss calculation isn't glamorous — but it's the foundation of every profitable trading system. Tools like MarketNetra can help you move beyond manual calculations by providing AI-driven trade intelligence, option flow analysis, and real-time signals that factor in the full cost picture. When your analytics platform does the heavy lifting on data, you can focus on what actually matters: making better decisions with clearer numbers.

Ready to trade smarter?

Get AI-powered market analysis for NIFTY, BANKNIFTY, and 200+ F&O stocks.

Start for ₹1 →