How to Calculate Cost Basis for Inherited Stock: Step-Up Rules & Formulas
A step-up in basis resets the tax cost basis of inherited property to its market value on the date of the decedent’s death under Internal Revenue Code Section 1014.
Key Takeaways
- The inherited basis equals the fair market value on the date of death, completely wiping out taxable capital gains built up during the original owner’s lifetime.
- The IRS automatically treats all sales of inherited property as long-term capital gains, regardless of how long the heir holds the asset.
- Executors may elect the Alternate Valuation Date (exactly 6 months post-death) only if it decreases both the gross estate value and total federal estate tax liability.
- In community property states (e.g., California, Texas, Washington), surviving spouses typically receive a 100% double step-up across both halves of community-held stock.
Executive Overview & Mathematical Answer
Under IRC Section 1014, the cost basis for inherited stock is stepped up to the fair market value (FMV) on the date of the decedent’s death, calculated as the mean between the highest and lowest quoted selling prices on that day. All prior unrealized capital gains accumulated during the decedent’s lifetime are permanently forgiven for federal income tax purposes.
Financial Comparison & Strategic Matrix
Understanding the numerical difference between competing approaches is critical when optimizing personal cash flow:
| Transfer Mechanism | Inherited Stock (IRC §1014) | Gifted Stock During Life (IRC §1015) | Stock Bought Directly |
|---|---|---|---|
| Cost Basis Formula | Fair Market Value on Date of Death | Carryover Basis (Donor Original Cost) | Purchase Price + Commissions |
| Unrealized Gain Treatment | Completely Wiped Out (Untaxed) | Transferred to Recipient (Taxable) | Fully Taxable Upon Sale |
| Default Holding Period | Always Long-Term (Automatic) | Carries Over Donor Holding Period | Short-Term (<1yr) or Long-Term (>1yr) |
| Loss Valuation Rule | Date of Death FMV | Dual Basis Rule Applies for Losses | Actual Adjusted Cost Basis |
| Form 1099-B Box Category | Box B or Box E (Basis Unreported) | Box B or Box E (Basis Unreported) | Box A (Basis Reported to IRS) |
Step-by-Step Implementation Blueprint
Follow this structured execution plan to implement this strategy with minimum friction:
- Step 1: Identify the exact calendar date of the original owner’s passing from the official death certificate.
- Step 2: Retrieve historical stock price quotes for that exact date from the broker or financial archives, calculating FMV as (Daily High + Daily Low) / 2.
- Step 3: If the decedent passed on a weekend or market holiday, calculate the weighted average of mean prices on the trading day before and after.
- Step 4: Verify whether the estate executor filed IRS Form 706 electing the Alternate Valuation Date (AVD).
- Step 5: Provide the documented stepped-up cost basis to your custodial broker (Fidelity, Schwab, Vanguard) to update the cost basis ledger before initiating any sale.
[!TIP] Practical Advisory & Execution Pitfalls
- Pro Tip: Never sell inherited shares before manually confirming your broker has updated the cost basis in their system; brokers frequently default inherited shares to “basis not provided” or $0, which triggers an erroneous IRS CP2000 notice taxing 100% of the gross proceeds if not corrected.
- Common Mistake: Assuming gifted stock receives a step-up; gifting shares during lifetime passes on the donor’s original low carryover basis, locking the recipient into massive capital gains taxes that a posthumous inheritance would have eliminated.
Frequently Asked Questions
How do you calculate the step up in basis for inherited stock?
You determine the fair market value of the stock on the decedent’s date of death by taking the mean (average) between the highest and lowest trading prices on that day, multiplied by the number of inherited shares.
Are inherited stocks considered short-term or long-term capital gains?
Under IRC Section 1223(9), inherited property is automatically classified as long-term capital gains when sold, even if the beneficiary sells the stock minutes or days after inheriting it.
What happens if you inherit stock with a loss?
If the stock decreased in value prior to death, the basis is stepped down to the lower fair market value on the date of death. The prior unrealized loss is eliminated and cannot be deducted on the beneficiary’s income tax return.
Next Steps & Recommended Follow-Up
[!IMPORTANT] Logical Next Step: Completing your financial roadmap? Explore our comprehensive technical breakdown on Tax-Loss Harvesting & 30-Day Wash Sale Calculation Guide to Discover how to harvest tactical tax losses to offset any residual capital gains generated after selling inherited equities.
[!NOTE] Editorial Disclaimer: Txtia is an independent financial education and research publication. The information provided in this guide is for informational and educational purposes only and does not constitute personalized investment, legal, tax, or credit advice. Mathematical calculations, yields, and timelines are based on baseline financial formulas and current market conditions. Consult a licensed financial planner, CPA, or fiduciary before executing major credit or tax maneuvers.
Frequently Asked Questions
- How do you calculate the step up in basis for inherited stock?
- You determine the fair market value of the stock on the decedent’s date of death by taking the mean (average) between the highest and lowest trading prices on that day, multiplied by the number of inherited shares.
- Are inherited stocks considered short-term or long-term capital gains?
- Under IRC Section 1223(9), inherited property is automatically classified as long-term capital gains when sold, even if the beneficiary sells the stock minutes or days after inheriting it.
- What happens if you inherit stock with a loss?
- If the stock decreased in value prior to death, the basis is stepped down to the lower fair market value on the date of death. The prior unrealized loss is eliminated and cannot be deducted on the beneficiary’s income tax return.
The Bottom Line
Understanding How to Calculate Cost Basis for Inherited Stock is essential for making sound financial decisions in today's complex markets. The core mechanics, formulas, and real-world scenarios outlined in this guide are regularly reviewed and updated by our credentialed editorial team to reflect the current 2026 rate environment and regulatory landscape. Whether you are a retail investor building long-term wealth or a finance professional sharpening technical knowledge, applying these principles with consistent discipline separates informed decision-making from costly financial mistakes.