Finance calculators

MAGI Calculator

Updated Nov 11, 2026 By Infinity Calculator Formulas Sources
Rate
Filing Status
Filing status and tax year set the income thresholds your MAGI is compared against.
Enter Your Income & Adjustments
Line 11 of Form 1040 (line 11a on the 2025 form). Required.
Form 8815. Counts toward the IRA limits and Medicare's MAGI.
Line 2a of Form 1040. Counts toward Medicare's MAGI only.
Such as excluded adoption benefits (Form 8839). IRA checks only.
Already in your AGI. Subtracted for the Roth IRA check only.

Your Estimated MAGI
$72,000.00
Same as your AGI (no add-backs entered).
MAGI Breakdown Summary
AGI vs. MAGI Composition
MAGI Threshold Indicators (2026)
The IRA checks use the IRS phase-out ranges for the selected tax year. Medicare's MAGI adds tax-exempt interest, excluded foreign earned income and excluded savings bond interest to your AGI. For guidance only. Confirm with a tax professional.

Introduction

Your Modified Adjusted Gross Income (MAGI) is one of the most important numbers on your tax return. The IRS uses it to decide if you qualify for tax breaks like Roth IRA contributions, traditional IRA deductions, and education credits. MAGI starts with your Adjusted Gross Income (AGI) and adds back certain deductions and exclusions, such as foreign earned income, student loan interest, and IRA contributions. Many people assume their AGI and MAGI are the same, but even one add-back can change your number and affect your eligibility.

This free MAGI calculator helps you find your Modified Adjusted Gross Income. Just enter your AGI and any add-back items, choose your filing status, and the tool calculates your MAGI. It also shows a clear breakdown of each item, a visual chart, and checks your MAGI against the Roth IRA, traditional IRA and Medicare income thresholds so you can see where you stand.

How to Use Our MAGI Calculator

Enter your income details and adjustments below. The calculator will add them to your AGI to estimate your Modified Adjusted Gross Income (MAGI). It also shows if you qualify for Roth IRA contributions, traditional IRA deductions, and standard Medicare premiums.

Filing Status: Pick the status that matches your tax return: Single / Head of Household, Married Filing Jointly, Married Filing Separately, or Qualifying Surviving Spouse. This sets the income thresholds used to check your eligibility. A qualifying surviving spouse uses the joint ranges for the Roth IRA and traditional IRA checks.10 For Medicare, this status uses the same threshold as single filers.13 If you file separately and did not live with your spouse at any time during the year, tick Lived apart from my spouse all year: the Roth IRA and traditional IRA checks then use the single ranges.10

Adjusted Gross Income (AGI): Enter your AGI. You can find this number on line 11 of your Form 1040.1 On a 2025 return it is line 11a.10 This is the starting point for your MAGI calculation.

Tax Year: Pick 2024, 2025 or 2026. The year sets the Roth IRA and traditional IRA ranges the calculator compares your MAGI against. The Medicare check uses the surcharge threshold for 2026 premiums whichever year you pick.

Foreign Earned Income Exclusion: Enter any income you earned in another country that was excluded from your tax return.

Foreign Housing Cost Exclusion/Deduction: Enter any foreign housing costs you excluded or deducted on your return.

Student Loan Interest Deduction: Enter the amount you deducted for interest paid on student loans.

Tuition and Fees Deduction: This deduction was repealed for tax years after 2020, so the calculator no longer includes it.8

IRA Contributions Deduction: Enter the amount you deducted for contributions to a traditional IRA.

Excluded Savings Bond Interest: Enter any savings bond interest you excluded on Form 8815 because you used it for higher education. It is added back for the IRA limits.10 Medicare counts it too.11

Tax-Exempt Interest: Enter the tax-exempt interest from line 2a of your Form 1040. Medicare adds it to your AGI, along with excluded foreign earned income and a few other kinds of tax-exempt income, when it decides whether you pay extra for Part B and Part D.11 It does not change the MAGI used for the IRA limits.10

Other Adjustments: Enter any other amounts that must be added back to your AGI for the IRA limits, such as excluded employer-provided adoption benefits from Form 8839.10 Medicare's MAGI does not include them.11

Roth Conversion Income: Enter any income from converting a traditional IRA to a Roth IRA, or from rolling a workplace plan into a Roth IRA. This income is already in your AGI. The calculator subtracts it only for the Roth IRA check, not for the traditional IRA or Medicare checks.10

Click Calculate to see your results. Click Reset to go back to the starting values.

What Is Modified Adjusted Gross Income (MAGI)?

Modified Adjusted Gross Income, or MAGI, is a number the IRS uses to decide if you qualify for certain tax benefits. It starts with your Adjusted Gross Income (AGI), which is your total income minus specific deductions like student loan interest or IRA contributions. Then, some of those deductions get added back in. The result is your MAGI.

Your AGI is found on line 11 of your federal tax return (Form 1040).1 On a 2025 return it is line 11a.10 For the IRA limits, MAGI takes that number and adds back items such as foreign earned income exclusions, student loan interest deductions, and IRA contribution deductions.10 Medicare's MAGI instead adds tax-exempt interest, excluded foreign earned income and a few other kinds of tax-exempt income.11 Not every person has these add-backs. If you don't, your MAGI and AGI will be the same number.

Why Does MAGI Matter?

The IRS uses your MAGI to determine if you can contribute to a Roth IRA, deduct traditional IRA contributions, or qualify for premium tax credits on health insurance. Medicare also uses MAGI to decide if you pay extra for Part B and Part D coverage.3 It uses the MAGI from your tax return two years earlier.12 So your 2026 MAGI sets your 2028 premiums. If your income has gone down because of a life-changing event, such as you or your spouse stopping work, you can ask Social Security to make a new decision.3 If your MAGI is too high, you may lose access to these benefits or pay higher costs. Understanding where your income falls relative to tax brackets is also essential for overall tax planning.

MAGI Thresholds by Year

Each tax benefit has its own income limits, and these limits change based on your filing status. For example, in 2024, single filers start to lose Roth IRA eligibility at $146,000 and are fully phased out at $161,000.2 Married couples filing jointly phase out between $230,000 and $240,000.2 For 2025 the Roth IRA range is $150,000 to $165,000 for single filers and $236,000 to $246,000 for joint filers.5 For 2026 it is $153,000 to $168,000 and $242,000 to $252,000.6 The traditional IRA deduction phases out for a worker covered by a workplace plan between $79,000 and $89,000 (single) or $126,000 and $146,000 (joint) in 20255 and between $81,000 and $91,000 or $129,000 and $149,000 in 2026.6 Medicare's income-related surcharge starts above $106,000 for individual filers and $212,000 for joint filers in 20257 and above $109,000 and $218,000 in 2026.3 Traditional IRA deduction limits and Medicare surcharge thresholds also depend on your MAGI and filing status. If you earn investment income, be aware that capital gains taxes can also be affected by your overall income level.

How to Lower Your MAGI

You can reduce your MAGI by making pre-tax contributions to a workplace retirement plan like a 401(k), putting money into a Health Savings Account (HSA), or increasing deductions that are not added back into the MAGI calculation. Lowering your MAGI can help you stay within the income limits for tax benefits you want to keep.


Formulas used

Modified Adjusted Gross Income (MAGI) for the traditional IRA deduction 10
\text{MAGI} = \text{AGI} + \text{IRA Deduction} + \text{Student Loan Interest} + \text{FEIE} + \text{Foreign Housing Exclusion or Deduction} + \text{Savings Bond Interest} + \text{Adoption Benefits}

Frequently asked questions

Where do I find my AGI?

Your AGI is on line 11 of Form 1040.1 This is your federal income tax return. On a 2025 return the line is 11a.10 If you filed online, you can also find it in your tax software summary or your IRS transcript.

Is MAGI always higher than AGI?

Not always. MAGI is usually the same as or higher than AGI because it adds back certain deductions and exclusions. For the Roth IRA limit, income from converting a traditional IRA to a Roth IRA is subtracted, so that MAGI can be lower than your AGI.10 Losses, such as a rental loss, are already counted in your AGI. If your MAGI is over the Roth IRA limit and you have social security income or passive activity losses that are subject to AGI-based phaseouts, you can refigure your AGI just for the Roth IRA check.10

Why does filing status matter for MAGI?

Filing status does not change how MAGI is calculated. It changes the income limits the IRS uses for tax benefits.10 For example, Roth IRA phase-out ranges are much higher for married couples filing jointly than for single filers.

What is a phase-out range?

A phase-out range is a span of income where a tax benefit gradually decreases. If your MAGI is below the range, you get the full benefit. If it is above, you get none. If it falls within the range, you get a reduced amount.

Does MAGI include capital gains?

Yes. Capital gains are part of your AGI, and AGI is the starting point for MAGI. So any taxable capital gains you earned are already included when you enter your AGI into the calculator.

Does MAGI include 401(k) contributions?

Pre-tax 401(k) contributions are already excluded from your AGI, and they are not added back for most MAGI calculations. This is why contributing more to a 401(k) can help lower your MAGI.

What is the foreign earned income exclusion?

It is money you earned while working in another country that the IRS lets you exclude from your gross income if you qualify. When calculating MAGI, this excluded amount gets added back in. For 2024, the maximum exclusion is $126,500.4 For 2025 it is $130,0004 and for 2026 $132,900.9

Can married filing separately filers contribute to a Roth IRA?

It is very limited. The phase-out range for married filing separately is $0 to $10,000.2 If your MAGI is $10,000 or more and you lived with your spouse at any time during the year, you cannot contribute to a Roth IRA at all.10 If you lived apart all year, the single filer range applies instead.10

Sources

  1. Definition of adjusted gross income. Internal Revenue Service. Accessed September 10, 2026.
  2. 401(k) limit increases to $23,000 for 2024, IRA limit rises to $7,000. Internal Revenue Service. 2023. Accessed September 10, 2026.
  3. Medicare Premiums. Social Security Administration. Higher premium based on income. Accessed September 10, 2026.
  4. IRS releases tax inflation adjustments for tax year 2025. Internal Revenue Service. 2024;IR-2024-273. Accessed September 10, 2026.
  5. 401(k) limit increases to $23,500 for 2025, IRA limit remains $7,000. Internal Revenue Service. 2024;IR-2024-285. Accessed September 11, 2026.
  6. 401(k) limit increases to $24,500 for 2026, IRA limit increases to $7,500. Internal Revenue Service. 2025;IR-2025-111. Accessed September 11, 2026.
  7. 2025 Medicare Parts A & B Premiums and Deductibles. Centers for Medicare & Medicaid Services. 2024. Accessed September 11, 2026.
  8. 26 U.S. Code § 222 — Repealed. Legal Information Institute, Cornell Law School. Accessed September 11, 2026.
  9. IRS releases tax inflation adjustments for tax year 2026, including amendments from the One, Big, Beautiful Bill. Internal Revenue Service. 2025;IR-2025-103. Accessed September 11, 2026.
  10. Publication 590-A (2025), Contributions to Individual Retirement Arrangements (IRAs). Internal Revenue Service. 2025;Worksheet 1-1; Worksheet 2-1; Lived apart from spouse. Accessed November 6, 2026.
  11. 20 CFR 418.1010, Definitions. Electronic Code of Federal Regulations. (b)(6). Accessed November 6, 2026.
  12. 20 CFR 418.1135, What modified adjusted gross income information will we use to determine your income-related monthly adjustment amount? Electronic Code of Federal Regulations. (a). Accessed November 6, 2026.
  13. 20 CFR 418.1115, What are the modified adjusted gross income ranges? Electronic Code of Federal Regulations. (b). Accessed November 11, 2026.