Homeโ€บ Finance & Moneyโ€บ Stock Profit / Loss Calculator

Stock Profit / Loss Calculator

Calculate profit or loss on a stock trade, including commissions and capital gains tax. See net return after all costs.

Inputs

Most modern brokers charge $0.
US long-term: 0/15/20%. Short-term: your income rate.
Net profit / loss
โ€”
Gross gain
โ€”
Cost basis
โ€”
Sale proceeds
โ€”
Capital gains tax
โ€”
Gross return
โ€”
Net return (after tax)
โ€”

About Stock Profit / Loss Calculator

Short vs long-term gains (US)

Long-term: held > 1 year, taxed at 0% / 15% / 20% (depending on income). Short-term: held โ‰ค 1 year, taxed as ordinary income (up to 37%). Holding past one year often makes a big tax difference.

Wash sale rule (US)

If you sell at a loss and buy substantially identical security within 30 days (before or after), the loss is disallowed. Plan tax-loss harvesting around this rule.

What this ignores

Dividends received (add to total return). Taxes on dividends (qualified vs non-qualified). State taxes on capital gains. Reinvestment of partial sale proceeds.