Total proceeds vs cost basis — why is my Schedule D showing a huge gain?

Trying to make sense of my 1099-B this year. I sold a bunch of shares throughout the year — some inherited, some I bought myself years ago — and my brokerage's tax doc shows total proceeds vs cost basis in a summary table. The proceeds are way higher than the basis and I panicked thinking I owe taxes on the whole difference. But then I noticed some lots have wash sale adjustments and a couple inherited lots have basis listed as "not provided." I plugged the numbers into my tax software and it auto-populated Form 8949 and Schedule D but the net gain on Schedule D line 16 looks enormous. I'm not sure if the software is picking up the right basis for the inherited shares or if the wash sale codes are being handled right. Is the total proceeds vs cost basis difference on the summary page what actually gets taxed, or does that number change once everything flows through correctly?

34 comments

The summary table on your 1099-B is not your taxable gain. It's just arithmetic — proceeds minus reported basis — and it ignores adjustments. What actually matters is the net figure on Schedule D line 16 after Form 8949 runs through every adjustment: wash sale codes in column (f), basis corrections in column (g), and correct basis for the inherited lots. For inherited shares specifically, basis is generally the fair market value at the date of death, not what the original owner paid. If the broker shows "not provided" it means they didn't have that info — you need to establish it yourself using the date-of-death value and enter it in column (e) of Form 8949.

Eric G.

Author

So I need to find the date-of-death price for each inherited lot and enter it manually. The broker won't just fix that for me?

Correct, they typically won't. Pull the closing price for the stock on the date of death and use that as your basis. Publication 551 on irs.gov covers basis of inherited property in detail if you want the sourcing.

Worth separating this into two buckets: covered vs uncovered securities. Covered securities (box A or D on Form 8949) have basis reported to the IRS. Uncovered ones (box B or E) don't. For the inherited lots showing "not provided," you'd use box B or E, enter your correct basis in column (e), and put -0- in column (g). The tax software should let you override the basis field — look for an "adjust basis" or "override" option in the entry screen.

Eric G.

Author

Box B/E — got it. So for those I enter the correct basis myself and don't need to put anything in column (g)?

Right. Column (g) stays -0- when box B or E is checked and you're correcting basis that was never reported to the IRS. The column (g) adjustment mechanics only matter when the IRS already received the wrong basis from the broker — that's the box A or D situation.

The wash sale adjustments are a separate thing to verify. Code W in column (f) of Form 8949 means the loss is disallowed and the disallowed amount goes as a positive number in column (g). That reduces your loss (or increases what looks like a gain) on that row. Your broker puts the disallowed amount in box 1g of the 1099-B, but that only appears there if both transactions — the sale and the repurchase — were covered securities with the same CUSIP in the same account. If they were in different accounts the broker won't flag it and you have to catch it yourself.

Eric G.

Author

That's the part I'm worried about. I sold in my taxable account and bought back in my IRA within 30 days on two of the positions.

That matters a lot. When the replacement shares go into an IRA or Roth IRA the wash sale rules still apply but the disallowed loss is permanently lost — it does not get added to the basis of the IRA shares. The broker almost certainly did not flag this because it crossed accounts. You'll need to enter code W manually and add back the disallowed amount in column (g) on those rows.

I uploaded my 1099-B to taxr.ai and had it walk through every row of Form 8949 against the summary totals. It flagged two lots where my software had pulled the proceeds correctly but left the basis blank, so the gain was overstated. For the inherited shares it listed exactly which date-of-death values I still needed to look up before it could finish the check. Saved me from filing with an inflated Schedule D number.

Eric G.

Author

Useful to know. I'll try that before I finalize — I'd rather catch the basis errors now than get a CP2000 later.

CP2000 step — the IRS matches the proceeds from the 1099-B to your return automatically. If Schedule D is missing entries or the basis is blank, their system sees it as pure gain. Getting the basis right on Form 8949 before you file is exactly the right move.

One thing that confuses people: the holding period changes the tax rate, not the total gain number. Long-term (held more than one year) goes in Part II of Form 8949 and flows to Schedule D Part II. Short-term goes in Part I and flows to Schedule D Part I. They're taxed at different rates. Inherited property is always long-term regardless of how long you personally held it — that's the rule even if you sold the day after you inherited.

Eric G.

Author

Good — the inherited shares I sold pretty quickly so I was nervous about short-term rates. Long-term regardless makes sense now.

Just to put a fine point on the proceeds side: always enter the proceeds exactly as shown on the 1099-B in column (d) of Form 8949, even if you think the number is wrong. If the broker reported something incorrect you correct it in column (g) with an adjustment, not by changing column (d). Changing column (d) will cause a mismatch with what the IRS received and that's what triggers notices.

Had a similar pile-up last year with both RSU sales and regular stock mixed in. Pasted my 1099-B and my broker's gain/loss report into Taxr and it compared the two documents side by side, flagged the rows where proceeds matched but cost basis differed, and drafted a column (g) adjustment list I could transfer straight into my software. The RSU lots were the worst because the broker had used the wrong vest-date FMV as basis on two of them.

Eric G.

Author

The RSU basis issue is exactly what I've heard trips people up. So the correct basis for an RSU lot is the FMV on the vest date — that's what gets included as ordinary income at vest?

Yes. The FMV on the vest date is what your employer includes in box 1 of your W-2 as compensation. That same amount is your cost basis in the shares. If the broker used a different number — sometimes they use the price at time of sale by mistake — your gain on Form 8949 will be wrong. If the broker reported that basis to the IRS (box A or D), keep that box, enter the basis shown on the 1099-B in column (e), put code B in column (f) and fix it with an adjustment in column (g) using the correct basis from your vest confirmation.

Does the net Schedule D number automatically become your taxable capital gain? I always assumed it did but someone told me losses carry over differently.

Losses carry forward step — Schedule D line 16 is the net. If it's a gain, that feeds into your overall tax. If losses exceed gains, the deductible amount against other income is capped — check Topic no. 409 on irs.gov for the current limit and the carryover worksheet. The excess carries to next year, it doesn't just disappear.

Carryover worksheet — I didn't realize there was a formal worksheet for that. I'll look at the Schedule D instructions.

The inherited basis question gets more complicated if the estate had to file Form 706. In that case there are rules that require certain beneficiaries to use the estate tax value that was reported to them on Schedule A of Form 8971 — you can't just use whatever closing price you find. If the estate was large enough to require Form 706 I'd verify this before entering any basis number.

Eric G.

Author

Estate was small, well below any filing threshold, so no Form 706 was filed. I'll use the date-of-death market value and document it.

Your tax software may be handling Form 8949 boxes correctly but still show a scary-looking total on the summary page because it adds everything before netting. The number that matters is Schedule D line 16, then line 21 for the capped deductible loss if line 16 is a loss (any carryover is figured on the Capital Loss Carryover Worksheet), then it flows to Form 1040. The intermediate totals on lines 1a, 1b, 8a and 8b aren't your tax — they're just subtotals by category.

For anyone worried about the IRS math: they receive the proceeds figure from the broker and they can see it. For covered securities they also get the broker's basis, but your corrections and adjustments, and the basis on noncovered lots, come only from your Form 8949. So a 1099-B summary showing a giant proceeds number isn't a bill. It's just one side of the equation. The other side is your job to fill in correctly.

Eric G.

Author

That framing actually helps a lot. Proceeds, and basis on covered lots, are reported to the IRS; corrections, adjustments and basis on noncovered lots are mine to document on Form 8949.

If the numbers are large enough that a mistake would mean a significant bill, consider running this by an enrolled agent or CPA before filing. Getting inherited basis wrong or missing a cross-account wash sale aren't small errors — they can mean either overpaying or underreporting, and either one is a problem worth avoiding with professional eyes on the return.

Publication 550 is worth bookmarking for the wash sale mechanics and the holding period rules. The IRS also has a dedicated About Form 8949 page and the Instructions for Form 8949 that explain each column. Those two together answer most of the common questions about how proceeds, basis and adjustments flow from the 1099-B to Schedule D.

Eric G.

Author

Instructions for Form 8949 — I hadn't actually read those end to end. Going to do that tonight before I finalize anything.

One scenario that changes the answer: if any of your sales this year were digital assets, the 2025 Form 8949 has new boxes G through L specifically for digital asset transactions. Those don't use box C or F anymore. If your software is putting crypto sales in box C it may be using old logic — worth checking which box it's checking for those rows.

Eric G.

Author

No crypto in my case this year, all equities. But good to know for the future — I didn't realize there were new boxes for that.

Coming back to the original question about total proceeds vs cost basis: the two-step mental model that helped me was (1) proceeds column on Form 8949 must match the 1099-B exactly, (2) basis column is yours to enter correctly, and (3) column (g) catches everything else — wash sale add-backs, basis corrections, exclusions. Schedule D just totals it all up. The scary summary number on the brokerage statement is before steps 2 and 3.

Worth verifying once more before you file: check that the total in Form 8949 column (d) matches the proceeds total on your 1099-B summary, and that every row with a wash sale or inherited basis has the right code and adjustment in columns (f) and (g). That cross-check is the fastest way to know your Schedule D number is right.

Eric G.

Author

Column (d) total vs 1099-B summary — that's a clean way to verify. I'll do that as my final check. Thanks everyone, this thread answered every part of the question.