FinEd/FinSense/AGI and MAGI: The Numbers That Unlock (or Lock) Tax Benefits
🔑Tax5 min read

AGI and MAGI: The Numbers That Unlock (or Lock) Tax Benefits

Adjusted Gross Income and Modified AGI determine eligibility for Roth IRAs, student loan deductions, ACA subsidies, Medicare premiums, and dozens of other tax provisions. Here is how they are calculated — and how to manage them.

40+Tax provisions that use AGI or MAGI as a thresholdFrom Roth eligibility to Medicare premiums

Two numbers govern more of your tax situation than your gross income: Adjusted Gross Income (AGI) and Modified Adjusted Gross Income (MAGI). These seemingly simple calculations are foundational to your financial planning, as they determine eligibility for a vast array of tax benefits, set critical thresholds for deduction limitations, and can trigger surcharges on everything from Medicare premiums to the Net Investment Income Tax. Understanding the nuances of AGI and MAGI is not merely an academic exercise; it is a prerequisite for any serious tax planning strategy aimed at optimizing your financial outcomes.

Adjusted Gross Income (AGI)

Adjusted Gross Income (AGI) serves as the baseline for many tax calculations. It is derived by taking your total gross income—which includes wages, salaries, interest, dividends, capital gains, business income, and retirement distributions—and subtracting specific deductions known as "above-the-line" deductions. These deductions are particularly valuable because they reduce your gross income before you even consider whether to take the standard deduction or itemize. This means they are available to all taxpayers, regardless of their itemization choice, offering a universal benefit.

Key above-the-line deductions for 2026 include:

  • **Traditional IRA contributions:** These contributions are deductible if you (and your spouse, if filing jointly) are not covered by a workplace retirement plan, or if your income falls below certain thresholds when you are covered. The deductibility phases out for higher earners covered by a plan.
  • **401(k), 403(b), and SIMPLE contributions:** Pre-tax contributions to these employer-sponsored plans directly reduce your W-2 income, effectively lowering your AGI dollar-for-dollar. For 2026, the employee deferral limit for 401(k)s is $24,500, with an additional catch-up contribution of $8,100 for those aged 50 and over, bringing the total to $32,600.
  • **HSA contributions:** Contributions to a Health Savings Account (HSA) are fully tax-deductible, reducing your AGI. For 2026, the HSA contribution limit is $4,300 for self-only coverage and $8,550 for family coverage, with an additional $1,000 catch-up contribution for those aged 55 and over.
  • **Student loan interest:** You can deduct up to $2,500 in student loan interest paid during the year, subject to income phase-outs.
  • **Self-employment tax:** If you are self-employed, you can deduct one-half of your self-employment taxes paid.
  • **Educator expenses:** Eligible educators can deduct up to $300 per person for unreimbursed business expenses, such as books, supplies, and professional development courses.
  • **Self-employed health insurance premiums:** Premiums paid for health insurance if you are self-employed can be deducted.

Once AGI is calculated, it becomes a pivotal figure that flows into numerous other tax calculations. It influences the deductibility of itemized deductions, such as the State and Local Tax (SALT) deduction, which is capped at $40,000 ($20,000 for those married filing separately) from 2025–2029. AGI also determines the threshold for medical expense deductions and plays a role in dozens of income-based phase-outs for various credits and deductions.

Modified Adjusted Gross Income (MAGI)

Modified Adjusted Gross Income (MAGI) is a more complex concept because its definition varies depending on the specific tax provision it applies to. Essentially, MAGI starts with your AGI and then adds back certain deductions or exclusions that were previously subtracted. This modification is designed to ensure that specific tax benefits are targeted to individuals within certain income brackets, preventing higher earners from unduly benefiting. Understanding which deductions are added back for each MAGI calculation is crucial for accurate tax planning.

Here are some of the most important MAGI formulas and their 2026 implications:

  • **Roth IRA MAGI (2026):** For determining eligibility to contribute to a Roth IRA, MAGI is generally calculated as AGI plus student loan interest, tuition deductions, and the foreign earned income exclusion. The phase-out ranges for direct Roth IRA contributions in 2026 are: $153,000–$168,000 for single filers and $242,000–$252,000 for those married filing jointly. Exceeding these ranges means your ability to contribute directly to a Roth IRA is reduced or eliminated.
  • **ACA Premium Tax Credit MAGI:** This MAGI calculation is used to determine eligibility for subsidies that help offset the cost of health insurance purchased through the Affordable Care Act (ACA) marketplace. It typically includes AGI plus tax-exempt interest, non-taxable Social Security benefits, and foreign earned income exclusion. The lower your MAGI, the higher your potential premium tax credit.
  • **Medicare IRMAA MAGI (2026):** The Income-Related Monthly Adjustment Amount (IRMAA) can significantly increase your Medicare Part B and Part D premiums. This MAGI is based on your AGI from two years prior, with tax-exempt interest added back. For 2026, IRMAA surcharges begin for single filers with a MAGI above $106,000 and for those married filing jointly with a MAGI above $212,000. Careful planning can help mitigate these surcharges.
  • **Net Investment Income Tax (NIIT) (3.8%):** This 3.8% tax applies to certain net investment income for individuals whose MAGI exceeds specific thresholds. For 2026, the NIIT applies to investment income when MAGI is above $200,000 for single filers and $250,000 for those married filing jointly. This tax can significantly impact high-income investors, making MAGI management a key consideration.
Interactive Calculator

Interactive Model

AGI & MAGI Calculator

Calculate your AGI and see which income thresholds you cross — and what each one triggers.

$100,000
$0
$0
-$10,000
-$3,000
-$0
-$0

Adjusted Gross Income (AGI)

$87,000

Gross income − above-the-line deductions

MAGI (approx. for most purposes)

$87,000

AGI + student loan interest added back

MAGI thresholds — your position

Roth IRA contribution (single)

Roth IRA contribution limit reduced

Threshold: $150,000
⚠️

Traditional IRA deductibility (at-work plan, single)

IRA deduction reduced

Threshold: $79,000

Medicare IRMAA surcharge (single)

Medicare premiums increase

Threshold: $103,000

Net Investment Income Tax (3.8%)

Investment income taxed extra 3.8%

Threshold: $200,000

MAGI varies by provision — model uses Roth IRA MAGI formula. IRA deductibility MAGI, IRMAA MAGI, and ACA MAGI have different add-back rules. Verify with a tax professional for your specific situation.

Managing your AGI

Proactive management of your AGI and MAGI is one of the most effective strategies for optimizing your tax position. Pre-tax retirement contributions, such as those to a 401(k) or HSA, represent the primary lever most individuals have to reduce their AGI below critical thresholds. For instance, a high earner with a gross income of $168,000 who maxes out their 401(k) contribution at $24,500 (assuming under 50) could reduce their AGI to $143,500. This strategic reduction places them below the 2026 Roth IRA phase-out start for single filers, potentially preserving their ability to make direct Roth contributions. Further contributions to an HSA would reduce their AGI even more.

Beyond retirement accounts, other strategies can influence your AGI and MAGI. Tax-loss harvesting, where you sell investments at a loss to offset capital gains and up to $3,000 of ordinary income, can lower your AGI. Strategic timing of income and deductions, such as deferring bonuses or accelerating deductions, can also be effective. It's also important to recognize that certain financial decisions, like realizing capital gains, performing Roth conversions, or making Roth IRA contributions (which do not reduce AGI), directly influence your MAGI without affecting your initial AGI calculation. Each of these actions has distinct implications for your overall tax liability and eligibility for various tax benefits, underscoring the importance of a holistic approach to tax planning. Consulting with a qualified financial advisor can help you navigate these complexities and tailor a strategy to your unique financial situation.

taxesAGIMAGIincometax-planningeligibility