How it’s calculated
Profit on a share trade is what you receive minus what you paid, counting commissions on both sides and any dividends collected while you held the shares.
Example: 100 shares bought at $50 with a $5 commission cost $5,005. Sold a year later at $62 with a $5 commission they bring in $6,195. With $40 of dividends the net profit is 6,195 + 40 − 5,005 = $1,230, a total return of 1,230 ÷ 5,005 = 24.58%. Held for exactly 365 days, the annualized return is the same 24.58%. To break even you would have needed to sell at (5,005 − 40 + 5) ÷ 100 = $49.70 a share.
Held for two years instead, the same profit is worth (6,235 ÷ 5,005)^(1/2) − 1 = 11.6% a year. Taxes, currency changes and reinvested dividends are not included. Past gains do not predict future returns, and a loss is possible on any stock.
Frequently asked questions
Do I include commissions in my profit?
Yes. Commissions and fees on the buy and sell are real costs, so this calculator adds the buying commission to your cost and subtracts the selling commission from your proceeds.
What is the break-even price?
The sell price at which you neither make nor lose money after both commissions, taking your dividends into account. A higher buying cost or commission raises it.
Why is the annualized return hidden for short holds?
Turning a gain over a few days into a yearly rate gives enormous numbers that you could not actually repeat. The calculator shows the annualized figure only for holds of 30 days or more.
Does this include taxes?
No. Capital gains and dividend taxes vary by country and by how long you held the shares. Check your tax authority's rules for your net gain.
Embed this calculator
Add this free calculator to your own website. Copy the code below into your page’s HTML:
Need this calculator branded, changed or built around your own prices?See custom business solutions →
Sources
- Stocks — U.S. Securities and Exchange Commission (Investor.gov)
- Contemporary Mathematics, §6.7 Investments (profit, return on investment and annual return on stock) — OpenStax
- Principles of Finance, §7.2 Time Value of Money (TVM) Basics (annualized growth rate) — OpenStax
Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.
Added · Last updated · How we check our calculators
Spotted a mistake or missing option? Report a problem· Suggest a calculator