Skip to content
UseCalcNow
Finance

MAGI Calculator — Modified Adjusted Gross Income

Compute modified adjusted gross income to check Roth IRA limits, ACA premium tax credits, and Medicare IRMAA brackets.

About This Calculator

Modified adjusted gross income decides Roth IRA eligibility, ACA premium tax credits, and Medicare IRMAA surcharges, and it runs higher than the AGI printed on your 1040 because tax-exempt interest and other excluded income get added back. Enter your AGI plus the standard add-backs, pick the program you are testing, and the tool quotes the matching 2026 threshold band and verdict. The default example shows a $145,000 AGI growing to $150,000 MAGI once $3,000 of municipal bond interest and $2,000 of non-taxable Social Security are restored.

The Formula Behind This Calculator

The formula starts with adjusted gross income (Form 1040 line 11) and restores the items each statute adds back. For Roth IRA limits and ACA household income, MAGI equals AGI plus tax-exempt interest, plus the foreign earned income exclusion, plus non-taxable Social Security benefits, plus other excluded income such as Series EE savings-bond interest redeemed for education. Medicare IRMAA is narrower: MAGI equals AGI plus tax-exempt interest only, and the non-taxable portion of Social Security never enters it. The verdict logic then applies the 2026 tables: Roth phase-outs run $153,000 to $168,000 for single filers and $242,000 to $252,000 for joint filers, with the limit reduction rounded up to the next $500; IRMAA tiers split at $106,000, $133,000, $167,000, $200,000, and $500,000, doubled for joint returns; and the ACA test divides MAGI by the poverty line for your household size ($15,650 for one person plus $5,500 per additional member) and flags the 400% FPL cliff.

Understanding the math helps you verify results and make better decisions for your project.

How to Use

  1. 1Open your latest Form 1040 and copy line 11 into the AGI field, since every MAGI definition builds directly on that number.
  2. 2Add line 2a tax-exempt interest from municipal bonds, which is the add-back that surprises the most filers near a threshold.
  3. 3Enter any Form 2555 foreign earned income exclusion, the non-taxable share of your SSA-1099 benefits, and other excluded income such as savings-bond interest.
  4. 4Pick the program you are testing, your filing status, and (for the ACA test) your household size.
  5. 5Read the verdict against the 2026 threshold band, then rerun the numbers with a higher deferral or a projected year-end bonus to see how close the boundary sits.

When to Use

  • →You want to fund a Roth IRA and need to know whether your income lands inside the 2026 phase-out band of $153,000 to $168,000 single or $242,000 to $252,000 joint.
  • →You are enrolling in a marketplace plan and must estimate whether household MAGI stays under the 400% poverty-line cliff that returned for 2026 coverage.
  • →You are 63 or older and projecting premiums, because IRMAA reads your MAGI from two years back.
  • →You are doing year-end planning in November and want to see how much extra 401(k) deferral or loss harvesting it takes to duck under a specific band.

Tips

  • ✓Pull AGI from the actual return, not your last paycheck: bonuses, investment income, and half of your self-employment tax deduction move the number in ways payroll stubs never show.
  • ✓Model municipal bond purchases before year end, since every dollar of coupon interest is invisible to your tax bill but fully visible to all three MAGI definitions.
  • ✓A $5,000 jump matters most near a boundary: going from $158,000 to $153,000 MAGI single restores the full Roth limit because the reduction formula rounds against you inside the band.
  • ✓Roth conversions raise IRMAA MAGI two years later, so space large conversions in the years before Medicare enrollment and check each year against the tier splits.
  • ✓Pre-tax 401(k) and HSA contributions lower every MAGI variant at once because they cut AGI itself, while Roth 401(k) deferrals lower none of them.
  • ✓Keep the thresholds for each program on one worksheet: they are indexed, they change most Januaries, and boundary cases within a few hundred dollars deserve a fresh projection.

What MAGI Is and Why Programs Add Income Back

Adjusted gross income is the number on line 11 of Form 1040 after above-the-line adjustments such as educator expenses, student loan interest, and self-employment tax. Modified adjusted gross income rebuilds income from that base by adding back items each statute wants counted for its own eligibility test. Because Congress wrote the definitions separately, the add-back list differs between the Roth IRA rules in IRC 219G, the ACA premium credit rules in IRC 36B, and the Medicare IRMAA tables. Start with the AGI calculator to lock down line 11 before layering the add-backs on top.

The default case shows how fast the gap opens. A retiree with $145,000 of AGI, $3,000 of municipal bond interest, and $2,000 of non-taxable Social Security reports $150,000 for the Roth test — only $3,000 under the $153,000 single-filer phase-out start for 2026. The same retiree's IRMAA figure would be $148,000, because Medicare ignores the Social Security add-back entirely. Three thresholds, three different answers from one set of facts.

The add-backs exist because tax-exempt interest, excluded foreign earnings, and the non-taxable share of benefits escape income tax yet still represent real spending power. Threshold tests written on plain AGI would let a household with $40,000 of municipal coupons appear poorer than an identical household holding taxable bonds. Restoring those amounts aligns each eligibility test with actual economic income, which is exactly why the restore step bites hardest for retirees and municipal bond investors.

How the MAGI Calculation Works, Field by Field

The computation always starts from AGI, never gross income, so every adjustment you claimed — half of self-employment tax, the deductible IRA contribution, health savings account deductions — already happened before the first add-back. From there the stack adds line 2a tax-exempt interest, the Form 2555 foreign earned income exclusion (around $130,000 to $135,000 indexed yearly), the non-taxable share of Social Security from your SSA-1099 combined-income worksheet, and other excluded items such as Series EE savings-bond interest redeemed for education. If you keep a clean annual income calculator tally through the year, the year-end MAGI check takes minutes instead of hours.

The program select controls which stack applies. Roth IRA limits and ACA household income use the full five-part add-back, while IRMAA uses only AGI plus tax-exempt interest and skips the other three items. The filing status select loads the right threshold band — single filers and joint filers face different Roth phase-outs and doubled IRMAA splits — and the household size field drives the ACA poverty-line percentage for families.

Precision matters most inside the phase-out bands, where a few thousand dollars of MAGI changes the allowed Roth contribution in $500 steps. The tool quotes the 2026 tables and rounds the Roth reduction up to the next $500 the way IRC 219G requires, so the verdict matches what your tax software will compute rather than a linear approximation. Verify thresholds each January because most of these bands index annually.

MAGI for Roth IRA Contributions

For 2026, the Roth phase-out runs from $153,000 to $168,000 for single and head-of-household filers and $242,000 to $252,000 for married filing jointly. At or below the bottom number the full $7,000 limit applies, or $8,000 with the age-50 catch-up. The default example sits $3,000 under the single-filer start, which is close enough that one decent capital gain distribution could push it into the band.

Inside the band the limit shrinks on a schedule that rounds against you: the reduction rounds up to the next $500. At $155,000 of MAGI the allowed limit is $6,000, at $158,000 it is $4,500, at $160,000 it is $3,500, and at $163,000 only $2,000 remains. The worked single-filer case — $160,000 AGI plus $3,000 of municipal interest — lands exactly there, keeping $2,000 of direct room. By $167,000 the reduction consumes the entire $7,000 and only the phase-out label distinguishes it from a full bar. A joint filer at $248,000 keeps $2,500.

Above the top of the band, direct contributions are barred and the excess carries a 6% excise tax each year under IRC 4973 until you withdraw or recharacterize it. Most high earners instead contribute to a nondeductible traditional IRA and convert, a path the pro-rata rule complicates when pre-tax IRA balances exist. For the growth side of that decision, the IRA calculator projects balances under either flavor and prices the rate-gap assumption.

The Tax-Exempt Interest and Social Security Traps

Municipal bond interest is the stealth add-back. It never appears on a W-2 or a pay stub, never shows up in tax withholding, and yet flows into all three MAGI definitions at full value. An investor with $145,000 of AGI who buys a ladder yielding $8,000 of coupons moves from $3,000 under the single Roth start to $2,000 over it in one purchase. Before adding munis near a threshold, compare the after-MAGI consequences with the taxable equivalent yield calculator, because the coupon that beats a taxable bond on paper can cost more than the spread in lost Roth room or surcharges.

Social Security works in the opposite direction depending on the test. For Roth and ACA purposes the non-taxable portion is added back on top of the taxable portion already inside AGI, so the full benefit counts toward the threshold. For IRMAA it does not: a single filer with $210,000 AGI, $5,000 of tax-exempt interest, and $9,000 of non-taxable benefits reports $215,000 for Medicare — the $9,000 simply never enters that version. The combined-income formula that decides the taxable share (half the benefit plus other income) is worth computing before claiming, since an extra $1,000 of other income can turn an additional $500 to $850 of benefits taxable.

The payroll side of the ledger is set decades earlier: benefits are funded by FICA contributions while working, and the FICA tax calculator shows the wage base and rate structure behind them. For current workers, one more planning note on the foreign exclusion: the amount sheltered by Form 2555 is restored in full for the Roth and ACA tests, so expatriates with $130,000 of excluded wages can still be well inside a phase-out band back home.

MAGI for ACA Premium Tax Credits

Marketplace subsidies key off household MAGI as a percentage of the federal poverty line. For 2026 coverage the applicable guideline starts at $15,650 for one person and adds $5,500 per additional member, so the 400% cliff lands at $62,600 for a single person, $84,600 for a household of two, $106,600 for three, and $128,600 for four. Households at or under the cliff qualify for the premium tax credit; the expected contribution slides up toward roughly 9.5% of income at the top of the range.

The enhanced credits that flattened the scale from 2021 through 2025 ended after the 2025 plan year, so the 400% cliff is back for 2026. A two-person household with $98,000 of MAGI sits at about 463% of poverty — roughly $13,400 over the cliff — and receives no credit at any premium level. A family of four at $95,000 sits near 295% and keeps a substantial credit; the same family $34,000 higher loses it entirely, which is why students' and dependents' income, included in household MAGI, deserves a careful look at enrollment.

The income definition here is the full add-back stack, including excluded foreign earnings and the non-taxable share of benefits, and the marketplace reconciles it against your actual return on Form 8962. Report mid-year income changes promptly, because an underestimate converts to repaid credit at filing. The contrast with student-loan income-driven repayment is instructive: those plans key off a different discretionary-income formula built on AGI, which the discretionary income calculator works through separately.

MAGI for Medicare IRMAA

IRMAA surcharges read your return from two years back: 2026 premiums are set by 2024 MAGI, defined as 2024 AGI plus tax-exempt interest. A single filer whose 2024 return shows $210,000 of AGI and $5,000 of municipal interest reports $215,000, landing in Tier 4 (over $200,000, under $500,000) for 2026. A married couple at $306,000 lands in Tier 2 under the doubled splits ($266,000 to $334,000).

The 2026 single-filer brackets split at $106,000, $133,000, $167,000, $200,000, and $500,000, with joint returns doubled at $212,000 through $750,000. Surcharges run per person, per month, climbing from roughly $78 at Tier 1 to about $486 at the top, added to a standard Part B premium around $197.50 plus separate Part D add-ons — a couple in Tier 2 can face several thousand dollars a year, so confirm the current-year amounts at Medicare.gov before deciding how hard to plan around a boundary.

The lookback is appealable. Retirement, reduced work hours, marriage, and several other life-changing events qualify for Form SSA-44, which substitutes a current-year estimate for the stale return — valuable when the lookback year contains a one-time Roth conversion or a large capital gain. For timing the whole sequence, the retirement countdown calculator marks the years whose MAGI will control each Medicare premium year, starting with the return filed at age 63 for age-65 premiums.

MAGI Versus AGI and Other Income Tests

Not every income test uses MAGI, and assuming so produces real errors. The child tax credit phases out on plain AGI at $200,000 single and $400,000 joint — tax-exempt interest does not enter it at all, so the child tax credit calculator works from a smaller base than this tool. IRMAA uses the two-item version, and the Roth and ACA tests use the full stack. One set of dollars walks through three doors with three different results.

The differences cut both ways in planning. Non-taxable Social Security counts against the Roth and ACA tests but leaves IRMAA untouched, which makes benefit-claiming timing a genuine lever before age 65. Pre-tax deferrals and HSA contributions lower all three at once because they reduce AGI itself, the shared foundation. A Roth conversion raises the IRMAA and Roth versions next year but leaves the ACA test untouched only if you are already on Medicare — each program needs its own column on the worksheet.

Qualified charitable distributions from an IRA, available from age 70½, reduce AGI directly and therefore every MAGI variant at once, up to the annual indexed limit. Harvested capital losses cut AGI by the harvested amount, though only against capital gains plus $3,000 of ordinary income. The practical rule is to write down which definition each program uses before you spend money chasing a threshold — the biggest mistakes happen when a planner optimizes AGI while the program actually reads the modified figure.

Managing MAGI Before Year End

The largest lever for most workers is the pre-tax deferral, because every dollar moved into a traditional 401(k) cuts AGI and therefore all three MAGI versions simultaneously. The 2026 employee deferral limit is $23,500 plus catch-ups at 50 and 60, and the 401k calculator stacks the caps with employer matching. A single filer at $158,000 of projected MAGI who defers an extra $5,000 drops to $153,000 and restores the entire Roth limit — the reduction ladder inside the band makes that last $5,000 worth more than the first.

Timing levers stack on top: deferring a January bonus, shifting a planned mutual fund redemption across the year boundary, harvesting losses against December gains, and bunching charitable gifts into the year whose MAGI will control future Medicare premiums. Municipal bond purchases deserve the most caution, because unlike a bonus you can defer, each new coupon stream is permanent and counts at full value in every future year. A donor-advised fund gift in an IRMAA-lookback year can pull a projected Tier 2 return back under the split in one move.

Run the numbers in early November while deferrals can still be changed, and re-run them after every large unplanned gain — a surprise capital gain distribution in December routinely moves filers a full band. Watch rounding inside the Roth band (the reduction rounds up to the next $500 against you) and treat anything within a few hundred dollars of a boundary as unresolved until the actual return is drafted. The tool's verdicts quote 2026 tables; index-aware planning means rechecking thresholds each January rather than carrying last year's bands forward.

FAQ

Is MAGI the same as adjusted gross income?

No. AGI is line 11 of Form 1040 after above-the-line adjustments. MAGI rebuilds income by adding items back, and the list differs by program: Roth IRA and ACA tests restore tax-exempt interest, the foreign earned income exclusion, and non-taxable Social Security, while Medicare IRMAA adds back only tax-exempt interest. The same household can therefore report three different MAGI figures in one year.

Which tax forms do I need to run the numbers?

Form 1040 line 11 for AGI and line 2a for tax-exempt interest, Schedule 1 for a Form 2555 foreign exclusion, and the SSA-1099 summary box for Social Security benefits. For the ACA test, add any excluded income of dependents you claim. Most filers finish the entry in under five minutes once those four documents are open.

Why is my IRMAA MAGI smaller than my Roth MAGI?

Medicare uses the narrowest definition, AGI plus tax-exempt interest and nothing else. In the worked example, a single filer with $210,000 AGI, $5,000 of municipal interest, and $9,000 of non-taxable Social Security reports $215,000 for IRMAA purposes, while the same facts produce $224,000 for the Roth test. The Social Security add-back is the usual reason the two figures diverge.

Do 401(k) contributions lower MAGI?

Pre-tax deferrals do, because they reduce AGI itself and every MAGI version is built on top of AGI. Deferring an extra $5,000 cuts Roth, ACA, and IRMAA MAGI by $5,000 in the same year. Roth 401(k) deferrals are after-tax, so they leave AGI and every MAGI figure unchanged.

What income year sets my 2026 Medicare premiums?

The 2024 return. IRMAA works on a two-year lookback, so the surcharges on 2026 Part B and Part D premiums read the 2024 AGI plus tax-exempt interest. Retirement or another qualifying life event lets you file Form SSA-44 and substitute a current-year estimate, which matters when the lookback year includes a large one-time gain.

Does MAGI include all of my Social Security benefits?

For Roth and ACA tests, yes in effect: the non-taxable portion is added back on top of the taxable portion already inside AGI, so combined MAGI captures the full benefit amount. For IRMAA, no: only the taxable share (already in AGI) counts, and the non-taxable portion never enters. That asymmetry is worth checking before you claim benefits in an IRMAA-sensitive year.

Related Calculators