Capital Gains Tax Calculator
Calculate tax on investment gains for all 50 states.
Tax Breakdown
| Item | Amount |
|---|
Official Tax Rate Sources
This calculator provides estimates only. It uses the standard deduction and does not account for itemized deductions, tax credits, local/city taxes, or other adjustments. Consult a tax professional for your specific situation. U.S. federal and state taxes only.
This tool is for informational and educational purposes only. It is not a substitute for professional financial, medical, legal, or engineering advice. See Terms of Service.
Can't find what you need?
Request a ToolHow to Use the Capital Gains Tax Calculator
This calculator estimates the federal and state tax on your investment gains:
- Enter your purchase and sale prices. The gain (or loss) is calculated automatically.
- Select your holding period. Long-term (held over 1 year) gains are taxed at preferential rates of 0%, 15%, or 20%. Short-term gains are taxed as ordinary income.
- Enter your other income. This determines which capital gains bracket applies to your gain.
- Review the breakdown. See federal tax, state tax, NIIT (if applicable), and your net proceeds.
About Capital Gains Tax
When you sell an investment for more than you paid, the profit is a capital gain. The tax rate depends on how long you held the asset. Long-term gains (assets held over one year) get preferential federal rates: 0% for lower incomes, 15% for most taxpayers, and 20% for high earners. Short-term gains are taxed at your ordinary income tax rate, which can be as high as 37%.
Most states tax capital gains as ordinary income. A few exceptions: Washington taxes only capital gains (not wages), Missouri exempts capital gains entirely, and some states like Montana and Hawaii have preferential rates.
Frequently Asked Questions
What is the 0% capital gains rate?
For 2026, single filers with total taxable income under $49,450 (or $98,900 for married filing jointly) pay 0% federal tax on long-term capital gains. This means if your total income including the gain stays below the threshold, you owe no federal capital gains tax.
What is the Net Investment Income Tax (NIIT)?
The NIIT is an additional 3.8% tax on the lesser of your net investment income or the amount by which your modified AGI exceeds $200,000 (single) or $250,000 (married filing jointly). It applies on top of regular capital gains tax.
What is the difference between short-term and long-term gains?
Short-term gains (assets held one year or less) are taxed at your ordinary income tax rate, up to 37%. Long-term gains (held over one year) are taxed at preferential rates of 0%, 15%, or 20% depending on your income. Holding investments for over a year can significantly reduce your tax bill.