Skip to content
Tax

MAGI Calculator

Calculate your Modified Adjusted Gross Income (MAGI) to determine eligibility for Roth IRA contributions, tax deductions, and healthcare subsidies.

Income & Filing Profile

$
Common AGI benchmarks:

Deductions Added Back

IRS Schedule 1

Enter any deductions or exclusions you claimed that must be added back to compute MAGI.

$
$
$
$
$
$

Modified Adjusted Gross Income (MAGI)

$141,500.00

Base AGI $140,000.00 + $1,500.00 added back

Base AGI

$140,000.00

Form 1040 line 11

Total Add-Backs

$1,500.00

1 deductions added back

MAGI Composition

  • Base Adjusted Gross Income (AGI)$140,000.0098.9%
  • Statutory Add-Backs$1,500.001.1%

IRS Limits & Benefit Eligibility (2025)

How your calculated MAGI of $141,500.00 affects retirement and deduction thresholds:

Roth IRA Contribution
Max limit $7,000 (2025) (Phaseout: $150,000 - $165,000)
Fully Eligible
Max Allowed Contribution: $7,000.00
Full contribution / deduction allowed.
Traditional IRA Deduction
Workplace plan covered phaseout (2025) (Phaseout: $79,000 - $89,000)
Ineligible
Max Deductible Contribution: $0.00
Income exceeds phaseout limit; no contribution / deduction permitted.
Student Loan Interest Deduction
Up to $2,500 deductible (2025) (Phaseout: $85,000 - $100,000)
Ineligible
Max Allowed Deduction: $0.00
Income exceeds phaseout limit; no contribution / deduction permitted.

How Your MAGI is Calculated

Follow the IRS statutory path from adjusted gross income to modified adjusted gross income.

  1. 1. Establish Starting AGI (Form 1040, Line 11)

    Base AGI=$140,000\text{Base AGI} = \$140,000

    Starting with entered baseline adjusted gross income of $140,000.00.

  2. 2. Sum Statutory IRS Add-Back Deductions

    Total Add-Backs=Deductions Added Back\text{Total Add-Backs} = \sum \text{Deductions Added Back}

    Add-backs include student loan interest ($1,500.00), traditional IRA deductions ($0.00), and other exclusions = $1,500.00.

  3. 3. Calculate Modified Adjusted Gross Income (MAGI)

    MAGI=AGI+Total Add-Backs\text{MAGI} = \text{AGI} + \text{Total Add-Backs}

    $140,000.00 + $1,500.00 = $141,500.00.

  4. 4. Evaluate Roth IRA Eligibility (2025)

    Phaseout Range: $150,000$165,000\text{Phaseout Range: } \$150,000 - \$165,000

    Status: Fully Eligible. Allowed 2025 contribution: $7,000.00 (out of $7,000.00 max).

Tax rates, phaseout ranges, and contribution caps reflect IRS guidelines for the 2025 tax year (IRS Notice 2024-80 and Revenue Procedure 2024-40). Results are for informational planning purposes and update as federal cost-of-living adjustments are published.
Report tool

Understanding Modified Adjusted Gross Income (MAGI)

Modified Adjusted Gross Income (MAGI) is one of the most critical metrics in the United States tax code. The Internal Revenue Service (IRS) uses your MAGI as the statutory gateway to evaluate your eligibility for valuable tax breaks, including direct Roth IRA contributions, deductible traditional IRA contributions, student loan interest deductions, education credits, and premium tax credits for health insurance under the Affordable Care Act.

While your standard Adjusted Gross Income (AGI) appears directly on Line 11 of IRS Form 1040, MAGI is not explicitly printed as a distinct row on your annual return. Instead, MAGI is an off-return recalculation where specific above-the-line tax deductions and exclusions that you previously claimed are added back. You can calculate your baseline baseline tax liability using our income tax calculator, assess self-employment obligations with our 1099 tax calculator, and plan future nest-egg growth with our IRA calculator.

The Statutory MAGI Formula

To determine your MAGI, the IRS begins with your Adjusted Gross Income and adds back specific tax-favored deductions. Depending on whether you begin from top-line gross earnings or your already-filed Form 1040, the statutory mathematical formulation is expressed as:

AGI=Gross IncomeAbove-the-Line Adjustments\text{AGI} = \text{Gross Income} - \text{Above-the-Line Adjustments}
MAGI=AGI+Statutory Add-Back Deductions\text{MAGI} = \text{AGI} + \sum \text{Statutory Add-Back Deductions}

Which Deductions Get Added Back?

Per IRS Publication 590-A (Contributions to Individual Retirement Arrangements) and Internal Revenue Code Section 408A, the most common deductions and exclusions that must be added back to AGI include:

  • Student Loan Interest Deduction: Any amount claimed as an above-the-line deduction on Schedule 1 (Form 1040), Line 21 (up to $2,500).
  • Traditional IRA Deduction: Deductible traditional IRA contributions claimed on Schedule 1, Line 20.
  • Foreign Earned Income and Housing Exclusions: Any earnings or housing amounts excluded from gross income via IRS Form 2555.
  • U.S. Savings Bond Interest: Interest excluded from series EE or series I savings bonds cashed to pay for qualified higher education expenses (IRS Form 8815).
  • Employer-Provided Adoption Assistance: Qualified adoption assistance benefits excluded under IRS Form 8839.
  • Passive Loss / Special Real Estate Allowances: Certain passive activity loss deductions or rental loss phaseout allowances.

2025 IRS Thresholds and Phaseout Ranges

The IRS updates retirement and deduction phaseout brackets annually to account for cost-of-living adjustments (IRS Notice 2024-80). For the 2025 tax year, your MAGI determines whether you can make full contributions, partial contributions, or no direct contributions:

1. Roth IRA Contribution Phaseouts (2025)

For 2025, the maximum annual contribution across all your IRAs is $7,000 (or $8,000 if you are age 50 or older). If your MAGI falls into the phaseout window, your allowable limit is proportionately reduced:

  • Single / Head of Household: Full contribution allowed below $150,000. Phased out between $150,000 and $165,000. Ineligible at or above $165,000.
  • Married Filing Jointly: Full contribution allowed below $236,000. Phased out between $236,000 and $246,000. Ineligible at or above $246,000.
  • Married Filing Separately: Phased out between $0 and $10,000 if you lived with your spouse at any point during the year. Ineligible at or above $10,000.

2. Traditional IRA Deduction Phaseouts (2025)

Anyone with earned income can contribute to a traditional IRA, but your ability to deduct those contributions on your tax return depends on your workplace coverage status and your MAGI:

  • Single / HOH (Covered by Workplace Plan): Full deduction at or below $79,000. Phased out between $79,000 and $89,000. No deduction above $89,000.
  • Married Joint (Taxpayer Covered): Full deduction at or below $126,000. Phased out between $126,000 and $146,000.
  • Married Joint (Spouse Covered, Taxpayer Not Covered): Full deduction at or below $236,000. Phased out between $236,000 and $246,000.

3. Student Loan Interest Deduction Phaseouts (2025)

Taxpayers can deduct up to $2,500 in student loan interest paid during the year. For 2025:

  • Single / Head of Household: Phaseout begins at $85,000 and concludes at $100,000 MAGI.
  • Married Filing Jointly: Phaseout begins at $175,000 and concludes at $205,000 MAGI.
  • Married Filing Separately: Ineligible for the student loan interest deduction regardless of income level.

Worked Example: Single Filer Calculating MAGI and Roth Eligibility

Consider an individual filing as Single for tax year 2025:

  • Gross Income (Wages and Interest): $170,000
  • Standard above-the-line adjustments (Health Savings Account contribution of $4,300 and 401(k) pre-tax deferral): $18,000
  • Student loan interest deduction claimed: $1,500

First, calculate baseline AGI:

AGI=$170,000$18,000=$152,000\text{AGI} = \$170{,}000 - \$18{,}000 = \$152{,}000

Next, add back the statutory adjustments (the $1,500 student loan interest deduction):

MAGI=$152,000+$1,500=$153,500\text{MAGI} = \$152{,}000 + \$1{,}500 = \$153{,}500

Because $153,500 falls inside the Single Roth IRA phaseout window ($150,000 to $165,000), the allowable contribution is calculated using the statutory IRS proration formula:

Allowed=$7,000×$165,000$153,500$165,000$150,000=$7,000×$11,500$15,000$5,366.67\text{Allowed} = \$7{,}000 \times \frac{\$165{,}000 - \$153{,}500}{\$165{,}000 - \$150{,}000} = \$7{,}000 \times \frac{\$11{,}500}{\$15{,}000} \approx \$5{,}366.67

Per IRS guidelines, this amount is rounded up to the nearest $10 increment, yielding an allowed direct Roth IRA contribution of $5,370. If your income surpasses the upper phaseout boundary, you can also explore financial planning strategies such as a Backdoor Roth IRA to build tax-free wealth. To evaluate your discretionary savings power, consult our discretionary income calculator and model take-home salary projections with our gross pay calculator.

Frequently asked questions

What is the main difference between AGI and MAGI?
Adjusted Gross Income (AGI) is your total gross income minus allowable above-the-line deductions found on Schedule 1 of Form 1040. Modified Adjusted Gross Income (MAGI) takes that AGI number and adds back specific deductions, such as student loan interest deductions, traditional IRA contribution deductions, and foreign income exclusions. For many people with straightforward tax profiles, MAGI and AGI are identical.
What are the Roth IRA phaseout limits for 2025?
For the 2025 tax year, Roth IRA contribution phaseout ranges are $150,000 to $165,000 for single filers and heads of household, $236,000 to $246,000 for married couples filing jointly, and $0 to $10,000 for married couples filing separately who lived together.
Can I contribute to a Roth IRA if my MAGI is above the phaseout limit?
You cannot make a direct contribution to a Roth IRA once your MAGI equals or exceeds the upper phaseout limit ($165,000 for single filers or $246,000 for married filing jointly in 2025). However, many high-income earners utilize a legal strategy known as a Backdoor Roth IRA: contributing non-deductible dollars to a traditional IRA and subsequently converting those assets to a Roth IRA.
Does the standard deduction reduce my MAGI?
No. The standard deduction and itemized deductions (from Schedule A) are subtracted after AGI and MAGI have already been calculated. They reduce your taxable income, but they do not lower your AGI or your MAGI.
Are 401(k) and HSA contributions added back to compute MAGI?
No. Traditional pre-tax 401(k) contributions (which lower box 1 on your Form W-2) and Health Savings Account (HSA) deductions are not added back. These deductions effectively lower both your AGI and your MAGI, making them powerful strategies for taxpayers trying to remain beneath Roth IRA phaseout ceilings.

Resources and references

The formulas and methods in this calculator were checked against these independent sources.