Modified adjusted gross income, or MAGI, is a figure the tax system uses to decide who can claim certain benefits and who is excluded from others. It starts from your adjusted gross income (AGI), but then adds back some deductions and excluded income. There is no single MAGI: the add-backs differ depending on the question being asked. This calculator covers two of the most common uses: eligibility for contributing to a Roth IRA and eligibility for the ACA premium tax credit.
How to use the MAGI calculator
- Choose the purpose: Roth IRA contributions or the ACA premium tax credit.
- Enter your AGI from your tax return (see the AGI Calculator if you need to work it out).
- Enter the add-backs that apply: for a Roth IRA, the traditional IRA deduction, the student loan interest deduction and foreign earned income exclusion; for the ACA, tax-exempt interest, nontaxable Social Security and foreign income exclusions.
- For a Roth IRA, select your filing status and whether you are 50 or older to see the contribution allowed.
MAGI formulas
ACA MAGI = AGI + foreign earned income exclusion + tax-exempt interest + nontaxable Social Security
Reduced Roth limit = limit × (1 − (MAGI − lower end) ÷ range), rounded up to the next $10 (minimum $200)
The Roth IRA phase-out for 2025 runs from $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 people filing separately who lived with their spouse. The base limit is $7,000 ($8,000 if age 50 or over). These figures are adjusted for inflation most years.
Worked example: a single filer with $157,500 of MAGI
- MAGI is in the middle of the $150,000–$165,000 range: 157,500 − 150,000 = 7,500 into a 15,000 range, which is 50%.
- Reduced limit: 7,000 × (1 − 0.5) = $3,500.
- Someone with $165,000 or more cannot make a direct contribution at all; someone at or below $150,000 can contribute the full $7,000.
Roth IRA contribution by MAGI (single, under 50, 2025)
| MAGI | Allowed Roth IRA contribution |
|---|---|
| $145,000 | $7,000 |
| $150,000 | $7,000 |
| $155,000 | $4,670 |
| $158,000 | $3,270 |
| $160,000 | $2,340 |
| $165,000 | $0 |
| $170,000 | $0 |
Where MAGI matters
- Roth IRA: eligibility to contribute directly. Above the limit, a “backdoor” conversion strategy is sometimes used; talk with an adviser.
- Traditional IRA deductibility when you or your spouse has a workplace plan.
- Premium tax credits and Medicaid eligibility, based on household MAGI.
- Medicare premiums, where income-related surcharges (IRMAA) use MAGI from two years earlier.
- Education credits and student loan interest deduction.
Keeping the figure in range
Contributions to a traditional 401(k), HSA and similar plans reduce AGI, and therefore MAGI. Deferring income or bunching deductions also helps. Because the details change every year, check the current IRS publications. For your overall income see the Annual Income Calculator, and for monthly planning the Monthly Income Calculator. The Net Worth Calculator looks at the other side of your finances.
Frequently asked questions
What is MAGI?
Modified adjusted gross income is your AGI with certain deductions or excluded income added back. The add-backs depend on the purpose: Roth IRA limits, premium tax credits, student loan interest and other tax breaks each define MAGI a little differently.
What is the Roth IRA income limit?
For 2025, the ability to contribute phases out between $150,000 and $165,000 of MAGI for single filers and between $236,000 and $246,000 for married couples filing jointly. Limits change every year, so check the current IRS figures.
How is the reduced Roth contribution calculated?
The contribution limit is reduced in proportion to how far your MAGI is into the phase-out range: limit × (1 − (MAGI − lower) ÷ range), rounded up to the next $10, with a minimum of $200 if any contribution is allowed.
What is MAGI for the ACA premium tax credit?
AGI plus foreign earned income exclusions, tax-exempt interest and the nontaxable portion of Social Security benefits. It determines subsidy eligibility.
Is this tax advice?
No. It is a simplified estimate for general information. Definitions of MAGI vary, and thresholds change; see IRS Publication 590-A and Form 8962 instructions, or consult a tax professional.