Paying estimated taxes on capital gains — how do I figure out what to send?

I sold a chunk of index fund shares in March and realized a pretty large long-term gain. Nothing was withheld obviously since it came through my brokerage. I know estimated taxes are a thing but I've never had to deal with them before — my salary income always covered everything through withholding. I looked at the IRS page on estimated payments but I got confused on whether I use last year's total tax as the safe harbor or whether I have to actually project this year's gain forward. My broker sent a trade confirmation but nothing about what I owe. Do I just estimate the gain, multiply by the rate, and send that in, or is there a more structured way to calculate the quarterly amount so I don't get hit with an underpayment penalty at the end of the year?

37 comments

The structured way is Form 2210. That form calculates whether you owe an underpayment penalty, but working through its logic also tells you the two safe-harbor paths: pay at least 100% of last year's total tax liability across your four estimated payments, or pay at least 90% of this year's actual tax. Whichever is smaller wins. If your adjusted gross income last year was above a certain threshold the percentage on the prior-year path is higher — check the Form 2210 instructions for the exact figure since it depends on your situation.

Alex N.

Author

Thanks, pulling up Form 2210 now. So if I just match last year's total tax exactly and spread it across the four due dates I'm safe even if my gain this year is much bigger?

Correct — as long as your prior-year AGI wasn't above that threshold, matching last year's total tax in equal installments fully covers you on the penalty. You'd still owe the remaining balance when you file, but no underpayment penalty.

Worth knowing that capital gains get no special treatment for estimated taxes — they're just income that needs to be in your estimated payment like anything else. The long-term rate you ultimately pay shows up on Schedule D and flows to Form 1040, but for quarterly payment purposes you're working off total projected tax, not a separate gain calculation.

Alex N.

Author

Good to know, I was overthinking it as if gains had a separate payment lane.

The four due dates are not evenly spaced through the year which catches people. The gap between the June and September dates is different from the others. I'd look at the Form 1040-ES instructions — they list the exact dates and also include a worksheet that walks through projected income, deductions and credits to arrive at the amount to send each quarter.

The 1040-ES worksheet is underrated for this. It's basically a mini tax return projection. If you fill it out carefully you get a number that actually reflects your situation rather than just copying last year.

Alex N.

Author

Thanks, downloading 1040-ES now. I didn't realize there was a worksheet built in.

Had a similar situation last year — sold some appreciated ETF shares mid-year and panicked about whether my payments were even in the right ballpark. I uploaded my 1099-B and my prior-year return to taxr.ai and it compared the two, estimated the new liability, and drafted a payment schedule showing what to send each quarter to stay inside the safe harbor. I still verified the numbers against the 1040-ES worksheet myself before actually sending anything, but having that side-by-side laid out saved me a lot of back-and-forth.

Alex N.

Author

That's exactly the kind of cross-check I need. I'll try running my 1099-B through it alongside last year's return.

One thing that matters a lot here: did your gain come from a sale in one quarter or spread across the year? The annualized income installment method on Schedule AI of Form 2210 lets you pay more in later quarters if your income was actually concentrated later. If you sold everything in March, Schedule AI won't lower your early installments, but paying the required annual amount in four equal installments on the due dates still avoids the penalty, so spreading it flat is fine as long as the annual total is right.

Alex N.

Author

The sale was all in March so the income hit Q1. I'll look at Schedule AI — hadn't heard of that method before.

Schedule AI is genuinely useful for uneven income. The math is a bit involved but it can reduce what you owe in quarters where your income was lower.

If your withholding from your salary is substantial it offsets the estimated payment requirement too. Withholding is treated as paid evenly across the year for penalty purposes even if it's actually taken out each paycheck. So if your job withholding alone covers a big chunk of last year's tax, you may need smaller quarterly payments — or none — for the gain.

Alex N.

Author

Oh that's useful. My salary withholding is decent, so maybe the gap is smaller than I feared.

Run the 1040-ES worksheet including your expected withholding for the year. The required payment is the total required minus what withholding covers.

Went through this two years ago with RSU vesting plus a brokerage sale in the same year. My broker's 1099-B showed the gain clearly but gave me no help on quarterly payments. I ran my Schedule D draft and the prior-year return through Taxr and it read through both documents and listed exactly which lines fed into the estimated payment calculation — helped me see where the AMT question was coming in too since my RSUs vested at a high price. Ended up paying more than I thought I needed to but avoided the penalty.

Alex N.

Author

The AMT angle hadn't occurred to me — I don't have RSUs but good to know that layer exists.

AMT can show up in unexpected places. If you exercised any ISOs during the year that's a separate Form 6251 calculation on top of everything else.

Don't forget state estimated taxes if your state has an income tax. The state due dates don't always match the federal ones and the safe-harbor rules differ by state. Worth a separate lookup for your state's revenue department.

Alex N.

Author

Good reminder. I had only been thinking about federal.

The penalty itself, if you underpay, is calculated on Form 2210 using the federal short-term rate plus a few points — it's not a flat fee. For most people with a small underpayment it ends up being pretty minor, but on a large gain it can add up. Better to just get the quarterly payments roughly right.

Something people miss: if you sell at a loss later in the year that loss offsets the earlier gain on Schedule D. So if you sold in March at a big gain but think you might harvest losses later, your projected annual tax could actually be lower than what Q1 suggests. Worth accounting for in your projection rather than overpaying all year.

Careful with wash sales though — if you sell at a loss and rebuy the same or substantially identical security within 30 days before or after, that loss is disallowed. The wash sale rules in Publication 550 cover this in detail.

Fair point. Loss harvesting only works cleanly if you don't trigger a wash sale by repurchasing too soon.

The 1040-ES vouchers are optional — you can pay electronically through EFTPS or the IRS Direct Pay system without them. Some people find electronic easier to track since you get a confirmation number each time.

Alex N.

Author

Good to know. I'll probably use Direct Pay since I already have an account there.

If this is your first year dealing with estimated payments, the safest starting point is literally to find last year's total tax on line 24 of your Form 1040, divide by four, and send that amount on each due date. That alone covers the basic safe harbor for most filers. Then file normally in April and pay whatever's left.

Line 24 is the right line — just want to flag that the threshold for the higher prior-year percentage kicks in above a certain AGI level. The Form 2210 instructions have the number. If you were above it last year you need 110% of that line 24 amount, not 100%.

Correct, should have flagged that. If your income was above that threshold, divide the higher amount by four instead. The 2210 instructions are the right place to look it up since the exact figure is in there.

Worth noting: if you have capital loss carryforwards from prior years those reduce your net capital gain on Schedule D, which reduces what you project owing. Pull your Schedule D from last year and check line 6 or line 14 for any carryover amounts.

Alex N.

Author

I do have a small carryforward from 2022 actually. Good catch — I'll subtract that from the projected gain.

Chapter 4 of Publication 550 on the IRS site lays out the holding period rules clearly if you're uncertain whether your gain is long-term or short-term. The rate difference is significant and affects how much you're projecting in the first place.

Alex N.

Author

Mine is definitely long-term — held over two years — but Pub 550 chapter 4 is a good reference for anyone unsure about the cutoff.

Also check Publication 550 for the full investment income rules. It covers how to calculate your basis, which matters for getting the gain amount right before you even start estimating payments. A wrong basis number means your whole projection is off.

To pull this together for the original question: start with 1040-ES to project total tax, compare to last year's Form 1040 line 24 for the safe harbor amount, account for withholding already being paid, then send the difference across the remaining due dates. Form 2210 is for after the year ends to check if a penalty applies — but doing the 1040-ES work upfront is how you avoid needing to worry about 2210 much at all.

Alex N.

Author

This is the clearest summary of the steps I've seen. Really appreciate everyone's help — going to work through the 1040-ES worksheet this weekend and get Q2 sent before the due date.