MAGI Calculator
Calculate your Modified Adjusted Gross Income and check Roth IRA, ACA subsidy, and education credit eligibility.
Line 11 of Form 1040
Modified Adjusted Gross Income
—
Your MAGI for the selected tax year
—
AGI
—
Total Add-Backs
—
Roth IRA Status
—
Max Roth Contribution
Eligibility Summary
AGI vs MAGI Breakdown
Calculation Details
Embed This Calculator
Copy the code and paste it into any webpage to embed this calculator.
WordPress users: add a Custom HTML block (not the Embed block) and paste the code there.
Free to use. A small "Powered by Blucalculator" credit is appreciated but not required.
How to use this calculator
Four tabs. Three purposes. Start with the MAGI Calculator tab unless you have a specific eligibility question in mind.
AGI — Your Adjusted Gross Income from line 11 of Form 1040. This is your gross income after above-the-line deductions like 401(k) contributions, HSA deposits, alimony paid, and educator expenses. If you have not filed yet, use your best estimate or last year’s number as a baseline.
Tax year — Select 2024, 2023, or 2022 depending on which return you are working with. The Roth IRA and traditional IRA phase-out thresholds change each year, so the year selection affects your eligibility output directly.
Filing status — Single, Married Filing Jointly (MFJ), Married Filing Separately (MFS), or Head of Household. This changes the Roth IRA income thresholds significantly. Married Filing Separately filers who lived with their spouse at any point during the year face an especially tight Roth IRA phase-out range of $0 to $10,000.
Add-backs — These are the items the IRS wants added back to your AGI to arrive at MAGI. Enter each one separately so the steps panel shows exactly what is happening:
- Foreign earned income exclusion (Form 2555)
- Tax-exempt interest income (typically from municipal bonds)
- Traditional IRA deductions (if you took them on Schedule 1)
- Student loan interest deduction
- Any other applicable MAGI add-backs
IRA Eligibility tab — Select your age bracket (under 50 or 50-plus) to see the catch-up contribution rules. The age distinction matters because the limit jumps from $7,000 to $8,000 for the 2024 tax year if you are 50 or older by year-end.
Subsidy Eligibility tab — Add your household size. The ACA premium tax credit calculation compares your MAGI to the federal poverty level (FPL) for your household size. A family of four has a much higher FPL than a single person, so the same MAGI can qualify or disqualify you depending on household size.
Quick example: single filer with IRA deduction
AGI: $52,000 / IRA deduction taken: $6,500 / No other add-backs
MAGI = $52,000 + $6,500 = $58,500
For 2024 Roth IRA: phase-out starts at $146,000 for single filers. MAGI of $58,500 is well below the threshold, so you can contribute the full $7,000 (or $8,000 if 50+).
Note: even though you took an IRA deduction on your traditional IRA, you can still make a Roth IRA contribution, because Roth eligibility is based on MAGI, not on whether you have a traditional IRA.
The IRS uses slightly different MAGI definitions for different programs. The add-backs above cover the most common items. For less common situations (foreign housing exclusions, adoption expenses, domestic production activities), consult a tax professional or IRS Publication 590-A.
What MAGI actually is and why it exists
Most people have heard of AGI. Fewer have heard of MAGI. The relationship is straightforward: MAGI starts with AGI and adds back specific deductions that the IRS decided should not reduce your income for purposes of certain benefits.
The logic makes sense once you understand it. The IRS does not want people to deduct an item from income and then also use that reduced income to qualify for an income-based benefit. So it adds the deduction back to “undo” the reduction for eligibility testing purposes.
For most wage earners with no foreign income and no traditional IRA deductions, MAGI is identical to AGI. The differences only show up when you have taken one of the specific deductions that get added back.
MAGI is not a new income number. It is AGI with some additions, calculated specifically to test eligibility for programs that the IRS has decided should not be influenced by those particular deductions.
The programs that use MAGI include Roth IRA contributions, traditional IRA deductibility (when a workplace plan exists), ACA marketplace subsidies, the premium tax credit, education credits (American Opportunity and Lifetime Learning), the child tax credit phase-out, the Net Investment Income Tax, and Social Security benefit taxation. Each program may use a slightly different MAGI definition, which is why this calculator shows the calculation steps so you can verify which add-backs are relevant to your situation.
The formulas
The Roth IRA reduced contribution formula produces a proportional reduction. If you are halfway through the phase-out range, you can contribute half the maximum. The result is rounded to the nearest $10, and the minimum is always $200 (you either hit $0 or you can contribute at least $200 even at the very top of the range).
The ACA FPL percentage determines your subsidy tier. Below 100% FPL means you likely do not qualify for the premium tax credit (and may qualify for Medicaid instead). Between 100% and 400% FPL, you get a credit on a sliding scale where lower-income households get larger subsidies. Above 400% FPL, the American Rescue Plan extended eligibility on a capped basis through 2025.
For 2024, the Roth IRA contribution limit is $7,000 for those under 50 and $8,000 for those 50 and older. The catch-up amount ($1,000 extra) is not indexed to inflation, so it stays fixed at $1,000 until Congress changes it.
Real-world examples
Example 1: Roth IRA eligibility with borderline income
Single filer. AGI: $150,000. Has $5,000 in tax-exempt municipal bond interest. No foreign income, no IRA deductions taken.
MAGI = $150,000 + $5,000 = $155,000
2024 phase-out range for single: $146,000 to $161,000 (range width: $15,000)
Portion into phase-out: $155,000 - $146,000 = $9,000
Reduction = ($9,000 / $15,000) x $7,000 = $4,200
Allowed contribution = $7,000 - $4,200 = $2,800
Without the municipal bond add-back, AGI alone ($150,000) would allow a reduced contribution of $1,867. With the add-back, MAGI of $155,000 reduces it further to $2,800. This shows exactly why you need MAGI, not AGI, to calculate Roth eligibility.
Example 2: ACA subsidy eligibility for a family
Married couple, two children, household of 4. Combined AGI: $78,000. One spouse has $3,000 in student loan interest deduction. No other add-backs.
MAGI = $78,000 + $3,000 = $81,000
2024 FPL for household of 4 (48 contiguous states): $30,000
FPL % = $81,000 / $30,000 x 100 = 270% FPL
At 270% FPL, this household qualifies for ACA premium tax credits. The subsidy caps their contribution at roughly 8.06% of income under 2024 benchmark plan rules. Without the student loan add-back, the AGI of $78,000 would show 260% FPL, still qualifying but at a slightly different credit level.
Example 3: Traditional IRA deductibility with a workplace plan
Single filer. AGI: $76,000. Has a 401(k) at work. No traditional IRA deductions taken yet.
For 2024, the traditional IRA deduction phase-out for a single filer covered by a workplace plan runs from $77,000 to $87,000.
MAGI = AGI = $76,000 (no add-backs in this case)
$76,000 is below $77,000, so this person can deduct the full traditional IRA contribution of $7,000 from taxable income.
If their income were $82,000, they would be in the phase-out and could only deduct a partial amount. The deduction phases out entirely above $87,000.
MAGI thresholds reference table
| Program | Single 2024 | MFJ 2024 | Note |
|---|---|---|---|
| Roth IRA phase-out start | $146,000 | $230,000 | Contribution reduced above this |
| Roth IRA full phase-out | $161,000 | $240,000 | No direct contribution above this |
| Trad. IRA deduction phase-out (w/ plan) | $77,000 | $123,000 | For active plan participants |
| Trad. IRA deduction full phase-out | $87,000 | $143,000 | No deduction above this |
| Net Investment Income Tax | $200,000 | $250,000 | 3.8% tax on investment income |
| Premium Tax Credit (ACA) | 100-400%+ FPL | Same | Based on household size |
| Child Tax Credit phase-out | $200,000 | $400,000 | Credit reduces above this |
| American Opportunity Credit | $80,000 | $160,000 | Phase-out start |
These thresholds are for 2024 returns filed in 2025. They change each year with inflation adjustments. The Roth IRA and traditional IRA limits for 2023 and 2022 are lower, which is why the tax year selector in the calculator matters.
Practical strategies for managing your MAGI
Pre-tax retirement contributions come first. Contributions to traditional 401(k), 403(b), and 457 plans reduce your W-2 income before AGI is even calculated. They do not show up as MAGI add-backs. This makes them the most effective way to reduce MAGI. If you are just over a Roth IRA threshold, adding more to your 401(k) may bring MAGI below the limit.
HSA contributions do the same. Health Savings Account contributions (if you have a qualifying high-deductible health plan) reduce AGI directly via an above-the-line deduction. Since they are not an MAGI add-back, they reduce your MAGI dollar-for-dollar.
Watch municipal bond interest. Tax-exempt interest income does not appear in your AGI since it is tax-free. But it is an MAGI add-back. If you hold a significant amount in muni bonds, the interest can push your MAGI up noticeably even when your AGI looks clean. Consider this if your AGI is near a phase-out threshold.
The backdoor Roth IRA for high earners. If your MAGI exceeds the Roth IRA limit completely, you can make a non-deductible traditional IRA contribution and then immediately convert it to a Roth IRA. This two-step process has no income limit. There is a complication if you have other pre-tax IRA balances (the pro-rata rule), but for people with no other IRA assets it is clean and legal.
Timing income and deductions. If you expect income to be unusually high one year (a bonus, a Roth conversion, a real estate sale), you may be able to defer income or accelerate deductions to manage which year the MAGI spike falls in. This requires planning, ideally with a tax advisor, but the calculator gives you the numbers to work with.
If your MAGI puts you in the Roth IRA phase-out zone, calculate your allowed contribution precisely before year-end so you do not over-contribute. An excess contribution carries a 6% annual penalty until corrected. The calculator’s IRA Eligibility tab shows your exact allowed amount for the year.
The bottom line
MAGI is the income number that actually controls your eligibility for some of the most valuable tax benefits available to individuals: Roth IRA contributions, traditional IRA deductions, ACA premium tax credits, and several education credits.
For most people, MAGI equals AGI. But the cases where they differ, particularly for people who have taken an IRA deduction, hold municipal bonds, or earn foreign income, can be material. A $5,000 add-back can push someone from full Roth IRA eligibility into the phase-out zone, cutting thousands of dollars of available tax-advantaged space.
Calculate your MAGI each year as part of your tax preparation, not just when filing. The sooner you know where you stand relative to a threshold, the more options you have to act. Contributions and deductions can be adjusted right up until the filing deadline (including extensions for some items), but only if you know the number in time.
Frequently Asked Questions
What is Modified Adjusted Gross Income (MAGI)?
MAGI is your adjusted gross income (AGI) with certain deductions added back. The IRS uses MAGI to determine eligibility for Roth IRA contributions, ACA health insurance subsidies, and education tax credits. The add-backs vary by benefit, so your MAGI can differ depending on which calculation you're performing.
How is MAGI calculated?
MAGI = AGI + specific add-backs. Common add-backs include: tax-exempt interest income, foreign income exclusions, excluded employer-provided adoption assistance, non-taxable Social Security benefits, and IRA deductions. The exact add-backs depend on which tax benefit you're calculating MAGI for.
What is the difference between AGI and MAGI?
AGI is your gross income minus above-the-line deductions. MAGI adds certain items back to AGI to get a truer picture of income for benefit eligibility. For most taxpayers with no foreign income or tax-exempt interest, AGI and MAGI are identical.
What is the 2024 Roth IRA income limit?
For 2024, Roth IRA contributions phase out between $146,000-$161,000 MAGI for single filers and $230,000-$240,000 for married filing jointly. Below the lower threshold you can contribute the full $7,000 ($8,000 if 50+). Above the upper threshold no direct Roth contribution is allowed.
How does MAGI affect ACA health insurance subsidies?
Premium tax credits are available to households with MAGI between 100% and 400% of the Federal Poverty Level. For 2024, 400% FPL is $58,320 for a single person and $120,000 for a family of four. Your subsidy decreases as MAGI rises, reaching zero at the upper eligibility threshold.
Does MAGI affect Medicare premiums?
Yes. Medicare uses IRMAA surcharges for higher-income beneficiaries based on MAGI from 2 years prior. In 2024, individuals with MAGI above $103,000 (MFJ above $206,000) pay surcharges ranging from $244.60 to $594.00 per month total for Part B.
Can I reduce my MAGI?
Yes. Strategies include: maximizing traditional IRA contributions (if deductible), contributing to an HSA, maximizing 401(k) contributions, realizing capital losses to offset gains, and deferring income if near a threshold. A $7,000 traditional IRA contribution could bring you under the Roth IRA phase-out threshold.
What is the MAGI limit for traditional IRA deductibility?
If you have a workplace retirement plan, the 2024 traditional IRA deduction phases out between $77,000-$87,000 MAGI for single filers and $123,000-$143,000 for married filing jointly. Above the upper limit you can still contribute but cannot deduct the contribution.
What income is added back to AGI for Roth IRA MAGI?
For Roth IRA contribution purposes, MAGI adds back: traditional IRA deductions, student loan interest deduction, domestic production activities deduction, foreign income exclusions and deductions, and excluded employer adoption assistance. For most US workers, Roth IRA MAGI equals their AGI.
What is the backdoor Roth IRA and when does it apply?
The backdoor Roth IRA is a strategy for high earners whose MAGI exceeds Roth contribution limits. It involves making a non-deductible traditional IRA contribution and then converting it to a Roth IRA. If you have no other pre-tax IRA money, the conversion is mostly tax-free. This strategy is legal but requires careful planning.
Related Calculators
AGI Calculator
Calculate your Adjusted Gross Income (AGI) from wages, business income, investment income, and deductions.
Annual Income Calculator
Convert hourly wage to annual salary or calculate total annual income from multiple sources including overtime, bonuses, and commissions.
Monthly Income Calculator
Calculate gross and net monthly income from annual salary, hourly wage, or multiple income sources. Includes tax estimates and weekly/biweekly equivalents.
ROE Calculator
Calculate Return on Equity (ROE) and analyze profitability using DuPont analysis components.
ROI Calculator
Calculate Return on Investment (ROI), net profit, annualized ROI, and investment performance.
Rate of Return Calculator
Calculate rate of return, total profit/loss, and annualized return on any investment.