Modified Adjusted Gross Income (MAGI) is the income figure the IRS uses to determine your eligibility for key tax benefits — including Roth IRA contributions, traditional IRA deductions, premium tax credits, and education-related deductions.
MAGI starts with your Adjusted Gross Income (AGI) and adds back certain deductions or exclusions depending on which tax rule is being applied. There is no single universal MAGI formula — the calculation changes based on the specific benefit being evaluated.
In plain English: MAGI = AGI + specific add-backs (varies by tax rule)
| Topic | Details |
|---|---|
| Full Form | Modified Adjusted Gross Income |
| Built From | Adjusted Gross Income (AGI) |
| Primary Purpose | Tests eligibility for IRS tax benefits |
| Common Uses | Roth IRA limits, IRA deductions, ACA credits, education benefits |
| Universal Formula? | No — varies by tax provision |
| Thresholds Change? | Yes — IRS updates phase-out ranges annually |
| Who Needs It | Individual taxpayers, self-employed, high-income earners, finance teams |
Modified Adjusted Gross Income is not a line on your tax return. It is a calculated figure the IRS derives from your AGI by adding back specific deductions or excluded income — depending on which tax provision it is being used to evaluate.
The IRS created MAGI because standard AGI can be reduced below what the IRS considers your true financial capacity. For example, someone who earns $130,000 and deducts $10,000 in student loan interest has an AGI of $120,000 — but the IRS may add that $10,000 back when testing Roth IRA eligibility, giving a MAGI of $130,000.
This matters because eligibility phase-outs for retirement accounts, healthcare subsidies, and deductions are all tested against MAGI — not your paycheck, not your AGI, and not your taxable income.
The IRS designed MAGI to create a more consistent measure of income when evaluating whether someone truly qualifies for a tax benefit. Without it, high-income taxpayers could use deductions to artificially lower their apparent income and claim benefits intended for lower-income households.
Many taxpayers use AGI and MAGI interchangeably. They are not the same.
| Feature | AGI | MAGI |
|---|---|---|
| Where Found | Line 11, Form 1040 | Calculated separately |
| Purpose | General tax liability base | Eligibility testing for specific benefits |
| Formula | Gross income minus above-the-line deductions | AGI plus specific add-backs |
| Universal? | Yes — one formula | No — varies by tax rule |
| Lower = Better? | Generally yes | Depends on the benefit being tested |
AGI is calculated by taking your gross income (wages, self-employment income, investment gains, rental income, etc.) and subtracting above-the-line deductions such as:
To understand how deductions reduce your income below AGI, see our guide on standard deduction vs itemized deductions.
Depending on the rule being applied, MAGI may add back:
Important: Not all of these are added back in every MAGI calculation. The specific add-backs depend entirely on which IRS provision you are applying.
No. MAGI does not include or subtract the standard deduction.
This is one of the most common points of confusion. Here is why:
Gross Income
↓ minus above-the-line deductions
Adjusted Gross Income (AGI) ← Line 11, Form 1040
↓ plus certain add-backs (varies by rule)
Modified Adjusted Gross Income (MAGI) ← Not on Form 1040
↓ minus standard or itemized deductions
Taxable Income ← Line 15, Form 1040
Because there is no universal MAGI formula, you must identify which tax provision you are evaluating, then apply the correct calculation.
Step 1 — Find Your AGI
Locate Line 11 of your Form 1040. This is your Adjusted Gross Income.
Step 2 — Identify the Tax Benefit You Are Evaluating
Are you testing Roth IRA eligibility? Traditional IRA deductibility? ACA premium tax credit eligibility? Each uses a slightly different MAGI formula.
Step 3 — Add Back the Required Items
Based on the provision, add back any applicable exclusions or deductions.
Step 4 — Compare to the IRS Threshold
Check whether your resulting MAGI falls within, at, or above the phase-out range for that year.
The IRS sets Roth IRA income limits annually. Here are the 2025 phase-out ranges:
| Filing Status | Full Contribution | Phase-Out Range | No Contribution |
|---|---|---|---|
| Single / Head of Household | Below $150,000 | $150,000 – $165,000 | Above $165,000 |
| Married Filing Jointly | Below $236,000 | $236,000 – $246,000 | Above $246,000 |
| Married Filing Separately | $0 | $0 – $10,000 | Above $10,000 |
MAGI for Roth IRA = AGI
If you or your spouse are covered by a workplace retirement plan, your traditional IRA deduction phases out based on MAGI. If you are also maximising workplace plan contributions, review the 401k contribution limits alongside these MAGI thresholds for a complete retirement planning picture.
2025 Phase-Out Ranges:
MAGI for premium tax credits includes:
Households earning between 100% and 400% of the Federal Poverty Level (FPL) generally qualify for credits, with extended eligibility under current law.
Higher-income Medicare beneficiaries pay Income-Related Monthly Adjustment Amounts (IRMAA). This MAGI is based on your tax return from 2 years prior. You can review current Medicare IRMAA premium thresholds on Medicare.gov.
There is no single “MAGI calculator” because the formula changes by provision. However, here is a practical walkthrough for the most common use case — Roth IRA eligibility.
| Income Item | Amount |
|---|---|
| W-2 wages | $140,000 |
| Freelance income | $8,000 |
| Dividend income | $3,500 |
| Traditional IRA contribution (deductible) | ($6,500) |
| Student loan interest | ($2,500) |
| AGI (Line 11) | $142,500 |
| Add back: Student loan interest | +$2,500 |
| Roth IRA MAGI | $145,000 |
| Result | Below $150,000 — full Roth contribution allowed |
| Income Item | Amount |
|---|---|
| Combined W-2 wages | $225,000 |
| Capital gains distributions | $9,000 |
| Municipal bond interest | $4,500 |
| HSA deduction | ($4,150) |
| AGI | $234,350 |
| Add back: Tax-exempt municipal bond interest | +$4,500 |
| Roth IRA MAGI | $238,850 |
| Result | Within the $236,000–$246,000 phase-out — partial contribution only |
In Example 2, the taxpayer likely assumed they qualified for a full Roth contribution based on wages alone — but investment income pushed them into the phase-out range.
Roth IRA eligibility is one of the most common reasons taxpayers need to understand MAGI. The contribution limit for 2025 is $7,000 ($8,000 if age 50 or older), but your ability to contribute directly to a Roth IRA depends entirely on your MAGI.
If your MAGI falls within the phase-out range, your maximum contribution is reduced proportionally. The formula:
Reduced Contribution = $7,000 × (1 – [(Your MAGI – Phase-Out Floor) ÷ Phase-Out Range Width])
For a single filer with MAGI of $157,500:
You have two main options:
Many taxpayers make Roth contributions early in the year based on estimated income, then discover at filing that their actual MAGI exceeded the limit. This results in an excess contribution, which carries a 6% excise tax annually until corrected. Always verify your projected MAGI before contributing — or wait until after December 31 when you have a clearer picture of your income.
MAGI affects far more than retirement accounts. Here is a full breakdown of where your MAGI tax situation matters most:
Even careful taxpayers frequently make these errors:
Assuming AGI and MAGI are interchangeable can lead to incorrectly claiming a deduction or making an ineligible contribution. Always identify the specific add-backs required for the provision you are evaluating.
Municipal bond interest does not appear prominently on most tax documents, but it is added back in several MAGI calculations — most notably for Roth IRA eligibility and ACA premium credits.
Year-end capital gains distributions from mutual funds are taxable and often surprise taxpayers. These increase AGI (and therefore MAGI) even if you did not sell any shares.
Freelancers and business owners often have unpredictable income. A strong final quarter can push year-end MAGI above phase-out thresholds after contributions or enrollments have already been made.
Pass-through income from partnerships, S-corporations, or trusts reported on Schedule K-1 flows into AGI and affects MAGI. Misclassifying this income — or missing the K-1 entirely — distorts the calculation.
If you receive ACA premium tax credits during the year based on projected income, and your actual MAGI is higher at filing, you may owe back some or all of the credits received.
For business owners, self-employed professionals, and high-income earners, MAGI planning is year-round work — not just a filing-season exercise.
Capital gains harvesting — Realizing long-term gains in a year when MAGI is below the 0% capital gains bracket saves tax and does not push MAGI as high as ordinary income would.
Roth conversions — Converting traditional IRA funds to Roth increases MAGI in the conversion year. Planning the conversion amount carefully prevents unintended loss of deductions or credits.
Bonus deferral — Executives or business owners who can influence the timing of income may defer compensation to keep MAGI below key thresholds.
HSA contributions — Maximizing HSA contributions reduces AGI (and often MAGI) dollar for dollar, with triple tax advantages.
Modified Adjusted Gross Income is one of the most consequential numbers in your tax profile — yet it never appears directly on your tax return. It determines whether you can contribute to a Roth IRA, how much of your traditional IRA contribution is deductible, whether you qualify for healthcare subsidies, and whether you owe Medicare surcharges.
The critical point for taxpayers and finance teams is that MAGI is not one calculation — it is a family of calculations, each with its own specific add-backs depending on the IRS provision involved. Using the wrong formula means you could be over-contributing, missing deductions, or making planning decisions based on inaccurate numbers.
Year-round awareness of how income events affect your MAGI — especially bonuses, investment distributions, Roth conversions, and self-employment swings — is the most reliable way to avoid costly surprises at filing time.
AGI (Adjusted Gross Income) is found on Line 11 of Form 1040. It is your gross income minus above-the-line deductions. MAGI starts with AGI and adds back specific items — such as student loan interest, tax-exempt interest, and foreign income exclusions — depending on which IRS rule is being applied. For many taxpayers with no foreign income and no student loan deduction, MAGI and AGI may be identical.
No. The standard deduction is subtracted from AGI to arrive at taxable income. MAGI is derived from AGI before the standard deduction is applied. Your standard deduction has no effect on your MAGI.
For Roth IRA purposes, MAGI equals AGI plus any student loan interest deduction, tuition deductions, foreign income exclusions, and tax-exempt interest income you have added back. In 2025, the Roth IRA phase-out range is $150,000–$165,000 for single filers and $236,000–$246,000 for married filing jointly.
Start with your AGI (Form 1040, Line 11). Then identify which tax benefit you are evaluating and add back the specific items the IRS requires for that provision. For Roth IRA purposes, the most common add-backs are student loan interest and tax-exempt interest. Tax software handles this automatically, but manually reviewing the underlying income data is recommended, especially for variable-income earners.
Tax preparation software (TurboTax, H&R Block, FreeTaxUSA) automatically calculates your MAGI for each applicable provision during the return preparation process. For mid-year planning, you can use an IRS worksheet or consult the relevant IRS publication for the specific deduction or credit you are evaluating. A tax advisor can also run a MAGI projection using your estimated year-end income.
Yes — and this is one of the most common surprises taxpayers encounter. Dividends, capital gain distributions, interest income, and gains from selling investments all increase your AGI, which flows directly into your MAGI. Even if your salary stayed the same, a strong investment year could push you above Roth IRA eligibility limits or cause Medicare premium surcharges.
You have made an excess contribution, which is subject to a 6% excise tax for every year the excess remains in the account. You can correct this by withdrawing the excess contribution (plus earnings) before the tax filing deadline, or by recharacterizing the contribution as a non-deductible traditional IRA contribution. Timely correction avoids ongoing penalties.
Not directly — Social Security taxability is based on combined income (AGI + non-taxable Social Security + tax-exempt interest), which is a related but different formula. However, MAGI does affect Medicare IRMAA surcharges, which can increase your Part B and Part D premiums significantly if your income crosses the relevant thresholds.
Content reviewed and updated May 2026. IRS thresholds and phase-out ranges are subject to annual adjustments. Consult a qualified tax professional for guidance specific to your situation.

Bert Wilson serves as our U.S. representative and client success manager, specializing in U.S. tax and accounting services. With expertise in tax compliance, financial reporting, and outsourced accounting solutions, Bert helps clients navigate complex financial challenges. Holding a Master’s degree in accounting and having obtained his C.P.A. license from the state of Colorado, he ensures client expectations are exceeded through tailored solutions and seamless collaboration with our India team. Passionate about building relationships, Bert enjoys both early mornings and outdoor sports, embodying a proactive approach to success
KMK is a top outsourced accounting and tax service provider. We offer end-to-end accounting and tax services for small to mid-sized businesses, with a team of 1000+ professionals, including certified public, chartered, and staff accountants.
Schedule a MeetingUSA:
651 N Broad ST STE 205 10055
Middletown, DE 19709
Phone: 941-877-2835
India:
300, Sankalp Square-3B
Sindhu Bhavan Marg,
Ahmedabad, Gujarat 380058
For Career: 91-98240-42996
Developed by Bluele | Copyright © 2026 | KMK Ventures Private Limited. | All Rights Reserved