Stock profit calculator

Work out what a stock trade made: the profit in money and as a percentage after commissions, and the price you need to break even. Pick the stock and the dates, and the prices and dividends are filled in.

No sign-up, nothing saved. Works for stocks, ETFs and funds.

Don't remember the prices? Pick the stock and the dates, and we fill them in.

Search by name or ticker, for example Apple, VOO or Tesla.

The day you bought. A weekend or holiday uses the last close before it.

Leave it empty if you still hold it: today's price is used.

How many you bought. If the stock has split since, the number you hold today.

The currency the stock is priced in, which is the one every amount below uses.

What you paid for one share.

What you sold one share for, or its price today if you still hold it.

Optional. The total fee your broker charged for the purchase.

Optional. The total fee for the sale.

Enter the number of shares and the price you paid.Your profit appears here as you type.

StockFly works this out for every holding you own, automatically, with the dividends and in any currency.

Questions, answered

How do you calculate the profit on a stock?
Take what the sale brought in, minus the commission on the sale, and subtract what you paid, plus the commission on the purchase. For 100 shares bought at 50 with a 10 commission and sold at 60 with a 10 commission, that is 5,990 minus 5,010: a profit of 980.
How is the percentage return worked out?
The profit divided by everything you paid, commission included. In the example above, 980 divided by 5,010 is a 19.6% return.
What is the break-even price?
The price you have to sell at to get back everything you paid, both commissions included. Sell below it and the trade is a loss, even if the share price went up a little.
Are dividends included?
When you fill the prices in from the stock and the dates, the dividends paid while you held it are added on top of the price gain and shown on their own line. If you type your own prices, only the price gain is counted.
Why is the filled-in buy price lower than what I paid?
Because the stock has split since. Past prices are adjusted to compare with today's shares: after a 4-for-1 split, a share bought at 400 shows as 100, and you hold four times as many shares. Enter your shares as you hold them today and the profit comes out the same.
How is the yearly return calculated?
When the dates are known and you held for a year or more, the total return, dividends included, is turned into the steady yearly rate that would have produced it. It is not shown for shorter holdings, where stretching a few months into a yearly figure gives a misleading number.
Is the profit before or after tax?
Before tax. What you owe on it depends on where you live and how long you held the shares.

That was one trade. To see every holding like this at once, open the live demo, try the Real Return Calculator to see a trade in your own currency, or read how this calculator works. No account needed for any of them.