Stock Profit Calculator

Calculate profit or loss on a stock trade including commissions and an estimated capital gains tax.

Your numbers

Net profit$2,287
Gross profit
$2,700
Estimated tax
$404
Return on investment
50.81%
From gross profit to net
$0$1K$2K$3KGrossFeesTaxNetAmount ยท Gross: $2,700Amount ยท Fees: $10.00Amount ยท Tax: $404Amount ยท Net: $2,287
  • Gross
  • Fees
  • Tax
  • Net

How the stock profit calculator works

Gross profit = (sell โˆ’ buy) ร— shares. Net = gross โˆ’ fees โˆ’ tax, where tax applies only to positive gains at the rate you enter.

Example

Using the default inputs (Shares: 100; Buy price: $45.00; Sell price: $72.00; Fees (total): $10.00; Capital gains tax rate: 15%), the calculator returns net profit of $2,287. Change any field above to see your own result and charts update instantly.

Good for these goals

Frequently asked questions

What tax rate applies?

Long-term gains (held over one year) are taxed at 0%, 15% or 20%; short-term gains are taxed as ordinary income.

Can losses offset gains?

Yes. Capital losses offset gains and up to $3,000 of ordinary income per year.

Related savings & investing calculators

All Savings & Investing โ†’

Estimates are for educational purposes only and are not financial, tax or legal advice. Results depend on your inputs and simplified assumptions; tax figures reflect 2026 federal rules and may differ from your situation. See our disclaimer. ยฉ 2026 FinanzCalc.