Magi Calculator
Enter your Adjusted Gross Income and the most common add-backs to compute your Modified Adjusted Gross Income (MAGI) — the figure behind many tax credits and eligibility limits.
Your tax return shows an Adjusted Gross Income, but the number that decides whether you qualify for many tax breaks is often a different figure: Modified Adjusted Gross Income, or MAGI. Premium tax credits for health insurance, Roth IRA eligibility, education credits, and the net investment income tax all run on MAGI, not AGI. The difference between the two is small on paper — a handful of add-backs — yet it can quietly push you over a threshold and cost you thousands. The Magi Calculator takes your AGI, adds back the common adjustments the tax code requires, and gives you your MAGI in seconds, with every line item shown.
This matters most when you are close to a cutoff. Many credits phase out over a narrow income band, so even two or three thousand dollars of add-backs can reduce or eliminate a benefit. Guessing is risky: people routinely forget tax-exempt interest from municipal bonds or the student loan interest they deducted, and then act on an AGI that is lower than the MAGI the IRS will actually use. Running the numbers through this calculator before you contribute to a Roth IRA, claim an education credit, or estimate a health insurance subsidy takes one source of uncertainty off the table.
What the Magi Calculator Does
The Magi Calculator computes your Modified Adjusted Gross Income from your Adjusted Gross Income plus the most common MAGI add-backs. You enter your AGI and any amounts for tax-exempt interest, the foreign earned income exclusion, non-taxable Social Security benefits, your IRA deduction, your student loan interest deduction, and your tuition and fees deduction. The calculator adds every add-back to your AGI and reports your MAGI, along with a line-by-line breakdown showing exactly how each item moved the total.
Think of it as reversing a few of the subtractions that produced your AGI. Some deductions that lower your AGI — like the IRA deduction and the student loan interest deduction — are added back for MAGI purposes, because the credit or benefit in question is meant to be measured before those particular breaks. Likewise, some income that never entered AGI at all — like tax-exempt bond interest — is added back so that MAGI reflects a fuller picture of your economic income. The calculator handles the arithmetic; you just supply the inputs.
How to Use the Magi Calculator
Start with your Adjusted Gross Income, the figure from your tax return after all above-the-line deductions. Enter it in the first field — this is the only required input, and it must be greater than zero. Then fill in each add-back that applies to you. If an item does not apply, leave it at zero or blank; the calculator treats blank fields as zero.
Tax-exempt interest comes from your 1099-INT (the tax-exempt box) — typically municipal bond interest. The foreign earned income exclusion is the amount you excluded on Form 2555. Non-taxable Social Security benefits are the portion of your benefits that did not count toward taxable income. Your IRA deduction, student loan interest deduction, and tuition and fees deduction are the above-the-line amounts you claimed on your return. Press Calculate and your MAGI appears at the top, with every component listed below it. Use Reset to clear the form and start over.
The Formula Behind the Magi Calculator
The calculation is a straightforward addition:
MAGI = AGI + tax-exempt interest + foreign earned income exclusion + non-taxable Social Security benefits + IRA deduction + student loan interest deduction + tuition and fees deduction
Each add-back exists for a reason. Tax-exempt interest is income you genuinely received, so MAGI counts it even though the income tax does not. The foreign earned income exclusion is real earnings, so it is added back too. The IRA, student loan interest, and tuition deductions were subtracted to reach AGI, and MAGI adds them back because the programs that use MAGI want to measure income before those specific write-offs. Non-taxable Social Security benefits are added back for the same reason — they are economic income even when they escape tax.
One important nuance: there is no single universal MAGI. Different tax provisions add back slightly different items — the MAGI for Roth IRA purposes is not identical to the MAGI for the net investment income tax, for example. This calculator covers the most common add-backs shared by the widely used MAGI definitions, which makes it a solid planning figure. For a filing decision that turns on a few hundred dollars, confirm which add-backs your specific credit or provision requires.
Worked Examples With Full Arithmetic
Example 1 — a typical working professional. Priya has an AGI of $95,000. During the year she earned $2,500 of tax-exempt interest from municipal bonds, deducted $7,000 for her traditional IRA contribution, deducted $2,500 of student loan interest, and deducted $4,000 for tuition and fees. She has no foreign earned income exclusion and no Social Security benefits. The add-backs total:
$2,500 + $0 + $0 + $7,000 + $2,500 + $4,000 = $16,000
Her MAGI is then:
$95,000 + $16,000 = $111,000
The calculator displays $111,000.00 as her Modified Adjusted Gross Income, with the $16,000 of total add-backs itemized line by line. Notice how the add-backs alone moved her $16,000 closer to every phase-out threshold — a meaningful shift she would have missed if she had planned around her $95,000 AGI.
Example 2 — a recent graduate. Marcus has an AGI of $62,000. He earned $1,200 of tax-exempt interest, deducted $6,500 for his IRA, and deducted $1,800 of student loan interest. He claims no tuition deduction, no foreign exclusion, and no Social Security benefits. His add-backs are:
$1,200 + $0 + $0 + $6,500 + $1,800 + $0 = $9,500
His MAGI is:
$62,000 + $9,500 = $71,500
The calculator shows $71,500.00. For Marcus, this figure — not his $62,000 AGI — is what determines his eligibility for a Roth IRA contribution and the size of any education-related credits he claims. If a phase-out began at $73,000, his $9,500 of add-backs would leave him only $1,500 of headroom, which is exactly the kind of insight this calculation is for.
Understanding Your Result
The headline number is your MAGI, shown prominently at the top of the result card. Below it, the breakdown lists your AGI, each add-back you entered, the total of all add-backs, and the final MAGI. Read the breakdown as a story: your AGI is the starting point, the add-back total is the adjustment the tax code applies, and the MAGI is the figure the government actually uses for the credit or threshold you care about.
A MAGI equal to your AGI means none of the add-backs apply to you — common for straightforward W-2 earners with no deductions in the list. A MAGI meaningfully above your AGI is normal for people with municipal bond interest, large IRA deductions, or excluded foreign income; it is not an error. What matters is comparing your MAGI against the specific threshold you are planning around, such as the start of a credit phase-out range. If your MAGI lands within a few thousand dollars of a cutoff, that is your signal to look at timing — for instance, whether bunching a deduction into next year would keep you under the line.
Common Mistakes to Avoid
The most frequent mistake is using gross income or taxable income instead of AGI as the starting point. MAGI builds on AGI specifically — the figure after above-the-line deductions but before the standard or itemized deduction. Starting from the wrong base makes the whole result wrong, so pull AGI directly from your return.
The second mistake is omitting add-backs that feel invisible. Tax-exempt interest is the classic one: because it never appeared in your taxable income, it is easy to forget it exists, yet it is explicitly added back. Similarly, people forget the student loan interest deduction because it was small, or the IRA deduction because it happened automatically through payroll. Gather each figure from the actual forms — 1099-INT, your return’s adjustments schedule — rather than from memory.
The third mistake is assuming one MAGI fits every purpose. As noted above, different provisions define MAGI slightly differently. This calculator gives you the widely used version with the most common add-backs, which is right for planning and estimates. But before you make an irreversible move — like a Roth conversion near a threshold — verify the exact add-back list for your specific credit or tax in the current year’s instructions.
Frequently Asked Questions
1. What does MAGI stand for?
MAGI stands for Modified Adjusted Gross Income. It starts with your Adjusted Gross Income (AGI) and adds back certain items — such as tax-exempt interest and specific deductions — that the tax code wants counted for particular credits, thresholds, and eligibility tests.
2. How is MAGI different from AGI?
AGI is your gross income minus above-the-line deductions, and it appears on your tax return. MAGI takes that AGI and adds back a defined list of items, so MAGI is equal to or higher than AGI — never lower. Many tax benefits use MAGI rather than AGI as their measuring stick.
3. Why does the IRS use MAGI instead of AGI for some credits?
Because AGI alone can understate a person’s real economic income. Someone with large tax-exempt bond interest or excluded foreign earnings might show a modest AGI while enjoying substantial income. MAGI adds those items back so that phase-outs and eligibility limits target people based on a fuller income picture.
4. Which add-backs does this calculator include?
Tax-exempt interest, the foreign earned income exclusion, non-taxable Social Security benefits, the IRA deduction, the student loan interest deduction, and the tuition and fees deduction. These are the add-backs shared by the most commonly used MAGI definitions, which makes the result a reliable planning figure.
5. Is MAGI the same for every tax purpose?
No. Different provisions define MAGI with slightly different add-back lists — the MAGI for Roth IRA eligibility, premium tax credits, education credits, and the net investment income tax are not all identical. This calculator covers the common core. For a decision that hinges on a small margin, check the exact definition for your specific provision.
6. Where do I find my AGI?
On your filed tax return — it is the clearly labeled Adjusted Gross Income line (line 11 of the 2024 Form 1040, for example). If you have not filed yet, it is your total income minus all above-the-line adjustments such as retirement contributions, HSA contributions, and student loan interest.
7. Where do I find my tax-exempt interest amount?
In the tax-exempt interest box of your Form 1099-INT, which your bank or broker sends each year. Municipal bond interest is the most common source. Even though this interest is not taxed, it is explicitly added back when computing MAGI.
8. Do I add back my 401(k) contributions?
No. Elective deferrals to a 401(k) or similar workplace plan reduce the wages reported on your W-2, so they are already reflected before AGI is computed — they are not an add-back for MAGI. Only the specific deductions in the add-back list, such as the traditional IRA deduction, get added back.
9. Can my MAGI be lower than my AGI?
No. MAGI is AGI plus add-backs, and every add-back is zero or positive, so MAGI is always at least equal to AGI. If none of the add-backs apply to you, your MAGI simply equals your AGI.
10. Why did my MAGI come out much higher than my AGI?
Usually because of a large add-back you may have overlooked — most often tax-exempt interest from municipal bonds, a sizable IRA deduction, or excluded foreign earned income. Review the calculator’s line-by-line breakdown: the “total add-backs” row shows exactly how much was added and each row shows where it came from.
11. How does MAGI affect Roth IRA eligibility?
Roth IRA contribution eligibility phases out over a MAGI range set each year by the IRS. If your MAGI is below the range, you may contribute the full amount; inside the range, the allowed contribution shrinks; above it, direct contributions are not allowed. That is why savers check MAGI before contributing.
12. How does MAGI affect health insurance subsidies?
Premium tax credits for marketplace health insurance are based on your household’s MAGI relative to the federal poverty level. A higher MAGI can reduce the credit or eliminate it. Estimating MAGI in advance helps you project your net premium instead of facing a surprise at tax time.
13. What if an add-back does not apply to me?
Leave that field blank or zero — the calculator treats empty fields as zero. Only your AGI is required. Most people will have zeros for several items, such as the foreign earned income exclusion, and that is completely normal.
14. Should I use last year’s or this year’s figures?
Use the figures for the tax year you are planning around. For estimating next year’s eligibility, use projected numbers — your expected AGI and expected add-backs. For checking a return you already filed, use the actual filed figures. Mixing years is a common source of confusion.
15. Can this calculator replace professional tax advice?
No. It is a planning tool that handles the standard add-backs correctly, but tax law has exceptions, special situations, and yearly changes. For filing decisions, large transactions, or anything near a threshold that affects real money, confirm the result with a qualified tax professional.
Final Thoughts
MAGI is one of those quiet numbers that shapes big outcomes — which credits you keep, which accounts you may fund, and what your health insurance really costs. It takes only a minute to compute, yet most people never check it until a phase-out surprises them. Run your figures through the Magi Calculator whenever a threshold is in sight, keep the breakdown for your records, and plan with the number the rules actually use. A few minutes of arithmetic today can protect thousands of dollars in benefits tomorrow.