Skip to main content
All Articles
Financial Guide
6 min read July 16, 2026
Verified July 2026

How to Calculate Tax Basis on Gifted Stock (And Why Getting It Wrong Costs Thousands)

Most recipients of gifted stock assume their basis is the stock's value on the day they received it. That assumption is wrong and the IRS will collect on that error. The rules depend on the donor's original purchase price, the fair market value at the time of the gift, and whether the stock has a gain or a loss built in.

How to Calculate Tax Basis on Gifted Stock (And Why Getting It Wrong Costs Thousands)

Key Takeaways

  • The IRS uses a "carryover basis" rule for gifted stock with a built-in gain. The recipient inherits the donor's original cost, not the gift-date value.
  • Using the gift-date value as your basis on a stock with a $40,000 built-in gain understates a long-term capital gain by exactly that amount. At a 20% rate plus 3.8% NIIT, the miscalculation costs $9,520 in additional tax.
  • The correct approach requires three data points: the donor's adjusted basis, the fair market value on the gift date, and which of three IRS scenarios applies to your transaction.
  • Tool: Run your capital gains tax liability now →

File Smarter This YearSPONSORED

Stop leaving money on the table. TurboTax finds every deduction automatically.

Interactive Calculator
Full screen
Loading Calculator
calcmoney.io/calculatorsOpen full screen

The Core Problem With Gifted Stock

Gifted stock does not get a step-up in basis. That distinction separates it from inherited stock, which does receive a stepped-up basis to fair market value on the date of death under IRC Section 1014. Gift recipients operate under a different set of rules, IRC Section 1015, and those rules have three distinct outcomes depending on the numbers involved.

The IRS does not send a notice when a recipient files with the wrong basis. It collects the underpayment later, with interest, and sometimes penalties. The most common error, using the value of the stock on the day it was received as the cost basis, produces an understated capital gain every single time the stock has appreciated since the donor bought it.

To calculate the correct basis, you need four pieces of information.

  1. The donor's original purchase price, including commissions.
  2. Any adjustments to that basis, such as return-of-capital distributions.
  3. The fair market value of the stock on the date the gift was made.
  4. Any gift tax the donor paid on the transfer.

Once you have those numbers, you apply one of three IRS rules.

The Three Basis Rules for Gifted Stock

Rule 1: Carryover Basis (Built-In Gain)

When the fair market value on the gift date exceeds the donor's adjusted basis, the recipient takes the donor's adjusted basis. This is the carryover basis rule.

The recipient's basis = the donor's adjusted basis.

If the donor bought 500 shares of a technology stock at $18 per share in 2019, the adjusted basis is $9,000. By the time of the gift in 2024, those shares trade at $62 per share, a fair market value of $31,000. The recipient's basis is $9,000, not $31,000. When the recipient eventually sells, the entire $22,000 of built-in appreciation is taxable gain, in addition to any further appreciation after the gift date.

Rule 2: Fair Market Value Basis (Built-In Loss, Sold at a Loss)

When the fair market value on the gift date is less than the donor's adjusted basis, and the recipient eventually sells the stock at a price below that fair market value, the recipient's basis is the fair market value on the gift date.

The recipient's basis = fair market value on gift date.

A donor purchased 200 shares at $85 per share, an adjusted basis of $17,000. The stock declined, and the fair market value on the gift date was $11,000 ($55 per share). The recipient later sells at $48 per share, or $9,600 total. The recipient's basis is $11,000 (the gift-date fair market value), producing a $1,400 capital loss. The recipient cannot use the donor's higher $17,000 basis to create a larger loss. The IRS specifically prohibits transferring a built-in loss through a gift.

Rule 3: No Gain, No Loss (The Middle Zone)

This is where many taxpayers get confused. When the fair market value on the gift date is less than the donor's adjusted basis, and the recipient sells at a price between those two figures, neither a gain nor a loss is recognized.

Sale price is between the donor's adjusted basis and the gift-date fair market value. The transaction produces zero taxable gain and zero deductible loss.

The same donor from Rule 2 gifted shares with a donor basis of $17,000 and a gift-date fair market value of $11,000. If the recipient sells at $58 per share, or $11,600, that sale price sits between the two reference points. No gain, no loss. The recipient reports nothing.

The Gift Tax Add-On: A Basis Adjustment Most People Miss

When a donor pays gift tax on the transfer of appreciated stock, the recipient can add a portion of that gift tax to the carryover basis. This adjustment applies only when the donor's adjusted basis is less than the fair market value at the time of the gift.

The formula is: (Net Appreciation / Fair Market Value) x Gift Tax Paid = Basis Increase.

Net appreciation equals fair market value on the gift date minus the donor's adjusted basis.

Worked Example: Gift Tax Basis Adjustment

A donor transfers shares with an adjusted basis of $30,000 and a gift-date fair market value of $80,000. The donor pays $12,000 in gift tax.

Net appreciation = $80,000 - $30,000 = $50,000.

Basis increase = ($50,000 / $80,000) x $12,000 = $7,500.

The recipient's adjusted basis = $30,000 + $7,500 = $37,500.

Without this adjustment, the recipient would eventually pay capital gains tax on $7,500 more gain than the law requires. At a 23.8% combined rate (20% long-term capital gains plus 3.8% NIIT), that costs $1,785 in unnecessary tax.

Holding Period Rules for Gifted Stock

The holding period matters because it determines whether a gain is taxed at short-term ordinary income rates or at the preferential long-term capital gains rates of 0%, 15%, or 20%.

For gifted stock subject to the carryover basis rule, the recipient inherits the donor's holding period. If the donor held the stock for three years before gifting it, the recipient starts with a three-year holding period on day one. A sale the following week produces a long-term capital gain.

For gifted stock where the recipient uses the gift-date fair market value as basis (Rule 2), the holding period starts on the date of the gift. The donor's holding period does not carry over.

This distinction matters most for stock with a built-in loss that has continued to decline after the gift date. A recipient who received stock in January and sells in October of the same year at a loss may face a short-term capital loss rather than a long-term one, which changes the tax math considerably.

Worked Example: Full Calculation With Sale

A parent gifted 1,000 shares of an industrial company to an adult child in March 2021. The parent's original purchase price in 2016 was $22 per share, giving an adjusted basis of $22,000. No gift tax was paid because the transfer fell within the annual exclusion limits. The fair market value on the gift date was $67 per share, or $67,000.

The child holds the shares and sells all 1,000 in April 2026 at $91 per share, generating $91,000 in proceeds.

Applicable rule: Rule 1. Fair market value at gift ($67,000) exceeds donor's basis ($22,000). Carryover basis applies.

Recipient's basis = $22,000.

Capital gain = $91,000 - $22,000 = $69,000.

Holding period: The parent held the shares from 2016 to 2021, five years. The child inherits that holding period. The sale in 2026 is long-term.

If the child incorrectly used the gift-date value of $67,000 as basis, the reported gain would be $24,000. The understated gain equals $45,000. At a combined long-term rate of 23.8%, that miscalculation produces a $10,710 underpayment.

What Documentation You Need to Gather

Do not assume the information will appear on any brokerage statement you received. The donor's cost basis history may live in decades-old records, particularly for shares purchased before brokerages were required to report cost basis to the IRS (mandatory reporting began for most equities in 2011).

Request the following from the donor before filing.

  • Original trade confirmations or purchase records showing the per-share cost and date.
  • Records of any stock splits, dividend reinvestments, or return-of-capital distributions that adjusted the original basis.
  • A copy of Form 709 if the donor filed a gift tax return for the year of transfer.
  • The fair market value the donor used on the gift tax return, which establishes the IRS-accepted reference point.

If the donor cannot produce original records, the IRS allows reconstruction using historical price data combined with reasonable documentation. A tax professional should oversee any reconstruction to ensure it withstands scrutiny.

How to Report Gifted Stock on Your Tax Return

Report the sale on Form 8949 and carry the result to Schedule D. In column (e), enter your adjusted basis after applying the correct rule. In column (f), use code "B" if the basis was reported to the IRS or leave it blank with a qualifying note if it was not.

For stock received as a gift where the donor's basis was not reported electronically to your broker, the IRS will not have a matching cost basis figure. That does not reduce your obligation to report correctly. It does mean errors are more likely to go undetected in the short term and more damaging when they surface later.

Run the Numbers Before You Sell

The difference between the three basis rules can shift your tax liability by tens of thousands of dollars on a single position. Gifted stock requires you to know which scenario applies before the sale, not after.

Use the CalcMoney income tax calculator to model the after-tax proceeds from selling gifted stock under each scenario. Enter the correct basis, adjust for your filing status and income, and see the precise federal tax liability. That number should inform the timing and sizing of any sale, including whether spreading the sale across two tax years changes the outcome.

You Might Also Like

Calculate your exact capital gains liability on gifted stock →
Featured Partner
FIDELITY

Put These Numbers to Work

Open a Fidelity brokerage account. $0 commissions, no account minimums, fractional shares available.

Run the Numbers

Affiliated. We may earn a commission.

OR

One money insight per week.

Calculator deep-dives, rate alerts, and financial analysis written for real decisions. Unsubscribe anytime.

1 email/week. No spam. Unsubscribe in one click.

Free Tools

Run the actual numbers

Stop estimating. Plug in your numbers and get a precise answer in seconds. Free, no signup required.

Open Free Calculators