Home › Calculators › Stock Profit Loss Calculator

Stock Profit & Loss Calculator

The gross gain on a trade is never what you keep. Enter your buy and sell prices to see the profit after brokerage, statutory charges and tax.

₹
₹
₹
%
Expense Tracker Income Manager app icon
Stop calculating. Start tracking. Save this stock profit loss calculator result as a real goal in Expense Tracker: Income Manager — budgets, EMIs & a 30-day cash forecast, with no account and zero ads.
Get it on Google PlayDownload on the App Store

What is the Stock Profit Loss?

Every equity trade carries costs beyond brokerage: STT (0.1% on delivery sell), exchange transaction charges, GST at 18% on brokerage and exchange fees, SEBI turnover fees and stamp duty. On small trades these can quietly consume a large share of a modest gain.

Then comes tax: 12.5% LTCG on equity held over a year (above ₹1.25 lakh of annual gains) or 20% STCG if held under a year.

Formula & worked example

Work down from gross to net:

Gross = (Sell − Buy) × Quantity
Net = Gross − brokerage − STT − exchange/GST/stamp − capital gains tax

Worked example: 200 shares bought at ₹450 and sold at ₹560 → gross profit ₹22,000. Trading charges of ₹182 (₹40 brokerage, ₹112 STT, ₹30 of exchange fees, GST and stamp duty) leave ₹21,818 pre-tax; at 12.5% LTCG the tax is ₹2,727, so you keep ₹19,091 — a 21.21% net return instead of the 24.4% the gross figure suggested.

How to use this stock profit loss calculator

  1. Enter quantity plus your actual buy and sell prices.
  2. Set your broker's per-order charge — ₹20 flat for most discount brokers, or 0 for zero-brokerage delivery.
  3. Choose the tax rate: 12.5% if held over a year, 20% if under.
  4. Read the breakdown to see exactly what each cost takes.

Smart tips

Frequently asked questions

How is profit on shares taxed in India?

Equity held over 12 months: 12.5% LTCG on gains above ₹1.25 lakh a year. Held under 12 months: 20% STCG on the full gain.

What is STT?

Securities Transaction Tax — 0.1% of turnover on the sell side for delivery equity trades, collected automatically by the broker.

Why is my actual profit less than the price difference?

Brokerage, STT, exchange fees, 18% GST on those fees, stamp duty and capital gains tax all come out of the gross gain.

Can I offset stock losses against gains?

Yes. Short-term losses offset both short and long-term gains; long-term losses offset only long-term gains. Unused losses carry forward 8 years if you file on time.

Want the theory behind the numbers? Read our trading guides on the Money Blog.

Written by Gurjeet Singh, Sharpen Solutions. Last reviewed 15 Oct 2026. Sources: GST Council — 56th meeting: 5% merit rate, 18% standard rate, 40% special rate, in force 22 Sep 2025. How we check these numbers.

More Investments & Markets calculators

Brokerage Calculator Capital Gains Tax Calculator Stock Average Calculator Mutual Fund Return Calculator Dividend Yield Calculator Bond Yield Calculator Gold Investment Calculator SIP Calculator Step-Up SIP Calculator Lumpsum Calculator Goal SIP Calculator SIP vs Lumpsum Calculator

Put this stock profit loss calculator on your site — free

Copy the snippet below to embed this calculator on your blog or website, kept up to date by us in exchange for a small credit link.

Track it, don’t just calculate it

Expense Tracker: Income Manager puts budgets, EMIs, SIP goals and a 30-day cash forecast on your phone — no account, no sign-up, no cloud sync, no ads.

Get it on Google PlayDownload on the App Store