💰 Capital Gains Tax Calculator

Calculate capital gains tax on your investment profits

Investment Details

Understanding Capital Gains Tax

What Are Capital Gains?

A capital gain is the profit you make when you sell an investment or asset for more than you paid for it. Capital gains are subject to taxation, with the rate depending on how long you held the asset and your income level.

Short-Term vs Long-Term Capital Gains

Cost Basis Calculation

Long-Term Capital Gains Rates (2024)

Strategies to Minimize Capital Gains Tax

Special Capital Gains Rules

Capital Losses

Reporting Requirements

Frequently Asked Questions

How can I avoid paying capital gains tax?

You can't completely avoid it, but you can minimize it: Hold investments over 12 months for lower long-term rates, use tax-advantaged accounts (IRA, 401k), harvest tax losses to offset gains, donate appreciated assets to charity, or use the primary residence exclusion ($250k single, $500k married) when selling your home.

Do I pay capital gains tax if I reinvest the proceeds?

Yes, you still owe capital gains tax even if you reinvest. The tax is triggered when you sell, not when you withdraw money. Exception: 1031 exchanges for real estate and qualified opportunity zone investments allow you to defer taxes by reinvesting in similar properties or qualified funds.

What is the wash sale rule?

The wash sale rule prevents you from claiming a tax loss if you buy the same or substantially identical security within 30 days before or after the sale. If you violate this rule, the loss is disallowed and added to the cost basis of the replacement security. Wait 31 days to repurchase to avoid this rule.

How are cryptocurrency gains taxed?

Cryptocurrency is treated as property, not currency, so capital gains rules apply. Selling, trading, or using crypto to buy goods triggers a taxable event. Hold over 12 months for long-term rates. Track your cost basis carefully - the IRS requires reporting all crypto transactions on Form 8949.

What happens to capital gains when I die?

Your heirs receive a "step-up in basis" - the cost basis resets to the fair market value at your death. This eliminates all unrealized capital gains. For example, if you bought stock for $10,000 that's worth $100,000 when you die, your heirs inherit it with a $100,000 basis and owe no capital gains tax on that $90,000 gain.

Can I deduct capital losses?

Yes! Capital losses offset capital gains dollar-for-dollar. If losses exceed gains, you can deduct up to $3,000 per year against ordinary income. Remaining losses carry forward indefinitely to future years. This is called tax-loss harvesting and is a powerful strategy to reduce your tax bill.