How to Calculate Modifed Adjusted Gross Income
Use this premium MAGI calculator to estimate Modified Adjusted Gross Income for common tax and health coverage situations. MAGI can differ depending on why you need it, so this tool lets you switch between a general estimate, ACA Marketplace MAGI, and a simplified IRA contribution MAGI view.
Expert Guide: How to Calculate Modifed Adjusted Gross Income
Modified Adjusted Gross Income, usually shortened to MAGI, is one of the most important figures in personal finance and tax planning. Even though the term sounds technical, the core idea is simple: you begin with your adjusted gross income, or AGI, and then add back specific items that the tax law tells you to include for a particular purpose. The reason this matters is that MAGI often controls eligibility. It can determine whether you qualify for premium tax credits through the Health Insurance Marketplace, whether you can make a direct Roth IRA contribution, whether certain education benefits phase out, and how some deductions are limited.
The biggest source of confusion is that there is not just one universal MAGI definition. Different tax benefits use different add-backs. That means the right way to calculate MAGI depends on why you need it. If you are evaluating Affordable Care Act subsidy eligibility, the formula is narrower and generally focuses on AGI plus tax-exempt interest, non-taxable Social Security, and excluded foreign income. If you are checking Roth IRA eligibility, the MAGI calculation can add back more deductions and exclusions. That is why this calculator includes multiple purpose settings rather than pretending there is a single formula for everyone.
Step 1: Start with AGI, not total income
Your AGI is not the same as your gross income. Gross income is your total taxable income from wages, self-employment, investments, rents, and other sources before certain deductions. AGI is what remains after taking eligible above-the-line adjustments such as certain traditional IRA deductions, student loan interest deductions, and some self-employment related deductions. AGI appears on your federal tax return and is the correct starting point for MAGI.
If you estimate MAGI from gross income instead of AGI, you can easily overstate your income and get the wrong answer. This is especially important if you are close to an income threshold. A few thousand dollars can change whether a deduction phases out, whether a Roth IRA contribution is allowed in full, or whether your household qualifies for an ACA subsidy.
Step 2: Know which items are added back
After you identify AGI, the next step is to add back the items relevant to your situation. Common add-backs include:
- Tax-exempt interest, such as certain municipal bond interest
- Non-taxable Social Security benefits, especially for ACA Marketplace MAGI
- Excluded foreign earned income
- Excluded foreign housing amounts
- Traditional IRA deduction
- Student loan interest deduction
- Tuition and fees deduction, when applicable under the rule set you are using
- Excluded adoption benefits
- Excluded savings bond interest used for education in certain MAGI calculations
- Half of self-employment tax deduction, in some contexts
Not every MAGI formula uses every item above. For example, ACA Marketplace MAGI usually uses a more limited set of add-backs than IRA-related MAGI. This is exactly why a taxpayer can have one MAGI for health insurance subsidies and a different MAGI for retirement contribution eligibility, even in the same year.
How the formulas commonly work
ACA Marketplace MAGI
For many households, ACA Marketplace MAGI is relatively straightforward. A common working formula is:
ACA MAGI = AGI + tax-exempt interest + non-taxable Social Security benefits + excluded foreign earned income and certain housing exclusions
This version of MAGI is used to help determine eligibility for premium tax credits and certain Medicaid-related determinations. If you receive Social Security and only part of it is taxable, the non-taxable portion can matter here, which surprises many filers. Likewise, if you worked abroad and excluded some foreign income, that amount may need to be brought back into the calculation.
IRA-related MAGI
IRA-related MAGI can be broader. A simplified educational version often starts with AGI and then adds back items such as the traditional IRA deduction, student loan interest deduction, tuition and fees deduction, excluded foreign income, foreign housing exclusions, excluded savings bond interest, and excluded adoption benefits. Depending on the exact IRS worksheet and tax year, additional rules may apply. In practice, if you are close to the threshold for direct Roth IRA contributions or deducting a traditional IRA contribution, you should compare your estimate against the current IRS instructions for that specific year.
General estimated MAGI
A general estimate can be useful when you simply want a planning number and are not yet sure which rule set applies. In that case, many planners use AGI plus the most common add-backs, then refine the number once they know the exact tax benefit involved. This calculator uses that educational approach in its General Estimated MAGI mode.
Simple step by step method
- Locate your AGI from your federal return or estimate it from your current-year income and adjustments.
- Identify why you need MAGI, such as ACA subsidy planning, Roth IRA eligibility, or a deduction phase-out.
- List only the add-back items that apply to that purpose.
- Add those items to AGI.
- Compare the result to the current-year threshold for the program or tax benefit you are evaluating.
For example, suppose your AGI is $72,000. You also have $1,500 in tax-exempt interest, $4,000 in non-taxable Social Security benefits, and $0 in excluded foreign income. Your ACA Marketplace MAGI would be $77,500. If instead you were checking a simplified IRA-related MAGI and had a $1,000 student loan interest deduction and a $2,000 IRA deduction, your planning MAGI might be $76,500 plus any additional required add-backs under the applicable worksheet.
2024 comparison data table: ACA Federal Poverty Level figures for the 48 contiguous states and D.C.
MAGI is often compared against the Federal Poverty Level, or FPL, when evaluating ACA subsidy eligibility. The table below uses 2024 annual FPL amounts for the 48 contiguous states and the District of Columbia. These are real benchmark figures often used to estimate how Marketplace affordability rules apply to different households.
| Household Size | 2024 FPL Annual Income | 150% of FPL | 200% of FPL | 400% of FPL |
|---|---|---|---|---|
| 1 | $15,060 | $22,590 | $30,120 | $60,240 |
| 2 | $20,440 | $30,660 | $40,880 | $81,760 |
| 3 | $25,820 | $38,730 | $51,640 | $103,280 |
| 4 | $31,200 | $46,800 | $62,400 | $124,800 |
These figures are provided for planning context. ACA affordability and eligibility outcomes can vary based on household composition, state rules, and current Marketplace guidance.
2024 comparison data table: IRA income phase-out ranges
Another major reason people calculate MAGI is to check retirement contribution eligibility. The figures below summarize commonly referenced 2024 phase-out ranges for direct Roth IRA contributions and for deducting traditional IRA contributions in common filing situations. These are real tax-year planning figures and show why even a small MAGI difference can matter.
| Category | Filing Status | 2024 MAGI Range | What Happens |
|---|---|---|---|
| Roth IRA contribution | Single or Head of Household | $146,000 to $161,000 | Contribution ability phases out across the range |
| Roth IRA contribution | Married Filing Jointly | $230,000 to $240,000 | Contribution ability phases out across the range |
| Traditional IRA deduction when covered by a workplace plan | Single or Head of Household | $77,000 to $87,000 | Deduction phases out across the range |
| Traditional IRA deduction when covered by a workplace plan | Married Filing Jointly | $123,000 to $143,000 | Deduction phases out across the range |
Common mistakes when calculating MAGI
- Using the wrong definition. This is by far the most common issue. ACA MAGI and IRA MAGI are not always identical.
- Starting with taxable income instead of AGI. MAGI generally starts with AGI, not taxable income and not gross income.
- Forgetting non-taxable Social Security. This often matters for health insurance calculations.
- Ignoring excluded foreign income. If you worked abroad, your exclusion may need to be added back.
- Using last year’s thresholds. Eligibility cutoffs can change every tax year.
- Missing a phase-out rather than a hard cutoff. Some benefits gradually reduce across an income range instead of disappearing all at once.
When this calculation matters most
MAGI becomes especially important during life transitions. If you change jobs, retire early, sell investments, start receiving Social Security, marry, divorce, or launch a business, your AGI and your add-backs can move in ways that alter eligibility. For ACA planning, a higher-than-expected MAGI can reduce premium tax credits and increase your net cost of coverage. For retirement planning, a higher MAGI can limit direct Roth IRA contributions or reduce the value of certain deductions. Students and families may also encounter MAGI when navigating education-related benefits.
Why tax planning before year end helps
Because MAGI builds on AGI, many year-end tax strategies can influence it. Examples include timing self-employment expenses, coordinating retirement contributions, harvesting capital gains or losses thoughtfully, and estimating bonus income before December. If you are close to a threshold, proactive planning is often more valuable than after-the-fact calculation. In other words, MAGI is not just a number to measure. It is also a number you may be able to manage legally through informed planning.
Reliable sources for the exact rules
For the official details, review current federal guidance directly. Good starting points include the Internal Revenue Service, the HealthCare.gov income guidance page, and Cornell Law School’s Legal Information Institute for statutory and regulatory background. If you are calculating MAGI for a very specific benefit, read the worksheet or instructions tied to that benefit for the correct tax year.
Bottom line
If you want to know how to calculate modifed adjusted gross income, the most accurate answer is this: begin with AGI, identify the exact program or tax rule you are working with, and then add back only the items that definition requires. That method keeps you from undercounting or overcounting income. Use the calculator above to build an estimate, then compare your result with current-year IRS or Marketplace guidance before making a final financial decision.