Toolstia / stock return calculator

Stock return calculator

Enter the number of shares, the buy and sell prices, any fees and dividends, and how long you held the shares. The calculator shows your profit or loss, the return in percent, the yearly return and the price at which you break even.

Profit equals what you receive (sale proceeds after fees, plus dividends) minus what you paid (shares times buy price, plus fees). Return per year is the compound annual rate over the years you held the shares. Taxes are not included. This is a calculator, not investment advice.

How it works

  1. Enter the shares and the buy and sell prices.
  2. Add fees, dividends and years held if you like.
  3. Read the profit and returns.

Profit

Profit equals sale proceeds (after selling fees) plus dividends, minus the total cost (shares times the buy price, plus buying fees).

Return

The percentage return is the profit divided by the total cost. The yearly return is the compound annual growth rate over the years you held the shares.

Break-even price

This is the sell price at which your profit would be exactly zero, once fees and dividends are counted.

Not included

Taxes and currency changes are not included. This is a calculator, not investment advice.

Questions

Does it work for crypto or funds?

Yes, anything you buy and sell by units with a price.

What if I lost money?

The profit and return show as negative numbers.

Is my data stored?

Everything happens in your browser, and nothing you enter is sent anywhere.