Taxes · Capital gains and losses
Adjusted cost basis: splits, DRIPs, return of capital and spin-offs
What changes a stock’s basis after you buy it, from splits and reinvested dividends to return of capital, spin-offs and mergers, with a 2018-to-2025 worked example.
On this page
The basis of a stock starts as what you paid for it. It rarely stays there. Splits spread it over more shares, reinvested dividends add to it, return-of-capital distributions take some of it back, spin-offs carve a piece off into a new company, and mergers can replace it with the basis of new shares. By the time you sell, the right number to subtract from the proceeds is the adjusted basis: the original cost plus every increase and minus every decrease since.
Getting it wrong is expensive in one direction or the other. Leave out reinvested dividends and you pay tax on the same money twice, once as dividends and again as gain. Forget a return of capital and you understate the gain. This page goes event by event through what changes basis and what does not, then carries one invented position from a 2018 purchase through a split, three years of reinvestment, a return of capital and a spin-off to its basis per share today.
The rules are US federal law, tax year 2026, from IRS Publications 550 and 551, the instructions for Form 8937, and Code sections 356, 358 and 1091. How the lot you sell is chosen is a separate question, covered in Cost basis methods: FIFO, specific ID, average cost, HIFO and LIFO. This is general education, not tax advice.
Starting basis
Publication 550 sets the starting point for bought shares: the purchase price plus the costs of buying, such as commissions and transfer fees. Fees paid to sell are not part of basis; they reduce the amount realized on the sale. For fund shares, Publication 550 says load charges are usually added to cost, with an exception when the load is waived on a reinvestment within 90 days.
Shares you did not buy start elsewhere:
- Inherited shares usually take their market value on the date of death (or the alternate valuation date), the rule known as a step-up in basis.
- Gifted shares take the donor's adjusted basis, plus part of any gift tax paid, for figuring a gain; if they were worth less than the donor's basis at the gift, the market value at the gift is the basis for figuring a loss, and a sale between the two figures gives neither gain nor loss (Publication 551).
- Shares from a DRIP bought at a discount have a basis equal to their full market value on the payment date, and the discount is taxable income (Publication 550).
Events that change basis
Splits, reverse splits and stock dividends
A nontaxable stock dividend or split of identical stock leaves total basis where it was and divides it over the new share count (Publication 550). A 2-for-1 split of 100 shares with a $6,010 basis gives 200 shares at $30.05. A 1-for-10 reverse split of 1,000 shares with a $5,000 basis gives 100 shares at $50. If the company pays cash in lieu of a fractional share, you are treated as selling that fraction: the cash minus the fraction's basis is a gain or loss.
A taxable stock dividend, for example one where shareholders could choose cash instead, is income when received, and the new shares take a basis equal to their market value at the distribution. Publication 550 lists the five situations that make a stock dividend taxable.
Reinvested dividends
A reinvested dividend is two events: you receive a dividend, which is taxed in that year, and you buy shares with the cash. The new shares are a lot with a basis equal to the dividend amount and a holding period from the day after the purchase. Adding these lots is how basis avoids double tax. Ten years of quarterly reinvestment is forty lots, and on a sale every one of them reduces the gain. Dividends and DRIPs: key dates, yield and reinvestment covers how reinvestment plans buy and price shares.
Return of capital
A nondividend distribution, reported in box 3 of Form 1099-DIV, is a payment that does not come from the company's or fund's earnings and profits. Publication 550 says it is not taxed when paid; instead it reduces your basis. Once basis reaches zero, every further nondividend distribution is a capital gain, long- or short-term by your holding period. If you cannot tell which lots the distribution applies to, Publication 550 says to reduce the earliest purchases first.
Return of capital is common in REITs, MLPs and some closed-end funds, which is why their investors often find their basis well below what they paid. If no 1099-DIV or other statement identifies a nondividend distribution, Publication 550 says to report the payment as an ordinary dividend.
Spin-offs
In a tax-free spin-off, a parent distributes shares of a subsidiary to its shareholders. You recognize no gain, but part of your parent basis moves to the new shares. The split follows the relative market values of the two stocks after the distribution, and the issuer does the work: Publication 550's example is an investor told by the company that the new shares carry 10.9624% of the old basis, so a $5,400 basis becomes $592 in the new company and $4,808 in the parent.
The company reports the percentage on Form 8937, Report of Organizational Actions Affecting Basis of Securities. The Form 8937 instructions require it for any action that affects holders' basis, including nontaxable cash distributions and stock distributions such as splits. It is due by the 45th day after the action or, if earlier, January 15 of the following year, and the issuer may post it on its public website instead of filing it, where it must stay for 10 years. Brokers must apply issuer statements to covered securities, so the 1099-B for covered shares should already reflect the allocation; for noncovered shares, the Form 8937 on the company's investor relations page is where the percentage comes from. The spun-off shares keep the parent's holding period (Holding period rules: counting days, tacking and special cases).
Mergers and acquisitions
What happens to basis in a takeover depends on what you receive.
- All stock, in a tax-free reorganization. No gain or loss; the new shares take the old basis. Publication 550's example: 100 shares with a $3,500 basis exchanged for 70 shares of the acquirer leave you with 70 shares and the same $3,500 basis.
- All cash. A sale. Gain or loss is the cash minus your basis, with the usual holding period.
- Stock plus cash ("boot"). Under §356, gain is recognized up to the cash and other property received, never more than the gain realized; a loss is not recognized. Under §358, the new shares' basis is the old basis, minus the cash, plus the gain recognized.
The merger proxy and the acquirer's Form 8937 describe which treatment applies. If you are unsure whether a deal qualified, a tax professional can tell you.
Wash-sale additions
When the wash-sale rule disallows a loss, the disallowed loss is added to the basis of the replacement shares. Section 1091(d) states it as the old basis adjusted by the difference between the repurchase price and the sale price. The Wash sale examples: eight worked cases with basis and Form 8949 page works through eight cases, including one where no basis increase happens at all because the replacement was bought in an IRA.
Other items
- Undistributed capital gains reported on Form 2439 by a fund or REIT adjust basis; the 1099-B instructions tell brokers to take them into account.
- Bond premium and market discount adjust the basis of bonds; How bonds are taxed in the US: interest, discounts, gains and funds covers them.
- Option premiums: a call's premium is added to the stock's basis when you exercise it, and a premium received for a put you wrote reduces the basis of stock you buy on assignment (Publication 550).
A worked example: 2018 to 2025
An invented investor's position in an invented company, step by step. All dividends are reinvested in the company's DRIP; all amounts are federal.
- 2018: buys 100 shares at $60 plus a $10 commission. Basis $6,010, $60.10 a share.
- 2020: a 2-for-1 split. 200 shares, basis still $6,010, now $30.05 a share.
- 2021–2023: dividends of $240, $260 and $280 are reinvested at $40, $52 and $56 a share, buying 6, 5 and 5 shares. Each dividend is taxed in its year. Basis rises by $780 to $6,790 on 216 shares.
- 2024: a $1.00 a share return of capital on 216 shares, shown in box 3 of the 1099-DIV. Not taxed; basis falls by $216 to $6,574.
- 2025: a spin-off of one new share for every four held, 54 new shares. The parent's Form 8937 says 15% of the old basis goes to the new company. $986.10 moves to the spin-off shares and $5,587.90 stays with the parent.
The result: 216 parent shares at $25.87 each and 54 spin-off shares at $18.26 each. Someone who only adjusted the purchase price for the split would use $30.05 a share for the parent and overstate basis by about $4.18 a share. Across 216 shares that is roughly $900 of gain left off the return, and nothing at all assigned to the spin-off shares, whose whole sale price would then look like gain.
In practice each lot keeps its own basis: the 200 split shares from 2018 carry $30.05 less the $1 return of capital less their 15% spin-off share, and each DRIP lot is adjusted the same way. The totals above are the sum of those lots.
Common mistakes
- Leaving out reinvested dividends. The most common error, and it always overstates the gain.
- Ignoring box 3. A return of capital that never reaches your basis records understates gain later and can hide a capital gain when basis reaches zero.
- Missing the Form 8937. A spin-off without the allocation leaves the parent's basis too high and the new shares' basis at zero.
- Trusting the 1099-B for noncovered lots. Brokers report basis only for covered securities; shares bought before 2011, or moved between firms without a transfer statement, may show none.
- Adding selling costs to basis. Commissions on a sale reduce proceeds, not increase basis. The result is the same gain, but Form 8949 expects them in a particular place.
Basis events compared
| Event (US federal, 2026) | Taxed when it happens? | Effect on basis |
|---|---|---|
| Stock split, reverse split | No | Same total, new per-share figure |
| Nontaxable stock dividend | No | Same total, spread over more shares |
| Cash in lieu of a fractional share | Yes, as a sale | Fraction's basis removed |
| Reinvested dividend | Yes, as a dividend | New lot, basis = amount reinvested |
| Return of capital (1099-DIV box 3) | No, until basis is zero | Reduced; excess over basis is gain |
| Spin-off (tax-free) | No | Split by market value per Form 8937 |
| Stock-for-stock merger | No | Carries over to the new shares |
| Stock-and-cash merger | Gain up to the cash | Old basis − cash + gain recognized |
| Wash sale | Loss deferred | Disallowed loss added to replacement |
How Finabase does it
A Finabase portfolio records each buy and sell you enter, applies stock splits to earlier lots automatically, and shows each position's cost and average cost. It does not track return of capital, spin-off allocations, merger exchanges or wash-sale additions, and reinvested dividends count only if you record them as buys. Your broker's 1099-B is the official basis for covered shares. A symbol's dividends tab lists each past distribution with its dates and amounts, which is the raw material for rebuilding reinvested lots; the split history on the symbol page helps with old certificates.
Frequently asked questions
Do reinvested dividends increase my cost basis?
Yes. Each reinvested dividend buys new shares with a basis equal to the amount reinvested. You paid tax on the dividend when it was paid, so adding it to basis keeps the same money from being taxed again as gain.
What happens when return of capital exceeds my basis?
Your basis goes to zero, and any further return of capital is a capital gain in the year you receive it, short- or long-term by how long you have held the shares.
How do I split basis after a spin-off?
Use the percentage the company publishes on Form 8937, usually on its investor relations site. It allocates your old basis between the parent and the new shares by their relative market values.
Does a stock split change my cost basis?
Not in total. A split spreads the same basis over more shares, so the basis per share falls in proportion. A reverse split does the opposite.
Summary
Adjusted basis is the purchase price and costs, adjusted for every event since. For tax year 2026, splits and nontaxable stock dividends redistribute basis without changing it, reinvested dividends add lots, a return of capital reported in box 3 of Form 1099-DIV reduces basis and becomes capital gain once basis reaches zero, a spin-off moves a share of basis to the new company by the percentage on the issuer's Form 8937, mergers carry basis over or reset it depending on cash received, and a wash sale adds the disallowed loss to the replacement shares. In the worked example these events took a $60.10 starting basis per share to $25.87 for the parent and $18.26 for the spin-off. Brokers handle much of this for covered shares, but the records for older and transferred lots remain the investor's.
Check your understanding
4 questions on this lesson. Each answer comes with the reason, and nothing is scored.
You reinvested $500 of dividends over the years and forgot to add them to basis. What happens when you sell?
- Nothing; reinvested dividends never affect basis
- The gain is overstated by $500, so the same money is taxed twice
- The gain is understated by $500
Show the answer
B. The gain is overstated by $500, so the same money is taxed twice The dividends were taxed when paid and bought shares worth $500 of basis. Leaving them out makes the sale gain $500 too high.
Your basis in a REIT is $300 and it pays $500 of return of capital this year. What is the result?
- $500 of ordinary dividend income
- Basis falls to zero and $200 is a capital gain this year
- Basis becomes −$200 and nothing is taxed until you sell
Show the answer
B. Basis falls to zero and $200 is a capital gain this year Publication 550: a nondividend distribution reduces basis, and once basis reaches zero any further amount is a capital gain. Basis never goes negative.
After a spin-off, where does the basis of the new shares come from?
- They have a basis of zero
- Their market value on the day you receive them is added to your basis
- Part of the parent shares’ basis moves to them, by relative market value, as the issuer reports on Form 8937
Show the answer
C. Part of the parent shares’ basis moves to them, by relative market value, as the issuer reports on Form 8937 A tax-free spin-off creates no new basis. The old basis is divided between parent and new shares, and the company publishes the percentage on Form 8937.
In a merger you receive new shares worth $6,000 and $1,000 cash for shares with a $4,000 basis. How much gain is recognized now?
- $3,000, the whole gain
- $1,000, the cash received, because recognized gain cannot exceed the boot
- None, because the deal included stock
Show the answer
B. $1,000, the cash received, because recognized gain cannot exceed the boot Section 356 recognizes gain up to the cash and other property received. The other $2,000 of gain stays in the new shares, whose basis is $4,000 − $1,000 + $1,000.
Sources and further reading
- IRS — Publication 550 (2025), chapter 1: Nondividend Distributions, Distributions of Stock; chapter 4: Adjusted Basis, Stocks and Bonds, Corporate reorganizations
- IRS — Publication 551 (Rev. December 2025), Basis of Assets
- IRS — Instructions for Form 8937 (Rev. December 2017), Report of Organizational Actions Affecting Basis of Securities
- IRS — Instructions for Form 1099-B (2026), Box 1e: adjusted basis, issuer returns
- 26 U.S. Code §356, Receipt of additional consideration (Cornell LII, read 2026-11-18)
- 26 U.S. Code §358, Basis to distributees (Cornell LII, read 2026-11-18)
- 26 U.S. Code §1091(d), Unadjusted basis in case of wash sale (Cornell LII, read 2026-11-18)
