How to calculate earnings on excess Roth IRA contribution before filing taxes
Contributed $1,000 too much to my Roth IRA last year (income came in higher than I expected and I phased out). I want to withdraw the excess plus earnings before the tax deadline so I don't get hit with the 6% excise tax. My brokerage has a form for "return of excess contribution" but it's asking me to confirm the earnings amount — it's not filling that in automatically. I looked at my account balance on the contribution date vs. now and just subtracted, but I know that's not the right method because there were other contributions and market moves in between. Is there an IRS formula for this? Do I calculate it myself or does the brokerage always do it? I want to make sure I'm pulling out the right amount so I don't under-withdraw and still owe the 6%, or over-withdraw and create a new taxable event.