Step-Up in Basis Calculator: Your Gain or Loss When You Sell Inherited Property
By Forrest Baumhover, CFP®, EA · Last verified November 22, 2026 · Updated November 27, 2026
When you inherit property, your basis (the figure you measure your gain or loss from) is generally its fair market value (what it would have sold for) on the date of death (IRC §1014(a)). If you sell it, your gain or loss is the difference between the amount you realize (generally the sale price) and that basis (IRC §1001(a)). So for property that gets this basis, you don't owe tax on growth that built up during the owner's life. Income the owner had a right to but had not received (income in respect of a decedent), and some property that you or your spouse gave the owner within a year before death, follow other rules (IRC §1014(c), (e)).
Can you deduct a loss on inherited property?
Section 165(c) of the Internal Revenue Code lets an individual deduct a loss only if it comes from a trade or business, from a transaction entered into for profit (one you take on to make money, such as an investment), or from certain casualties (such as a fire or storm) or thefts. If you held the inherited property for personal use, a loss when you sell it doesn't fit any of those three.
IRS Publication 559 shows how intent can decide this when an estate sells the home of the person who died. If the personal representative (who handles the estate) means to get its value by selling it, the estate holds it as an investment, and a loss may be deductible. If instead the representative meant, for example, to let a beneficiary live there rent free, a loss isn't deductible unless the home first became business or investment property. Publication 559 states that rule for estates. We found no rule there or in Publication 551 for an heir who sells a home the heir never used, so ask a tax professional about yours.
A deductible capital loss offsets capital gains plus up to $3,000 of other income a year, or $1,500 if married filing separately (IRC §1211(b)). Any excess carries to the next year (IRC §1212(b)).
What "buy, borrow, die" means
"Buy, borrow, die" describes holding appreciated assets until death instead of selling them. Because heirs generally take a basis equal to fair market value at death (IRC §1014(a)), an heir who sells at that value owes no tax on the gain that built up during the owner's life. This page doesn't cover the borrowing part of the strategy or estate tax.
What this calculator doesn't cover
- Property the person who died gave away or sold before death.
- Community property and jointly held property.
- Estate tax and the executor's alternate valuation decision itself.
- Improvements or depreciation after you inherit.
- Inherited IRAs, pensions and annuities. Also income in respect of a decedent, such as pay the owner earned but had not received, which gets no step-up (IRC §1014(c)). IRS Publication 559 treats the taxable part of an inherited traditional IRA as income in respect of a decedent.
- Property you or your spouse gave the owner within 1 year before death (IRC §1014(e)).
- Selling costs, such as a real estate commission.
More from the Desk
More practitioner writing from Forrest Baumhover, CFP®, EA at The Federal Tax Desk on Substack.
Sources
- IRC §1014(a), (c), (e) and (f) — basis of property acquired from a decedent (Cornell LII, opened Nov 22, 2026)
- IRC §1001(a) — figuring gain or loss on a sale (Cornell LII, opened Nov 22, 2026)
- IRC §1223(9) — holding period of inherited property (Cornell LII, opened Nov 22, 2026)
- IRC §1015(a) — basis of property acquired by gift (Cornell LII, opened Nov 22, 2026)
- IRC §2032 — alternate valuation (Cornell LII, opened Nov 22, 2026)
- IRC §165(c) — which losses an individual can deduct (Cornell LII, opened Nov 26, 2026)
- IRC §1211(b) — the yearly limit on capital losses (Cornell LII, opened Nov 26, 2026)
- IRC §1212(b) — carrying a capital loss to the next year (Cornell LII, opened Nov 26, 2026)
- IRS Publication 559, Survivors, Executors, and Administrators — sale of the decedent’s residence and inherited IRAs (opened Nov 26, 2026)
- IRS Publication 551 (12/2025), Basis of Assets — "Inherited Property" (opened Nov 22, 2026)
Read The Federal Tax Desk: Deep Dives (paid) and Cheat Sheets, with primary-source citations →