Cost Basis Tracker
Track every improvement; pay less tax at sale.
Enter what you paid for your home, the major improvements you’ve made, and what you might sell for. We’ll estimate your profit, how much of it is tax-free, and how much tax your improvement records could save you.
Results are estimates based on your inputs and the assumptions on this page, not quotes or advice. A lender, servicer, or tax advisor will give you different numbers. Disclaimer
Something look off? Report it
Terms used on this page
Whether you owe tax on a home sale comes down to the IRS terms below.
- Cost basis
- What the IRS counts as your investment in the home: the purchase price, plus certain closing costs, plus capital improvements. A higher basis means a smaller taxable gain. More
- Adjusted basis
- Your basis after adding improvements (and, for a rental, subtracting depreciation). It’s the number your sale price is measured against.
- Capital improvement
- Work that betters the home, adapts it to a new use, or restores a major part of it, like a remodel or a new roof. Repairs and routine upkeep don’t count.
- Gain (profit)
- Sale price minus selling costs minus your adjusted basis. Only gain above the home-sale exclusion is taxed.
- Section 121 exclusion
- Lets you skip tax on up to $250,000 of gain ($500,000 married filing jointly) when you sell your main home, if you owned and lived in it for at least 2 of the 5 years before the sale. More
- Long-term capital gains rate
- The lower federal rate (0%, 15%, or 20%, depending on income) on profit from something you owned more than a year.
- NIIT (net investment income tax)
- An extra 3.8% federal tax on investment income, including taxable home-sale gain, when modified AGI is above $200,000 single or $250,000 married filing jointly. More
- Depreciation recapture
- If the home was ever a rental, the depreciation you took (or could have taken) is taxed at sale at up to 25% federal, and the home-sale exclusion doesn’t cover it.
Keep learning
Next steps
- Capital gains calculator: the full tax picture on a home sale
- Seller net sheet: cash you’d walk away with after a sale
- Sell vs rent out: whether to sell now or keep it as a rental
- Energy credits: credits that also change your basis