Stock profit calculator

Enter how many shares, the buy and sell prices and any commissions. Add how long you held them to see the yearly return.

Your answer

Profit$1,500.00
Return30 %
Total cost$5,000.00
Sale proceeds$6,500.00
Break-even sell priceper share, covering both commissions$50.00
Annualized return14.02 %
  • Before tax. In the US, gains on shares held over a year are taxed at the lower long-term rates.

Worked out in your browser. Nothing you type is sent to a server.

How we worked it out

Updated as you change the numbers.

  1. Cost = shares × buy price + buy commission. Proceeds = shares × sell price − sell commission.
  2. Profit = proceeds − cost; return = profit ÷ cost; annualized = (proceeds ÷ cost)^(1 ÷ years) − 1.

Method and assumptions

The return is measured on everything you paid, commissions included. Dividends received while holding are not included; add them to the sell side for a total return.

Questions

What is the profit on 100 shares bought at $50 and sold at $65?

$1,500, a 30% return. Held for two years, that is 14.02% a year.

Sources

Method and figures checked on . Every worked answer on this page is covered by an automated test. Found a mistake? Tell us.

Embed this calculator on your site

Free to use. Paste this where you want the calculator; it runs in your visitors’ browsers, sets no cookies and never sends us anything your visitors type.

Related calculators