Stock Profit Calculator

See what a stock trade made you, after fees and tax.

Your numbers

The trade

Fractional shares are fine.

$
$
$
$
Taxes

Enter your own rates. This is an estimate for a taxable account; trades inside an IRA or 401(k) aren't taxed when you sell.

%

Federal long-term rates are 0%, 15% or 20% depending on income. Add your state rate if it taxes gains.

%

Short-term gains are taxed like wages, at your ordinary income rate.

Results update as you type. Nothing you enter leaves your browser.

Your results

Profit

+$1,200

24% return on $5,000 invested.

Sale proceeds after fees
$6,200
Break-even sell price
$50.00
Estimated tax at 15%
$180
Profit after tax
+$1,020

You keep about $1,020 after an estimated 15% long-term tax.

See the full breakdown

Estimates based on your inputs and the assumptions listed below. Not tax, financial or lending advice. Disclaimer

Your full breakdown

Where the money goes

100 shares bought at $50.00 and sold at $62.00.

  • What you paid$5,000
  • Profit you keep$1,020
  • Estimated tax$180

Profit at other sell prices

Each row moves the sell price up or down from what you paid. Fees and your tax rate stay the same.

Sell priceChangeProfitReturnAfter tax
$35.00-30%-$1,500-30%-$1,500
$40.00-20%-$1,000-20%-$1,000
$45.00-10%-$500-10%-$500
$50.000%$00%$0
$55.00+10%+$50010%+$425
$60.00+20%+$1,00020%+$850
$65.00+30%+$1,50030%+$1,275
$75.00+50%+$2,50050%+$2,125
$100.00+100%+$5,000100%+$4,250

The math

Cost = 100 x $50.00 + $0.00 fees = $5,000.00.
Proceeds = 100 x $62.00 - $0.00 fees = $6,200.00.
Profit = proceeds - cost = +$1,200. Return = profit / cost = 24%.

Good to know

  • Holding more than one year makes a gain long-term, which is usually taxed at a lower rate than short-term gains.
  • Your cost basis is what you paid, including commissions. Selling costs reduce what you receive. Both lower the taxable gain.
  • If you bought at several prices, use the average cost calculator first to find your cost per share.
  • Dividends you received while holding the stock aren't included here. Add them to see your full return in the investment return calculator.

Short answer

Stock profit is the number of shares times the difference between your sell and buy price, minus commissions. Divide the profit by what you paid to get your return. If you held more than one year, the gain is long-term and usually taxed at a lower rate.

Example

Buying 100 shares at $50.00 and selling at $62.00 gives a profit of $1,200, a 24% return, or +$1,020 after an estimated 15% tax.

How it's calculated

Cost = shares x buy price + buy fees. Proceeds = shares x sell price - sell fees. Profit = proceeds - cost. Return = profit / cost. Break-even price = (cost + sell fees) / shares. Tax = profit x your capital gains rate (only on a profit).

Assumptions

  • Tax is a simple estimate at the rate you enter, for a taxable account.
  • Dividends received while you held the stock aren't included.

Frequently asked questions

How do I calculate profit on a stock?

Multiply the shares by the sell price, subtract fees, then subtract what you paid including fees. The result is your profit or loss.

What is my break-even price?

The sell price at which you neither gain nor lose after commissions: what you paid plus selling fees, divided by the number of shares.

How are stock profits taxed?

Gains on shares held more than one year are long-term and taxed at 0%, 15% or 20% federally, depending on income. Shares held one year or less are short-term and taxed as ordinary income.

Can a stock loss lower my taxes?

Capital losses offset capital gains. If losses are larger, up to $3,000 a year ($1,500 if married filing separately) can offset other income, and the rest carries forward.

Sources

  1. Topic no. 409, Capital gains and losses IRS
  2. Topic no. 703, Basis of assets IRS

Formulas and figures last checked Nov 5, 2026.

Go deeper

Related guides and calculators