2026 · Stocks · Real estate · Crypto

Capital Gains Tax Calculator

Estimate the federal tax when you sell stocks, real estate or crypto for a profit. See short-term vs long-term rates, the 3.8% surcharge for high earners (NIIT), and what you walk away with.

Sale details
$
$
The purchase price plus buying fees and, for a home, improvements.
$
Long-term gains get lower rates (0%, 15% or 20%). Short-term gains are taxed like wages.
$
Before taxes. The 2026 standard deduction is subtracted for you. Your income decides which rate applies to the gain.
Tax calculation
Federal capital gains tax
$0
Gain or loss
$0
You walk away with
$0
sale price minus costs and tax
Tax as a share of the gain
0.0%
effective rate
Tax type
Long-term

Federal estimate for tax year 2026 using the standard deduction. State taxes on capital gains are not included.