Skip to content
CalcMate

Stock Return Calculator (Share Profit and Annual Return)

This stock return calculator works out the total return on a share you bought: the price gain, the dividends you received and the charges you paid, as a percentage and as an annual return. Enter the buy and sell price (or today's price), the number of shares, dividends and how long you held them.

On this page

Calculator and results

100 shares bought at ₹500.00 and sold at ₹700.00 after 3 years give a total return of ₹22,000 (44%): ₹20,000 from the price and ₹2,000 in dividends, or 12.92% a year (CAGR).

₹
₹
₹

All dividends paid on these shares while you held them, before tax.

months
₹

Brokerage, STT, stamp duty and other charges from your contract note.

₹

Include any DP charge. The brokerage calculator can estimate these.

Total return

₹22,000

44%

CAGR

12.92%

a year, compounded

Price return

₹20,000

40%

Dividend return

₹2,000

4%

Total cost

₹50,000

price x shares + buy charges

Sale proceeds

₹70,000

after sell charges

Saved scenarios stay in this browser only. No sign-up.

Total return

₹22,000

CAGR 12.92%
What it is:
A calculator for the return on a single purchase of shares, held and then sold or valued today.
What it calculates:
Price return, dividend return, total return in rupees and per cent, and CAGR.

Key Assumptions

  • All shares were bought at one price on one date.
  • Charges are the rupee amounts you enter; use the brokerage calculator to estimate them.
  • Dividends are added at the end and are not reinvested.
  • Tax on gains and dividends is not deducted.

How does the Stock Return Calculator work?

Cost = buy price x quantity + what you paid in brokerage and charges when buying.

Proceeds = sell price x quantity - what you paid when selling. Price return = proceeds - cost.

Dividend return is the total dividends you received on these shares. Total return = price return + dividends, shown in rupees and as a percentage of cost.

CAGR is the constant yearly rate that turns the cost into cost + total return over the holding period. Dividends are counted as received at the end and not reinvested, so for a holding with several buys or sells, XIRR is the better measure.

Worked example: 100 shares bought at ₹500 (₹150 charges) and sold at ₹1,350 after 6 years (₹250 charges), with ₹6,000 of dividends along the way. The cost was ₹50,150 and the proceeds ₹1,34,750, so the price gain is ₹84,600 and the total return with dividends is ₹90,600, or 180.7%. That is an annual return (CAGR) of 18.77%.

Tax is not deducted here. A gain on listed shares held over 12 months is taxed at 12.5% above ₹1,25,000 a year, and within 12 months at 20%; dividends are added to your income and taxed at your slab rate, with 10% TDS once a company pays you more than ₹10,000 in a year. Work out the tax with the Capital Gains Tax Calculator, and if you bought in several lots, find your average price with the Stock Average Calculator.

Total return and the annual return it equals

Total returnHeld 1 yearHeld 3 yearsHeld 5 yearsHeld 10 years
25%25.0%7.7%4.6%2.3%
50%50.0%14.5%8.5%4.1%
100% (doubled)100.0%26.0%14.9%7.2%
200% (tripled)200.0%44.2%24.6%11.6%
300% (4x)300.0%58.7%32.0%14.9%

Annual return (CAGR) = (1 + total return)^(1 ÷ years) - 1. A 100% return over 10 years is only 7.2% a year, about what a bank FD paid.

Stock Return Calculator formula

Total return = (S x Q - Cs) - (B x Q + Cb) + D; CAGR = (1 + Total return / Cost)^(1 / t) - 1

B
= buy price per share
S
= sell or current price per share
Q
= number of shares
Cb, Cs
= charges paid when buying and when selling
D
= dividends received
Cost
= B x Q + Cb
t
= holding period in years

Tax is not deducted. Use the capital gains tax calculator for the tax on the price gain; dividends are added to your income.

Stock Return Calculator: worked example

100 shares bought at ₹500, sold at ₹700 after 3 years, with ₹2,000 of dividends

Cost including buy charges
₹50,060
Proceeds after sell charges
₹69,910
Price return
₹19,850 (39.65%)
Dividend return
₹2,000 (4%)
Total return
₹21,850 (43.65%)
CAGR
12.83%

Stock Return Calculator: frequently asked questions

Why include dividends in the return?
A share pays you in two ways: the price change and the dividends. Leaving dividends out understates the return of steady dividend payers, and comparing a share's price return with a fund's NAV return is unfair to the share.
What charges should I enter?
The total on your contract notes for the buy and the sell: brokerage, STT, exchange charges, SEBI fee, stamp duty and GST, plus any DP charge on the sale. The brokerage calculator estimates these.
Is CAGR the right measure if I bought in parts?
No. CAGR assumes one purchase on one date. If you bought or sold in several lots, or want dividends dated when they were paid, enter each cash flow in the XIRR calculator.
Can I use this for shares I still hold?
Yes. Enter today's market price as the sell price and leave the selling charges at zero, or enter an estimate of them to see what you would get if you sold now.
How do I calculate return on a stock?
Return % = (sell value - buy value + dividends - charges) ÷ buy cost × 100. Bought for ₹50,150 and sold for ₹1,34,750 with ₹6,000 of dividends gives ₹90,600, a 180.7% return. Divide by the years held using CAGR for the yearly figure.

Get CalcMate Money Tips

One practical money tip, the rate changes that matter and new calculators: short, free, no spam.

  • A money tip you can use the same day: saving, tax, loans or investing.
  • FD, savings and loan rate changes from our verified data.
  • New calculators and guides.
What interests you? (optional)

We never sell or share your email. See the privacy policy or what's in the emails.

Report a problem with this calculator

Reviewed by Pradipta Ray, MBA (Finance) · Updated