HomeCalculators › 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, 100% offline with zero ads.
Download Free

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. Charges of roughly ₹190 leave ₹21,810 pre-tax; at 12.5% LTCG the tax is ₹2,726, so you keep about ₹19,084 — a 21.2% 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.

Related calculators

🧾Brokerage Calculator 🏛️Capital Gains Tax Calculator 📉Stock Average Calculator 📊Mutual Fund Return Calculator

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 — 100% offline, no ads, no sign-up.

Get the Free App