Decidely

Capital Gains Tax Calculator

Calculate capital gains tax on stocks, property, and crypto. See your estimated tax, net profit, and ROI. Free calculator for US and international investors.

Ad Slot — top
Common example: 10–20% depending on jurisdiction.

What is capital gains tax?

A capital gain is the profit you earn when you sell an asset (stocks, cryptocurrency, real estate, art, or collectibles) for more than its original purchase price. If you sell an asset for less than you paid, that is a capital loss. Capital gains tax is the levy the IRS places on your profit. The tax is calculated by applying your effective tax rate to the gain amount. Importantly, the IRS treats short-term capital gains (assets held less than 1 year) differently from long-term gains (held 12+ months), with long-term gains generally taxed at preferential rates. Your cost basis is what you originally paid for the asset, not its market value at tax time.

2024–2025 US capital gains tax rates

Long-term capital gains are taxed at 0%, 15%, or 20% depending on your income bracket. For 2025, single filers pay 0% if income is under $47,025, 15% between $47,025–$518,900, and 20% above $518,900. Short-term capital gains are taxed as ordinary income (10–37% brackets). High earners also pay a Net Investment Income Tax (NIIT) of 3.8% on gains if modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly). The rates change annually, so consult current IRS guidance. State taxes apply on top of federal rates in most states.

5 legal ways to reduce your capital gains tax

First, hold assets for over 1 year to qualify for long-term rates instead of ordinary income rates—often saving 20–30% on taxes. Second, use tax-loss harvesting: sell losing positions to offset gains from winners, reducing your taxable gain dollar-for-dollar. Third, maximize tax-advantaged accounts like Roth IRAs and 401(k)s, where gains compound tax-free forever. Fourth, donate appreciated assets directly to charity instead of selling them—you avoid the capital gains tax and claim a charitable deduction. Finally, use the primary residence exclusion: married couples can exclude up to $500,000 of gains on a home sale if you owned and lived there 2 of the last 5 years. Every situation is unique—consult a CPA or enrolled agent before making investment decisions.


Ad Slot — mid

Frequently asked questions

What is a capital gain?

A capital gain is the profit you make when you sell an asset (such as stocks, property, or cryptocurrency) for more than you paid for it. The capital gain is calculated as: Sale Price minus Purchase Price. If the sale price is lower than the purchase price, you have a capital loss instead.

How do I calculate capital gains tax?

Capital gains tax is calculated by applying your applicable tax rate to the capital gain amount. The formula is: Capital Gain × Tax Rate = Estimated Tax. For example, if you made a $5,000 capital gain and your tax rate is 15%, your estimated tax would be $750. The net profit after tax would be $4,250.

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

Long-term capital gains are profits from selling assets held for more than 1 year (typically 12+ months), while short-term capital gains are from assets held for less time. Many countries offer preferential tax rates for long-term holdings, meaning you may pay less tax on long-term gains. This calculator uses a simplified rate that doesn't distinguish between the two.

What is not included in this calculator?

This calculator provides an educational estimate and does not account for: country-specific tax rules, state or local taxes, transaction fees, cost basis adjustments, annual exemptions, tax brackets, offsetting losses, or special asset types. For accurate tax planning, consult a qualified tax professional in your jurisdiction.

Do all countries tax capital gains the same way?

No. Capital gains tax rates vary dramatically by country. Some countries have no capital gains tax, while others tax gains at rates exceeding 40%. Tax treatment also depends on your residency status, the type of asset, and how long you held it. Always consult local tax authorities or a professional accountant for jurisdiction-specific guidance.

What should I do after calculating my capital gains?

After using this calculator, you should: (1) understand your estimated capital gain or loss, (2) recognize that tax rates vary by location and holding period, (3) consult a qualified tax professional or accountant in your jurisdiction before reporting gains or making investment decisions, (4) gather supporting documentation for your investment, and (5) understand potential deductions or exemptions available to you.

Ad Slot — bottom

User Comments

Help Us Improve

Found a bug or want a feature? Let us know!