Capital Gains Tax Calculator

Estimate your capital gains tax on stocks, real estate, or other investments based on holding period and income level.

$

Original purchase price of the investment.

$

Price at which you sold or plan to sell the investment.

How long you held the investment. Long-term gains are taxed at lower rates.

$

Your total annual income (used to determine tax bracket).

Your federal tax filing status.

AI Financial Assistant

Beta

Ask questions about your calculation results

I can help you understand your results and explore your options. Try asking:

3 free questions per session

AI provides general information, not financial advice. Always consult a qualified professional.

Compare Tax Rates

Rates shown are for illustration. Click to see actual rates from our partners.

Lender Rate (APR) Monthly Payment Fees
LendFirst Bank 6.25% $1,847 $2,100 View Offer
QuickRate Financial 6.50% $1,896 $1,800 View Offer
HomeSecure Lending 6.75% $1,946 $1,500 View Offer

Short-Term vs Long-Term Capital Gains

The tax treatment of capital gains depends entirely on how long you held the asset before selling. Short-term capital gains, from assets held less than one year, are taxed as ordinary income at your marginal tax rate, which can be as high as 37%. Long-term capital gains, from assets held one year or more, receive preferential tax rates of 0%, 15%, or 20% depending on your taxable income. This significant rate difference makes holding period a critical factor in investment tax planning.

2024 Capital Gains Tax Rates and Brackets

For the 2024 tax year, long-term capital gains rates are structured in three tiers. Single filers pay 0% on gains if their taxable income is below $47,025, 15% for income between $47,025 and $518,900, and 20% for income above $518,900. Married filing jointly thresholds are $94,050 and $583,750 respectively. Additionally, high earners may owe a 3.8% Net Investment Income Tax (NIIT) on top of these rates if their modified adjusted gross income exceeds $200,000 (single) or $250,000 (joint).

Strategies to Minimize Capital Gains Tax

Several legitimate strategies can reduce your capital gains tax liability. Tax-loss harvesting involves selling losing investments to offset gains, reducing your net taxable gain. Holding investments for at least one year qualifies you for the lower long-term rates. Contributing to tax-advantaged accounts like 401(k)s and IRAs shields investment growth from taxes entirely. Charitable giving of appreciated stock allows you to avoid capital gains tax while receiving a fair market value deduction.

Capital Gains Tax on Real Estate

When you sell a primary residence, you may exclude up to $250,000 in capital gains from taxes if you are single, or $500,000 if married filing jointly, provided you lived in the home for at least two of the last five years. Gains exceeding these exclusions are taxed at capital gains rates. Investment properties do not qualify for this exclusion, but a 1031 exchange allows you to defer capital gains taxes by reinvesting proceeds into a like-kind property within strict timeframes.

Frequently Asked Questions