Step-Up in Basis Calculator
Should you gift appreciated stock or a home now, or leave it in your estate? Compare the capital gains tax your heirs pay with a step-up in basis, a lifetime gift, or selling now — 2026 federal rules.
Capital gains tax the step-up saves
$136,293
Leave it at death and the heir can sell for $958,623 with no tax. Give it away during life and the heir owes $136,293 on the same sale.
Heir keeps (inherited)
$958,623
Heir keeps (gifted)
$822,330
Heir keeps (sold now)
$832,804
Gain erased at death
$908,623
Each bar is a year of the asset's value: dark is the original cost basis, amber is the gain a sale would tax. At death, the heir's bar appears at the end of each lane — the gifted heir still carries the whole gain, while the inherited one turns teal: its basis stepped up to market value. Drag to orbit.
- Tax year 2026, federal only. One flat capital gains rate (yours to set). State taxes are not modeled.
- Inherited: basis resets to market value at death (IRC §1014). The heir sells right away, so no gain is taxed.
- Gifted during life: the heir takes your original basis (IRC §1015) and sells at the same date, paying tax on the whole lifetime gain.
- Sold now: you pay tax on today's gain, reinvest the rest at the same growth rate, and the reinvestment is inherited with its own step-up.
- Estate tax is ignored — it only applies above $15 million per person ($30 million for a married couple) in 2026. Retirement accounts (401(k)s, IRAs) never get a step-up.
- Educational only — not tax or legal advice.
Why the timing of a transfer matters so much
The same asset can reach an heir three ways, and the capital gains tax depends entirely on which one. In the default example, a $400,000 asset bought for $50,000 grows to about $959,000 over 15 years. Left in the estate, the heir can sell it for that amount and owe nothing: about $909,000 of gain is erased. Given away today, the heir keeps the $50,000 basis and owes about $136,000 at a 15% rate when they sell. Selling now costs $52,500 in tax today and leaves less money compounding.
This is the rule at the center of the "buy, borrow, die" strategy the very wealthy use — but it applies to every estate, including a family home or a single brokerage account.
Worked example: $600,000 of stock, five years before an estate
A parent in their 80s owns shares worth $600,000 that cost $100,000. Assume they grow 6% a year and the parent dies in five years, when the shares are worth about $802,935. Here is what each route costs the family at a 15% capital gains rate and at the top 23.8% rate (20% plus the 3.8% net investment income tax):
| Route | Tax at 15% | Heir keeps | Tax at 23.8% | Heir keeps |
|---|---|---|---|---|
| Inherit at death | $0 | $802,935 | $0 | $802,935 |
| Gift now | $105,440 | $697,495 | $167,299 | $635,637 |
| Sell now, reinvest | $75,000 | $702,568 | $119,000 | $643,687 |
The step-up erases $702,935 of gain. Giving the shares away early is the most expensive choice: the heir inherits the $100,000 basis and pays tax on the whole lifetime gain, plus the growth that happened after the gift. At the top rate, holding instead of gifting is worth $167,299 to the family, more than a fifth of the asset.
The gap is this large because the asset is mostly gain. The less of its value is gain, the less the timing matters.
Rules of thumb
- Keep your biggest winners: late in life, spend from cash, low-gain assets or retirement accounts first, and hold the assets with the largest gains.
- Give cash, not low-basis stock, to family: a gift of appreciated shares hands the recipient your tax bill.
- Give low-basis stock to charity instead: a charity pays no capital gains tax, and you can deduct the full market value.
FAQ
Frequently asked questions
- What is a step-up in basis?
- When someone dies, the cost basis of the assets they leave behind resets to market value on the date of death (IRC §1014). If a parent bought stock for $50,000 and it is worth $950,000 when they die, the heir’s basis is $950,000. Selling it the next day triggers no capital gains tax.
- Is it better to gift appreciated stock or leave it in my will?
- For capital gains tax, leaving it is usually better. Gifts made during life carry over the giver’s original basis (IRC §1015), so the recipient owes tax on the whole lifetime gain when they sell. Inherited assets get the step-up instead. Gifting can still make sense to move future growth out of a taxable estate, or to give low-gain assets or cash.
- Do retirement accounts get a step-up in basis?
- No. 401(k)s, traditional IRAs and other pre-tax accounts have no basis to step up — heirs pay ordinary income tax on withdrawals. Roth accounts are already tax-free. The step-up applies to taxable assets: brokerage accounts, real estate, a business, collectibles.
- Does a house get a step-up in basis?
- Yes. An inherited home’s basis resets to its value at death. For a married couple in a community-property state, both halves of jointly owned property can step up at the first spouse’s death; in other states, typically only the deceased spouse’s half does.
Sources
Where these numbers come from
How this calculator is built, tested and kept current: our methodology.