Taxes
What is Capital gains tax?
Capital gains tax is what you pay on the profit when you sell an investment or property for more than you paid. The taxable gain is calculated as the sale price minus the asset's adjusted cost basis. Capital gains tax is only assessed on realized gains; value appreciation is not taxed while the asset is held. The tax rate depends on how long the asset was held.
Short-term capital gains (assets held for one year or less) are taxed as ordinary income, up to the maximum federal rate of 37%. Long-term capital gains (assets held for more than one year) are taxed at preferential rates of 0%, 15%, or 20% based on the taxpayer's taxable income and filing status. For the 2026 tax year, the 0% long-term capital gains bracket extends up to $49,450 of taxable income for single filers and $98,900 for married couples filing jointly.
High-income earners may also be subject to an additional 3.8% <a href="/articles/high-income-fica-additional-medicare-niit-math" class="text-blue-600 dark:text-blue-400 hover:text-blue-700 dark:hover:text-blue-300 hover:underline font-semibold transition-colors duration-200">Net Investment Income Tax</a> (NIIT) on top of their capital gains rates. In real estate, the IRS allows homeowners to exclude up to $250,000 (single) or $500,000 (married joint) of capital gains on the sale of a primary residence, provided they meet ownership and occupancy requirements.
Quick Facts
PRACTICAL EXAMPLE
A single investor with a taxable income of $45,000 sells stock held for 18 months for a $3,000 profit. Because their total taxable income remains under the 2026 0% long-term capital gains threshold of $49,450, their capital gains tax rate on that profit is exactly 0%, saving them from federal tax on the gain.
Explore Related Financial Tools
Crypto Profit Calculator
Calculate capital gains taxes, net profits, and investment returns for crypto assets.
Salary Paycheck & Taxes
Compute federal, state, and FICA taxes to see your exact take-home pay across all 50 states.
ETF Growth Simulator
Visualize compound interest and toggle inflation to see real purchasing power.
Explore Related Financial Guides
Learn More Key Concepts
Disclaimer: NetWorthFlow provides financial calculators, simulators, and projection tools for informational and educational purposes only. None of the calculations, data, or results displayed on this website constitute professional financial, investment, tax, or legal advice. All calculations are mathematical models based on user-supplied variables and general assumptions, which may not reflect real-world market outcomes. Always consult with a certified financial planner, licensed investment advisor, or qualified tax professional before making any financial decisions.
Automated tools are not a substitute for professional counsel. We strongly advise that you consult a qualified Certified Financial Planner (CFP®), Registered Investment Adviser (RIA), Certified Public Accountant (CPA), or legal expert before making significant decisions regarding taxes, mortgages, retirement planning, investments, or debt management.