Modified Adjusted Gross Income (MAGI) Calculator

Compute your MAGI for Roth IRA contribution eligibility using the exact add-backs on IRS Publication 590-A Worksheet 2-1 — then see how the 2025 phase-out band applies to your filing status.

#finance#tax#magi#roth-ira#us

Sets the 2025 Roth IRA MAGI phase-out band ($150k–$165k single, $236k–$246k joint, $0–$10k separate).

£

Start from your AGI on Form 1040 Line 11. If you have not computed AGI, use the AGI calculator first.

£

Schedule 1 Line 20 — added back for Roth IRA MAGI (Pub 590-A Worksheet 2-1 step 2). Leave 0 if you did not deduct a traditional IRA contribution.

£

Schedule 1 Line 21, capped at $2,500 under IRC §221. Enter what you actually deducted — the calculator caps automatically.

£

Form 2555 Line 45 (foreign earned income exclusion) plus Line 46 + 50 (foreign housing exclusion/deduction). Leave 0 if you do not use Form 2555.

£

Sum of Form 8815 Line 14 (excluded savings bond interest) and Form 8839 Line 28 (excluded employer-provided adoption benefits). Rare — usually 0.

Modified Adjusted Gross Income (MAGI)

£100,000.00

Adjusted Gross Income (Form 1040 Line 11)
£92,000.00
Traditional IRA deduction added back
£5,500.00
Student loan interest deduction added back
£2,500.00
Foreign earned income + housing exclusion added back
£0.00
Other add-backs (savings bond, adoption)
£0.00
Total add-backs
£8,000.00
Roth IRA contribution eligibility (2025)
1%

MAGI for Roth IRA purposes (IRS Pub 590-A Worksheet 2-1) = AGI + traditional IRA deduction + student loan interest deduction + foreign earned income exclusion + foreign housing exclusion + savings bond and adoption exclusions. AGI $92,000 plus $8,000 of add-backs gives a MAGI of $100,000. At MAGI $100,000, single / head of household filers are below the 2025 Roth IRA phase-out floor of $150,000 — full contribution allowed.

How to use this calculator

Pick your filing status — the 2025 Roth IRA phase-out band is $150,000–$165,000 for single or head of household, $236,000–$246,000 for married filing jointly, and $0–$10,000 for married filing separately (a punitive band Congress kept to nudge separately-filing spouses toward joint). Enter your AGI from Form 1040 Line 11. If you have not computed AGI yet, use the AGI calculator first and come back with the number. Then add back the four categories on IRS Publication 590-A Worksheet 2-1: your traditional IRA deduction (Schedule 1 Line 20), your student loan interest deduction (Schedule 1 Line 21, capped at $2,500), any foreign earned income exclusion or foreign housing exclusion or deduction (Form 2555), and the "other" catch-all covering excluded savings bond interest (Form 8815 Line 14) and excluded employer-provided adoption benefits (Form 8839 Line 28). The calculator returns your MAGI and the fraction of the annual Roth IRA contribution limit still available to you.

How the calculation works

MAGI is not one number — the IRS defines it slightly differently for each provision that uses it. This calculator implements the Roth IRA definition on Publication 590-A Worksheet 2-1, the version taxpayers reach for most often because it decides whether they can contribute to a Roth IRA at all. The formula: MAGI = AGI + traditional IRA deduction + student loan interest deduction + foreign earned income exclusion + foreign housing exclusion or deduction + excluded savings bond interest + excluded employer-provided adoption benefits. Once MAGI is known, IRC §408A(c)(3) sets a phase-out band above which Roth contributions decline linearly to zero. For 2025, single and head-of-household filers phase out between $150,000 and $165,000, married joint filers between $236,000 and $246,000 (Notice 2024-80). Inside the band, the allowed contribution equals the ordinary annual limit times (upper threshold − MAGI) / band width. The Traditional IRA deductibility MAGI, the Premium Tax Credit MAGI, the IRMAA MAGI (Medicare premiums), and the Net Investment Income Tax MAGI all use different add-back lists — see the FAQ before applying this number elsewhere.

Worked example

A single filer reports AGI of $92,000 on Form 1040 Line 11. They deducted $5,500 of traditional IRA contributions on Schedule 1 Line 20, took the maximum $2,500 student loan interest deduction on Line 21, and have no foreign income or savings-bond exclusions. MAGI = $92,000 + $5,500 + $2,500 + $0 + $0 = $100,000. The 2025 single-filer Roth IRA phase-out band starts at $150,000, so $100,000 MAGI is well below the floor — the full $7,000 Roth contribution limit is available ($8,000 with the 50+ catch-up). If the same taxpayer had AGI of $150,000 instead, MAGI would be $158,000 — inside the phase-out band, so the allowed Roth contribution would be ($165,000 − $158,000) / $15,000 = 46.7% of $7,000, or roughly $3,269 (rounded to the nearest $10).

Frequently asked questions

Why does MAGI even exist — is it not just AGI?

MAGI is a policy tool. AGI is the "official" income number on Form 1040 Line 11, computed after above-the-line adjustments like the traditional IRA deduction and the student loan interest deduction. When Congress designs an income-tested benefit (Roth IRA eligibility, Premium Tax Credit, Medicare IRMAA surcharge, education credits), it does not want the taxpayer to shrink AGI with those same adjustments to squeeze into eligibility. So each provision adds back the specific deductions that would otherwise let taxpayers game the threshold. Each MAGI variant reflects a different set of policy concerns: Roth IRA MAGI adds back deductions that a Roth contributor could otherwise use to hide income; Premium Tax Credit MAGI adds back tax-exempt interest and non-taxable Social Security because subsidised health insurance should be based on economic income, not just taxable income. Same acronym, five different formulas — always check which MAGI the form or worksheet is asking for.

How is Roth IRA MAGI different from Traditional IRA MAGI or Premium Tax Credit MAGI?

The three overlap heavily but diverge on one or two items each. Roth IRA MAGI (Pub 590-A Worksheet 2-1) adds back the traditional IRA deduction, student loan interest deduction, foreign earned income exclusion, foreign housing exclusion, excluded savings bond interest, and excluded adoption benefits. Traditional IRA deductibility MAGI (Worksheet 1-1) uses the same add-backs except it does not add back the traditional IRA deduction itself — because that would be circular when computing whether the IRA deduction is allowed. Premium Tax Credit MAGI (IRC §36B(d)(2)(B)) adds back only three items: tax-exempt interest, non-taxable Social Security benefits, and foreign earned income excluded from tax — a completely different set. IRMAA MAGI adds back tax-exempt interest to AGI, nothing else. If a form asks for MAGI, read the instructions carefully to see which definition applies.

I contributed to a Roth IRA and my MAGI turned out too high — now what?

You have an excess contribution. If you leave it in, IRC §4973 charges a 6% excise tax per year until it is removed. You have three clean ways to fix it before the excise applies for 2025: (1) withdraw the excess plus any earnings attributable to it before the October 15 extended filing deadline for the tax year — the excess is not taxed, but the earnings are taxed as ordinary income; (2) recharacterise the Roth contribution as a traditional IRA contribution (only available for a traditional-vs-Roth choice, and the deadline is also October 15); (3) if you also have a traditional IRA and no other pretax IRA balances, do a "backdoor Roth" — make a non-deductible traditional IRA contribution and convert it to Roth. The backdoor is only clean if you have no pretax traditional IRA balance at year-end, otherwise the pro-rata rule (§408(d)(2)) taxes most of the conversion. Talk to a CPA before doing a backdoor conversion if you have any existing pretax IRA money.

Why is the married-filing-separately phase-out band so brutal ($0–$10,000)?

Congress uses the MFS Roth IRA phase-out as a deliberate nudge to file jointly. If married filing separately were treated the same as single ($150,000–$165,000 in 2025), a high-earning spouse could file separately purely to get their own Roth allowance while the joint return was unavailable to them for some other reason. Instead, IRC §408A(c)(3)(B) sets the MFS phase-out to start at $0 and end at $10,000 — meaning almost any MFS filer with meaningful earned income is fully phased out. The one exception in §408A(c)(3)(B)(iii): if you lived apart from your spouse for the entire year, you are treated as single for this purpose and get the full $150,000–$165,000 band. This is the same policy pattern Congress uses across MFS provisions — capital loss deduction, IRA deductibility, education credits — to discourage separate filing except in genuine estrangement scenarios.

Do I add back the Roth IRA contribution itself when computing MAGI?

No. Roth IRA contributions are made with after-tax dollars — there is no deduction to add back because there was never a deduction in the first place. The Roth contribution never touched AGI, so it is not in the MAGI computation. The traditional IRA deduction is different — that one reduced AGI, so it gets added back when checking Roth eligibility, because Congress does not want a traditional IRA deduction to expand Roth room. In practice, the Roth contribution is what you are trying to size; MAGI is the input, contribution room is the output. If you find yourself typing the Roth contribution into the calculator, you have the direction backward — start over from Form 1040 Line 11 AGI.

Do 401(k) or 403(b) contributions reduce my MAGI?

Yes, indirectly — traditional 401(k)/403(b) pre-tax deferrals reduce W-2 Box 1 wages before AGI is computed, so they never enter AGI and are not added back for MAGI. That is one of the cleanest ways to bring MAGI down under the Roth IRA phase-out threshold: bump traditional 401(k) deferrals up in the last few pay periods of the year if you can afford it. Roth 401(k) deferrals do not reduce MAGI — they are after-tax like Roth IRA contributions. Similarly, HSA payroll deductions and Section 125 cafeteria-plan pre-tax deductions reduce W-2 Box 1 and therefore MAGI. Above-the-line HSA contributions made outside payroll reduce AGI but do not get added back for Roth IRA MAGI — so they help too. These four levers (traditional 401(k), traditional 403(b), HSA, cafeteria plan) are the main tools taxpayers within striking distance of the phase-out band use to preserve Roth eligibility.