Step-Up in Basis Calculator: Estimate Capital Gains Tax on Inherited Assets
Use this guide to understand the assumptions, inputs, results, and next steps behind the calculator.
Created by Luis Gonzalez · Last updated August 22, 2026
A step-up in basis generally resets an inherited asset’s tax basis to its fair market value at the previous owner’s death. If an heir sells soon after inheriting, the taxable capital gain may be small or zero even if the deceased owner originally bought the asset for much less. This calculator compares estimated tax with the stepped-up basis against a hypothetical calculation using the original purchase price.
With the default inputs, the original purchase price is $100,000, the fair market value at death is $500,000, and the heir sells for $500,000. The estimated stepped-up basis is therefore $500,000. Because the sale price equals that basis, the calculator’s gain-with-step-up formula gives zero taxable gain in this simplified example.
The result depends on the asset, ownership, date-of-death valuation, sale price, and applicable tax rates. This calculator is an illustration, not tax advice or an estate-tax determination.
Enter the Original Cost, Date-of-Death Value, and Sale Price
Enter the decedent’s original purchase price, the asset’s fair market value at death, and the amount the heir receives on sale. The calculator also asks for purchase and sale years, federal and state capital gains tax rates, and a net investment income tax rate.
The core comparison is between two bases:
- Stepped-up basis: the fair market value at death entered in the calculator.
- Carryover-style comparison basis: the decedent’s original purchase price.
The calculator estimates tax using the rates you enter. Its default rates are 15% federal capital gains tax, 5% state tax, and 0% net investment income tax. Actual tax rates depend on the taxpayer’s income, type of gain, state, and other circumstances. For a broader retirement tax estimate, compare the Capital Gains Tax in Retirement Calculator.
Default Example: Sale at the Value at Death
The default asset was bought for $100,000 and valued at $500,000 when the owner died. The heir sells it for $500,000. Under the calculator’s simple stepped-up-basis assumption:
Stepped-up basis = fair market value at death
Stepped-up basis = $500,000
Taxable gain with step-up = max(0, sale price - stepped-up basis)
max(0, $500,000 - $500,000) = $0
The comparison without the step-up uses the original $100,000 purchase price:
Hypothetical gain without step-up = max(0, sale price - original purchase price)
$500,000 - $100,000 = $400,000
At the calculator’s default combined modeled rate of 20%—15% federal plus 5% state, with 0% NIIT—the hypothetical tax without a step-up is:
Estimated tax without step-up = $400,000 × (15% + 5% + 0%)
$400,000 × 20% = $80,000
Under those assumptions, estimated tax with the step-up is $0 and the modeled tax difference is $80,000. These values follow the calculator’s simplified rate application. Actual tax may differ because federal capital gains rates, state tax treatment, holding-period rules, deductions, losses, and NIIT eligibility are taxpayer-specific.
What the Step-Up Rule Does—and Does Not Do
A basis is generally the amount used to calculate taxable gain or loss. For an inherited asset, the general federal rule often sets basis at fair market value on the date of death, though an alternate valuation date may apply for some estates. The IRS explains inherited property basis in Publication 551.
The rule does not automatically erase all tax on a future sale. If the asset appreciates after death, the heir may owe tax on the gain above the new basis. If the asset falls in value before sale, a loss may be possible subject to applicable rules. The calculator floors gains at zero, so it does not model a deductible capital loss.
The calculator assumes the entered fair market value is the correct basis. It does not determine whether an asset qualifies, whether it was held in a trust or jointly owned, or whether special rules change the basis. Community-property rules can affect basis treatment for jointly held property; explore the Community Property Step-Up Calculator if that ownership form is relevant.
Tax Rates, NIIT, and Important Limits
The calculator applies the entered federal, state, and NIIT percentages directly to the modeled gain. It does not calculate progressive tax brackets or determine whether a gain is short-term or long-term. The default 15% federal rate is only an assumption; long-term capital gains rates can be 0%, 15%, or 20% depending on taxable income and filing status. Short-term gains are generally taxed at ordinary income rates.
The 3.8% Net Investment Income Tax can apply to some taxpayers whose modified adjusted gross income exceeds statutory thresholds. The calculator’s default NIIT rate is 0%, so the default example assumes no NIIT. The IRS provides current details on Net Investment Income Tax.
State treatment also varies. A 5% state rate is an example, not a national standard. Some states tax capital gains as ordinary income; others have different exclusions or rates. If an inherited asset is real estate, location and ownership may add further considerations.
Compare Sale Prices and Tax Assumptions
Changing the sale price changes the taxable gain under the calculator’s formula. The table uses illustrative calculations at the same 20% combined modeled rate and assumes the basis is $500,000.
| Sale price | Gain with $500,000 stepped-up basis | Estimated tax at 20% |
|---|---|---|
| $480,000 | $0 gain in the calculator’s gain-only formula | $0 |
| $500,000 | $0 | $0 |
| $550,000 | $50,000 | $10,000 |
| $600,000 | $100,000 | $20,000 |
The $480,000 row shows a limitation: the calculator uses max(0, sale price - basis), so it displays no taxable gain but does not calculate a $20,000 capital loss. Tax treatment of losses can depend on whether an asset is personal-use or investment property and on other tax rules.
You can also change the rates while holding sale price constant. Increasing the combined rate increases estimated tax on a positive gain; it does not change the gain itself.
Formula: How the Tax Comparison Is Built
The calculator sets the new basis to the fair market value at death and calculates positive gains separately under each basis assumption.
Gain with step-up = max(0, heir sale price - fair market value at death)
Gain without step-up = max(0, heir sale price - decedent's original purchase price)
Estimated tax = taxable gain × (federal rate + state rate + NIIT rate)
Estimated tax saved = max(0, tax without step-up - tax with step-up)
In the default example, the stepped-up gain is $0, while the comparison gain is $400,000. Applying 15% federal, 5% state, and 0% NIIT to that comparison gain gives $80,000. The calculator reports tax savings as zero or greater; it does not show a negative “tax saved” result if the entered sale price is below basis.
Next Steps for an Inherited Asset
Gather the purchase records, ownership documents, date-of-death valuation, and any subsequent improvement or sale-cost records. Confirm the appropriate basis and valuation date before relying on the estimate. Then compare scenarios using realistic tax rates and sale prices.
For community property, review the Community Property Step-Up Calculator. For the tax effect of selling investments in retirement, use the Capital Gains Tax in Retirement Calculator, and include the proceeds in a full retirement plan rather than treating modeled tax savings as guaranteed cash.
Frequently Asked Questions
Quick answers to the questions people usually have after running the retirement calculator.
1Does every inherited asset receive a step-up in basis?
No. The general rule often applies to inherited property, but ownership structure, asset type, transfers before death, and special tax rules can change the result. Confirm the correct basis for the specific asset.
2Is the step-up always equal to the value on the date of death?
Not always. Certain estates may use an alternate valuation date, and jointly owned or trust-held assets may have different basis consequences. The calculator uses the value you enter and does not determine which valuation applies.
3If I sell immediately for the date-of-death value, will I owe no capital gains tax?
In this calculator’s simplified example, the gain is zero when sale price equals the stepped-up basis. Real transactions can still involve selling costs, valuation differences, taxable income from other sources, or special asset rules.
4Should I sell an inherited asset right away or keep it?
Selling may reduce exposure to future price changes and simplify ownership, but keeping the asset preserves potential future appreciation and concentration risk. Tax is only one factor; compare the asset’s role in your portfolio, liquidity needs, and potential costs. For retirement cash-flow planning, consider the Retirement Withdrawal Calculator.
5Does the calculator include the estate tax?
No. It estimates potential capital gains tax on a sale, not federal or state estate tax. Estate tax is a separate tax system with separate thresholds and rules.
6Does it account for the 3.8% NIIT?
It includes a field for an NIIT rate, but the default is 0%. The tool does not determine whether you meet the income threshold or calculate the tax automatically. If applicable, enter the rate you intend to model and verify the rules with the IRS.
7Can the heir claim a capital loss if the sale price is below basis?
The calculator does not calculate losses; it floors taxable gain at zero. Whether a loss is deductible depends on the asset’s use and tax rules. A personal-use loss is generally treated differently from a loss on investment property.