Estimate federal capital gains tax on investments — stocks, real estate, crypto, and more. Covers short-term vs long-term rates, NIIT, and state taxes.
Enter your purchase and sale prices to calculate your capital gain or loss
Total amount paid including fees
Total sale proceeds minus fees
Enter 0 for no state tax (TX, FL, etc.)
2024 Long-Term Rates
Short-Term Rates (2024)
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