Stock Profit Calculator — Gain, ROI & Break-Even Price

See what a stock trade really made you after commissions and tax — not just the price difference. Enter your buy and sell details for net profit, return on investment, annualized return and break-even price.

Quick answer: See what a stock trade really made you after commissions and tax — not just the price difference.

📈 Stock Profit Calculator

A stock that rises from $120 to $165 looks like a $45 per share gain, but that headline number is rarely what you keep. Commissions, fees, dividends and tax all change the outcome, and on small trades or short holding periods they can change it a lot. This stock profit calculator works out the full picture: what you paid, what you received, your profit before and after tax, and how that profit compares with the money you put in.

The core math is simple. Total cost is the buy price times the number of shares, plus any buying commission. Total proceeds are the sell price times the shares, minus any selling commission. Gross profit is proceeds minus cost, and adding dividends received gives your total gain. Return on investment, or ROI, expresses that gain as a percentage of your total cost, which makes trades of very different sizes easy to compare. A $900 gain on a $1,000 investment is a very different result from the same $900 on a $50,000 investment, even though the dollar figure is identical.

Annualized return adds the missing dimension of time. A 30 percent gain in six months is far stronger than the same gain stretched over ten years, and the annualized figure converts both into a yearly rate so they can be judged fairly. The break-even price is equally practical: it is the sell price at which you exactly recover your purchase cost plus commissions, so you can see how far a falling stock must recover before you are whole again.

How to use the Stock Profit Calculator

  1. Enter your buy price and sell price per share, in dollars.
  2. Add the number of shares you bought, plus any commissions paid on buying and selling.
  3. Add dividends received during the holding period, if any, and your holding period in years for the annualized return.
  4. Set an estimated capital gains tax rate to see your after-tax profit, then click Calculate profit.

Tips for accurate results

  • Include every fee, not just commissions: exchange fees, regulatory fees and spreads all reduce profit.
  • Use your actual tax rate, not a headline rate: short-term and long-term gains are often taxed differently, so check which applies to your holding period.
  • Compare trades by ROI and annualized return, not dollars alone, especially when position sizes differ.
  • Reinvested dividends count as both income and cost basis in real tax reporting, so treat the dividends field as a simple estimate here.

Frequently asked questions

How do you calculate profit on a stock sale?

Multiply the sell price by the number of shares, then subtract the total purchase cost and any commissions. The result is your gross profit before tax; subtracting estimated capital gains tax gives the net profit.

What is the break-even price of a stock?

The break-even price is the sell price at which your proceeds exactly cover your purchase cost plus commissions. It equals total cost including commissions divided by the number of shares.

What is a good return on investment for stocks?

There is no single good figure, since returns depend on risk and holding period. As a rough benchmark, broad US stock markets have historically returned around 7 to 10 percent per year before inflation, so comparing your annualized return with that range is a useful sanity check.

Do commissions still matter with zero-commission brokers?

Even with zero-commission trading, spreads, regulatory fees and taxes can eat into returns, especially on small trades or frequent trading. Entering every cost keeps the profit figure honest.