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.