Capital Gains Tax Calculator

Estimate your capital gains tax liability using 2024 tax brackets. This calculator determines whether your gain qualifies for favorable long-term rates and includes the 3.8% Net Investment Income Tax when applicable.

β€”
β€”
β€”
β€”

Understanding Short-Term vs Long-Term Capital Gains

The distinction between short-term and long-term capital gains is one of the most impactful tax planning considerations for investors. The holding period threshold is straightforward: assets held for one year or less generate short-term gains taxed at ordinary income rates up to 37%, while assets held for more than one year qualify for preferential long-term rates of 0%, 15%, or 20%. This difference can be dramatic. Consider an investor in the 35% tax bracket who realizes a $100,000 gain. As a short-term gain, the federal tax would be $35,000. As a long-term gain at 15%, the tax drops to $15,000, a savings of $20,000 from simply holding the asset a bit longer. For this reason, tax-aware investors carefully track their holding periods and often delay selling until the one-year mark is passed. However, tax considerations should never completely override investment decisions, as waiting to sell a declining asset just for tax purposes can result in losses that exceed the tax savings.

The Net Investment Income Tax Explained

Since 2013, high-income investors face an additional 3.8% Net Investment Income Tax (NIIT) on top of regular capital gains rates. This surtax applies to individuals with modified adjusted gross income exceeding $200,000 for single filers or $250,000 for married filing jointly. The NIIT applies to the lesser of your net investment income or the amount by which your MAGI exceeds the threshold. Investment income includes capital gains, dividends, interest, rental income, and royalties, but excludes wages, self-employment income, and distributions from qualified retirement plans. The NIIT effectively raises the top long-term capital gains rate from 20% to 23.8% and the top short-term rate from 37% to 40.8% for affected taxpayers. These thresholds are not indexed for inflation, meaning more taxpayers fall under the NIIT each year as incomes rise. Planning strategies include timing income recognition, maximizing retirement plan contributions, and considering installment sales to spread income across multiple years.

Tax-Smart Strategies for Capital Gains

Several proven strategies can minimize your capital gains tax burden. Tax-loss harvesting involves selling losing investments to offset gains, with up to $3,000 in net losses deductible against ordinary income annually, and unlimited losses carried forward to future years. Specific lot identification allows you to choose which shares to sell, selecting higher-cost lots to minimize gains. Holding appreciated assets until death allows heirs to receive a stepped-up cost basis, eliminating the built-in gain entirely. Charitable giving of appreciated assets lets you deduct the full market value while avoiding capital gains tax on the appreciation. Opportunity Zone investments can defer and potentially reduce capital gains taxes. Installment sales spread the gain over multiple years, potentially keeping you in lower tax brackets. For real estate, 1031 like-kind exchanges defer gains when you reinvest proceeds into similar property. Each strategy has specific rules and limitations, so consulting with a tax professional is advisable for significant gains.

Frequently Asked Questions

What is the difference between short-term and long-term capital gains?

Short-term capital gains apply to assets held one year or less and are taxed at your ordinary income tax rate (10%-37%). Long-term capital gains apply to assets held more than one year and benefit from preferential rates of 0%, 15%, or 20% depending on your income level.

What are the 2024 long-term capital gains rates?

For 2024, single filers pay 0% on gains up to $47,025 of taxable income, 15% between $47,025 and $518,900, and 20% above $518,900. Married filing jointly thresholds are $94,050 and $583,750 respectively. High earners may also owe the 3.8% Net Investment Income Tax.

What is the Net Investment Income Tax?

The NIIT is an additional 3.8% tax on investment income including capital gains for individuals with modified adjusted gross income exceeding $200,000 (single) or $250,000 (married filing jointly). This can bring the effective top long-term capital gains rate to 23.8%.

How can I reduce capital gains taxes?

Strategies include holding assets for over one year to qualify for long-term rates, tax-loss harvesting to offset gains with losses, using tax-advantaged accounts like IRAs, timing sales in lower-income years, donating appreciated assets to charity, and utilizing the primary residence exclusion for home sales.

Are there exemptions from capital gains tax?

The primary residence exclusion allows individuals to exclude up to $250,000 ($500,000 for married couples) in gains from the sale of a primary home if you lived there for at least 2 of the last 5 years. Gains in Roth IRAs and 401k plans are also tax-free when withdrawn in retirement.