Underpayment penalty for short-term capital gains with W-2 job and no quarterly payments — how bad is it?
So I sold a bunch of stock in taxable brokerage throughout the year, all held less than a year so it's all short-term. My only other income is a regular W-2 salary where my employer withholds federal tax normally. I didn't make any quarterly estimated payments because I just assumed my W-2 withholding would cover everything. Now I'm sitting here with a pretty significant short-term capital gains amount on my 1099-B and I'm realizing my W-2 withholding definitely did not cover the tax on those gains. I know there's an underpayment penalty involved but I have no idea how it's calculated or whether my W-2 withholding helps at all when figuring it out. Does the IRS look at the whole year's withholding together or does timing actually matter here?