Explore all guides

Free tool

Stock profit calculator

Enter how many shares you bought, the price you paid, the price you sold at (or might sell at), and any fees. The calculator shows your profit or loss in dollars, your percentage return, and the price you would need just to break even.

By Quoliv · Beginner investing lessons and fake-money practice from the maker of Quoliv. · Updated

Profit

$200

Return

+20.0%

Break-even sell price

$100.00

You paid $1,000 for the shares and would sell them for $1,200, minus $0 in fees. Taxes are not included.

The formula

Profit = (sell price − buy price) × shares − fees. Percentage return is the profit divided by what you paid for the shares. The break-even price is what you paid plus fees, divided by the number of shares: below it, the trade loses money.

Worked examples

  • 10 shares bought at $100, sold at $120, no fees: profit $200, a 20% return.
  • Same trade with $10 of fees: profit $190, a 19% return. Break-even price: $101.
  • 10 shares bought at $100, sold at $50: loss $500, a −50% return.

Why losses hurt more than gains help

After a 50% loss, a $100 share is worth $50. To get back to $100 it now has to rise 100%, not 50%. Try it above: buy at $50 and sell at $100. This is why protecting against big losses matters so much. Our guide on stop-loss orders explains one tool traders use, and its limits.

What the calculator leaves out

Taxes on gains, currency conversion, and dividends you may have received while holding the shares. Read what a capital gain is for how gains are usually taxed. For income from holding shares, try the dividend calculator.

Practise without real money

Quoliv gives you $10,000 of pretend money in its trading simulator, with real prices, so you can see profit and loss on live trades without risking anything. The two-minute lessons explain each idea first. It is free and never asks for bank details.

Quoliv is for education and fake-money practice. It does not recommend securities or provide personal financial advice. Read our editorial policy.