phrykt

Stock profit calculator

Free stock profit calculator. Enter shares, buy price, sell price and fees to see your profit or loss in dollars, the return in percent and the break-even price.

Profit or loss$1,500.00
Return30.00%
Total cost$5,000.00
Proceeds$6,500.00
Break-even price$50.00

Results update as you type. Nothing you enter leaves your browser.

Questions and answers

What does the stock profit calculator show?

It shows the result of buying and then selling a stock. Enter the number of shares, the price you paid, the price you sold at (or today's price) and any fees. You get the profit or loss in dollars, the return as a percentage of what you paid, the total cost, the sale proceeds and the break-even price.

How is stock profit calculated?

The formulas are simple:

  • total cost = shares x buy price + buy fee
  • proceeds = shares x sell price - sell fee
  • profit = proceeds - total cost
  • return = profit / total cost

Example: you buy 100 shares at $50 and sell them at $65 with no fees. The cost is $5,000 and the proceeds are $6,500. The profit is $1,500, a return of 30%. If the sell price were $42 instead, the result would be a loss of $800, or -16%.

What is the break-even price?

It is the sell price at which you get back exactly what you paid, including fees. The formula is (total cost + sell fee) / shares. With no fees, the break-even price equals the buy price. With fees, it is slightly higher.

Does the result include taxes and dividends?

No. Tax on a gain depends on where you live, how long you held the shares and your other income, so it is left out. Dividends received while you held the shares are also not included. If you want the full return of a position, add the dividends to the profit by hand.

How do I compare trades of different lengths?

A 30% return in six months is not the same as 30% in five years. To compare, turn the result into a yearly rate with the CAGR calculator. If you bought the stock in several steps, first find your average price with the stock average calculator.

What are the limits of the stock profit calculator?

It is arithmetic on the numbers you enter. It does not know live prices, and it does not say whether a trade is a good idea. Nothing on this page is advice to buy or sell.

More free tools

All tools

A calculator shows arithmetic on the numbers you enter. It is not investment advice. Disclaimer.