Best software to calculate cost basis across multiple brokers?

Trying to figure out the best software to calculate cost basis for a pretty tangled situation. I have three brokerage accounts — transferred positions between them twice over the past four years — and my current broker is showing cost basis as "not covered" on the 1099-B for a chunk of shares because they predate when that broker got the account. The shares are ESPP stock, some DRIP shares, and a few lots I bought directly. I already tried to piece it together in a spreadsheet but got confused about which lot to match to which sale when I turned on specific identification. Is there actual software that handles this, or do I need to reconstruct everything manually from old trade confirmations and account statements?

36 comments

Specific lot tracking software exists specifically for this. Koinly, TaxBit, and Equinity (formerly Computershare's tracking tool) all handle multi-broker imports with lot-level detail. For DRIP shares especially, they let you import dividend reinvestment history and auto-assign the correct purchase date and price per lot — which is exactly what gets garbled in broker-to-broker transfers.

Isaac J.

Author

Are those tools pulling from 1099-B data directly or do I still need to upload CSVs from each broker?

Both, depending on the broker. Most major brokers have direct import or at least a standardized CSV format. But for the older uncovered lots you'll still need to dig up original trade confirmations and enter those manually. No tool automates what the original broker never recorded electronically.

The core problem with uncovered shares is that the broker has no legal obligation to track or report basis to the IRS on those lots, so whatever the software shows is only as good as what you feed it. The IRS doesn't receive basis info on those — that's what the "B" box on Form 8949 is for (basis not reported to the IRS).

Isaac J.

Author

So I still have to put the correct basis in column (e) myself on Form 8949 for those lots, right? The broker won't even try?

Correct. For uncovered lots you check box B (or E for long-term), enter your actual cost basis in column (e), and put -0- in column (g). No adjustment needed there — you just own the correct number.

For ESPP shares specifically the basis calculation has an extra step most tools miss. The ordinary income your employer already included in your W-2 at vesting or purchase needs to be added to the purchase price to get to the adjusted basis. If you skip that you end up reporting a phantom gain. Publication 525 covers the ESPP income inclusion rules.

Isaac J.

Author

That phantom gain is the trap my own ESPP lots are sitting in. My broker's 1099-B shows the original purchase price, not the adjusted basis that includes the discount already taxed as income.

Right, so for covered lots where the broker reported the unadjusted basis to the IRS, you use code B in Form 8949 column (f), enter the basis from the 1099-B in column (e), then put a negative adjustment in column (g) for the amount already taxed as ordinary income — that reduces the reported gain by the income you already paid tax on.

I ran into this same multi-broker transfer mess last year and ended up uploading all my 1099-B PDFs and old trade confirmations to taxr.ai. Taxr went through each document, matched the lot dates and purchase prices across accounts, and built a table showing which lots were covered versus uncovered and where the basis gaps were. It flagged two lots where I'd transferred in shares and the receiving broker had reset the acquisition date — which would have changed them from long-term to short-term incorrectly. That would've cost me real money if I'd just filed with what the 1099-B said.

Isaac J.

Author

The acquisition date reset is exactly the kind of thing I'm scared about. Good to know that's a thing that actually happens during transfers.

Transfer agents sometimes use the transfer date instead of the original trade date. Always verify the acquisition date on the receiving broker's statement against your original confirmation. The holding period rule in Publication 550 is clear that for securities on an established market the holding period starts the day after the trade date you bought — not the settlement date and definitely not the transfer date.

Quicken and its spin-off Simplifi track cost basis if you've kept the account history live there, but for reconstructing old lots from scratch they're not ideal. They're better for ongoing tracking going forward than for untangling the past.

Worth saying plainly: if you're using specific identification you need to have identified the specific lot you're selling before or at the time of the sale — not afterward. Some brokers let you do this in the trade confirmation or by selecting the lot in their interface. If you didn't do that, the IRS default rules apply, which for most brokers means FIFO.

Isaac J.

Author

I did select specific lots in the broker's interface at the time of each sale. I have the confirmation emails showing which lot. So I think I'm okay on that part.

Then you're fine. Keep those confirmation emails with your tax records. If the basis on the resulting 1099-B still doesn't match what you expect, that's where the column (g) adjustment on Form 8949 comes in.

The lot-matching problem across transferred accounts is genuinely harder than most software advertises. I had Taxr walk through my transfer statements and 1099-B side by side — it compared the lot descriptions and dates on each document and listed the discrepancies clearly so I could see exactly which lots the new broker had wrong. Saved me a lot of back-and-forth with the broker's cost basis department.

Isaac J.

Author

Did you end up having to call the broker to get them to correct the basis on file, or did you just override it on Form 8949?

Both, actually. For covered lots I asked the broker to correct their records first, because if they report the wrong basis to the IRS and you just adjust on 8949 it can flag. For uncovered lots I just entered the correct number in column (e) on Form 8949 directly — the broker has no reporting obligation on those so there's nothing to match.

Wash sale rules add another layer here if you've been selling and rebuying any of these positions across the three accounts. The 30-day window applies across all your accounts, and even a purchase in an IRA or Roth IRA of substantially identical stock can trigger a wash sale — though in that case the disallowed loss is permanently lost, not added back to any basis.

The IRA point is important. When the replacement shares are bought inside an IRA, you can't add the disallowed loss to the new IRA shares' basis. It's gone. That's different from a taxable account where the disallowed loss does adjust the cost basis of the replacement lot.

Isaac J.

Author

I don't think I have any IRA wash sale issues but I'll double-check. Good to know the rule is permanently lost in that situation.

If the DRIP shares span many years the reconstructed basis work is tedious but straightforward: each dividend reinvestment is a separate purchase lot, with a basis equal to the price paid on that reinvestment date and a holding period starting the day after. Some brokers provide a full DRIP history export — ask for it specifically, it isn't always in the standard 1099-B download.

Isaac J.

Author

My broker's online portal only shows the last 7 years of DRIP history. The shares go back further than that. Any idea where to get the older records?

Transfer agent records. If the stock has a transfer agent (usually listed on the company's investor relations page), they maintain shareholder records that predate most broker histories. You can request a full transaction history directly. It costs a small processing fee sometimes but it's the only authoritative source for pre-electronic DRIP lots.

Isaac J.

Author

Didn't know you could go directly to the transfer agent. I'll look up who handles this company's shares.

If after all this reconstruction you still can't establish the basis for certain lots, you're not stuck with zero — that would overstate your gain. Publication 551 on basis of assets covers the methods for establishing basis when records are incomplete. A CPA or enrolled agent who handles investment accounts can help you document a reasonable basis using contemporaneous price records.

The Form 8949 instruction that trips people up most with multi-broker transfers: for covered lots where the basis is reported to the IRS but wrong, you still enter the 1099-B basis in column (e) — not your corrected number — and use column (g) with a negative adjustment for the difference. Only for uncovered lots (box B or E) do you enter your own correct basis directly in column (e).

This is correct and worth emphasizing. If you flip it and put your corrected basis in column (e) for a covered lot, the IRS gets a mismatch between what they received from the broker and what your return shows, which creates unnecessary questions.

Isaac J.

Author

So for covered lots: broker's basis in (e), adjustment in (g). For uncovered: correct basis in (e), -0- in (g). Got it. That's the clearest the whole form has ever made sense to me.

One software note: if any of your lots involve fractional shares from DRIP, some tools round incorrectly and accumulate errors over dozens of reinvestment cycles. Worth spot-checking a few years of reconstructed totals against the number of shares the transfer agent shows you hold.

Has anyone here used TradeLog? It's older but was specifically built for active traders who need lot-level tracking and form 8949 output. Worth looking at if you want something that produces a 8949-ready file rather than just a summary.

TradeLog works well for frequent traders but for someone reconstructing historical DRIP and ESPP lots it may be overkill. The manual entry for old uncovered lots is about the same in any tool — the value is in the ongoing automation, not the reconstruction.

The situation you're describing — ESPP, DRIP, multi-broker transfers, uncovered lots — is genuinely one of the more complex personal investment basis problems there is. If the dollar amounts are significant, seriously consider having an enrolled agent or CPA who specializes in investment returns review your reconstruction before you file. The cost basis errors that come back as CP2000 notices are worth avoiding.

Isaac J.

Author

The amounts are large enough that I'll probably do exactly that. I'll do my own reconstruction first so I'm not paying someone to start from zero, then have a professional check it.

That's the right approach. The more organized your source documents are before you walk in, the more efficient the review. Keep the trade confirmations, the transfer statements, the DRIP history, and the 1099-Bs together by account and year.