How to use this stock return calculator
Start with shares, purchase price per share, sale or current price per share.
Check optional inputs such as total dividend per share, purchase commissions, sale commissions.
Select Calculate, read the secondary figures and note, then change one input at a time when comparing alternatives.
How this calculator works
Calculate stock investment return including dividends and transaction costs. Enter the amounts in the same units shown on the form. The result uses your inputs and the method below.
basis=shares*buy_price+buy_fees; proceeds=shares*sell_price+shares*dividend_per_share-sell_fees; gain=proceeds-basis; return=gain/basis.
Inputs and units
- Shares: Number.
- Purchase price per share: U.S. dollars.
- Sale or current price per share: U.S. dollars.
- Total dividend per share: U.S. dollars; optional, zero if blank.
- Purchase commissions: U.S. dollars; optional, zero if blank.
- Sale commissions: U.S. dollars; optional, zero if blank.
Worked example
100 shares; buy=$50; sell=$60; dividends=$2/share; $10 buy fee; $10 sell fee → Gain=$1,180.00; total return=23.55%
How to interpret the result
The primary result describes the entered scenario. Check the secondary figures and the note beside the result before comparing alternatives. Change one assumption at a time to see its effect.
Assumptions and limitations
Investment results are scenarios, not forecasts. Market values, dividends, yields and returns can change, and investments can lose value.
Input validation: Splits/tax lots not modeled in simple mode; basis adjustments remain user responsibility.
Common mistakes
- Using inputs from different scenarios or time periods in the same calculation.
- Leaving a relevant optional assumption at zero when it applies to the real scenario.
- Treating a planning estimate as a quote, eligibility decision, tax filing result, or individualized financial advice.
Frequently asked questions
What does the Stock Return Calculator calculate?
Calculate stock investment return including dividends and transaction costs.
How do I use the Stock Return Calculator?
Enter shares, purchase price per share, sale or current price per share, then review optional assumptions such as total dividend per share, purchase commissions, sale commissions. Select Calculate and review the primary result, secondary figures, and result note.
How is the result calculated?
basis=shares*buy_price+buy_fees; proceeds=shares*sell_price+shares*dividend_per_share-sell_fees; gain=proceeds-basis; return=gain/basis.
What can change the actual result?
Investment results are scenarios, not forecasts. Market values, dividends, yields and returns can change, and investments can lose value.