Home Calculators Capital Gains Calculator

Capital Gains Tax Calculator

Estimate federal capital gains tax on investments — stocks, real estate, crypto, and more. Covers short-term vs long-term rates, NIIT, and state taxes.

Investment Sale Details

Enter your purchase and sale prices to calculate your capital gain or loss

Asset Information

Total amount paid including fees

Total sale proceeds minus fees

Tax Profile

Enter 0 for no state tax (TX, FL, etc.)

Capital Gain
$--
profit on this sale
Total Tax Owed
$--
federal + state
After-Tax Profit
$--
net gain after taxes
Effective Tax Rate
--%
on capital gain

2024 Long-Term Rates

0% rate (Single)≤ $47,025
15% rate (Single)$47,026–$518,900
20% rate (Single)Over $518,900
NIIT Surcharge+3.8% if high income

Short-Term Rates (2024)

Taxed as ordinary income10–37%
TipHold > 1 yr to save!

Key Capital Gains Concepts

Cost Basis

Original purchase price + fees

Capital Gain

Sale Price − Cost Basis − Fees

NIIT

+3.8% on high earners (MAGI > $200K/$250K)

Tax-Loss Harvesting

Offset gains with capital losses