Skip to content

Stock Profit Calculator

Enter how much you invested, the price you bought at and the price you sold at (or the price now), plus any commission, to see your profit or loss, the return and the break-even price.

Calculator Details

Profit:$1,500.00See results ↓

One buy and sell, or regular purchases (dollar-cost averaging)

What you spent on the buy, fees included

Price you paid per coin (type it in; no live prices)

Price you sold at, or today’s price from your exchange

Exchange fee on each purchase

Exchange fee when you sell

Your Results

Profit: $1,500.00

Profit

$1,500.00

30% on $5,000.00

Trade

Value after selling

$6,500.00

Coins

100

Average cost per coin

$50.00

fees included

Break-even sell price

$50.00

Fees paid

$0.00

Investing $5,000.00 at $50.00 and selling at $65.00 returns $6,500.00 after $0.00 of fees, a profit of $1,500.00 (30%). You break even at $50.00.

Compare scenarios

Save these inputs as a scenario, change them, and compare the results side by side.

Loading, available in a moment

Invested vs value

Invested vs value

How This Calculator Works

How It’s Calculated

Coins = amount × (1 − buy fee) ÷ price
Value = coins × sell price × (1 − sell fee); profit = value − invested
Break-even = average cost ÷ (1 − sell fee)

Your numbers: $5,000.00 invested at $50.00 with a 0% buy fee buys 100 coins (average $50.00 each). At $65.00 with a 0% sell fee they are worth $6,500.00, so the profit is $1,500.00.

Frequently Asked Questions

How do I include dividends?

Add the dividends you received to the profit. If you bought 100 shares at $50, sold at $65 and collected $1.20 a share in dividends, your total gain is $1,500 + $120 = $1,620, a 32.4% return. Reinvested dividends instead increase the number of shares.

Is the return per year?

No. The return shown is for the whole holding period. A 30% gain over one year is far better than 30% over five years, which is about 5.4% a year. Divide by the holding time, or use a compound annual growth rate, to compare investments held for different lengths of time.

How are stock profits taxed?

In a taxable account, a gain is a capital gain when you sell: in Canada, part of it is added to your income; in the US, short-term gains are taxed as ordinary income and long-term gains at lower rates. Gains inside a TFSA or Roth IRA are generally not taxed. The capital gains tax calculator works out the tax.

Why is my break-even price above what I paid?

Because commissions have to be earned back. The break-even price is where you neither gain nor lose after fees: with no commissions it is simply your buy price, and with a commission on each side it is a little higher.

Prices are the ones you enter: there is no live price feed, so check your exchange for today’s price. Fees are a percentage of each trade, taken from the amount spent and from the sale. Not included: spreads you don’t enter, network (gas or withdrawal) fees, staking rewards, taxes on gains, and any currency other than the one you enter prices in.

Stock Profit Calculator: Gain, Loss and Return on a Trade

By FindMySum · Last reviewed

A stock profit calculator shows what a trade made or lost. The profit is what you received when you sold, minus what you paid when you bought, minus any commissions on each side; the return is that profit as a percentage of what you put in. The same arithmetic works for ETFs, and for a position you still hold, using today's price as the selling price.

Worked example

You invest $5,000 in 100 shares bought at $50 each and later sell them at $65, with no commission on either side (0% each way).

  1. Shares bought: $5,000 ÷ $50 = 100.
  2. Value when sold: 100 × $65 = $6,500.
  3. Profit: $6,500 − $5,000 = $1,500.
  4. Return: $1,500 ÷ $5,000 = 30%.

The break-even price is your $50 cost, since there were no fees. With a 1% commission on each trade (the fee comes out of the $5,000, so you buy about 99 shares), the calculator shows a profit of $1,370.65 and a break-even price of about $51.02.

Before you celebrate

Profit on paper is not profit after tax, and a 30% return means more if it took months than if it took years. Keep your adjusted cost base records, especially if you bought the same stock at different times. To work out the average cost of several purchases, use the stock average calculator; for the tax on the gain, the capital gains tax calculator; for the same calculation on cryptocurrency, the crypto profit calculator.

Sources

This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.

Spotted a wrong result or a bug? Report a problem

May we count your visits with Invoker Analytics? It keeps a random visitor number in your browser. Your calculator inputs are never sent. Privacy policy