Modified AGI Calculator (MAGI)
Calculate your Modified Adjusted Gross Income (MAGI) for tax planning.
Determine eligibility for Roth IRA, ACA subsidies, Medicare IRMAA, and income-driven student loan repayment.
Income & Deductions
Above-the-Line Deductions
Add-Backs for MAGI
Adjusted Gross Income (AGI)
Roth IRA MAGI
Medicare IRMAA MAGI
ACA Premium Tax Credit MAGI
Student Loan IDR MAGI
Understanding MAGI
What is Modified Adjusted Gross Income (MAGI)?
Modified Adjusted Gross Income (MAGI) is your Adjusted Gross Income (AGI) with certain deductions added back. The specific add-backs vary depending on what tax benefit or program eligibility you're calculating. MAGI is used to determine:
- Roth IRA eligibility: 2025 phaseout starts at $146k (single) / $230k (married)
- Medicare IRMAA surcharges: Extra Part B/D premiums start at $103k (single) / $206k (married)
- ACA Premium Tax Credit: Subsidy eligibility up to 400% of Federal Poverty Level
- Student loan IDR payments: Lower MAGI = lower monthly payment
- Education tax credits: American Opportunity & Lifetime Learning Credit limits
How to Calculate AGI vs MAGI
AGI Formula:
Gross Income - Above-the-Line Deductions = AGI
Above-the-line deductions include:
- Traditional IRA contributions (up to $7,000 / $8,000 if 50+)
- Student loan interest (up to $2,500)
- HSA contributions ($4,300 individual / $8,550 family)
- Self-employment tax (50% deductible)
- Alimony paid (for pre-2019 divorces)
- Educator expenses, moving expenses (military only)
MAGI Formula (varies by purpose):
AGI + Specific Add-Backs = MAGI
For Roth IRA: AGI + Traditional IRA contribution + Foreign earned income exclusion
For Medicare IRMAA: AGI + Tax-exempt interest
For ACA: AGI + Tax-exempt interest + Foreign income + Portion of Social Security
For Student Loans: Usually same as AGI
2025 Critical MAGI Thresholds
| Benefit | Single | Married Filing Jointly |
|---|---|---|
| Roth IRA Phaseout Start | $146,000 | $230,000 |
| Roth IRA Phaseout End | $161,000 | $240,000 |
| Medicare IRMAA Tier 1 | $103,000 | $206,000 |
| Medicare IRMAA Tier 2 | $129,000 | $258,000 |
| ACA Premium Credit (400% FPL) | ~$60,000 | ~$81,000 |
7 Strategies to Lower Your MAGI
1. Max Out Traditional IRA ($7,000)
Deductible Traditional IRA contributions reduce both AGI and most MAGI calculations. A $7,000 contribution can save you $1,540 in taxes (22% bracket) plus potentially preserve Roth IRA eligibility.
2. HSA Contributions ($4,300 / $8,550)
Health Savings Account contributions are triple tax-advantaged and reduce MAGI. Max contribution for 2025: $4,300 individual, $8,550 family (+$1,000 catch-up if 55+).
3. 401(k) Contributions ($23,500)
Pre-tax 401(k) contributions reduce your W-2 wages and thus your AGI/MAGI. Max out at $23,500 ($31,000 if 50+) to lower MAGI by that amount.
4. Timing Capital Gains
Capital gains increase MAGI. If you're near a threshold (Roth IRA or IRMAA), defer sales to next year or harvest tax losses to offset gains.
5. Business Expense Deductions (Self-Employed)
Maximize legitimate business deductions to reduce net self-employment income. SEP-IRA contributions (25% of net earnings) also reduce MAGI.
6. Qualified Charitable Distribution (QCD)
If 70½+, donate up to $105,000 from IRA directly to charity. QCD satisfies RMD without increasing AGI/MAGI—critical for avoiding IRMAA.
7. Roth Conversion Ladder (Advanced)
In low-income years (early retirement, career gap), convert Traditional IRA to Roth while staying under MAGI thresholds. Pay tax now at low rate, avoid future IRMAA.
Medicare IRMAA Impact
IRMAA (Income-Related Monthly Adjustment Amount) is a surcharge on Medicare Part B and Part D premiums for higher earners. It's based on MAGI from 2 years ago (2025 premiums use 2023 tax return).
| 2023 MAGI (Single) | 2023 MAGI (Married) | Part B Monthly | Part D Monthly | Annual Extra Cost |
|---|---|---|---|---|
| ≤ $103,000 | ≤ $206,000 | $0 (standard) | $0 | $0 |
| $103,001–129,000 | $206,001–258,000 | +$69.90 | +$12.90 | +$994/year |
| $129,001–161,000 | $258,001–322,000 | +$174.70 | +$33.30 | +$2,496/year |
| $161,001–193,000 | $322,001–386,000 | +$279.50 | +$53.80 | +$3,996/year |
| $193,001–500,000 | $386,001–750,000 | +$384.30 | +$74.20 | +$5,502/year |
| > $500,000 | > $750,000 | +$419.30 | +$81.00 | +$6,004/year |
2-Year Lookback: 2025 IRMAA is based on your 2023 MAGI. If your income dropped due to retirement, marriage, divorce, or work reduction, file Form SSA-44 to request a reduction.
Common MAGI Mistakes
❌ Confusing AGI with MAGI
AGI and MAGI are different! For Roth IRA, your Traditional IRA contribution is added back. Always check which version of MAGI applies to your situation.
❌ Ignoring Tax-Exempt Interest
Municipal bond interest doesn't appear on your 1040 income, but it IS added back for Medicare IRMAA and ACA calculations. A $20,000 muni bond portfolio could push you into the next IRMAA tier.
❌ Large Roth Conversions Before Age 65
Converting $100k from Traditional IRA to Roth increases MAGI by $100k. If you're 63, this could trigger IRMAA when you hit Medicare at 65 (2-year lookback). Spread conversions over multiple years.
❌ Not Planning for Capital Gains
Selling a rental property or exercising stock options can spike MAGI by $50k-$200k+, triggering IRMAA or eliminating Roth IRA eligibility. Time large gains carefully.
❌ Married Filing Separately Without Strategy
MFS has brutal Roth IRA limits ($0-$10k phaseout). Only use if one spouse has massive income and you're trying to preserve the other's ACA subsidy. Usually MFJ is better.
Frequently Asked Questions
What's the difference between AGI and MAGI?
AGI (Adjusted Gross Income) is your gross income minus above-the-line deductions like Traditional IRA contributions, student loan interest, and HSA contributions. MAGI (Modified AGI) adds back certain deductions depending on the purpose. For Roth IRA, Traditional IRA contributions are added back. For Medicare IRMAA, tax-exempt interest is added back. The specific calculation varies by program.
How do I find my MAGI on my tax return?
Your AGI is on Form 1040, Line 11. MAGI is NOT explicitly shown—you must calculate it yourself by adding back specific items. For Roth IRA MAGI: take Line 11 and add back Traditional IRA deductions (Schedule 1 Line 20) plus foreign earned income exclusion (Form 2555). For Medicare IRMAA MAGI: add tax-exempt interest (Form 1040 Line 2a).
Can I contribute to Roth IRA if my MAGI exceeds the limit?
Yes, via the Backdoor Roth IRA strategy. Contribute $7,000 to a non-deductible Traditional IRA (no income limit), then immediately convert it to Roth. This works even with MAGI over $161k (single) / $240k (married). The only catch: you must have $0 balance in all Traditional/SEP/SIMPLE IRAs to avoid pro-rata taxation, or roll existing Traditional IRA balances into a 401(k) first.
How far in advance does IRMAA look at my income?
IRMAA uses a 2-year lookback. Your 2025 Medicare premiums are based on your 2023 tax return MAGI. This means if you have a one-time income spike (bonus, property sale, Roth conversion), you'll pay higher premiums 2 years later. You can file Form SSA-44 to request a reduction if you had a "life-changing event" (retirement, divorce, work reduction) that lowered your income.
Does 401(k) contribution reduce MAGI?
Yes! Pre-tax 401(k) contributions reduce your W-2 wages, which lowers both AGI and MAGI. If you contribute $23,500 to a 401(k), your W-2 Box 1 is reduced by that amount, lowering MAGI by $23,500. This is one of the most powerful tools to stay under Roth IRA and IRMAA thresholds. Roth 401(k) contributions do NOT reduce MAGI (they're after-tax).
What if I'm just over the Roth IRA limit by a few thousand?
You have several options: (1) Increase Traditional IRA contribution to lower MAGI below $146k phaseout start; (2) Max out 401(k) to reduce W-2 wages; (3) Make extra HSA contributions; (4) Harvest tax losses to offset capital gains; (5) Use the Backdoor Roth IRA strategy to bypass the limit entirely. Even if you're $5k over, contributing $7,000 to Traditional IRA brings you $2,000 below the limit, preserving full Roth eligibility.
Disclaimer: This calculator provides estimates for educational purposes. Tax laws are complex and change frequently. Consult a CPA or tax professional for advice specific to your situation, especially for IRMAA appeals, Backdoor Roth strategies, or multi-state income scenarios.
Based on 2025 IRS Publication 590-A (IRA Contribution Limits), Medicare IRMAA thresholds, and ACA Premium Tax Credit guidelines. MAGI calculations may vary based on individual circumstances.