How to Calculate Stock Return
Calculate total stock return including dividends and capital gains over a holding period.
The Formula
totalReturn = (endPrice - startPrice + dividends) / startPrice * 100The stock return formula uses the mathematical relationship: totalReturn = (endPrice - startPrice + dividends) / startPrice * 100. Each variable in the formula represents a measurable quantity that affects the final result.
What Each Variable Means
Every value in the stock return formula, what it measures, and the value used in the worked example on this page:
| Variable | Type | Example value |
|---|---|---|
| Purchase Price per Share | Input (you provide) | $100 |
| Sell Price per Share | Input (you provide) | $150 |
| Number of Shares | Input (you provide) | 100 |
| Total Dividends Received | Input (you provide) | $200 |
| Holding Period (Years) | Input (you provide) | 3 |
| Total Commissions & Fees | Input (you provide) | $10 |
| Capital Gain/Loss | Result (calculated) | — |
| Dividend Return | Result (calculated) | — |
| Total Return | Result (calculated) | — |
| Total Return % | Result (calculated) | — |
| Annualized Return | Result (calculated) | — |
Step-by-Step Method
- 1Write down the values you know: Purchase Price per Share, Sell Price per Share, Number of Shares, Total Dividends Received, Holding Period (Years), Total Commissions & Fees.
- 2Substitute your known values into the formula: totalReturn = (endPrice - startPrice + dividends) / startPri.
- 3Work through the arithmetic in the standard order of operations — parentheses first, then exponents, then multiplication and division, then addition and subtraction.
- 4Check that your result carries the correct unit and falls in a reasonable range for the problem.
- 5Verify your answer with the interactive Stock Return Calculator — it solves the same formula instantly.
Worked Example
Take a concrete case: purchase price per share = $50, with the other inputs at the typical values from the variables table above. Substituting into the formula gives capital gain/loss = 9990.00, dividend return = 200.00, total return = 10190.00, total return % = 203.39, annualized return = 44.77. These numbers are solved by the same engine that powers the Stock Return calculator, so you can reproduce them exactly by entering the same inputs there.
| Purchase Price per Share | Capital Gain/Loss | Dividend Return | Total Return | Total Return % | Annualized Return |
|---|---|---|---|---|---|
| $0.01 | 14989.00 | 200.00 | 15189.00 | 138081.82 | 1013.83 |
| $50 | 9990.00 | 200.00 | 10190.00 | 203.39 | 44.77 |
| $80 | 6990.00 | 200.00 | 7190.00 | 89.76 | 23.80 |
| $100 | 4990.00 | 200.00 | 5190.00 | 51.85 | 14.94 |
| $200 | -5010.00 | 200.00 | -4810.00 | -24.04 | -8.76 |
| $300 | -15010.00 | 200.00 | -14810.00 | -49.35 | -20.29 |
| $400 | -25010.00 | 200.00 | -24810.00 | -62.01 | -27.57 |
How each result changes as purchase price per share changes, holding the other inputs constant.
Practice Problems
1. 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, and 1 more more inputs — work it out, then check the answer.
Answer: The calculator returns Capital Gain/Loss $4,990.00, Dividend Return $200.00, Total Return $5,190.00, Total Return % 51.85%, Annualized Return 14.94% for Purchase Price per Share $100, Sell Price per Share $150, Number of Shares 100, Total Dividends Received $200, Holding Period (Years) 3, and 1 more more inputs.
2. 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, and 1 more more inputs. What is the answer?
Answer: With Purchase Price per Share $63, Sell Price per Share $65, Number of Shares 200, Total Dividends Received $0, Holding Period (Years) 0.5, and 1 more more inputs, the results are Capital Gain/Loss $400.00, Dividend Return $0.00, Total Return $400.00, Total Return % 3.17%, Annualized Return 6.45%.
Frequently Asked Questions
What is the formula for stock return?
The formula is: totalReturn = (endPrice - startPrice + dividends) / startPrice * 100. Calculate total stock return including dividends and capital gains over a holding period.
What values do I need to calculate stock return?
You need purchase price per share, sell price per share, number of shares, total dividends received, holding period (years), total commissions & fees. The calculator produces capital gain/loss, dividend return, total return, total return %, annualized return from those inputs.
What is the stock return when purchase price per share is $50?
With purchase price per share = $50, the result is capital gain/loss = 9990.00, dividend return = 200.00, total return = 10190.00, total return % = 203.39, annualized return = 44.77. This is worked through in full in the example on this page.
Related Topics
Use the Interactive Calculator
Skip the manual math — get instant results with our free Stock Return calculator.
