Calculate gains, capital gains tax, and annualized return on any stock trade
Stock profit or loss is the difference between the sale proceeds and the total cost basis (including purchase price and commissions). Capital gains tax applies to profitable trades, with the rate depending on whether the holding period is short-term (under 1 year) or long-term (over 1 year).
Net Profit/Loss
+$1,690.00
+37.51% return
Total Cost
$4,505.00
Total Proceeds
$6,195.00
Est. Tax (15%)
$253.50
After-Tax Profit
$1,436.50
| Bracket | Short-Term | Long-Term |
|---|---|---|
| 0% (Single under $47,026) | Up to 10% | 0% |
| 15% (Single $47,026โ$518,900) | 12โ32% | 15% |
| 20% (Single over $518,900) | 35โ37% | 20% |
Formula
Net Profit = (Sell Price ร Shares โ Sell Commission) โ (Buy Price ร Shares + Buy Commission)Annualized Return = ((1 + Total Return)^(365 รท Holding Days) โ 1) ร 100
Total Return = Net Profit รท Total Cost
Holding Days = Number of calendar days between buy and sell dates
Worked Example
Buy 100 shares at $45, sell at $62 after 14 months
Did you know? The long-term capital gains tax rate for most US taxpayers is 15% โ significantly lower than the short-term rate, which is taxed as ordinary income at rates up to 37%. Holding an investment just one day past the 12-month mark can meaningfully reduce your tax bill (source: IRS Publication 550).
Sources
Estimate monthly spousal support using income disparity and marriage length. Educational use only.
Generate a full amortization schedule showing each payment's principal and interest split.
Calculate auto loan payments with down payment, trade-in, and amortization schedule.
Find break-even units and revenue. Analyze profit at any volume with contribution margin.
Calculate capital gains tax with short-term and long-term rates. Includes NIIT and residence exclusion.
Calculate expected returns using CAPM based on beta, risk-free rate, and market return.