ToolDocs by Abyss Applied All Guides

MAGI Calculator: What Is MAGI and How to Calculate It

This MAGI calculator computes your Modified Adjusted Gross Income, a key income metric used to determine eligibility for federal tax credits, Medicaid coverage, and Affordable Care Act (ACA) health insurance subsidies. MAGI is derived from your Adjusted Gross Income (AGI) with specific add-backs that vary by program. Enter your AGI and relevant income sources to calculate your MAGI in seconds. The result helps you understand whether you qualify for healthcare benefits and tax assistance programs that reduce your out-of-pocket costs.

What Is MAGI?

Modified Adjusted Gross Income (MAGI) is an income calculation used primarily by the IRS and health insurance programs to determine eligibility for tax credits, subsidies, and means-tested benefits. Unlike your standard Adjusted Gross Income (AGI), MAGI adds back certain deductions and includes specific income sources, creating a higher figure that more accurately reflects your household's economic capacity to pay for health insurance and taxes.

The IRS does not provide a single definition of MAGI; instead, the calculation varies depending on the program. For ACA health insurance subsidies and cost-sharing reductions, MAGI includes AGI plus tax-exempt interest income. For Medicaid, MAGI is calculated under Modified Adjusted Gross Income rules adopted by states following the Affordable Care Act expansion, generally including most income types except specific exclusions like certain child support and public assistance.

MAGI Calculation Formula

The general MAGI formula for ACA purposes is:

MAGI = Adjusted Gross Income (AGI) + Tax-Exempt Interest Income + Foreign Earned Income + Foreign Housing Exclusion or Deduction

Step one: Start with your AGI, reported on IRS Form 1040, Line 10. Step two: Add tax-exempt interest from municipal bonds or other sources. Step three: Add foreign earned income and foreign housing exclusion/deduction if applicable. Step four: The sum is your MAGI, used to calculate your subsidy or determine Medicaid eligibility.

For most taxpayers, tax-exempt interest is the primary add-back. Foreign earned income and housing adjustments apply only to U.S. citizens living and working abroad.

When and Why You Need a MAGI Calculation

You need to calculate your MAGI in several critical situations. If you're applying for health insurance through the Healthcare.gov marketplace or your state exchange, MAGI determines your eligibility for premium tax credits and cost-sharing reductions, potentially saving thousands of dollars annually on insurance premiums and out-of-pocket costs. If you're evaluating Medicaid eligibility, many states use MAGI-based rules to assess income thresholds, especially after ACA expansion.

Tax professionals use MAGI calculations to advise clients on dependent claiming, Education Savings Account (ESA) contributions, Roth IRA conversions, student loan forgiveness programs, and child tax credits. Anyone planning early retirement, side business income, or significant life changes should model MAGI to forecast benefits and tax liability.

MAGI for Different Programs and Variations

MAGI definitions vary by program, creating complexity for filers involved in multiple benefit systems. For ACA health insurance subsidies, MAGI typically equals AGI plus tax-exempt interest. This is the most common MAGI calculation for individuals and families purchasing marketplace coverage.

For Medicaid, the Modified Adjusted Gross Income calculation is broader and state-specific. Since 2014, Medicaid agencies have adopted MAGI-based income tests for most eligibility categories. Generally, Medicaid MAGI includes earned income, unearned income (interest, dividends, Social Security benefits), and excludes certain items like child support received and some public benefits.

For student loan income-driven repayment plans, the Department of Education uses MAGI-based calculations; typically, this is your AGI. For child and dependent care credits, Earned Income Credits, and other tax provisions, MAGI definitions are often narrower, sometimes simply equal to AGI.

Dependent Exemption Phase-Out: Historically, high-income earners lost exemption deductions based on MAGI thresholds (though this was suspended through 2025 under the Tax Cuts and Jobs Act). Adoption Tax Credit: MAGI limits apply to whether you can claim the full credit. Understanding which MAGI definition applies to your situation is essential.

Sample MAGI Calculations with Real Numbers

Example 1: Marketplace Health Insurance Applicant

Sarah files single and earned $42,000 in W-2 wages. Her federal tax return shows an AGI of $40,000 after claiming the standard deduction and deducting half her self-employment tax. She also received $500 in tax-exempt interest from a municipal bond fund.

Sarah's MAGI = $40,000 + $500 = $40,500. She uses this figure to apply for ACA marketplace insurance. At $40,500, she may qualify for premium tax credits, depending on the federal poverty line and her state's rules for that year.

Example 2: Medicaid Eligibility Check

A family of three reports total household income of $35,000 (two parents working part-time, plus $200 in untaxed child support). Under Medicaid MAGI rules, untaxed child support is excluded, so Medicaid MAGI = $35,000 - $200 = $34,800. If the state's Medicaid income limit for a family of three is 138% of the federal poverty line (approximately $31,000), this family exceeds the limit and does not qualify—though other factors and state-specific rules may apply.

Example 3: High-Earner with Tax-Exempt Income

David, married filing jointly, has AGI of $180,000 from his law practice. He and his spouse also own a $100,000 municipal bond portfolio generating $2,000 annually in tax-exempt interest. David's MAGI for ACA purposes = $180,000 + $2,000 = $182,000. At this income level, David and his spouse almost certainly exceed the income threshold for premium tax credits and would not qualify for subsidies.

Edge Cases and Common Pitfalls

Zero or Negative AGI: If your AGI is zero or negative (e.g., large business losses or capital losses), your MAGI starts at that figure and add-backs proceed normally. MAGI can still be zero or negative, which may qualify you for maximum benefit support or may trigger special eligibility rules.

Very High Income: There are no upper limits on MAGI calculations. High-income households calculate MAGI the same way; it is used to disqualify them from income-sensitive programs like premium tax credits or subsidized Medicaid expansions.

Household vs. Individual MAGI: For ACA and Medicaid purposes, you calculate MAGI for your entire tax household, not just yourself. This includes your spouse (if married filing jointly) and may include dependents under certain rules. A spouse or dependent with only tax-exempt income still counts as a household member.

Social Security and Benefits: For ACA purposes, Social Security benefits are not typically added to MAGI. However, for Medicaid, the rules vary by state; some states include a portion of Social Security in MAGI calculations.

Foreign Income: If you live and work abroad, you may exclude foreign earned income and foreign housing costs under IRS code Section 911. MAGI calculations for ACA purposes would *exclude* these amounts, reducing your MAGI and potentially increasing your eligibility for subsidies—a sometimes-overlooked strategy for expats.

Limitations of This MAGI Calculator

This calculator provides an estimate based on typical ACA marketplace MAGI rules and does not account for state-specific Medicaid variations, recent tax law changes, or individual circumstances. The result is educational; for official eligibility determinations, consult the Healthcare.gov marketplace, your state Medicaid agency, or a tax professional.

MAGI rules are complex and subject to annual updates. This calculator assumes 2024–2025 IRS guidelines; consult current IRS Publication 17 or the relevant benefit program's documentation for definitive rules applicable to your tax year. The calculator does not account for life-event changes, household income fluctuations mid-year, or non-standard income sources; use it as a starting point, not a guarantee of eligibility.