GrowMyNest

Stepped-Up Basis Calculator

Buy something for $100,000, watch it grow to $500,000, and selling it comes with a tax bill on the $400,000 gain. Leave the same asset to your kids instead, and that gain is never taxed at all — their basis "steps up" to what it was worth on the day you died. Run your own asset three ways: sell it, gift it, or pass it on.

The asset

It has to be a taxable asset — retirement accounts don’t get a step-up (see the questions below).
What was paid for it, plus improvements or reinvested dividends.
California taxes gains as regular income — 9.3% is a common bracket. Enter 0 if your state has no income tax.
Leave at 0 to compare at today’s value.
You sell it
—
—
You gift it — heir sells
—
—
Heirs inherit at death
—
—
—

What a stepped-up basis is

When you sell a stock, a fund, or a piece of real estate, the IRS taxes the difference between what you get and your basis — usually what you paid, plus improvements and reinvested dividends. Decades of growth can turn that difference into a very large number, and the tax bill grows with it.

Inheriting works differently. Under Internal Revenue Code §1014, when an asset passes at death, the heir’s basis is “stepped up” to the asset’s market value on the date of death. The entire built-in gain — everything that accumulated during the owner’s lifetime — is simply never taxed. The heir can sell the next day at the date-of-death value and owe $0 in capital gains tax.

Take the example in this calculator: stock bought for $100,000, now worth $500,000. Sold during life, the $400,000 gain is taxed. Left to a child, the child’s basis becomes $500,000, and the $400,000 gain disappears from the tax system entirely. The same rule covers a house or a rental property — where it also wipes out the depreciation recapture that a sale during life would have triggered.

Why gifting the same asset costs more

Giving the asset away while you’re alive uses the opposite rule. Under §1015, a gift carries over your basis: the child who receives $500,000 of stock also receives your $100,000 basis. When they sell, they owe tax on the same $400,000 gain you would have owed it on. The gift moved the asset — it didn’t move the tax bill.

That doesn’t make gifting wrong. Gifts can make sense to help family now, to move a fast-growing asset out of a large estate, or for property you expect to fall in value. But for a highly appreciated asset you don’t need to part with, the tax math usually says hold it and let the step-up do the work. It’s a big reason so many long-time owners hold real estate for decades rather than sell.

Video guide

Watch the video guide▶

Prefer to watch? Watch the video walkthrough of this calculator — video and full transcript.

How this calculator works

All three columns value the same asset at the same moment, using the federal rate you pick plus your state rate. “You sell it” taxes the full gain over your basis. “You gift it” hands the heir your basis, so the tax comes out identical — only the person writing the check changes. “Heirs inherit” sets the basis equal to the value at death, so the taxable gain is $0.

Add an expected growth rate and a number of years to run the comparison at a future date: the value grows, the built-in gain grows with it, and so does the step-up — heirs would start from that future value as their basis. The estimate leaves out estate tax (rarely owed — see below), selling costs, and any growth after the inheritance, and it assumes the heir sells at the value shown. If they hold on and the asset rises further, only that later growth is taxed.

Common questions

Do 401(k)s and IRAs get a stepped-up basis?

No. The step-up applies to taxable assets — brokerage accounts, real estate, a business interest. Money in a traditional 401(k) or IRA was never taxed going in, so heirs pay ordinary income tax as they withdraw it, and most non-spouse heirs must empty an inherited retirement account within 10 years. A Roth IRA is different again: heirs’ withdrawals are generally income-tax-free, though the 10-year clock still applies.

We’re married and live in California — does that change anything?

Yes, in your favor. California is a community property state, and community property gets a step-up on both halves when the first spouse dies — the surviving spouse’s basis in the whole asset resets, not just the half that was inherited. Titling decides whether you get this: the same asset held as joint tenancy generally steps up only the deceased spouse’s half. How a house or brokerage account is titled is worth checking before it matters.

What if the asset is worth less than I paid for it?

Then the rule runs in reverse: the basis steps down to the value at death, and your built-in loss vanishes — nobody can ever use it. If you’re holding an asset at a loss, selling it during your lifetime and using the loss to offset other gains is usually worth real money. Never hold a losing asset for the step-up.

Will our estate owe federal estate tax?

Almost certainly not. The federal estate tax exemption is about $15 million per person in 2026 — roughly $30 million for a married couple — so well under 1% of estates owe any federal estate tax. And the step-up doesn’t depend on the estate tax: heirs get the new basis whether or not the estate was taxable.

This calculator is educational only — it isn’t tax, legal, or financial advice. Estate and gift rules have exceptions (trusts, joint ownership, and state inheritance taxes among them); for a specific asset and family situation, a tax professional can run your exact numbers.