Capital Gains Tax Calculator 2025
See how much tax you'll owe on your investment gains — long-term or short-term.
How to Use This Calculator
Long-Term tab
Enter the purchase price (cost basis) and sale price of your asset held for more than one year. Select your filing status to apply the correct long-term capital gains brackets (0%, 15%, or 20%). The calculator instantly shows your tax owed and net proceeds.
Short-Term tab
Enter the purchase price and sale price of your asset held for one year or less. Short-term gains are taxed as ordinary income, so the calculator applies federal income tax brackets based on your filing status.
Filing status
- Single — unmarried, or legally separated
- Married Filing Jointly — married couples filing one return (usually the lowest tax)
- Head of Household — unmarried with a qualifying dependent you support
More Options
Expand "More options" to enter improvements (capital improvements that increase your cost basis, such as renovations on a property). These reduce your taxable gain.
Share your result
Every input is encoded in the URL. Click Share, send the link — they'll see your exact numbers. No re-entering, no screenshots.
The Formula
Capital gains tax depends on how long you held the asset. Long-term gains (held over 1 year) get preferential rates. Short-term gains (held 1 year or less) are taxed as ordinary income.
Long-Term Tax = Gain × Long-Term Rate (0%, 15%, or 20%)
Short-Term Tax = Gain taxed at ordinary income brackets
2025 Long-Term Capital Gains Thresholds — Single
2025 Long-Term Capital Gains Thresholds — Married Filing Jointly
Example
Rachel — selling stock held for 2 years
Rachel bought stock for $50,000 and sold it for $80,000 after holding it for 2 years. She files as single with no improvements.
Long-Term Capital Gains
Rachel's $30,000 gain falls within the 15% long-term bracket for single filers. She pays $4,500 in capital gains tax and keeps $75,500.
What if Rachel held less than 1 year?
If Rachel sold the same stock before the 1-year mark, her $30,000 gain would be taxed as ordinary income (short-term capital gains).
Short-Term Capital Gains
Short-term gains cost Rachel roughly $1,100 more in taxes — the penalty for not holding the asset longer than one year.