Stock Profit Calculator

Work out the profit or loss on a stock trade. Enter your buy price, sell price and number of shares — and any commissions — to see the net profit or loss, the percentage return, your total cost and proceeds, and the break-even price you need to sell at.

$
$
$
$
Profit / loss
Return
Total cost
Total proceeds

Cost = buy price × shares + buy commission; proceeds = sell price × shares − sell commission; profit = proceeds − cost. This is a pre-tax, price-only figure — it does not include dividends, per-share regulatory fees or capital-gains tax. Not investment advice.

How to Use the Stock Profit Calculator

Buy price, sell price, shares — commissions optional.

1

Enter your prices

Type the price per share you bought at and the price you sold (or plan to sell) at.

2

Add shares and fees

Enter how many shares you traded, plus any buy and sell commissions — leave fees at zero if your broker is commission-free.

3

Read the result

See the profit or loss, the percentage return, your total cost and proceeds, and the break-even sell price.

Frequently Asked Questions

How do you calculate profit on a stock?
Profit equals what you receive when you sell minus what you paid to buy. Multiply the sell price by the number of shares and subtract any sell commission to get your proceeds; multiply the buy price by the number of shares and add any buy commission to get your cost basis; the difference is your profit or loss. For example, 100 shares bought at $100 and sold at $150 with no fees costs $10,000 and returns $15,000, a $5,000 profit. This calculator does that instantly and also shows the percentage return, the profit per share and your break-even price.
Does it include trading commissions and fees?
Yes. Enter a buy commission and a sell commission and they are included: the buy fee is added to your cost basis and the sell fee is subtracted from your proceeds, so the profit and percentage return reflect the real cost of the round trip. Many brokers are now commission-free for US stocks, in which case you can leave both at zero. The tool does not model per-share regulatory fees, currency conversion or bid-ask spread, so treat the result as the trade-level profit before those small extras.
What is the break-even price?
The break-even price is the sell price per share at which you would exactly recover your total cost — the money you paid for the shares plus both commissions — so your profit is zero. Sell above it and you make a profit; sell below it and you take a loss. With no fees the break-even is simply your buy price, but commissions push it slightly higher, which is why a stock has to rise a little just for you to get back to even.
Does this include dividends and taxes?
No. This calculator measures the capital gain or loss on the trade itself — the difference between your buy and sell prices — and does not add dividends received while you held the shares or subtract capital-gains tax on a profit. Your after-tax return will be lower than the figure shown, and how much depends on your country, your income and how long you held the shares. Treat the result as a pre-tax, price-only profit, and check your local tax rules for the net amount you keep.