Stock Return and Capital Gain Calculator
Calculate total return including capital gains and dividends.
How to use the Stock Return and Capital Gain Calculator
The Stock Return and Capital Gain Calculator is free and runs entirely in your browser — no sign-up, and nothing you enter leaves your device. It opens pre-filled with a realistic example, so you can see how it works before replacing any figure with your own; the results update as you type. Press Calculate to refresh the result panel, or Reset to return to the example.
The inputs it asks for:
- Purchase Price per Share — a dollar amount.
- Sale Price per Share — a dollar amount.
- Number of Shares — a number.
- Total Dividends Received — a dollar amount.
- Total Fees/Commissions — a dollar amount.
- Holding Period (Years) — a number.
Worked example
Using the example values — Purchase Price per Share $50.00, Sale Price per Share $70.00, Number of Shares 100, Total Dividends Received $200.00, Total Fees/Commissions $50.00, Holding Period (Years) 3 — the Stock Return and Capital Gain Calculator returns a Total Return of $2,150.00. It also reports Total Return % (42.57%), Capital Gain ($1,950.00), Annualized Return (12.55%).
Prefer your own numbers? Change any field above and this recomputes instantly.