Home & Leisure

/

ArcaMax

How to calculate capital gains from primary residence turned rental property

Ilyce Glink and Samuel J. Tamkin, Tribune Content Agency on

Q: We are selling our townhome this year that we bought almost 30 years ago. We lived there first for 17 years, as a primary residence and then we rented it. How do I calculate capital gain? Do we use the sales price or do we use the market price when we began renting it out?

A: Your question seems simple, but it’s actually complicated. We don’t have enough information from you to give you a detailed answer, so we’ll make a few assumptions and provide some general advice. But, you’ll definitely want to talk with your tax preparer or someone who has experience with calculating the capital gains tax owed on investment property.

Let’s start with the obvious: You’ve owned the property for a long time. Let’s assume you purchased your townhome for $100,000 and are selling it for $1,000,000. If you subtract the purchase price from the sales price, you might think you have a profit of $900,000. Like most homeowners, we’ll assume you made improvements to the home over time. In addition, we believe you paid something to buy it and will incur expenses when you sell.

Some of the improvements reduce your profit, as do the costs of purchase and sale. Some of these expenses include commissions paid to real estate agents, fees paid to settlement agents, transfer taxes, recording fees, and many other items. If you put in a new kitchen for $50,000, you should be able to exclude that amount from the profits from the sale of the home.

The first step in calculating your cost basis is getting your paperwork together. Think about any material changes you made to the home (additions, roof replacement, plumbing or electrical upgrades, etc.) and add up those costs. For more detailed information on what expenses are allowed, see IRS Publication 523 on the IRS website.

If you never rented your townhome and were just selling it, you could add up all of these material costs, plus the cost of buying and selling, and subtract it from the sales price. This would give you your profit.

But renting out your townhome will impact your profit. While you rented out the home, you should have reported the rental income. In addition, you would have been able to deduct the interest you paid on your mortgage (if you still had it) and myriad other expenses. In addition, you should have received a tax break — the ability to depreciate the value of the home over time.

Now that you’re selling,, the federal government will tax you on the amount of depreciation you took over those years that you rented out the property and owned it as an investment property.

Back to our example. Let’s say you spent $100,000 improving the property while it was rented but took $50,000 in depreciation. And, finally, we’ll assume you had $100,000 in expenses from the purchase and sale of the home.

 

Your numbers would now look as follows: The purchase price was $100,000; the sales price was $1,000,000, resulting in a $900,000 profit. We would reduce that profit by the $100,000 cost of purchase and sale plus another $100,000 from the improvements you’d put into the home. That means your true profit is $700,000, which is the amount on which you’ll pay long-term capital gains tax. Unless there are extenuating circumstances, your tax rate would be 20%.

But wait, there’s more! In addition, you’d have to pay a 25% tax on $50,000 in depreciation that you took while you owned the property. This is known as “recapture.” The federal government also charges an additional tax of 3.8% tax on capital gains from real estate. This is the net investment income tax.

If you only rented out the property a short time, you might be able to take advantage of another tax break. Homeowners who have lived in their home for two out of the last five years would get to exclude from capital gains the first $250,000 of profits if you are single or up to $500,000 in profits if you are married. You wouldn’t qualify for this exclusion, as you stopped living in the home as your primary residence many years ago.

We’ve glossed over the numbers to give you a general idea of what you might owe. But please consult with a tax professional to go through the details of your ownership and figure out exactly what you will owe the federal government and your state, if your state has an income tax.

========

(Ilyce Glink is the author of “100 Questions Every First-Time Home Buyer Should Ask” (4th Edition). She is also the CEO of Best Money Moves, a financial wellness technology company. Samuel J. Tamkin is a Chicago-based real estate attorney. Contact Ilyce and Sam through her website, ThinkGlink.com.)

©2025 Ilyce R. Glink and Samuel J. Tamkin. Distributed by Tribune Content Agency, LLC.


 

Comments

blog comments powered by Disqus

 

Related Channels

America's Test Kitchen

America's Test Kitchen

By America's Test Kitchen
ArcaMax Chef

ArcaMax Chef

By ArcaMax Chef
Ask The Builder

Ask The Builder

By Tim Carter
Ask The Vet

Ask The Vet

By Dr. Lee Pickett
Celebrity Travel

Celebrity Travel

By Jae-Ha Kim
Dear Monty

Dear Monty

By Richard Montgomery
Do It Yourself Or Not

Do It Yourself Or Not

By Gene and Katie Hamilton
Eric's Autos

Eric's Autos

By Eric Peters
Everyday Cheapskate

Everyday Cheapskate

By Mary Hunt
Focus on the Family

Focus on the Family

By Jim Daly
Georgia Garvey

Georgia Garvey

By Georgia Garvey
Jeff Rugg

Jeff Rugg

By Jeff Rugg
Lenore Skenazy

Lenore Skenazy

By Lenore Skenazy
Living Space

Living Space

By Kathryn Weber
My Pet World

My Pet World

By Cathy M. Rosenthal
Problem Solved

Problem Solved

By Christopher Elliott
Recipes by Zola

Recipes by Zola

By Zola Gorgon
Rick Steves' Europe

Rick Steves' Europe

By Rick Steves' Europe
Taking The Kids

Taking The Kids

By Eileen Ogintz
Travel & Adventure

Travel & Adventure

By Various authors
Travel Troubleshooter

Travel Troubleshooter

By Christopher Elliott

Comics

Christopher Weyant 1 and Done Adam Zyglis Eric Allie Hagar the Horrible Daddy Daze