Calculators Trading Costs Profit / Loss Calculator
💰 Trading Costs

Profit / Loss Calculator

💰

Profit / Loss Calculator

Calculate gross P&L, net P&L after charges, percentage return, and required move to breakeven on any NSE trade.

Net Profit / Loss
Gross P&L (₹)
Total Charges (₹)
Capital Deployed (₹)
Gross Return (%)
Breakeven Price (₹)
Move Needed to BE
What-if P&L at different exit prices
Charge breakdown
Understanding Net vs Gross P&L

Most trading platforms show Gross P&L — profit before charges. Your actual take-home is Net P&L after brokerage, STT, exchange fees, SEBI charges, stamp duty, and GST.

Gross P&L = (Sell − Buy) × Quantity Net P&L = Gross P&L − All charges Net Return = Net P&L ÷ Capital Deployed × 100

For small trades, charges can represent 5–20% of gross profit. Always calculate net P&L before deciding whether a trade was profitable. The breakeven price includes all charges — any exit above that price is a net profit.

About This Calculator

The NSE Profit and Loss Calculator calculates your exact gross P&L, total brokerage and government charges, net P&L, percentage return, and breakeven price for any completed or hypothetical NSE trade. It covers all four trading segments — Equity Delivery, Equity Intraday (MIS), Futures, and Options — with the correct charge structure for each. Understanding net P&L (after all charges) versus gross P&L (before charges) is critical for accurate trade evaluation. Many traders celebrate a profitable trade without realising that after STT, brokerage, exchange fees, and GST, the actual net profit is significantly lower. For small trades or tight scalps, charges can consume 20–50% of gross profit. The calculator also shows breakeven price — the exact sell price needed to cover all costs and exit with zero profit or loss. This is particularly useful for options traders and intraday scalpers who need to know precisely how much price needs to move before a position becomes profitable.

Formula

Gross P&L = (Sell Price − Buy Price) × Quantity Net P&L = Gross P&L − Total Charges Net Return = Net P&L ÷ (Buy Price × Quantity) × 100 Breakeven = Buy Price + (Total Charges ÷ Quantity) Total Charges = Brokerage + STT + Exchange Fee + SEBI + Stamp + GST

Worked Example

An intraday trader buys 500 shares of HDFC Bank at ₹1,680 and sells at ₹1,710 (₹30 move): Gross P&L = ₹30 × 500 = ₹15,000 Brokerage = ₹20 × 2 = ₹40 STT (sell) = ₹1,710 × 500 × 0.00025 = ₹213.75 Exchange fee = ₹16,95,000 × 0.0000335 = ₹56.78 SEBI = ₹16,95,000 × 0.000001 = ₹1.70 Stamp duty = ₹8,40,000 × 0.00003 = ₹25.20 GST (18%) = (₹40 + ₹56.78 + ₹1.70) × 0.18 = ₹17.73 Total charges = ₹355.16 Net P&L = ₹15,000 − ₹355.16 = ₹14,644.84 Breakeven = ₹1,680 + (₹355.16 ÷ 500) = ₹1,680.71

Frequently Asked Questions

Net profit percentage = (Net P&L ÷ Capital Deployed) × 100. Capital deployed = Buy Price × Quantity. Always use net P&L (after all charges) for an accurate picture. A ₹15,000 profit on ₹8,40,000 deployed = 1.79% net return. Note this is the return on capital, not return on margin used.
The breakeven for an options trade has two components: the brokerage/charges breakeven (covered by this calculator) and the expiry breakeven (Strike ± Premium). For a NIFTY 23,500 CE bought at ₹120, the expiry breakeven is ₹23,620. The charges breakeven is slightly higher due to brokerage and STT on the premium.
Short Term Capital Gains (STCG) tax of 15% applies to equity shares held less than 12 months and to all F&O profits (taxed as business income at your income tax slab rate). This calculator shows pre-tax net P&L. For accurate post-tax returns, deduct 15% STCG from equity gains or your applicable income tax rate from F&O gains.
Broker P&L displays often show gross P&L before charges, or they include charges with slight timing differences in how they account for settlement. This calculator uses the exact SEBI-mandated NSE charge structure. Small differences (1–5 rupees) are normal due to rounding in charge calculations.

Backtest strategies on real NSE data

Apply your calculated position size to any of 443 pre-built NSE strategies.

Browse Strategies →

We use cookies to keep you signed in and understand how the platform is used. See our Privacy Policy.

Still there?

Here's something you might like

or

One email a week. No spam, unsubscribe anytime.

SEBI Compliance Disclaimer

MomentumIQ is an educational platform for strategy research and backtesting. We do not provide investment advice, recommendations, or tips. All backtest results are hypothetical, based on historical data, and for educational purposes only. Past performance is not indicative of future results. Backtested results may not account for brokerage, slippage, taxes, or other real-world costs. Please consult a SEBI-registered investment advisor before making any investment decisions.