When a long-term transaction shows up on your Form 1099-B with the basis not reported to the IRS, you are responsible for calculating the cost basis yourself and entering it on Form 8949, Part II, with Box E checked. The broker has told the IRS what you sold it for, but not what you paid, so the IRS is looking to you to fill in the other half of the gain calculation. Get it right and you pay tax only on the real gain. Get it wrong, or leave it blank, and the IRS will treat the full proceeds as gain until you prove otherwise.
Why the Basis Is Missing From Your 1099-B
Brokers only have to report cost basis to the IRS for “covered securities,” a category created by federal law in 2008.1Internal Revenue Service. Instructions for Form 1099-B (2026) Whether a security is covered depends on when you acquired it and what kind of asset it is. Stocks bought on or after January 1, 2011 are covered. Mutual funds and ETFs acquired on or after January 1, 2012 are covered. Most bonds and other debt instruments are covered if acquired on or after January 1, 2014. Broker basis reporting for digital assets begins with transactions on or after January 1, 2026.2Internal Revenue Service. Final Regulations and Related IRS Guidance for Reporting by Brokers on Sales and Exchanges of Digital Assets Anything bought before the applicable date is noncovered, and its basis stays your problem.3Office of the Law Revision Counsel. 26 U.S. Code 6045 – Returns of Brokers
Some situations produce noncovered treatment regardless of purchase date. Securities you received as a gift or an inheritance, shares bought outside a brokerage account, certain foreign securities, and options on commodities or foreign currencies all sit outside broker basis reporting. If you transferred securities between brokers and the receiving firm never got a basis statement from the old one, the new broker treats them as noncovered even when the original purchase would have qualified.
How to Calculate Your Basis
Your basis starts with what you paid, including any commissions or transaction fees. For a single purchase held to sale, the math is simple: purchase price plus fees. The complication arises when you bought the same security across multiple lots at different prices, then sold only part of the position.
Three methods exist for identifying which shares were sold. With specific identification, you designate exactly which lot the sale came from, matching each sold share to a particular purchase. This gives you the most control because you can choose to unload your highest-cost shares first and hold your gain down. With first-in, first-out, the IRS treats your earliest-purchased shares as the ones sold; this is the default when you don’t specify. Average cost divides the total cost of all shares by the number of shares to get a per-share basis, but this method is available only for mutual fund shares and shares held in dividend reinvestment plans, not for individual stocks.4Internal Revenue Service. Publication 550 – Investment Income and Expenses
For noncovered mutual fund shares, you elect average cost simply by using it on your return for the first year it applies.5Internal Revenue Service. Mutual Funds (Costs, Distributions, etc.) 1
Adjustments That Change Your Basis
Purchase price is the starting point. Several events during your holding period will raise or lower it, and skipping even one of them will throw the number off.
Stock Splits and Stock Dividends
A split doesn’t change your total basis, only your per-share basis. If you held 100 shares at $50 each and the company did a 2-for-1 split, you now hold 200 shares at $25. The total is still $5,000. Stock dividends work the same way, spreading the same total cost across more shares.
Return of Capital Distributions
Some investments, particularly REITs and master limited partnerships, pay distributions classified as return of capital rather than dividends. Each such payment reduces your basis dollar for dollar. Shares with a $10,000 basis that produced $3,000 of return of capital over the years now have a $7,000 basis. Once cumulative return of capital exceeds your original basis, the excess is a capital gain in the year received.
Mergers, Spin-Offs, and Other Corporate Actions
When a company spins off a subsidiary, your original basis in the parent gets split between the parent and the new entity based on their relative market values on the distribution date. Companies that take actions affecting shareholder basis have to file Form 8937 with the IRS and make it available to shareholders.6Internal Revenue Service. About Form 8937, Report of Organizational Actions Affecting Basis of Securities If you’re reconstructing basis on a security that went through a corporate action years ago, the company’s investor relations page is often the fastest place to find its Form 8937 filings.
Wash Sales
If you sold a security at a loss and bought the same or a substantially identical one within 30 days before or after the sale, the wash sale rule disallows that loss on the current return. The disallowed loss is added to the basis of the replacement shares.7Office of the Law Revision Counsel. 26 USC 1091 – Loss From Wash Sales of Stock or Securities Say you bought 100 shares for $5,000, sold for $4,000, and repurchased 100 shares two weeks later for $4,200. The disallowed $1,000 loss is added to the $4,200 cost, and the replacement shares have a basis of $5,200. When the broker doesn’t track your basis, that adjustment is on you.
Inherited and Gifted Securities
These are two of the most common situations where a broker never had basis to report. The rules are very different, and confusing them is expensive.
Inherited Shares
When you inherit a security, your basis is generally the fair market value on the date of the decedent’s death, not what the decedent paid.8Office of the Law Revision Counsel. 26 USC 1014 – Basis of Property Acquired From a Decedent This “stepped-up basis” can eliminate most of the gain. If your parent bought stock for $5,000 and it was worth $50,000 at death, your basis is $50,000, and a sale shortly after at $51,000 produces only a $1,000 gain. If the executor elected the alternate valuation date (six months after death), use that value instead. Community property states apply a special rule that steps up both halves of community property at the first spouse’s death; common-law states step up only the deceased spouse’s half of jointly owned property.9Internal Revenue Service. Publication 555 – Community Property
To establish the number, you’ll typically need the date-of-death value from the estate’s records, a probate filing, or a historical closing price from that date.
Gifted Shares
With a gift, your basis depends on whether you eventually sell for a gain or a loss. For determining gain, your basis is the donor’s adjusted basis: whatever they paid, adjusted for splits and everything else. For determining loss, your basis is the fair market value at the time of the gift, but only if that value was lower than the donor’s basis.10Office of the Law Revision Counsel. 26 USC 1015 – Basis of Property Acquired by Gifts and Transfers in Trust
This dual-basis rule creates a middle zone. If the donor’s basis was $10,000 and the fair market value at the time of the gift was $7,000, a sale above $10,000 is a gain measured from $10,000, a sale below $7,000 is a loss measured from $7,000, and a sale anywhere between $7,000 and $10,000 produces no reportable gain or loss.
Reconstructing Lost Records
This is where most people get stuck. You know you bought shares 20 years ago, but you’ve changed brokers, lost statements, or never tracked dividend reinvestments. The IRS allows reconstruction by reasonable methods.11Internal Revenue Service. Reconstructing Your Records (FS-2006-7)
Start with the brokerage. Even if the firm merged into another, the successor often has records going back decades. Ask for the full account history, trade confirmations, and dividend reinvestment records. If that fails, work through these sources:
- Historical stock price archives, if you know the approximate purchase date, will give you a defensible price for the day.
- Old tax returns, particularly prior Schedule D filings and Form 1099-DIV records showing reinvested dividends, can rebuild your purchase history.
- Transfer agents like Computershare hold shareholder records for companies with direct stock purchase or dividend reinvestment plans and may have your enrollment and reinvestment history.
- Company investor relations pages and SEC filings document splits, mergers, and spin-offs with the ratios and dates you need to adjust basis.
Do not report zero. Zero basis makes the entire sale proceeds taxable and costs far more than the effort of a reasonable estimate. Use the best information you can find, document your methodology, and keep notes on how you arrived at the figure. A well-documented estimate is defensible; a zero or a bare guess is not.
Reporting the Sale on Form 8949 and Schedule D
Because the holding period is longer than one year and the basis was not reported to the IRS, the sale goes in Part II of Form 8949 with Box E checked at the top of the section.12Internal Revenue Service. Instructions for Form 8949 Each transaction gets its own line, with these entries across the row:
- Column (a): description of the property, such as “100 sh. XYZ Corp.”
- Column (b): date acquired
- Column (c): date sold
- Column (d): sale proceeds, matching the 1099-B
- Column (e): your calculated cost basis
- Column (f): leave blank when the 1099-B reported no basis at all; use code “B” only if the 1099-B did report a basis that was wrong and you’re entering the corrected figure
- Column (g): zero, if you’re entering the correct basis directly in column (e) under Box E
- Column (h): gain or loss, computed as column (d) minus column (e), combined with any amount in column (g)
The totals from Part II carry to Schedule D, which combines your short-term and long-term results into the net figure that flows to Form 1040.13Internal Revenue Service. Instructions for Schedule D (Form 1040) A net capital loss deducts against ordinary income up to $3,000, with the excess carrying forward.
Penalties for Getting the Basis Wrong
Overstating basis understates your gain, and the IRS can assess a 20% accuracy-related penalty on the underpaid tax.14Office of the Law Revision Counsel. 26 USC 6662 – Imposition of Accuracy-Related Penalty on Underpayments The penalty applies to underpayments caused by negligence or a substantial understatement of income tax; for individuals, an understatement is substantial if it exceeds the greater of 10% of the tax that should have been on the return or $5,000. The penalty can be avoided by showing reasonable cause and good faith.15Office of the Law Revision Counsel. 26 USC 6664 – Definitions and Special Rules Documentation of how you calculated basis, the sources you used, and any professional advice all support that defense.
How Long to Keep the Records
The standard retention period is at least three years from the date you filed the return reporting the sale, or from the return’s due date, whichever is later.16Internal Revenue Service. Topic No. 305, Recordkeeping If you underreport income by more than 25% of gross income, the IRS has six years to assess additional tax, so records need to survive at least that long.17Internal Revenue Service. How Long Should I Keep Records
For any security whose basis the broker will not report, hold the documentation for as long as you hold the investment, plus the retention period after sale. Original purchase confirmations, dividend reinvestment records, corporate action notices, and transfer statements between brokers all belong in that file. Losing them while you still own the shares means reconstructing basis at the worst possible time: after the sale, on a filing deadline.