Year-end tax planning calculator for Roth conversions and capital gain or loss harvesting — where do I even start?

Trying to do some year-end tax planning and I keep seeing people talk about a year-end tax planning calculator for roth conversions and capital gain or loss harvesting but I genuinely don't know how to run these two things together. Here's my situation: I have some ETF positions sitting at a loss, a couple individual stocks with big long-term gains, and I'm thinking about converting part of my traditional IRA to a Roth before December 31. My brokerage software shows my unrealized positions but it doesn't tell me how a conversion stacks on top of harvested losses or whether harvesting those losses even helps if I'm bumping my ordinary income up with the conversion. I tried a rough spreadsheet but I'm missing something — the interaction between the two moves keeps throwing off my estimate. Is there a logical order to run these calculations so I know what I'm actually doing before I execute anything?

44 comments

What tax bracket are you in right now before any of these moves? That's the piece that changes everything here. A Roth conversion adds to ordinary income, which can push you into a higher bracket — but harvested capital losses offset capital gains first, and only a net loss of up to $3,000 ($1,500 if married filing separately) can offset ordinary income like a conversion. They're mostly two separate buckets.

Marcus C.

Author

Sitting just under the top of the 22% bracket based on my W-2. So any conversion would start stacking at 22% and potentially push into 24%. That's part of why I'm unsure whether the conversion makes sense at all this year or if I should just harvest the losses and call it.

If you're right at the edge of 22%, running even a small conversion could tip you. I'd figure out your projected taxable income first — W-2 plus any dividends, minus deductions — before you decide how much room you have for the conversion.

Before I figured out my own version of this, I uploaded my brokerage statements and IRA documents to taxr.ai and had it map out which positions were short-term vs long-term, estimate the Schedule D impact of the harvesting moves I was considering, and flag how the conversion amount would interact with my bracket. It didn't file anything or tell me what to decide, but it gave me a working picture I could actually hand to my CPA. Worth doing before you run numbers blind.

Marcus C.

Author

Walking into my CPA's office with a working picture like that would save me a lot of fumbling. Did it handle the interaction between the conversion income and the capital loss deduction limit, or did you still have to work that piece out separately?

It flagged that harvested losses offset capital gains first, and that net capital losses against other income are capped — pointed me to the Schedule D line and Topic 409 on irs.gov for the exact limit. I still confirmed the numbers with my CPA but I walked in with a clear picture instead of a mess.

The order of operations matters a lot here. Capital losses offset capital gains first. If your losses exceed your gains, the net loss that can reduce other income — including the ordinary income from a Roth conversion — is limited. The rest carries forward. So harvesting losses doesn't "cancel" conversion income the way some people assume.

Last year I made exactly this mistake. I thought my harvested losses would fully absorb the conversion. They don't. The capital loss limitation is real and it trips people up every time.

Marcus C.

Author

So effectively I need to run the Schedule D math first, figure out my net capital gain or loss position, and then layer the conversion on top of that as pure ordinary income?

Exactly. Your Schedule D result feeds into your AGI as either a net gain (taxable) or a net loss up to the deduction cap. The Roth conversion amount sits on top of all that as ordinary income. Those two moves don't cancel each other — they interact in a specific order.

Are you planning to reinvest immediately after selling the loss positions? Because if you buy back substantially identical securities within 30 days before or after the sale, you've got a wash sale and that loss is disallowed. The disallowed amount gets added to the cost basis of the replacement shares instead.

Marcus C.

Author

I was planning to stay in similar ETFs but not identical ones — switching from one S&P 500 fund to a total market fund for 30 days. Is that safe?

Generally yes, different fund families tracking different indexes are not considered substantially identical. The IRS looks at whether the securities are substantially identical, not just similar. But "substantially identical" isn't a bright-line rule so if the holdings are nearly the same be careful.

Does your brokerage report the wash sale in box 1g of the 1099-B? I ask because if you're harvesting in taxable accounts you need to watch across all your accounts — including your spouse's accounts and any IRAs. If your IRA buys substantially identical stock after you sell at a loss in your taxable account, that's also a wash sale and the loss is permanently disallowed, not just deferred.

Marcus C.

Author

Wait, the IRA buying triggers wash sale rules? I didn't know that. So I need to watch my IRA reinvestment schedule too.

Yes — Publication 550 is explicit on this. If you or your spouse buys substantially identical stock in an IRA or Roth IRA within the 30-day window, the loss is disallowed and unlike a normal wash sale it doesn't get added to the new shares' basis. It's just gone.

For the Roth conversion side: have you modeled what your RMDs would look like later if you don't convert? A lot of people focus on bracket management this year but miss the long-term picture — a large traditional IRA balance that grows tax-deferred can force big RMDs that push you into a higher bracket in retirement.

This is what my financial planner keeps saying. The year-end math is one piece but the multi-year trajectory matters more. Converting a bit each year while you're in a lower bracket beats one big conversion later.

Marcus C.

Author

My traditional IRA balance is mid-sized right now but I'm only mid-career so yes, it'll compound. I hadn't fully modeled the RMD side. That does change the calculus.

When I was doing this same exercise last year I had Taxr go through my actual brokerage year-end summary and IRA statement line by line — it identified which of my loss positions were short-term vs long-term, flagged one position that would have triggered a wash sale because I'd bought more shares earlier that month, and laid out where each harvesting move would land on Form 8949 (Part I vs Part II). I then used that as the input to decide how much Roth conversion made sense on top. Way easier than building the spreadsheet from scratch.

Marcus C.

Author

The Part I vs Part II distinction matters for more than just reporting right? Short-term losses offset short-term gains first, long-term losses offset long-term gains first?

Right. Within the netting rules, short-term and long-term are netted separately first, then the net figures are combined. It affects what rate your net gain is taxed at. A net short-term gain is taxed at ordinary income rates; net long-term gain gets preferential rates. So which bucket your harvested losses land in actually matters.

What's your timeline for the conversion? The IRS doesn't allow you to undo a Roth conversion anymore — recharacterization of conversions was eliminated. So if your income ends up higher than expected (year-end bonus, surprise capital gain distribution from a fund) you're stuck with the tax hit on the conversion.

Marcus C.

Author

No recharacterization, got it. I knew that rule changed a while back but it's a good reminder. I'll wait until late November when I have a clearer picture of my W-2 and any fund distributions.

Fund capital gain distributions are worth checking specifically — many funds announce estimates in October or November. If your fund pays out a big distribution in December and you've already converted, your total income for the year could be higher than you planned.

Have you checked whether the conversion would affect your IRMAA surcharges two years from now? Medicare premiums are based on MAGI from two years prior, so a big conversion this year can raise your Part B and Part D premiums later. Only relevant if you're within a few years of Medicare age but worth flagging.

Pulling this back to the mechanics: when you go to file, the harvested losses go on Form 8949 (short-term in Part I, long-term in Part II, with the right box checked for whether your broker reported cost basis). That rolls up to Schedule D. The Roth conversion shows up on the 1099-R from your IRA custodian and gets reported on Form 1040 as ordinary income. Those are separate lines — the Schedule D capital loss doesn't directly reduce the conversion income except through the net capital loss deduction cap.

Marcus C.

Author

This is the clearest the mechanics have been laid out for me. So my actual tax software should handle the netting once I enter both, but understanding the order helps me model it in advance.

Yes, the software nets it correctly but it won't tell you in advance how much room you have for the conversion before you bump a bracket. That's the planning piece you have to do before you execute the trades.

I ran this same two-move scenario earlier this fall. I pasted my year-end projected income summary and my unrealized gain/loss report into Taxr and asked it to draft a bracket analysis worksheet showing where the conversion amount would fall after the Schedule D netting. It put together a clear step-by-step breakdown I could check against my tax software estimate — caught that I'd miscounted one position as long-term when it was still short-term by a few days. Saved me a real headache on the 8949.

Marcus C.

Author

The holding period piece is easy to mess up. Counting starts the day after acquisition and ends on the trade date of the sale — not settlement date. I actually double-checked mine after reading this thread.

Exactly right on the holding period. For exchange-traded securities it's trade date to trade date. I had one position where I was off by exactly one day and it would have shifted a loss from long-term to short-term, which changes the netting order.

Is there a reason you're prioritizing the Roth conversion over just maxing out other tax-advantaged space first — 401k if you haven't hit the limit, HSA if you're eligible? Those reduce your taxable income before the conversion math even starts.

Marcus C.

Author

401k is already maxed through payroll. HSA I'm not eligible for this year due to plan type. So the Roth conversion is the main lever left on the income side.

Something worth checking: if you have any positions in qualified opportunity zone funds or other carryover losses from prior years, those interact with this year's harvesting too. Prior year capital loss carryforwards reduce your net gain this year before any new losses you harvest even factor in.

Marcus C.

Author

No QOZ funds, but I do have a small loss carryforward from 2023. Good point — I should pull that number off last year's Schedule D and work it into the projection first.

Carryforward step first, then. It's on Schedule D, and it flows forward automatically in most software, but you want to know the number before you decide how much new harvesting actually adds value this year.

Does anyone know offhand whether the netting rules treat a short-term loss used to offset a long-term gain as the same as using a short-term loss to offset a short-term gain? I always get confused on the cross-netting step.

The netting goes: short-term gains and losses net against each other first, long-term gains and losses net against each other first. Then if one is a net gain and the other is a net loss, they offset each other. A net short-term loss can reduce a net long-term gain — but that's less valuable than using it against short-term gains taxed at ordinary rates.

Net loss first step done. So ideally I want my short-term losses absorbing short-term gains, not long-term gains, to get the most tax value out of them.

The Publication 550 page on irs.gov has a solid walk-through of the capital loss netting rules and holding period rules if anyone wants the primary source. The IRS also has Topic 409 for a shorter summary. Both are worth bookmarking before you do any year-end harvesting.

Where does the AMT fit into this for someone converting a large chunk? If you've also exercised ISOs this year, the spread on exercise is an AMT adjustment on Form 6251 line 2i. A big Roth conversion stacking on top of an ISO exercise year could mean AMT exposure on two fronts at once.

Marcus C.

Author

No ISOs this year — my equity comp is RSUs so they're just ordinary income at vest. But flagging that for anyone reading who does have ISOs, that's a real compounding risk.

RSUs vest as ordinary income so they're already in your W-2 — simpler on the AMT front. The ISO-plus-conversion combo is where people get badly surprised, worth its own thread honestly.