How To Calculate Capital Gains Tax When Selling Real Estate

Dated: June 8 2023

Views: 859

How to calculate capital gains tax when selling real estate.

When you sell a stock, you owe taxes on the difference between what you paid for the stock and how much you got for the sale. The same holds true in home sales, but there are other considerations.

How to Calculate Gain*

Your home’s original sales price when you bought it (not what you brought to closing).

 

Additional costs you paid toward the original purchase (include transfer fees, attorney fees, and inspections but not points you paid on your mortgage).

+

Cost of improvements you’ve made (include room additions, deck, etc. Improvements do not include repairing or replacing existing items).

+

Current selling costs (include inspections, attorney fees, real estate commission, and money you spent to fix up your home to prepare it for sale).

+

Add the above items to get your adjusted cost basis:

=

      

The final sale amount for your home.

 

The adjusted cost basis figure from above.

-

Your capital gain:*

=

 

A Special Real Estate Exemption for Capital Gains

Up to $250,000 in capital gains ($500,000 for a married couple) on the home sale is exempt from taxation if you meet the following criteria: (1) You owned and lived in the home as your principal residence for two out of the last five years, and (2) you have not sold or exchanged another home during the two years preceding the sale. You may qualify for a reduced exclusion if you otherwise qualify but are short of the two-out-of-the-last-five-years requirement if you meet what the tax law calls “unforeseen circumstances,” such as job loss, divorce, or family medical emergency.

For more information like this, download my free Home Seller's Guide!

*Always consult a tax professional to confirm for your specific situation. 

Blog author image

Nathan Boji

Real Estate Leader and Broker | Helping Clients Win and Empowering Agents to Build Thriving Careers With more than 25 years in the real estate industry, I have built my career around helping buyers a....

Latest Blog Posts

Real Estate FAQ

Buying or selling a home can raise many questions. From pricing strategies and negotiation tactics to inspections, financing, timelines, and closing costs, it can feel overwhelming.To make things

Read More

Market Trends - Farmington Hills, MI - January 2026

Welcome to Farmington Hills, Michigan's dynamic real estate market snapshot for January 2026, focusing on single-family homes, Condos, Townhouses, and Apartments. If you're a seller ready to list,

Read More

Market Trends - Birmingham, MI - January 2026

In Birmingham, Michigan, January 2026 brings insights for sellers of single-family and Condo/Townhouse/Apt. homes.What’s Happening- Supply: Inventory is at 2.27 months, with a 5% increase from

Read More

Market Trends - Bloomfield Hills, MI - January 2026

Welcome to Bloomfield Hills, Michigan, January 2026. If you're considering listing your single-family home or condo/townhouse/apartment, understanding the current market trends is crucial for

Read More