Capital Gains Tax
Calculator

Using a capital gains tax calculator is a quick and easy way to estimate your potential tax liability when selling an investment or property. It helps you plan ahead by giving you a rough idea of what you might owe, based on your sale price, purchase cost, and holding period. Keep in mind, though, that this tool provides only an estimate—actual taxes may vary depending on your full financial situation, deductions, and IRS rules. For accurate results and personalized advice, it’s always best to consult with a tax professional. 

Capital Gains Tax Calculator

What Are Capital Gains?

Capital gains are the profits you make from selling an asset for more than you paid for it. Common taxable assets include:

  • Real estate (other than your primary residence)

  • Stocks and bonds

  • Cryptocurrency

  • Business equipment or investment property

The gain is calculated as:

Capital Gain = Sale Price – (Purchase Price + Improvements + Selling Costs)

If you sell an asset for less than your cost basis, you may have a capital loss, which can offset gains and reduce your tax bill.

Short-Term vs. Long-Term Capital Gains

The IRS classifies gains based on how long you held the asset before selling:

  • Short-Term Capital Gains

    • Assets held 1 year or less

    • Taxed at your ordinary income tax rate

    • Rates can range from 10% to 37% depending on your income

  • Long-Term Capital Gains

    • Assets held more than 1 year

    • Taxed at preferential rates, lower than ordinary income

    • Most taxpayers fall under 0%, 15%, or 20% rates

2024 Long-Term Capital Gains Tax Rates

Filing Status0% Rate15% Rate20% Rate
Single$0–$44,625$44,626–$492,300Over $492,300
Married Filing Jointly$0–$89,250$89,251–$553,850Over $553,850
Head of Household$0–$59,750$59,751–$523,050Over $523,050
Thresholds may adjust each year due to inflation.

How Is Capital Gains Tax Calculated?

  1. Determine your basis: Original purchase price + improvements + selling costs

  2. Calculate your capital gain: Sale price − adjusted basis

  3. Identify holding period: Short-term or long-term

  4. Apply the applicable tax rate

Example:

  • Bought a property for $300,000

  • Sold it for $450,000 after 3 years

  • Spent $20,000 on improvements and $15,000 on selling costs

Adjusted Basis = $300,000 + $20,000 + $15,000 = $335,000
Gain = $450,000 – $335,000 = $115,000
Tax (at 15%) = $17,250

Special Notes for Homeowners

If you sold your primary residence, you may qualify to exclude up to $250,000 (single) or $500,000 (married) in gains, as long as:

  • You owned and lived in the home for 2 of the last 5 years before the sale.

Capital Losses and Offsetting Gains

If you sell assets at a loss, you can:

  • Use losses to offset gains (short-term against short-term, etc.)

  • Deduct up to $3,000 per year of capital losses against ordinary income

  • Carry excess losses forward to future years

Tax laws are complex and your exact liability depends on multiple factors including your income, filing status, and deductions. This calculator offers a helpful estimate, but for strategic planning—especially involving real estate or large stock sales—consult with a qualified CPA to optimize your tax outcome.

Articles

  • All Posts
  • Tax Planning
  • Tax News
Load More

End of Content.

Let's get started

Contact Form Demo (#1)

Parr & Ibarra

We are moving beyond the limits of a traditional CPA firm by marketing the services of these distinct and separate firms that collectively provide services that can help our clients build and preserve wealth. We will thoroughly analyze your tax situation and provide a variety of advanced tax mitigation solutions.

Locations

Keller
9500 Ray White Rd STE 200,
Fort Worth, TX 76244

Grapevine
1701 W Northwest HWY, Ste 100
Grapevine, TX 76051

Hurst
781 Lonesome Dove Trl
Hurst, TX 76054

Other Offices

Copyright © 2025 Parr + Ibarra CPA

Privacy Policy

No mobile information will be shared with third parties/affiliates for marketing/promotional purposes. All the above categories exclude text messaging originator opt-in data and consent; this information will not be shared with any third parties. Information obtained may be shared with affiliated entities in order to provide a more robust and expanded customer experience.