Stock Profit Calculator
Profit or loss on a share trade after commissions and fees, with return %, annualised return, break-even price and tax. Any currency.
Buying 50 shares at 120 and selling at 150 makes 1,500 before fees: a 25% return on 6,000. With a 5 commission on each trade the profit is 1,490 and the break-even sell price is 120.20.
The words on this page, explained simply
New to this? Here is what each term means, in plain English.
- Breakeven
- The price at which a trade neither makes nor loses money.
- Commissions and fees
- What the broker and exchange charge per trade, flat or as a percentage of its value; they raise the break-even price.
- Annualised return
- A return over any period restated as a yearly compound rate, so different periods compare fairly.
Enter what you paid, what you sold for (or a target) and your broker's charges. The calculator gives the profit after every fee, the return on the money you put in, the yearly rate if you enter how long you held, and the price you need to sell at just to break even.
The formulas
Cost = shares × buy price × (1 + fee %) + commission. Proceeds = shares × sell price × (1 − fee %) − commission. Profit = proceeds + dividends − cost; return = profit ÷ cost. Annualised return = (1 + return)365 / days − 1.
Break-even sell price = (cost + sell commission − dividends) ÷ (shares × (1 − fee %)).
Fees matter most on small trades
A 5 commission each way costs 0.17% on a 6,000 trade but 2% on a 500 one. Percentage fees, such as currency conversion on foreign shares or UK stamp duty on purchases, scale with the trade instead.
Key takeaways
- Profit = proceeds + dividends − cost, after all fees.
- Return = profit ÷ what you paid.
- Break-even price covers the buy price and both sets of fees.
- Annualise only over at least a few months.
Frequently asked questions
How do I calculate profit on a stock?
Subtract what you paid (shares × buy price + fees) from what you received (shares × sell price − fees), and add any dividends. 50 shares bought at 120 and sold at 150 with no fees: 7,500 − 6,000 = 1,500.
How do I calculate the percentage gain on a stock?
Profit divided by the cost, times 100. 1,500 profit on 6,000 is 25%.
What is my break-even price?
The sell price where proceeds after fees equal what you paid. With no fees it is the buy price; each fee pushes it up.