Stock Profit Calculator
Work out the profit, return and break-even price of a stock trade, including fees and dividends
Your Trade
Total received while holding
For the yearly return; 0 to skip
Optional estimate
Find the price you need
Net profit
$1,500.00
30.00% return on $5,000.00 invested · 30.00% a year over 365 days
Total cost
$5,000.00
shares × buy price + commission
Sale proceeds
$6,500.00
after the sell commission
Break-even sell price
$50.00
per share, covering all fees
Price for a 25% return
$62.50
per share
Profit at different selling prices
Your sale and the break-even price are marked
Where your money ends up
$6,500.00 back from $5,000.00
Profit by Selling Price
| Sell Price | Profit or Loss | Return |
|---|---|---|
| $30.00 | -$2,000.00 | -40.0% |
| $36.81 | -$1,318.75 | -26.4% |
| $43.63 | -$637.50 | -12.8% |
| $50.44 | $43.75 | 0.9% |
| $57.25 | $725.00 | 14.5% |
| $64.06 | $1,406.25 | 28.1% |
| $70.88 | $2,087.50 | 41.8% |
| $77.69 | $2,768.75 | 55.4% |
| $84.50 | $3,450.00 | 69.0% |
Measuring a Trade
Profit is what you get back from selling, plus any dividends, minus everything you paid, commissions included. The return divides that profit by your total cost. The yearly (annualized) return makes trades of different lengths comparable: doubling your money in 10 years is about 7.2% a year.
The Formulas
Profit = shares × sell − sell fee + dividends − cost
Return = profit ÷ cost
Yearly return = (1 + return)^(365 ÷ days) − 1
Cost = shares × buy price + buy commission.
Before You Sell
- •In the US, gains on shares held over a year usually get lower long-term tax rates
- •Losses can offset gains for tax purposes, within limits
- •Fees matter more on small trades
- •Compare your return with an index fund over the same period
- •Decide on exit prices before emotions get involved
Frequently Asked Questions
Related Calculators
Related Articles
More articles in Stocks & Options →- Step-by-step guideHow to Calculate Stock Profit, Return and Break-Even PriceWork out the profit and return on a stock trade including commissions and dividends, the yearly return, and the price you need to break even.
- How to Calculate Your Average Cost per Share (and Average Down)Find your average cost per share across several purchases, and work out how many shares it takes to average down to a target price.
- Capital Gains Tax: 2026 and 2027 Rates and How to Calculate ItLearn how short- and long-term capital gains are taxed, the 2026 and 2027 brackets, the 3.8% net investment income tax and how losses lower the bill.
- Tax-Loss Harvesting: How to Cut Your Capital Gains TaxLearn how selling investments at a loss offsets capital gains and up to $3,000 of income, how the wash sale rule works, and what harvesting is really worth.