MAGI Calculator 2026 โ Modified AGI for All Tax Purposes
Calculate your Modified Adjusted Gross Income (MAGI) for 6 different tax purposes: IRA deduction, Roth IRA contribution, NIIT, ACA premium credit, student loan interest, and education credits.
$
From line 11 of Form 1040 $
Form 2555 excluded income $
$
Municipal bond interest, etc. $
Non-taxable portion of SS benefits $
Max $2,500 above-the-line deduction $
Traditional IRA deduction on Schedule 1 $
Rental/passive activity losses $
Section 199A if applicable $0
MAGI for IRA Deduction
$0
MAGI for Roth IRA
$0
MAGI for NIIT
$0
MAGI for ACA Credit
MAGI Calculation Detail
How to Use This MAGI Calculator
Enter your AGI from your tax return, then add the items that were excluded from your income or deducted above-the-line. Different tax rules add back different items โ this calculator computes MAGI for all 6 common purposes simultaneously.
The Add-Back Formulas
MAGI (IRA Deduction) = AGI + Student Loan Interest + IRA Deduction + Foreign Earned Income Exclusion + Foreign Housing + Passive Losses + Domestic Production
MAGI (Roth IRA) = AGI + Foreign Earned Income Exclusion + Foreign Housing + Tax-Exempt Interest
MAGI (NIIT) = AGI + Foreign Earned Income Exclusion
MAGI (ACA) = AGI + Tax-Exempt Interest + Excluded SS Benefits + Foreign Earned Income
MAGI (Student Loan) = AGI + Student Loan Interest Deducted + IRA Deduction
MAGI (Education Credits) = AGI + Foreign Earned Income + Tax-Exempt Interest
MAGI (Roth IRA) = AGI + Foreign Earned Income Exclusion + Foreign Housing + Tax-Exempt Interest
MAGI (NIIT) = AGI + Foreign Earned Income Exclusion
MAGI (ACA) = AGI + Tax-Exempt Interest + Excluded SS Benefits + Foreign Earned Income
MAGI (Student Loan) = AGI + Student Loan Interest Deducted + IRA Deduction
MAGI (Education Credits) = AGI + Foreign Earned Income + Tax-Exempt Interest
Example
Single filer, AGI $85,000, $2,500 student loan deducted, $3,000 traditional IRA deducted:
MAGI for IRA deduction: $85,000 + $2,500 + $3,000 = $90,500 (above $79K phaseout start for single)
MAGI for Roth IRA: $85,000 (below $150K single โ fully eligible)
MAGI for NIIT: $85,000 (below $200K threshold โ no NIIT)
MAGI for ACA: $85,000 (used to determine subsidy amount)
MAGI for IRA deduction: $85,000 + $2,500 + $3,000 = $90,500 (above $79K phaseout start for single)
MAGI for Roth IRA: $85,000 (below $150K single โ fully eligible)
MAGI for NIIT: $85,000 (below $200K threshold โ no NIIT)
MAGI for ACA: $85,000 (used to determine subsidy amount)
Extended
MAGI Comparison Table โ All 6 Purposes
Side-by-side MAGI for every tax purpose with phaseout status and impact
Your MAGI calculated for each of the 6 major tax purposes โ with phaseout status and what it means for you.
MAGI for All 6 Tax Purposes โ Phaseout Analysis
| Purpose | Your MAGI | Threshold / Range | Status |
|---|
Frequently Asked Questions
What is Modified Adjusted Gross Income (MAGI)?
MAGI starts with your Adjusted Gross Income (AGI) and adds back certain deductions and exclusions. The specific add-backs depend on the tax rule being applied โ there is no single universal MAGI definition. The IRS uses different MAGI formulas for IRA deductions, Roth IRA contributions, the Net Investment Income Tax (NIIT), ACA premium credits, student loan interest, and education credits.
What is added back to AGI for the Roth IRA MAGI?
For Roth IRA contribution eligibility, MAGI = AGI + foreign earned income exclusion + foreign housing exclusion + excluded foreign income + tax-exempt interest. Student loan interest deducted and IRA deductions are NOT added back for Roth IRA purposes (they are already excluded from AGI under the current rules).
What is MAGI for ACA premium tax credit purposes?
For the Affordable Care Act (ACA) premium tax credit, MAGI = AGI + tax-exempt interest + excluded Social Security benefits + foreign earned income exclusion. This MAGI is compared to Federal Poverty Level thresholds to determine your eligibility and credit amount for health insurance purchased through the Marketplace.
Does MAGI affect the Net Investment Income Tax (NIIT)?
Yes. The 3.8% NIIT applies to the lesser of your net investment income or the amount by which your MAGI exceeds the threshold: $200,000 for single filers, $250,000 for married filing jointly. For NIIT, MAGI includes foreign earned income that was excluded from your regular income โ so high-earning expats may owe NIIT even if their foreign income was excluded from regular tax.
Why does MAGI differ for each purpose?
Congress designed each MAGI rule separately to achieve specific policy goals. For example, the IRA deduction MAGI adds back student loan interest to prevent a double benefit for moderate earners. The ACA credit MAGI adds back excluded SS benefits to ensure higher-income seniors get reduced credits. Always use the MAGI formula specific to the tax benefit or limitation you are calculating.