How to use the Stock Profit Calculator
- 1
Enter shares and prices
Number of shares, buy price and sell price per share.
- 2
Add costs and dividends
Total commissions and fees, and dividends received while you held the shares.
- 3
Enter buy and sell dates
Used to calculate the yearly return.
- 4
Read your result
Total profit, total return, annualized return and break-even price.
Features
Total profit
Includes dividends and costs.
Annualized return
Uses your exact holding period in days.
Break-even price
The sell price that covers costs.
Dividends counted
Your true total return.
Any market
NSE, BSE, NYSE, Nasdaq, LSE…
Private
No brokerage login needed.
Who uses it — and for what
Trade review
Evaluate past trades honestly.
Planning exits
Know your break-even and target prices.
Tax prep
Calculate gains for capital-gains reporting.
Comparisons
Compare a trade’s return with an index fund.
The calculation
Cost = shares × buy price; proceeds = shares × sell price. Total profit = proceeds + dividends − cost − commissions, and total return divides that by the cost. Including dividends gives your real total return, which for income stocks can be a large part of the gain. The annualized return converts the result into a yearly compound rate using the number of days you held the shares, so a 30% gain over three years (about 9.1% a year) can be compared fairly with a 12% gain over one year.
Holding period and taxes
How long you hold matters for tax. In the US, shares held more than a year qualify for lower long-term capital-gains rates (0%, 15% or 20%). In India, listed equity held over 12 months is long-term (12.5% above ₹1.25 lakh a year), and short-term gains are taxed at 20%. The UK charges Capital Gains Tax above the annual exempt amount unless shares are held in an ISA. The break-even price shows the sell price needed to cover your costs and fees. Results ignore currency moves and taxes.
Results are estimates for planning and education, not financial, tax or legal advice. Check important decisions with a qualified professional.
Comparing with an index
A good trade isn’t just a profitable one — it should beat what a simple index fund earned over the same dates. If the market rose 30% while your stock rose 25%, the index would have done better with less effort and risk. Check the index return for the same period before deciding your stock-picking is working.
Why short trades show huge annualized returns
The annualized return raises (1 + total return) to the power of 365 ÷ days held. For a holding period of several years the exponent is small and the figure is sober; for a few weeks the exponent is large and the result balloons. An 8% gain in 30 days annualizes to over 155% because the formula assumes you could repeat the same trade back to back all year and reinvest every rupee each time — something almost nobody manages.
Treat annualized figures for holdings under a year as a way to rank trades against each other, not as a forecast of what your money can do. For anything held only weeks or months, the profit in money and the plain total return are the more honest numbers to judge yourself by.
What belongs in “commissions & fees”
The fee box takes one total, so add up everything on both the buy and the sell side. Your broker’s contract note or trade confirmation lists each charge separately:
- India: brokerage, securities transaction tax (STT), exchange transaction charges, SEBI turnover fees, GST on brokerage and exchange charges, stamp duty on the purchase, and depository (DP) charges when shares leave your demat account on sale.
- US: many brokers advertise zero commission, but sales can carry small regulatory fees, and currency conversion costs apply when you buy from another country.
- UK: dealing charges, plus stamp duty (usually 0.5% Stamp Duty Reserve Tax) on purchases of UK shares, and any platform fee you want to count against the trade.
Currency conversion is the cost people most often forget when buying foreign shares through an Indian or UK platform. A 1% spread when you convert in and another 1% when you convert out takes about 2% off the return before the share has moved at all.
Worked examples
50 shares bought at $120 and sold at $150
With $10 of fees and $60 of dividends between 15 Jan 2024 and 14 Oct 2026: profit +$1,550, total return 25.83%, annualized 8.72% a year. Thanks to the dividends, break-even was $119 a share.
A short swing trade on the NSE
100 shares bought at ₹1,450 on 3 Mar 2025 and sold at ₹1,610 on 29 Aug 2025 (179 days), with ₹85 of total charges and no dividend: profit +₹15,915.00, total return 10.98%, annualized 23.66% a year. Break-even was ₹1,450.85 — the charges added only 85 paise a share.
A loss softened by dividends
200 shares bought at ₹380 on 1 Jun 2023 and sold at ₹342 on 1 Jun 2026, with ₹60 of charges and ₹400 of dividends: profit −₹7,260.00, total return −9.55%, annualized −3.29% a year. Because the dividends were larger than the fees, the break-even price was ₹378.30 — slightly below the price paid.
The same 8% gain over 30 days and over two years
40 shares bought at $95 and sold at $102.60 with no fees make $304, an 8.00% total return either way. Held from 2 Feb to 4 Mar 2026 (30 days), the annualized figure is 155.07% a year; held from 4 Mar 2024 to 4 Mar 2026 (730 days), it is just 3.92% a year.
Pro tips
- Include every fee: brokerage, exchange charges, taxes on transactions.
- Dividends matter — for income stocks they can be half the total return.
- Hold for more than 12 months where possible for lower long-term tax rates.
- Keep the contract note for every trade — it holds the exact charges, and you will need it for your tax return anyway.
- The break-even price shows how far a losing share must recover to get you back to square one. It is useful context, but the price you paid says nothing about where the share goes next.
Glossary
- Total return
- Price gain plus dividends, minus costs.
- Annualized return
- The yearly compound rate for the holding period.
- Long-term capital gain
- Profit on shares held longer than the tax threshold.
- Break-even
- Price at which you neither gain nor lose.
- Contract note
- The broker’s record of a trade, listing the price, quantity and every charge.
- STT
- Securities transaction tax — a tax on buying and selling shares on Indian exchanges.
- Stock split
- Dividing each share into several smaller ones; the value of your holding is unchanged.
- Cost basis
- What you paid for an investment including purchase costs, used to work out the gain or loss.
Frequently asked questions
Should I include dividends?
Yes, for total return. Leave it at 0 to see the price gain alone.
What is annualized return?
The constant yearly growth rate that would give the same result over your holding period.
Does it work for ETFs and mutual funds?
Yes — use units and NAV instead of shares and price.
How do I handle multiple purchases?
Use the average buy price across all purchases and the total shares.
Are taxes included?
No — taxes depend on your country and holding period.
Why is my annualized return so much higher than my total return?
Because you held the shares for less than a year. The formula compounds the gain as if you repeated it all year, which exaggerates short trades. Use the total return for anything held only weeks or months.
How do I enter shares received in a split or bonus issue?
Use the new share count and divide your original buy price by the same factor, so the total cost stays the same. Then enter the sell price as quoted after the split.
Last updated 2026-11-21 · Built by Vinayak Agarwal · Part of Money & Finance (44 tools)