Understanding Capital Gains in Real Estate

June 17, 2025

Share this article

Understanding Capital Gains in Real Estate

When you sell a stock, you owe taxes on your gain the difference between what you paid for the stock and what you sold it for. The same is true with selling a home (or a second home), but there are some special considerations.

How to Calculate Gain


In real estate, capital gains are based not on what you paid for the home, but on its adjusted cost basis. To calculate this:
1. Take the purchase price of the home: This is the sale price, not the amount of money you actually contributed at closing.
2. Add adjustments:
  • Cost of the purchase, including transfer fees, attorney fees, inspections, but not points you paid on your mortgage.
  • Cost of sale, including inspections, attorney's fee, real estate commission, and money you spent to fix up your home just prior to sale.
  • Cost of improvements, including room additions, deck, etc. Note here that improvements do not include repairing or replacing something already there, such as putting on a new roof or buying a new furnace.

3. The total of this is the adjusted cost basis of your home.  4. Subtract this adjusted cost basis from the amount you sell your home for. This is your capital gain.

A Special Real Estate Exemption for Capital Gains


Since 1997, up to $250,000 in capital gains ($500,000 for a married couple) on the sale of a home is exempt from taxation if you meet the following criteria:
  • You have lived in the home as your principal residence for two out of the last five years.
  • You have not sold or exchanged another home during the two years preceding the sale.

Also note that as of 2003, you also may qualify for this exemption if you meet what the IRS calls "unforeseen circumstances," such as job loss, divorce, or family medical emergency.

Recent Posts

June 3, 2026
As income increases, financial organization becomes more important, and the banking tools you use should be empowering your business, not subtracting from it.
June 1, 2026
Luminate Bank® is proud to announce its inclusion in Scotsman Guide’s highly acclaimed 2026 Top Mortgage Lenders rankings, being named as a Top Overall Lender.
May 28, 2026
Your first home doesn’t have to check every box for the next 30 years. It just needs to support you while still helping you build momentum for what comes next.
May 27, 2026
Once your child turns 18, a lot changes. Insurance coverage, healthcare access, and liability can suddenly become more complicated than many families expect.
May 20, 2026
Luminate Bank® is a proud recipient of two prestigious Freddie Mac Home Possible RISE Awards®, Home Possible Greatest Volume and Home Possible Fastest Growth.
May 18, 2026
Whether you are building a side hustle or navigating self-employment for the first time, understanding your options can help you make decisions with greater clarity.
May 14, 2026
Luminate Bank® has announced today that it is a 2026 Top Workplaces Culture Excellence winner in eight categories. Workplace results come from employee surveys.
May 14, 2026
Refinancing is rarely about chasing the lowest rate available. Focus on your broader goals and financial picture to make the best decision for your situation.
May 5, 2026
If you’re thinking about moving up to your next home, you’re not alone and you’re not starting from scratch. Buying and selling at the same time can be hard.
April 29, 2026
If you’ve been thinking about renting vs. buying, you’ve probably noticed something: the conversation is everywhere—and it may feel overwhelming. Here's some advice.
Show More