Article — MAGI Calculator (Modified Adjusted Gross Income)
MAGI calculator: turn AGI into Modified Adjusted Gross Income
Modified Adjusted Gross Income (MAGI) is your AGI with certain deductions added back. The IRS uses MAGI to determine eligibility for Roth IRA contributions, ACA Premium Tax Credit, Net Investment Income Tax, and Medicare IRMAA surcharges. There is no single MAGI: each tax rule has its own add-back list.
AGI sits on line 11 of Form 1040. MAGI never appears on the return. It is computed separately for each rule, using the AGI as the starting point and adding back specific items defined in IRS publications. The Tax Code refers to MAGI more than 30 times, each instance with a slightly different definition.
What is MAGI?
MAGI is Adjusted Gross Income with selected deductions added back. The purpose is to count certain tax benefits as income when testing eligibility for other tax benefits. The Roth IRA rule, for example, adds back the traditional IRA deduction, so taxpayers cannot deduct one type of contribution and then claim eligibility for another based on the lower number.
IRS Publication 590-A defines MAGI for IRA purposes. Publication 915 defines it for Social Security. The Affordable Care Act regulations define MAGI for Premium Tax Credit. Each definition starts from AGI and adds back a different subset of items.
The term "Modified Adjusted Gross Income" first appeared in tax law in 1986, with the Tax Reform Act's IRA deduction phase-out rules. The Affordable Care Act (2010) added the most-cited MAGI definition, used for tens of millions of Premium Tax Credit determinations each year.
MAGI vs. AGI
AGI is gross income minus above-the-line deductions: traditional IRA contributions, student loan interest, HSA contributions, half of self-employment tax, educator expenses, and a handful of others. MAGI is AGI plus some of those deductions added back, depending on which rule is being applied.
AGI = Form 1040 line 11MAGI (Roth) = AGI + Trad IRA + SLI + FEI + FHEMAGI (SS) = AGI + 0.5 × SS + tax-exempt interestMAGI (ACA) = AGI + tax-exempt interest + non-taxable SS + FEIFor most middle-income taxpayers with no IRA deduction, no student loan interest, and no foreign income, MAGI equals AGI. The two diverge once add-backs apply.
MAGI for Roth IRA eligibility
The Roth IRA contribution limit phases out between $146,000 and $161,000 of MAGI for single filers in 2024, and between $230,000 and $240,000 for married filing jointly. IRS Notice 2024-80 raised those thresholds to $150,000-$165,000 and $236,000-$246,000 for 2025.
- Single / Head of household 2024 — full $7,000 below $146,000, zero above $161,000.
- Married filing jointly 2024 — full $7,000 below $230,000, zero above $240,000.
- Married filing separately — phase-out from $0 to $10,000.
- Age 50+ catch-up — extra $1,000 ($8,000 total) at full eligibility.
- Backdoor Roth — non-deductible Traditional IRA contribution plus conversion, legal per IRC 408A.
Within the phase-out range, the allowed contribution drops proportionally. At MAGI of $153,500 in 2024 (single), the formula is: $7,000 × (161,000 − 153,500) ÷ (161,000 − 146,000) = $3,500.
MAGI for Social Security taxability
Social Security benefits are partly taxable above certain MAGI thresholds. The formula for SS MAGI is AGI plus half of benefits plus tax-exempt interest. Above $25,000 (single) or $32,000 (MFJ), up to 50% of benefits become taxable. Above $34,000 / $44,000, up to 85%.
The Social Security MAGI thresholds were set in 1983 and 1993 and have never been adjusted for inflation. As a result, more retirees cross them every year. The Social Security Administration estimates that 56% of beneficiaries paid federal income tax on benefits in 2023, up from 10% in 1984.
MAGI for ACA Premium Tax Credit
The Premium Tax Credit eligibility uses a broader MAGI definition: AGI plus all non-taxable Social Security, tax-exempt interest, and foreign earned income excluded under FEIE. The Inflation Reduction Act of 2022 extended the enhanced subsidies through 2025, eliminating the 400%-of-federal-poverty-level cliff during that period.
HealthCare.gov uses ACA MAGI for both Premium Tax Credit eligibility and the application of cost-sharing reductions. CMS estimates 21 million enrollees received subsidies during 2024 open enrollment, the highest count in marketplace history.
MAGI for Medicare IRMAA
Medicare's Income-Related Monthly Adjustment Amount surcharges use MAGI from two years prior. For 2024 Medicare, the IRS shares the 2022 tax return. The first IRMAA tier starts at $103,000 single and $206,000 MFJ. The top tier (MAGI over $500,000 single) adds $419.30 per month to the standard Part B premium of $174.70, plus a Part D surcharge.
Strategies to reduce MAGI
Because MAGI determines so many thresholds, even small reductions can produce outsized tax savings. The simplest lever is increasing pre-tax 401(k) and HSA contributions, both of which reduce AGI directly.
Qualified Charitable Distributions (QCDs) from an IRA at age 70.5+ count toward your required minimum distribution but do not appear in AGI. The IRS lets you transfer up to $105,000 per year (2024) directly to charity, sidestepping MAGI entirely.
Other levers: harvesting capital losses up to $3,000 per year to offset gains; converting traditional IRA to Roth in lower-income years; deferring a year-end bonus to January; bunching itemized deductions across two years to keep MAGI under a threshold every other year.
For taxpayers near a MAGI cliff, the marginal impact of a single deduction can be very high. Crossing the 400% federal poverty line MAGI threshold for ACA before 2021 cost a typical household tens of thousands of dollars in lost Premium Tax Credit. The Inflation Reduction Act of 2022 smoothed that cliff through 2025, but other thresholds (IRMAA tiers, NIIT, Roth phase-out) still produce sharp marginal effects. The Tax Policy Center estimates that effective marginal tax rates near MAGI cliffs can exceed 50% for some middle-income households once benefit phase-outs are included.
Common MAGI mistakes
The most common error is treating MAGI as a single number. There are at least five distinct MAGI definitions used by the IRS, and applying the wrong one can disqualify you from a credit you actually qualify for.
- One-MAGI assumption — the IRS uses different formulas for Roth, ACA, NIIT, and IRMAA.
- Missing tax-exempt interest — muni-bond interest is added back for SS, ACA, and IRMAA.
- Ignoring 2-year lookback for IRMAA — the 2022 return drives 2024 Medicare premiums.
- Confusing Roth and traditional IRA phase-outs — the limits differ; the formula does not.
- Missing the backdoor Roth — above the limit, non-deductible plus conversion remains legal.