Stock profit calculator
See what a stock trade made after fees.
Try it on paper
Place this trade on a paper chart. Free to start.
How stock profit works
- Total cost is shares times buy price, plus the buy commission.
- Proceeds are shares times sell price, minus the sell commission.
- Net profit or loss is proceeds minus total cost.
- Return is net profit or loss divided by total cost.
- Break-even is the sell price that brings net profit to zero.
- Annualized return is (1 plus return) raised to 365 divided by days, minus 1.
- It assumes the same return repeats, which real trades don't promise.
- This calculator is for long trades. Taxes aren't included.
A worked example
- You buy 100 shares at $50 and sell at $55.
- Each trade has a $1 commission, and you held for 30 days.
- Cost: 100 x $50 plus $1 = $5,001.
- Proceeds: 100 x $55 minus $1 = $5,499.
- Net profit: $5,499 minus $5,001 = $498.
- Return: $498 divided by $5,001 = 9.96%.
- Gross profit before commissions: 100 x $5 = $500.
- Break-even sell price: $5,002 divided by 100 = $50.02.
- Annualized, 9.96% over 30 days is about 217%.
Common questions
How do I calculate profit on a stock trade?
Subtract your total cost from your total proceeds. Cost is shares times buy price, plus fees. Proceeds are shares times sell price, minus fees.
How is stock return calculated?
Divide net profit by total cost. A $498 profit on a $5,001 cost is a 9.96% return.
How do commissions change my profit?
They add to your cost and cut your proceeds. Even small fees push your break-even price above your buy price.
What is annualized return?
It scales a return to a full year. A 9.96% gain in 30 days annualizes to about 217%. That assumes the gain repeats, which it rarely does.
Does this work for short sales?
No. This calculator is for long trades. A short sells first and buys back later. Its profit is the sell price minus the buyback price.
This calculator covers long trades. For shorts, read Long and short.
Learn entries and exits
The free lessons cover orders, stops and targets on real charts.
Education only, not advice.