Stock Profit/Loss
Calculate gains or losses on stock trades.
finance
Adjust the inputs below
Ready when you are
Adjust the inputs on the left to see your profit / loss.
Introduction to the Stock Profit/Loss Calculator
The Stock Profit/Loss Calculator computes net trading returns using the formula Net P&L = (Sell Price - Buy Price) x Quantity - Brokerage - STT - GST - Exchange Fees - SEBI Charges - Stamp Duty - Capital Gains Tax. It supports intraday, delivery, F&O, and currency segments on NSE and BSE.
Indian retail investors and traders need this tool because the gap between gross and net returns is significant after brokerage, Securities Transaction Tax, GST on brokerage, exchange transaction charges, SEBI turnover fees, and stamp duty. A trader booking a Rs 10,000 gross profit on Reliance might actually take home Rs 8,500 after all deductions.
Enter buy price, sell price, quantity, segment (delivery, intraday, futures, options), and your broker (Zerodha, Groww, Upstox, Angel One, ICICI Direct). The calculator returns gross P&L, all itemized charges, capital gains tax (15 percent STCG or 12.5 percent LTCG post-Budget 2024), and final net profit or loss with percentage return.
Who Should Use This Stock Profit/Loss Calculator
Intraday traders in Mumbai scalping Nifty 50 stocks on Zerodha Kite who need quick break-even price calculations including all charges. Long-term delivery investors in Bengaluru selling 100 shares of Infosys after 3 years and computing LTCG tax at 12.5 percent above Rs 1.25 lakh exemption. F&O traders in Delhi calculating premium decay and exit P&L on Bank Nifty weekly options with STT of 0.0625 percent on sell side. New investors in Pune learning that a 5 percent gross gain on a Rs 50,000 trade barely beats break-even after all costs. CA tax consultants in Chennai verifying clients' capital gains computations for ITR filings.
Tips for Stock Trading Returns
Smart Stock Trading Tips
Hold for 12+ months for LTCG. Equity gains above Rs 1.25 lakh in a year attract 12.5 percent LTCG, while sells before 12 months face 20 percent STCG post-Budget 2024.
Choose discount brokers wisely. Zerodha, Groww, and Upstox charge Rs 20 or 0.03 percent per trade flat fees versus 0.5 percent at full-service brokers, saving thousands annually.
Account for stamp duty by state. Maharashtra charges 0.005 percent on delivery, Karnataka 0.015 percent, factor your state's rate into break-even calculations.
Set realistic break-even targets. Intraday round trips need 0.1 to 0.15 percent move just to cover charges, so don't enter trades unless expecting 0.5 percent minimum movement.
Track tax-loss harvesting. Booking losing positions before March 31 lets you offset gains and carry forward losses 8 years, reducing your tax liability significantly.
Formula Explanation
Core Stock P&L Formula
Net P&L = ((Sell - Buy) x Qty) - Total Charges - Capital Gains Tax
Where:
- Total Charges = Brokerage + STT (0.1 percent delivery, 0.025 percent intraday) + GST (18 percent of brokerage) + Exchange fees + SEBI fees + Stamp duty
-
- Capital Gains Tax = 20 percent STCG (sold within 12 months) or 12.5 percent LTCG above Rs 1.25 lakh annual exemption
-
- Buy/Sell = price per share in rupees
-
- Qty = total shares traded
Example: Buy 100 Reliance at Rs 2,500, sell at Rs 2,600 = Rs 10,000 gross - Rs 230 charges - Rs 1,954 STCG = Rs 7,816 net (78 percent of gross).
Stock P&L Quick Reference Table
| Buy (Rs) | Sell (Rs) | Qty | Gross P&L | Net P&L Delivery STCG |
|---|---|---|---|---|
| 100 | 110 | 50 | 500 | 350 |
| 500 | 525 | 100 | 2,500 | 1,800 |
| 1,000 | 1,100 | 200 | 20,000 | 15,580 |
| 2,500 | 2,750 | 100 | 25,000 | 19,496 |
| 5,000 | 5,500 | 50 | 25,000 | 19,496 |
| 10,000 | 11,000 | 25 | 25,000 | 19,496 |
Real-World Example
Example: Rahul's Infosys Trade in Hyderabad
Meet Rahul, a 29-year-old IT consultant from Hyderabad. He bought 200 Infosys shares at Rs 1,400 in January 2024 and sold them at Rs 1,650 in February 2025 after holding 13 months, qualifying for LTCG taxation.
Step 1: Gross profit = (1650 - 1400) x 200 = Rs 50,000. Step 2: Charges on Zerodha: Brokerage Rs 0 (delivery free), STT Rs 330, exchange Rs 8.85, GST Rs 0, stamp duty Rs 14 = Rs 353 total charges. Step 3: LTCG = 12.5 percent of (50,000 - 1,25,000 exemption) = Rs 0 since gain under exemption limit.
Result: Rahul keeps Rs 49,647 of the Rs 50,000 gross profit, a 99.3 percent retention rate. His effective annualized return on the Rs 2.8 lakh investment is 17.6 percent post-tax, beating most fixed deposits.
Frequently Asked Questions About Stock Profit/Loss
Stock trading returns prompt common questions about taxation, brokerage choices, and capital gains rules. The FAQs below address the difference between STCG and LTCG with post-Budget 2024 rate changes, how stamp duty varies by Indian state, intraday vs delivery tax treatment, the impact of GST and SEBI charges on small trades, and tax-loss harvesting before March 31 fiscal year-end.
Frequently asked questions
How does the Stock Profit Loss Calculator work?
The calculator computes net profit or loss on a stock trade after brokerage, STT, GST, exchange fees, and SEBI charges. The formula is Net P/L = ((Sell Price - Buy Price) x Quantity) - Total Charges. It supports NSE and BSE trades, delivery and intraday segments, and shows the breakeven price you need to cover all costs.
Are the charges accurate for Indian brokers?
Yes, the calculator uses the standard fees set by SEBI, the exchanges (NSE and BSE), and clearing corporations. Brokerage varies by broker: Zerodha and Groww charge Rs 20 flat per intraday order, full-service brokers charge a percentage. The calculator lets you enter your broker's specific rate. STT is 0.1% on delivery (each side) and 0.025% on intraday sell.
What inputs does the Stock Profit Loss Calculator need?
Enter the buy price, sell price, quantity, and segment (delivery or intraday). Optionally specify your broker's brokerage rate, or pick a preset for Zerodha, Groww, Upstox, ICICI Direct, HDFC Securities, or Angel One. The calculator returns net profit or loss, total charges, breakeven price, and percentage return on capital deployed.
How is short-term capital gain taxed on stocks?
Equity stocks held under 12 months attract Short-Term Capital Gains tax at 20% from FY 2024-25 onwards (previously 15%). Long-term gains above Rs 1.25 lakh per year are taxed at 12.5%. Intraday gains are treated as business income and taxed at your slab rate. The calculator can include estimated tax on the gain to show net after-tax profit.
Is the Stock Profit Loss Calculator free?
Yes, the Stock Profit Loss Calculator is free on AllSmartCalculators with no signup, ads inside the form, or login. Works on any device. Bookmark it for evaluating trades before placing them, computing post-tax returns at year-end, comparing brokerage plans, or modelling 'what if I sell now' scenarios on positions you currently hold in your demat account.
What related calculators help with stock investing?
Pair the Stock Profit Loss Calculator with the Dividend Yield Calculator (for income-stock analysis), the Income Tax Calculator (for capital gains tax planning), and the Mutual Fund Returns Calculator (to compare direct stocks vs equity funds). The Net Worth Calculator helps track stock holdings as part of your total portfolio.
Related calculators
Currency Converter
Convert between 30 major world currencies instantly with reference rates — see the converted amount, exchange rate, and inverse rate.
EMI Calculator
Calculate Equated Monthly Instalments for home, personal, car, and education loans — with interest split and total payable.
SIP Calculator
Project the future value of a Systematic Investment Plan — see how a fixed monthly contribution compounds over years.
Compound Interest Calculator
See how a one-time principal grows under compound interest at any rate, tenure, and compounding frequency (daily, monthly, quarterly, yearly).
Results from this calculator are estimates for informational use only — not financial, medical, or professional advice. Read our full disclaimer before acting on any number you see here.

