Stock Profit Calculator tool

Stock Profit Calculator

This calculator gives you the realistic, after-cost picture of any stock trade.

What is a stock profit calculator?

A stock profit calculator nets brokerage and STT from buy and sell legs, then estimates capital gains tax from holding days. Enter quantity, prices, dates and fee percents. You see net profit, return percent, holding period bucket, tax payable and profit after tax.

How to use the Stock Profit Calculator

  1. Enter number of shares bought and sold.
  2. Set buy price and sell price per share.
  3. Pick buy date and sell date for holding period.
  4. Add brokerage percents and STT on sell.
  5. Read net profit, tax and after-tax profit.

About this calculator

This calculator gives you the realistic, after-cost picture of any stock trade. The headline gain on your broker app rarely tells the full story -- brokerage, STT, exchange fees, GST and capital gains tax all pull money out of your pocket. By feeding in actual buy and sell dates, brokerage rates and quantities, you can see net profit, absolute return, holding period and the tax you would owe.

The Indian capital-gains regime treats listed equity differently based on holding period. Hold for less than 12 months and any gain is Short Term Capital Gains, taxed at a flat 20% from FY 2024-25 onwards. Hold for more than 12 months and the gain is Long Term Capital Gains, taxed at 12.5% but with a 1.25 lakh per-year exemption that applies across all your equity LTCG combined. The calculator picks the right bucket automatically and applies the exemption only to LTCG.

For traders, the small-but-frequent costs add up fast. A 0.03% brokerage on each leg, 0.1% STT on the sell, plus GST and exchange fees can easily push break-even up by 0.5-1% per round trip. Discount brokers help, but high churn always loses to low-churn investing because of taxes alone -- every realised gain restarts the compounding clock and pays tax. Use the [[normal-sip]] calculator for systematic investing returns, the [[lumpsum]] calculator for one-time investments and [[capital-gains-tax]] for property and gold.

Formula for net stock profit after costs

Profit = (Sell × Qty − Sell fees − STT) − (Buy × Qty + Buy fees)
  • Qty is number of shares
  • Buy and sell fees follow your broker percent
  • STT applies on the sell leg at the rate you enter

Worked examples

LTCG on Infosys, 3-year hold

A retail investor buys 200 shares of Infosys at ₹1,450 and sells three years later at ₹1,820. Holding clears the 12-month bar, so the gain qualifies as LTCG.

• Gross profit: 200 × (1820 − 1450) = ₹74,000. • Exemption ₹1.25L absorbs the full gain → tax payable is zero this year. • Net realised CAGR ≈ 7.8% after STT + brokerage, kept fully by the investor.

STCG on mid-cap trade, 4-month hold

A swing trader in Mumbai buys ₹2L of a mid-cap pharma stock and exits four months later at ₹2.45L. The sub-12-month holding period forces STCG treatment.

• Gross gain ₹45,000 taxed at 20% flat → ₹9,000 in STCG. • Add brokerage + STT + stamp duty ≈ ₹1,400 round-trip. • Net take-home ≈ ₹34,600; real annualised return after tax ≈ 52% — strong but tax-heavy.

Tax-loss harvest offset, March book-close

An investor is sitting on a ₹1.6L realised LTCG from an early-year sell and a ₹70,000 unrealised loss on an under-performing IT stock held for 14 months.

• Sell the loser before 31 March → crystallised long-term loss of ₹70,000. • Long-term loss offsets LTCG: net taxable LTCG drops to ₹90,000. • After ₹1.25L exemption, final LTCG tax is zero — saving ~₹4,400 that would otherwise be payable.

Common uses

  • Estimating realised profit on a completed trade including brokerage and STT
  • Deciding whether to sell now or wait past 12 months for LTCG benefit
  • Comparing two trades on absolute return and annualised return
  • Planning tax-loss harvesting -- offsetting losses against gains
  • Computing notional gain on a paper portfolio for performance review

Frequently asked questions

What brokerage rate should I enter?

Use the rate from your broker

Why is the STT on the sell side and not buy?

Securities Transaction Tax for delivery-based equity is charged at 0.1% on both buy and sell, but for intraday it

How is the holding period calculated?

It

Does the LTCG exemption of 1.25 lakh apply per stock?

No -- it

Can I claim losses against future gains?

Yes -- short-term capital losses can offset both short and long-term gains, while long-term losses can only offset long-term gains. Unutilised losses can be carried forward for 8 years if you file your ITR before the due date.

Deep dive

STCG vs LTCG on listed equity (FY 2024-25 onwards)

The tax rules that decide how much of your profit is yours to keep.

Every cost layered into a trade

Why the broker app's headline profit is almost always too optimistic.

How the ₹1.25L LTCG exemption works

The annual relief almost every equity investor qualifies for.

Related calculators

Maintained by J Jaya Prakash · Last updated: October 2026