Stock Profit Calculator
Stock profit is the difference between what the shares sold for and what they cost, minus the commission paid to the broker. It sounds trivial, but the fee is easy to forget and it is the difference between a gain and a loss on a small move.
Net profit / loss
$490.00
- Total cost
- $5,000.00
- Total proceeds
- $5,500.00
- Return on investment
- 9.80%
Values update as you type. This calculator covers the single scenario its formula assumes — see Common Mistakes for what it leaves out.
The formula this calculator uses
Net profit = Shares x (Sell - Buy) - Fees
- Shares
- Number of shares bought and sold
- Buy
- Price paid per share
- Sell
- Price received per share
- Fees
- Total round-trip commission
How to check the result by hand
- 1
Work out the total cost
Multiply the number of shares by the buy price per share.
- 2
Work out the total proceeds
Multiply the same number of shares by the sell price per share.
- 3
Subtract the commission
Take the round-trip fees off the difference between proceeds and cost.
- 4
Compute the return
Divide the net profit by the total cost to express it as a percentage.
- 5
Check the break-even price
Add the fees divided by the shares to the buy price to see the price needed to break even.
For worked examples, common mistakes and the limits of this formula, read the full How To Calculate Stock Profit page.