Real Estate Capital Gains Tax Calculator

Real Estate Capital Gains Tax Calculator

Key Takeaways:

  • The real estate capital gains tax you may owe is generally based on your selling price minus selling expenses and your adjusted cost basis, which can include the purchase price, eligible closing costs, and qualifying capital improvements.
  • Homeowners who meet the IRS ownership and residency requirements may exclude up to $250,000 in gains when filing individually or $500,000 when married filing jointly on the sale of a primary residence.
  • To qualify for the full primary residence exclusion, you generally must have owned and lived in the home for at least two of the five years before the sale, although certain moves, health issues, and unforeseen circumstances may allow a partial exclusion.
  • Major improvements such as a new roof, kitchen remodel, HVAC replacement, room addition, or window replacement may increase your cost basis and reduce taxable gains, while routine repairs and maintenance generally do not.
  • Florida does not impose a separate state capital gains tax, but sellers may still owe federal capital gains tax, net investment income tax, or depreciation recapture, particularly when selling rental or investment property.
Table of Contents

If you’re thinking about selling your home, one of the biggest financial questions you may have is whether you will owe capital gains tax on the sale. The answer depends on several factors, including how long you’ve owned the property, whether it’s your primary residence, how much profit you make from the sale, and whether you qualify for an exclusion.

Our free online capital gains tax calculator can help you estimate your potential tax liability. However, it’s also important to understand the rules behind the numbers. When you have a better idea of how capital gains taxes work when selling a home, the exclusions available to many homeowners, and strategies that may help to reduce your tax burden, you can make a more informed decision.

At Eaton Realty, we aren’t tax professionals, but we are experts in real estate. We help clients throughout Hillsborough County buy and sell homes. If you’re in the market, reach out today to talk to an experienced Tampa Realtor about buying or selling a house.

Capital Gains Estimator

Estimate the federal and state tax on the sale of a home or investment property, using 2026 IRS figures.

The property



Commission, title, transfer taxes, concessions


Additions, new roof, remodels (not repairs)


Rentals and home-office deductions only. Recaptured at 25%.
How it was held

Your tax picture


Income before this sale (it determines your bracket)


Florida has no state income tax. Enter 0 if that applies.

Your estimate

Estimated tax owed

$0

Gross gain—
Section 121 exclusion—
Taxable gain—
Federal capital gains—
Depreciation recapture—
Net investment income tax—
State tax—
Net proceeds after tax—
This is an estimate, not tax advice. It uses 2026 federal rates and simplifies several rules, including partial Section 121 exclusions, 1031 exchanges, installment sales, inherited step-up basis, and state-specific treatment. Confirm your numbers with a CPA before making a decision based on them.

What Is Capital Gains Tax?

Capital gains tax is a federal tax on the profit that you earn when you sell an asset for more than you paid for it. When selling real estate, your capital gain is generally calculated as selling price minus the adjusted cost basis.

Your adjusted cost basis represents the total financial investment in your property for tax purposes. It typically includes:

  • Your original purchase price
  • Closing costs from the purchase
  • Certain major home improvements
  • Some selling expenses

Many homeowners mistakenly assume that the gain is equal to the difference between what they paid for the home and what they sold it for. In reality, your adjusted basis may significantly reduce the amount of taxable gain.

For homeowners who have lived in their property for many years, the appreciation in the value of the house can be substantial. This can mean that they have significant capital gains when selling their house. Fortunately, many sellers qualify for generous IRS exclusions.

Understanding the Primary Residence Exclusion

One of the biggest tax benefits available to many homeowners is known as the Section 121/primary residence exclusion.

Eligible homeowners may exclude:

Filing Status Maximum Capital Gain Exclusion
Single $250,000
Married Filing Jointly $500,000

For many homeowners, this means that they owe no federal capital gains tax at all after selling their primary residence. However, qualifying for this exclusion requires meeting specific IRS requirements.

The Two-Out-of-Five-Year Rule

To claim the exclusion, you generally must satisfy both the ownership and use tests.

  1. Ownership Test: You must have owned the home for at least two years during the five-year period before the sale.
  2. Use Test: You also must have lived in the home as your principal residence for at least two years during the same five-year period. The two years do not have to be consecutive. For example, consider a situation where you lived in the home for three years, and then rented it out for one year. If you then sold the house, you would probably still satisfy the use requirement.

You can use the primary residence exclusion more than once, but usually not within two years. The IRS typically allows homeowners to claim the capital gains exclusion only once every two years. If you’ve recently sold another primary residence using the exclusion, you may not qualify again immediately.

If you haven’t lived in the home for two years, you may still qualify for a partial exclusion. Certain life events can allow homeowners to receive a prorated exclusion, including:

  • Employment-related moves
  • Certain health issues
  • Unforeseen circumstances
  • Some military-related relocations

The amount excluded depends on how long you owned and occupied the property before selling.

Long-Term vs. Short-Term Capital Gains

How long you’ve owned your property will also affect how your capital gains are taxed:

  • Short-Term Capital Gains: If you owned the property for one year or less, profits are generally taxed as ordinary income. These rates are often significantly higher.
  • Long-Term Capital Gains: If you owned the property for more than one year, gains generally qualify for long-term capital gains tax treatment. Long-term rates are typically much lower than ordinary income tax rates, making holding periods an important consideration when planning a sale.

Keep in mind that if your capital gains fall within the IRS exclusion (i.e., you have $250,000 in capital gains from the sale of your primary residence as a single homeowner), then you won’t pay taxes on this amount. The short- or long-term tax rate only applies to profits that don’t fall within the IRS exclusion.

How Home Improvements Affect Capital Gains

Certain types of home improvements can increase your home’s adjusted cost basis. This reduces taxable gains.

Examples of home improvements that may increase your home’s adjusted cost basis include:

  • Kitchen remodels
  • Bathroom renovations
  • New roofs
  • Room additions
  • HVAC replacement
  • Window replacement
  • Permanent landscaping
  • Solar panel installation

Routine maintenance generally does not increase basis. This includes things like painting, lawn care, minor repairs, and cleaning.

Keeping receipts for qualifying improvements can potentially save thousands of dollars in taxes down the road when you sell your house. For example, if you bought your Tampa home for $300,000 and put $200,000 in major renovations into the house, then your home’s adjusted cost basis would be $500,000. If you sell your house for $1,000,000 as a married couple, then you will likely qualify for the IRS exclusion and not be responsible for capital gains taxes.

What About Investment Properties?

The IRS primary residence exclusion does not apply to rental properties, vacation homes, second homes, or investment properties. Instead, gains realized when selling this type of property will generally be taxable unless another tax strategy applies.


For example, many real estate investors consider a 1031 exchange. This allows qualifying investment property owners to defer capital gains taxes by purchasing another investment property that meets IRS requirements. There are strict rules that apply to 1031 exchanges, so it is best to talk to a tax professional before attempting this strategy.

Does Florida Have a State Capital Gains Tax?

One of the advantages of living in Florida is that the state does not impose a separate capital gains tax. Florida also has no state income tax.


However, Florida homeowners may still owe:

  • Federal capital gains tax
  • Net investment income tax (for certain higher-income taxpayers)
  • Depreciation recapture (for investment properties)

It’s important to understand your complete tax picture before selling a property. Working with financial professionals in addition to real estate experts is a good idea if you want to plan your tax strategy.

Tax Planning Strategies Before Selling a Property in West Central Florida

Proper planning before listing your home may substantially reduce your tax liability. This may include:

  1. Waiting Until You Meet the Two-Year Rule: If you’re only months away from satisfying the ownership or occupancy requirements, delaying the sale could allow you to claim the full exclusion.
  2. Document Capital Improvements: Gather receipts, permits, invoices, and contractor documentation before listing your property. These records help to establish your adjusted basis.
  3. Time Your Sale Carefully: Selling in a different tax year may affect your overall income and potentially lower your tax rate.
  4. Consider Your Filing Status: Marriage, divorce, or the death of a spouse can affect available exclusions. Understanding these rules before selling can make a significant financial difference.
  5. Consult Qualified Professionals: Real estate agents, tax professionals, and financial advisors each play different roles. An experienced Tampa Realtor can help maximize your home’s sale price while coordinating with your tax advisor to ensure that there are no surprises after closing.

Maximize Your Hillsborough County Home’s Resale Value With Eaton Realty

At Eaton Realty, we believe that informed sellers make better decisions. Understanding your potential tax consequences is an important part of preparing to sell your home. Our experienced Tampa real estate professionals help homeowners evaluate market conditions, determine an effective pricing strategy, coordinate inspections and negotiations, and navigate every step of the selling process.

Whether you’re selling your primary residence, downsizing, relocating, or preparing to invest in your next property, our team is here to provide knowledgeable guidance throughout the process. While we do not provide tax advice, we work closely with clients and their professional advisors to help ensure a smooth transaction from listing to closing. To learn more about our real estate services, fill out our online contact form or give us a call at 813-672-8022 to talk to a member of our team.

Frequently Asked Questions About Real Estate Capital Gains

Do Closing Costs Reduce Capital Gains?

Many selling expenses, including certain commissions, title fees, legal fees, and other eligible closing costs, may reduce your taxable gain by lowering your amount realized. A tax professional can determine which expenses qualify.

Should I Wait to Sell My Home If Its Value Has Increased Significantly?

Not necessarily. While waiting may help you satisfy ownership or residency requirements in some situations, market conditions, interest rates, and your personal financial goals should also be considered. Speaking with both a real estate professional and a tax advisor can help you determine the best time to sell.

If I Inherited My Home, How Are Capital Gains Calculated?

Inherited property generally receives a “stepped-up basis,” meaning the property’s tax basis is typically adjusted to its fair market value on the date of the previous owner’s death. This often reduces capital gains if the property is sold relatively soon after inheritance.

Does Refinancing Affect My Capital Gains Tax?

No. Refinancing changes your mortgage, not your ownership basis in the property. It generally does not affect how capital gains are calculated when you eventually sell your home.

The information disclosed above does not constitute legal or financial advice. Use this information at your own discretion and consult a legal or financial professional for further guidance.

Resources:

  • https://www.irs.gov/taxtopics/tc409
  • https://www.irs.gov/publications/p551
Rebecca Kelly

Rebecca Kelly

Director of Sales | REALTOR | MRP, GRI, ABR

Rebecca is a Realtor and the Director of Sales at Eaton Realty. She has been helping Hillsborough County residents buy and sell homes for over a decade. She has earned the Military Relocation Professional, Graduate REALTOR Institute, and Accredited Buyer's Representative designations from the National Association of REALTORS. Rebecca covers a variety of topics related to buying and selling a home on the Eaton blog. You can find her on LinkedIn.

Rebecca is a Realtor and the Director of Sales at Eaton Realty. She has been helping Hillsborough County residents buy and sell homes for over a decade. She has earned the Military Relocation Professional, Graduate REALTOR Institute, and Accredited Buyer's Representative designations from the National Association of REALTORS. Rebecca covers a variety of topics related to buying and selling a home on the Eaton blog. You can find her on LinkedIn.

Services We Offer

  • Home Buying
  • Home Renting
  • Home Selling
  • Property Management

CATEGORY

  • Buying
  • Community News
  • Home Improvement
  • Investing
  • Life Hacks
  • Property Management
  • Renting
  • Selling