Stock Profit Calculator: Gain, Return and Capital Gains Tax

Personal financeFreeNo sign-up

Stock profit is shares times the change in price, minus fees. Buying 100 shares at $50 and selling at $72 gives a profit of $2,200, a 44% return before tax.

Stock Profit CalculatorShares: 100 • Buy price: $50 • Sell price: $72 • Days held: 400 • Buy fee: $0 • Sell fee: $0 • Dividends: $0 • Short-term rate: 24% • Long-term rate: 15%
Profit from the sale
$2,200.00
44.00% total return including dividends

Buying 100 shares at $50.00 and selling at $72.00 after 400 days gives a profit of $2,200.00 after fees. That is a 44.00% return, or about 39.48% a year.

Total cost
$5,000.00
Shares plus buy fee
Proceeds
$7,200.00
After sell fee
Profit before tax
$2,200.00
Total return
44.00%
Annualized return
39.48%
Long-term tax (15%)
$330.00
Profit after tax
$1,870.00
Break-even sell price
$50.00
Per share, covers fees
Cost, proceeds and profit
Cost, proceeds and profitMoney in compared with money out.$0$2K$4K$6K$8KCost — Amount: $5KCostProceeds — Amount: $7.2KProceedsProfit before tax — Amount: $2.2KProfit before taxProfit after tax — Amount: $1.9KProfit after tax
Show the steps
  1. Cost: 100 × $50.00 + $0.00 fee = $5,000.00.
  2. Proceeds: 100 × $72.00 − $0.00 fee = $7,200.00.
  3. Profit: $7,200.00 − $5,000.00 = $2,200.00. Return: $2,200.00 ÷ $5,000.00 = 44.000%.
  4. Annualized: ((cost + profit) ÷ cost)^(365 ÷ 400) − 1 = 39.478%.

Stock profit

Profit = shares × (sell − buy) − fees + dividends

Return = profit ÷ cost

Annualized = (1 + return)^(365 ÷ days) − 1

  • Tax rates are estimates. Short-term gains are taxed as ordinary income. Long-term rates also depend on your income, and high earners can owe an extra 3.8% net investment income tax.
  • Losses can offset other gains and up to 3,000 dollars of ordinary income a year in the United States. This calculator shows no tax on a loss.

Estimates for planning and learning, not financial, tax, legal or medical advice. Check figures with your lender, tax preparer or doctor before you act.

About this calculator

This calculator shows what a stock trade really earned after commissions, dividends and tax. It gives the total return and the annualized return, so you can compare a trade held for three months with one held for three years.

It also tells you the break-even sell price and estimates capital gains tax using the short-term or long-term rate, depending on how long you held the shares.

How to use it

  1. Enter the number of shares, the buy price and the sell price.
  2. Enter the days between buying and selling.
  3. Add any commissions and dividends you received.
  4. Open the options to set your tax rates, then read the profit, return and after-tax result.

Short-term and long-term gains

In the United States, gains on shares held for a year or less are taxed as ordinary income. Shares held longer than a year are taxed at 0%, 15% or 20%, depending on your income. A few extra weeks can change the tax a lot.

Break-even price

With fees and no dividends, you need to sell above your buy price to break even. The calculator shows the exact price per share.

Sources

Quick check: test yourself

Question 1

You buy 50 shares at $20 and sell at $25. What is the profit before fees?

Question 2

In the United States, a stock held for more than how long qualifies for long-term capital gains rates?

Question 3

A stock rises from $40 to $50. What is the percentage gain?

Pick an answer for each question.

Common questions

How do I calculate stock profit?

Multiply the shares by the sell price, subtract fees, and subtract what you paid including the buy fee.

What is annualized return?

The yearly rate that would give the same total return over the days you held the stock.

How are stock gains taxed?

Gains on shares held one year or less are taxed as ordinary income. Longer holds get lower rates of 0%, 15% or 20%.

Do dividends count?

Yes. Add them to your total return. This calculator includes them in profit and tax.

Related calculators

More real estate and investing calculators

Embed this calculator on your site

Free to use on class pages, blogs and course pages. Copy the code below and paste it into your page:

More personal finance calculators

Browse all 282 calculators

Related to This Article

What people say about "Stock Profit Calculator: Gain, Return and Capital Gains Tax - Effortless Math"?

No one replied yet.

Leave a Reply