Capital gains calculator rental property — what numbers actually go in?

Sold a rental house I'd owned for 11 years. Trying to use a capital gains calculator for rental property and I keep getting different numbers depending on which site I use. My situation: bought for $210k, took depreciation every year, sold this spring. I know the depreciation recapture piece is separate from the regular long-term gain but I can't figure out what "adjusted basis" actually means in practice — do I subtract all the accumulated depreciation from my purchase price? And do closing costs from when I bought go into basis or not? I've read Publication 551 but I'm still not sure I'm building the starting number right before I even get to the gain calculation. Using TurboTax and it's asking for my "cost basis" and I don't know if that's before or after depreciation. Any help appreciated.

36 comments

Adjusted basis for a rental is your original purchase price, plus buying closing costs (title fees, recording fees, etc.), plus any capital improvements you made, minus all the depreciation you were allowed to take — whether you actually took it or not. That last part is the one that gets people. Even if you skipped depreciation some years, the IRS still reduces your basis by the amount you were "allowed" to deduct.

Maya K.

Author

So the "allowed or allowable" rule means I can't just use what I actually claimed on Schedule E? I definitely under-depreciated one year because I didn't know what I was doing.

Correct. If you under-depreciated, your basis is still reduced by what you should have taken. You'd want to file Form 3115 to catch up the missed depreciation before or when you sell. Worth talking to a CPA about that piece specifically.

The two-part calculation tripped me up too. Part 1 is the depreciation piece — for a residential rental depreciated straight-line, the gain equal to the accumulated depreciation is unrecaptured section 1250 gain, taxed at a maximum 25% rate rather than as ordinary income. Part 2 is the actual long-term capital gain on whatever's left over the original basis. They hit your return in different places and at different rates, which is why online calculators often show you a single blended number that doesn't match your actual tax software.

Maya K.

Author

That explains why every calculator I tried gave a different answer. They're probably handling the recapture piece differently.

I sold a rental last year and had the same confusion. I uploaded my closing statements and depreciation schedule to taxr.ai and it walked through how accumulated depreciation reduces my adjusted basis, then separated out the recapture amount from the long-term gain. Really clarified which number feeds into Form 8949 versus what goes on Schedule D as the net. Saved me from using the wrong basis figure entirely.

Maya K.

Author

Did it handle the closing costs from both the purchase and the sale side? I have two sets of settlement statements and wasn't sure which costs add to basis vs. reduce proceeds.

Yes — purchase closing costs that are capitalized (title insurance, recording fees, legal fees to close) go into basis. Sale-side costs like agent commissions and transfer taxes reduce your amount realized. It flagged which line items on each statement belonged where.

Don't forget improvements. A new roof, HVAC replacement, addition — those add to basis. Routine repairs don't. If you've got 11 years of records, pulling together the improvement list before you calculate is worth the time. It directly reduces your taxable gain.

Repairs vs. improvements is genuinely confusing. Replacing a broken window = repair. Replacing all windows in the house = improvement. The IRS tangible property regulations have a whole framework for this.

Maya K.

Author

I did a full kitchen remodel in year 4. That definitely counts as an improvement, right? Not a repair.

Kitchen remodel is almost certainly an improvement and adds to basis. Keep those receipts and the contractor invoices. You'll want to show the amount and when you paid it.

One thing people miss: state capital gains tax on top of federal. Depending on your state it can be significant, and most of the basic online calculators only show you the federal side. Your actual tax bill could be meaningfully higher.

This. I ran a calculator for a property sale and the state piece added almost as much as the federal for my situation. Check your state's rules separately.

For the reporting side: a rental you've been depreciating doesn't go in Part II of Form 8949 with box D, E, or F — the sale (long-term, since you held more than one year) is reported on Form 4797, and the net section 1231 gain flows to Schedule D. Your proceeds from the closing disclosure go in as the gross sales price. Your adjusted basis — after subtracting total allowed depreciation — is what's subtracted from it. The depreciation recapture doesn't live on 8949 either; that is figured on Form 4797 for rental property.

Maya K.

Author

Wait, Form 4797 — I didn't even know that form existed. So the rental sale doesn't just go straight to 8949?

For a rental that's been depreciating, the sale typically goes on Form 4797 first. The Section 1250 recapture is calculated there. Any remaining gain can flow from 4797 to Schedule D. TurboTax should handle this routing if you tell it the property was used as a rental and enter the depreciation taken.

My rental sale last year had depreciation from two different components — the structure and a separate appliance schedule with shorter lives. I fed both depreciation schedules into Taxr and it totaled the allowed depreciation across both assets, then showed me the complete adjusted basis figure and which portion of gain was unrecaptured 1250 versus regular long-term. Made Form 4797 Part III much less intimidating to review.

Maya K.

Author

I think I only have one depreciation schedule but I'm not 100% sure. I should check my old returns to see if any improvements were separately depreciated rather than added to the building.

Exactly right. Capital improvements put in service after the original purchase date are often depreciated separately with their own placed-in-service date. Check the asset detail on your old Schedule E or any depreciation worksheets your preparer provided.

Holding period: for securities the IRS counts trade date to trade date, but for real property it's calendar-based. You held over a year so you're long-term either way, but just making sure you're not using a stock-focused calculator for property.

The "allowed or allowable" depreciation rule is brutal if you've never heard of it before. The IRS doesn't care that you didn't take the deduction — your basis is reduced as if you did. If you have missed years, Form 3115 (Change in Accounting Method) lets you catch up in a lump and avoid amending multiple prior returns. A CPA or enrolled agent who handles real estate is worth it here because the Form 3115 filing has specific requirements.

Maya K.

Author

That's the part I'm most worried about. I'm pretty sure I took depreciation every year but I want to verify my total matches what the IRS would compute.

Pull every Schedule E you filed for this property and add up the depreciation claimed each year. Compare that to what straight-line depreciation on the building value over the recovery period should have been. If the numbers match, you're fine. If they don't, that's when you need Form 3115.

Publication 551 on irs.gov covers basis adjustments including improvements and depreciation deductions in detail if you want the primary source. Publication 550 has the holding period rules. For rental property specifically the interaction between Form 4797 and Schedule D is explained in the Form 4797 instructions.

The Form 4797 instructions are genuinely readable. They walk through which part of the form applies to which kind of property and disposition.

My situation was similar — 9 year rental, sold last year. The number that surprised me was how much of the gain was recapture versus true capital gain. After 9 years of depreciation on a house, the recapture amount was larger than I'd expected and it's taxed as unrecaptured section 1250 gain at up to 25%, not at the lower long-term rate. Online calculators that show you one number with one rate are misleading.

Maya K.

Author

This is what I was afraid of. I mentally modeled this as a simple long-term gain but the recapture piece is going to hurt.

It's not a reason to panic, just a reason to know the number before you file so you're not surprised. Run the 4797 calculation first and you'll know what your actual tax on each piece is.

If you lived in the property as your main home for at least 24 months of the 5 years before the sale, part of the gain might qualify for the home sale exclusion. But the exclusion can't apply to the depreciation recapture portion — that is always taxable. For a pure rental where you never lived there it doesn't apply, but worth flagging in case your situation is mixed.

Closing costs on the sale side: commissions, transfer taxes, title fees you paid as the seller, legal fees to close — these all reduce your amount realized (proceeds). They don't go into basis. I see people add them to basis by mistake all the time, which overstates the basis and understates the gain.

Correct. Amount realized minus adjusted basis equals gain. Sale closing costs reduce amount realized. Purchase closing costs increase adjusted basis. Two different sides of the equation.

The Schedule D line 11 picks up net from Form 4797 for section 1231 gains. Your software should handle the routing but it's worth opening Schedule D after you're done and tracing where each number came from. Catching a routing error before filing is much easier than explaining it after.

Maya K.

Author

I'll do that. I've been trusting TurboTax to route correctly but I haven't actually opened the forms view to verify the flow.

Worth saying plainly: an 11-year rental sale with depreciation recapture, possible missed depreciation, and two sets of closing statements is not a simple return. If the numbers are significant, a CPA who handles real estate would be money well spent just to verify your adjusted basis and the Form 4797 calculation before you file.

Maya K.

Author

Seriously considering it after this thread. At minimum I'm going to build the basis calculation myself line by line and have someone review the number before I enter it anywhere.