Calculator
What the Stock Return Calculator does
Stock Return Calculator: calculates Total Gain, Absolute Return % and CAGR % from Buy Price / Share, Sell Price / Share and Number of Shares. Example: buy price / share 100 ₹, sell price / share 145 ₹ and number of shares 100 gives total gain ₹4,500.00.
Point it at Buy Price / Share, Sell Price / Share, Number of Shares and Total Dividends Received and it returns Total Gain, Absolute Return % and CAGR %. Edit a field and the answer updates in place.
Typical users are anyone weighing up a loan. Small differences in rate or term compound into large differences in what you actually pay.
The page holds your values in memory and forgets them the moment you close it.
The sections that follow cover the fields, the method, and one full example computed from the defaults.
What do the Stock Return Calculator fields mean?
The Stock Return Calculator uses 5 inputs. Each input has a default that makes sense on its own, so a partial edit still gives a valid result.
| Field | What to enter | Default |
|---|---|---|
| Buy Price / Share | measured in ₹; accepts 0.01 to 100000 | 100 |
| Sell Price / Share | measured in ₹; accepts 0 to 100000 | 145 |
| Number of Shares | accepts 1 to 1000000 | 100 |
| Total Dividends Received | measured in ₹; accepts 0 to 10000000 | 0 |
| Holding Period (years) | accepts 0.1 to 50 | 2 |
How does the Stock Return Calculator work?
Each output is derived from the inputs above in a single pass; there is no hidden state carried between runs, so the same inputs always give the same calculation.
Checks happen up front, so errors surface next to the form instead of hiding in the output.
Worked example
These are the values the Stock Return Calculator loads by default, and the result it produces from them. Here is the calculation as it stands the moment the page loads.
| Buy Price / Share | 100 ₹ |
|---|---|
| Sell Price / Share | 145 ₹ |
| Number of Shares | 100 |
| Total Dividends Received | 0 ₹ |
| Holding Period (years) | 2 |
| Total Gain | ₹4,500.00 |
|---|---|
| Absolute Return % | 45.00% |
| CAGR % | 20.42% |
| Cost Basis | ₹10,000.00 |
| Total Proceeds | ₹14,500.00 |
How to use it
- Enter Buy Price / Share in ₹ (0.01 to 100000).
- Set Sell Price / Share in ₹ (0 to 100000).
- Put Number of Shares (1 to 1000000).
- Key in Total Dividends Received in ₹ (0 to 10000000).
- Fill in Holding Period (years) (0.1 to 50).
- The result appears as you type. There is no button to press.
- You get Total Gain, Absolute Return %, CAGR %, Cost Basis and Total Proceeds back.
- Copy Link is the quickest way to send the exact scenario to someone else.
What this tool does not do
- Advertised rates are usually the best-case tier, not the one most applicants are offered.
- Fees, taxes and eligibility rules vary by product and are not included unless there is a field for them.
- It assumes the values you give are already consistent with each other.
- Results are only as good as the inputs. Check your units before reading anything into the output.
Frequently asked questions
Enter Buy Price / Share in ₹, Sell Price / Share in ₹ and Total Dividends Received in ₹. Look for the unit beside each label; the result is reported in a stated unit as well.
Buy Price / Share accepts 0.01 to 100000 ₹. Out-of-range entries are refused up front, which is safer than silently clamping them.
With the values loaded when the page opens, total gain comes out as ₹4,500.00. Any edit re-runs the calculation, so there is no stale number on screen.
It is not stored or transmitted. The calculation happens locally and leaves no trace with us.
Nothing at all. There is no registration, no paywall and no per-use quota.
The maths is exact for the method shown, but real products add fees, taxes and eligibility rules a general calculator cannot know. Confirm the figures with the lender before committing.