📊 Investment Information

Original purchase price including fees
Selling price minus fees and commissions

💼 Tax Information

Your regular taxable income (excluding this capital gain)
CA: 13.3%, NY: 10.9%, TX/FL: 0%

📈 Your Results

Enter your investment information and click Calculate to see your tax liability and net proceeds.

📚 Understanding Capital Gains Tax

What is Capital Gains Tax?

Capital gains tax is the tax on profit from the sale of an asset such as stocks, bonds, real estate, or other investments. The amount you pay depends on how long you held the asset and your income level.

Short-Term vs. Long-Term Capital Gains

Short-Term Capital Gains: Assets held for 1 year or less are taxed as ordinary income at your regular income tax rate (10%, 12%, 22%, 24%, 32%, 35%, or 37% for 2024).

Long-Term Capital Gains: Assets held for more than 1 year qualify for preferential tax rates:

2024 Long-Term Capital Gains Tax Rates

Net Investment Income Tax (NIIT)

High-income taxpayers pay an additional 3.8% Net Investment Income Tax on capital gains if their Modified Adjusted Gross Income (MAGI) exceeds:

NIIT applies to the lesser of your net investment income or the amount by which your MAGI exceeds the threshold.

State Capital Gains Taxes

Most states tax capital gains as ordinary income. States with highest rates include California (13.3%), New York (10.9%), Oregon (9.9%), and Minnesota (9.85%). States with no income tax (Texas, Florida, Nevada, Washington, etc.) have no capital gains tax.

Tax-Loss Harvesting

You can offset capital gains with capital losses. If losses exceed gains, you can deduct up to $3,000 per year against ordinary income, with remaining losses carried forward to future years.

Strategies to Minimize Capital Gains Tax

❓ Frequently Asked Questions

What's 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 ordinary income rates (10-37%). Long-term capital gains apply to assets held for more than one year and receive preferential tax rates (0%, 15%, or 20%), which are significantly lower for most taxpayers.

What is the Net Investment Income Tax (NIIT)?

NIIT is an additional 3.8% tax on investment income for high-income taxpayers. It applies when your Modified Adjusted Gross Income exceeds $200,000 (single), $250,000 (married filing jointly), or $125,000 (married filing separately). The tax is calculated on the lesser of your net investment income or the amount by which your MAGI exceeds the threshold.

How can I avoid or reduce capital gains tax?

Key strategies include: holding investments for more than one year to qualify for long-term rates, harvesting tax losses to offset gains, using tax-advantaged retirement accounts, timing sales to stay in lower tax brackets, gifting appreciated assets to family members in lower brackets, and donating appreciated securities to charity to avoid the tax entirely.

What is tax-loss harvesting?

Tax-loss harvesting is the strategy of selling investments at a loss to offset capital gains from other investments. Capital losses can offset capital gains dollar-for-dollar. If losses exceed gains, you can deduct up to $3,000 per year against ordinary income, with remaining losses carried forward indefinitely. Be aware of the wash sale rule when implementing this strategy.

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 selling it at a loss. If triggered, the loss is disallowed for tax purposes and instead added to the cost basis of the replacement security. To avoid this, wait at least 31 days before repurchasing or buy a similar but not identical investment.

Do I pay capital gains tax in my state?

Most states tax capital gains as ordinary income at their regular income tax rates. States with the highest rates include California (13.3%), New York (10.9%), Oregon (9.9%), and Minnesota (9.85%). Nine states have no income tax and therefore no capital gains tax: Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas, Washington, and Wyoming.

When is capital gains tax due?

Capital gains tax is due in the tax year when you sell the asset (the "realization" event), not when the asset increases in value. You report capital gains on your annual tax return and pay the tax by the April 15 filing deadline. If you have significant capital gains, you may need to make estimated quarterly tax payments to avoid underpayment penalties.