CalcWisp

Stock Profit Calculator

Enter how many shares you bought, what you paid and what you sold for (or today's price) to see your profit, return and break-even price.

Free, no sign-upRuns in your browserHow we calculate

$
$

Or today's price, for an unrealized gain.

$
$

Include the small SEC/FINRA fees on sales if you want to the cent.

Optional: annualized return and short- vs long-term.

Profit
$1,500.00
30% return on $5,000.00 invested. You end with $6,500.00.
Total cost
$5,000.00
Net proceeds
$6,500.00
Fees paid
$0.00
Break-even sell price
$50.00
Price multiple
1.3×
Annualized return
61.42%
Holding period
Short-term (1 year or less)
Profit on the same shares at other sell prices
Sell priceChangeProfitReturn
$25.00-50%-$2,500.00-50%
$37.50-25%-$1,250.00-25%
$45.00-10%-$500.00-10%
$50.000%$0.000%
$55.0010%$500.0010%
$62.5025%$1,250.0025%
$75.0050%$2,500.0050%
$100.00100%$5,000.00100%
$150.00200%$10,000.00200%
How this was calculated
  1. Cost = 100 × $50.00 + $0.00 fees = $5,000.00
  2. Proceeds = 100 × $65.00 − $0.00 fees = $6,500.00
  3. Profit = $6,500.00 − $5,000.00 = $1,500.00
  4. Return = $1,500.00 ÷ $5,000.00 = 30.00%

Educational, not investment or tax advice. Taxes are not deducted; see the capital gains calculator for those.

Stock Profit Calculator · free on CalcWisp

How stock profit is calculated

A stock profit calculator compares what you paid with what you got back. Your cost is the number of shares times the buy price, plus any commission. Your proceeds are the shares times the sell price, minus the selling commission. The difference is your profit or loss, and dividing it by the cost gives the percent return:

  • cost = shares × buy price + buy commission
  • proceeds = shares × sell price − sell commission
  • profit = proceeds − cost, return = profit ÷ cost
  • break-even price = (cost + sell commission) ÷ shares

The cost is also your cost basis for taxes. IRS Publication 550 adds commissions to the basis of shares you buy and subtracts selling costs from what you receive, which is exactly what the calculator does.

Worked example

You buy 100 shares at $50 with a zero-commission broker and sell them 200 days later at $65. The cost is $5,000, the proceeds $6,500 and the profit $1,500, a 30% return. Spread over 200 days that is an annualized return of 61.42%: the rate that would turn $5,000 into $6,500 if it compounded for a full year at the same pace. Because you held the shares for a year or less, the gain is short-term.

Now a losing trade with a $4.95 commission each way: 100 shares bought at $50 and sold at $45. The cost is $5,004.95, the proceeds $4,495.05 and the loss $509.90, or −10.19%. The break-even price was $50.10, not $50, because both commissions have to be earned back first.

Common mistakes

  • Ignoring fees. Even with zero commissions, sales carry small SEC and FINRA fees, and options or foreign shares can cost more. Add them to the commission fields.
  • Comparing returns over different periods. 30% in 200 days and 30% in five years are very different results; enter the days held to see the annualized figure.
  • Forgetting several buys. If you bought at different prices, use the stock average calculator first to get your average cost per share, then enter that here.
  • Leaving out dividends. Dividends received while you held the stock are part of your total return but not of the price gain shown here.

Profit before and after tax

The result is a pre-tax figure. Selling shares held one year or less gives a short-term gain, taxed at your ordinary income rate; held more than one year it is long-term and taxed at 0%, 15% or 20% depending on your income (IRS Topic 409). Losses offset gains, and up to $3,000 a year of net losses can offset other income. The capital gains calculator applies the 2026 brackets to the profit you find here. An unrealized gain, using today's price instead of a sale price, is not taxed until you sell.

Sources: IRS Publication 550 (Investment Income and Expenses), IRS Topic 409 (Capital Gains and Losses), SEC Investor.gov "Understanding Fees".

Frequently asked questions

How do you calculate profit on a stock?

Profit = shares × sell price − sell commission − (shares × buy price + buy commission). 100 shares bought at $50 and sold at $65 with no commissions make $6,500 − $5,000 = $1,500.

How do you calculate the percent return on a stock?

Divide the profit by the total cost, including the buy commission, and multiply by 100. A $1,500 profit on $5,000 invested is a 30% return.

What is the break-even price of a stock?

It is the sell price at which fees are covered and profit is zero: (shares × buy price + buy commission + sell commission) ÷ shares. 100 shares at $50 with $4.95 each way break even at $50.10.

Do dividends count in the profit?

Not in this calculator. Add dividends received separately, or use the dividend calculator, to get the total return of holding a stock.

Is stock profit taxed?

Yes, when you sell. Gains on shares held one year or less are short-term and taxed as ordinary income; held more than one year they are long-term and taxed at 0%, 15% or 20% (IRS Topic 409).

Related tools