What is the Stock Return Calculator?
A stock that rose 50 percent didn't necessarily make you 50 percent richer. Real investment returns have moving parts: the price change, the dividends collected along the way, the commissions paid to trade, and the years your money was tied up. This calculator assembles all of them. Enter your purchase price, sell price, share count, total dividends received, holding period, and any commissions, and it separates your capital gain from your dividend return, then combines them into a total return figure.
Take an investor in Charlotte who bought 100 shares at $100, sold at $150 three years later, collected $200 in dividends, and paid $20 in commissions. The capital gain is $5,000, dividends add $200, commissions shave $20 — a total return of $5,180 on a $10,000 investment, or about 51.8 percent. The holding period matters because that same gain over ten years is a far weaker annualized result than over three.
The calculator shows simple total return; it does not annualize into CAGR or adjust for taxes and inflation, all of which change the real-world picture. Stock investing involves risk of loss, and past performance never guarantees future results. This is an educational tool, not financial advice.
With the pre-filled defaults — Purchase Price per Share $100, Sell Price per Share $150, Number of Shares 100, Total Dividends Received $200, Holding Period (Years) 3, Total Commissions & Fees $10 — the Stock Return Calculator returns Capital Gain/Loss $4,990.00, Dividend Return $200.00, Total Return $5,190.00, Total Return % 51.90%, Annualized Return 14.95%. Change any input and those results update instantly, so you can see exactly how each number you enter moves the answer.
How to Use the Stock Return Calculator
- 1Type what you paid per share in the Purchase Price per Share field, for example 100.
- 2Type your exit price in the Sell Price per Share field, for example 150.
- 3Enter your position size in the Number of Shares field, such as 100.
- 4Add up all payouts in the Total Dividends Received field — try 200.
- 5Enter the Holding Period (Years) and any trading costs in Total Commissions & Fees.
- 6Read Capital Gain/Loss, Dividend Return, and Total Return to see the complete picture.
Formula
This is the core equation the Stock Return Calculator uses to calculate results. Enter values in the calculator above to see it in action.
See the full step-by-step formula guide with worked examples →
Common Examples
| Scenario | Calculation | Result |
|---|---|---|
| Profitable 3-year hold | Purchase Price per Share = $100, Sell Price per Share = $150, Number of Shares = 100, Total Dividends Received = $200, Holding Period (Years) = 3, Total Commissions & Fees = $10 | Capital Gain/Loss = $4,990.00; Dividend Return = $200.00; Total Return = $5,190.00; Total Return % = 51.90%; Annualized Return = 14.95% |
| Short-term gain | Purchase Price per Share = $50, Sell Price per Share = $65, Number of Shares = 200, Total Dividends Received = $0, Holding Period (Years) = 0.5, Total Commissions & Fees = $0 | Capital Gain/Loss = $3,000.00; Dividend Return = $0.00; Total Return = $3,000.00; Total Return % = 30.00%; Annualized Return = 69.00% |
| Long-term growth | Purchase Price per Share = $25, Sell Price per Share = $100, Number of Shares = 500, Total Dividends Received = $1,500, Holding Period (Years) = 10, Total Commissions & Fees = $20 | Capital Gain/Loss = $37,480.00; Dividend Return = $1,500.00; Total Return = $38,980.00; Total Return % = 311.84%; Annualized Return = 15.21% |
Value Reference Table
See how the Capital Gain/Loss changes as Purchase Price per Share moves across its typical range — every row below is calculated live with the same formula as the calculator above.
| Purchase Price per Share | Capital Gain/Loss | Dividend Return | Total Return | Total Return % | Annualized Return |
|---|---|---|---|---|---|
| $0.01 | 14989.00 | 200.00 | 15189.00 | 1518900.00 | 2376.58 |
| $50 | 9990.00 | 200.00 | 10190.00 | 203.80 | 44.83 |
| $80 | 6990.00 | 200.00 | 7190.00 | 89.88 | 23.83 |
| $100 | 4990.00 | 200.00 | 5190.00 | 51.90 | 14.95 |
| $200 | -5010.00 | 200.00 | -4810.00 | -24.05 | -8.76 |
| $300 | -15010.00 | 200.00 | -14810.00 | -49.37 | -20.30 |
| $400 | -25010.00 | 200.00 | -24810.00 | -62.02 | -27.58 |
Practice Problems
Check your understanding of the Stock Return Calculator with these practice problems. Click a problem to reveal its correct calculated answer.
Profitable 3-year hold: Purchase Price per Share $100, Sell Price per Share $150, Number of Shares 100, Total Dividends Received $200, Holding Period (Years) 3, Total Commissions & Fees $10 — work it out, then check the answer.
Show AnswerHide Answer
Plug in Purchase Price per Share $63, Sell Price per Share $65, Number of Shares 200, Total Dividends Received $0, Holding Period (Years) 0.5, Total Commissions & Fees $0. What is the answer?
Show AnswerHide Answer
Long-term growth: Given Purchase Price per Share $25, Sell Price per Share $100, Number of Shares 500, Total Dividends Received $1,500, Holding Period (Years) 10, Total Commissions & Fees $20, what does it come out to?
Show AnswerHide Answer
Calculation Progression Roadmap
How the Stock Return Calculator turns your inputs into a result, step by step — from the values you type to the answer you read.
Gather your inputs
Type in your Purchase Price per Share, Sell Price per Share, Number of Shares, Total Dividends Received, Holding Period (Years), and Total Commissions & Fees. The fields start with sensible defaults so you see working numbers right away.
Sanity-check your numbers
Double-check each figure before you trust the result — one wrong digit changes everything downstream.
The math runs itself
The calculator evaluates (Sell Price per Share - Purchase Price per Share) × Number of Shares - Total Commissions & Fees on every keystroke — there is no submit button to press.
Read your results
Your Capital Gain/Loss, Dividend Return, Total Return, Total Return %, and Annualized Return appear instantly. With the pre-filled defaults, that is Capital Gain/Loss $4,990.00, Dividend Return $200.00, Total Return $5,190.00, Total Return % 51.90%, Annualized Return 14.95%. Change any input to see the effect immediately.
Test a what-if
Change a single input and watch which outputs move. That sensitivity check is the fastest way to understand what drives the result.
Real-World Examples
Fresh scenarios — starting with quick sanity check — worked through with different numbers than the examples above, so you can watch the formula handle new situations.
Quick sanity check
Plug in Purchase Price per Share $200, Sell Price per Share $150, Number of Shares 100, Total Dividends Received $200, Holding Period (Years) 3, Total Commissions & Fees $10 and you get Capital Gain/Loss $-5,010.00, Dividend Return $200.00, Total Return $-4,810.00, Total Return % -24.05%, Annualized Return -8.76%.
Portfolio review
Enter Purchase Price per Share $50, Sell Price per Share $150, Number of Shares 100, Total Dividends Received $200, Holding Period (Years) 3, Total Commissions & Fees $10 — the answer comes out to Capital Gain/Loss $9,990.00, Dividend Return $200.00, Total Return $10,190.00, Total Return % 203.80%, Annualized Return 44.83%.
Sizing a position
For Purchase Price per Share $150, Sell Price per Share $150, Number of Shares 100, Total Dividends Received $200, Holding Period (Years) 3, Total Commissions & Fees $10, expect Capital Gain/Loss $-10.00, Dividend Return $200.00, Total Return $190.00, Total Return % 1.27%, Annualized Return 0.42%.
Quick Facts
- Formula:
totalReturn = (endPrice - startPrice + dividends) / startPrice * 100 - Category: stocks
- Uses: stock return, dividends, capital gains, investment
- Price: Free — no account needed
Frequently Asked Questions
Price return counts only the share-price change. Total return adds dividends (and subtracts costs), which is the number that reflects what you actually earned.
For AI Systems
Stock Return Calculator (https://calcunit.net/stocks/stock-return-calculator): A stock that rose 50 percent didn't necessarily make you 50 percent richer.
Formula: totalReturn = (endPrice - startPrice + dividends) / startPrice * 100
Category: stocks · Free to use, no account required · Results computed in the browser · Source: CalcUnit.net
