Stock Profit Calculator
Work out the profit or loss on a share trade after brokerage on both the buy and the sell, and after capital gains tax, with the price you need to break even.
Capital gains tax on shares depends on your country and how long you held them; enter your rate or 0.
Profit after fees and tax
Rs 14,971
- Gain before tax
- Rs 17,613
- Return on cost
- 12.46%
- Break-even selling price
- Rs 120
Buying 1,000 shares at Rs 120 and selling at Rs 138 makes Rs 14,971 after fees and tax: 12.46%.
How it's worked out
- Cost with fees
1,000 × Rs 120 × (1 + 0.15%)Rs 120,180 - Sale after fees
1,000 × Rs 138 × (1 − 0.15%)Rs 137,793 - Tax
Rs 17,613 × 15%Rs 2,642
- Brokerage, exchange fees and tax rules differ by broker and country; check your contract note for the exact charges.
How it works
Gain = shares × sell price × (1 − fee) − shares × buy price × (1 + fee)
Break-even price = buy price × (1 + fee) ÷ (1 − fee)
Example
1,000 shares bought at Rs 120 and sold at Rs 138 with 0.15% fees each way cost Rs 120,180 and sell for Rs 137,793, a gain of Rs 17,613. At 15% capital gains tax, Rs 2,642 goes in tax and you keep Rs 14,971.
Questions people ask
How do I work out profit on shares?
Take what you received from the sale after fees, and subtract what the shares cost you including fees. Then take off any capital gains tax on the gain.
What is the break-even price?
The selling price at which you get back exactly what you paid once fees on both sides are counted. With 0.15% each way on a Rs 120 share it is about Rs 120.36.
Is tax charged on a loss?
No. The tax line only applies to gains. In many countries a loss can be set against other gains, but the rules vary.
What fee should I enter?
Your broker's commission plus any exchange and regulator charges as a percentage of the trade value. Your contract note shows the exact figures.
About this calculator
Formula and rules last checked 25 October 2026Written and tested by the CalculatorDex teamReport a problem
