Estimate the federal capital gains tax on your investment profits. Compare short-term vs long-term rates and see your net proceeds after tax.
Understanding Capital Gains Tax
When you sell an investment for more than you paid, the profit is a capital gain. The tax you owe depends on two main factors: how long you held the asset and your total taxable income. Understanding these rules helps you make smarter decisions about when to sell.
Short-Term vs Long-Term Capital Gains Rates
Assets held for one year or less generate short-term capital gains, taxed at your ordinary income rate (10% to 37%). Assets held for more than one year qualify for long-term rates: 0%, 15%, or 20%. This difference can be dramatic — a gain taxed at 15% instead of 32% saves you 17 cents on every dollar of profit.
2024 Long-Term Capital Gains Brackets
For single filers, long-term gains are taxed at 0% if total taxable income is under $47,025, 15% between $47,026 and $518,900, and 20% above $518,900. Married filing jointly thresholds are roughly double. High earners may also owe the 3.8% Net Investment Income Tax (NIIT) on top of these rates.
Strategies to Minimize Capital Gains Tax
- Hold for over one year to qualify for lower long-term rates
- Tax-loss harvesting: sell losing investments to offset gains
- Use tax-advantaged accounts: gains in 401(k)s and Roth IRAs are tax-deferred or tax-free
- Time your sales: sell in years when your income is lower
- Donate appreciated assets: avoid capital gains and get a charitable deduction
- Primary residence exclusion: exclude up to $250K ($500K married) on home sale gains
Tip: If you are close to the 0% bracket threshold, consider selling just enough gains each year to stay within that bracket. This strategy, called tax-gain harvesting, lets you lock in gains completely tax-free.
Frequently Asked Questions
What is the difference between short-term and long-term capital gains?
Short-term capital gains apply to assets held for one year or less and are taxed at your ordinary income tax rate (10-37%). Long-term capital gains apply to assets held for more than one year and are taxed at preferential rates of 0%, 15%, or 20% depending on your income.
What are the 2024 long-term capital gains tax brackets?
For 2024, single filers pay 0% on taxable income up to $47,025, 15% on income from $47,026 to $518,900, and 20% on income above $518,900. Married filing jointly thresholds are roughly double: 0% up to $94,050, 15% up to $583,750, and 20% above that.
Can I offset capital gains with capital losses?
Yes, capital losses can offset capital gains dollar for dollar. If your losses exceed your gains, you can deduct up to $3,000 of net losses against ordinary income per year. Remaining losses carry forward to future tax years indefinitely.
How do I minimize capital gains taxes?
Hold investments for more than one year to qualify for lower long-term rates. Use tax-loss harvesting to offset gains with losses. Invest through tax-advantaged accounts like 401(k)s and IRAs. Consider the timing of sales relative to your income in a given year.
Do I owe state capital gains tax too?
Most states tax capital gains as ordinary income. Some states like California tax them at rates up to 13.3%. A few states (Florida, Texas, Nevada, etc.) have no state income tax and therefore no state capital gains tax. This calculator shows federal tax only.