Skip to content
← Trading guides

How to Calculate Net Trading P&L After Brokerage & Taxes

By TradeDairy · Educational guide

Gross P&L describes the price result. Net P&L subtracts execution costs. Use actual prices, actual units and the broker’s contract note when an exact result is required.

The closed-trade formulas

Buy-first gross P&L = (sell price − buy price) × quantity. Sell-first gross P&L = (entry sell price − exit buy price) × quantity. Net P&L = gross P&L − total transaction charges. These formulas describe a closed trade, not the live value of an open position.

An illustrative calculation

Buying 50 units at ₹100 and selling at ₹110 produces ₹500 gross profit. If actual total costs are ₹35, net profit is ₹465. The ₹35 is an illustrative contract-note total, not a tax quotation. A trade with ₹10 gross profit and ₹35 costs is a ₹25 net loss.

Brokerage is one part of the cost

At flat ₹10 per executed order, one buy and one sell produce ₹20 brokerage before applicable taxes and other fees. At ₹20 per order, the same pair produces ₹40 brokerage. STT, exchange fees, SEBI fees, stamp duty and GST depend on segment, turnover, date and settings; they are not a universal extra ₹8 or ₹9.

Reconcile the estimate with the contract note

Normal Indian equity and F&O estimates can differ from broker rounding and special settlement. DP charges can apply to delivery sales, while exercised options need separate treatment. Use your actual charge total for exact records. The calculator is a record-keeping aid, not a tax filing or investment advisory service.

Transaction-charge reference: Zerodha’s published charge schedule. Check your broker’s current contract note.