โœ“ Updated for 2025 & 2026 IRS figures ยท June 2026

AGI Calculator (Adjusted Gross Income)

Calculate your adjusted gross income (AGI) โ€” the number that drives dozens of tax credits, deductions, and eligibility limits โ€” plus an estimate of your modified AGI (MAGI).

$
$
$
Traditional IRA, HSA โ€” above-the-line.
$
Deductible up to $2,500.
$
ยฝ self-employment tax, educator expenses, etc.

What is adjusted gross income (AGI)?

Adjusted gross income is your total income minus a specific set of "above-the-line" adjustments. It's one of the most important numbers on your tax return because so many other tax benefits are measured against it: the deductions you can take, the credits you qualify for, and the income thresholds where benefits phase out all key off your AGI (or a close cousin, MAGI). This calculator builds your AGI from your income and adjustments, and estimates your modified AGI too.

The formula

AGI = total income โˆ’ above-the-line adjustments. Total income includes wages, interest, dividends, business profit, and other taxable income. Above-the-line adjustments are deductions you can take whether or not you itemize, including:

  • Deductible traditional IRA and HSA contributions
  • Student loan interest (up to $2,500)
  • One-half of self-employment tax
  • Self-employed health insurance and retirement contributions
  • Educator expenses

Note that pre-tax 401(k) contributions are already excluded from your W-2 Box 1 wages, so you don't subtract them again here.

AGI vs. MAGI vs. taxable income

These three are easy to confuse:

  • AGI โ€” total income minus above-the-line adjustments.
  • MAGI (modified AGI) โ€” AGI with certain items added back (such as student loan interest or foreign income). It's used to test eligibility for Roth IRA contributions, the premium tax credit, and IRA deduction limits. MAGI's exact definition varies by benefit, so the figure here is a close approximation.
  • Taxable income โ€” AGI minus your standard or itemized deduction (and the QBI deduction). This is the number your tax brackets actually apply to.
Why AGI matters: lowering it can unlock benefits. Contributing to a traditional IRA or HSA reduces AGI, which can move you under a phase-out threshold and qualify you for a credit you'd otherwise lose โ€” a deduction that pays twice.

Where to find last year's AGI

You often need your prior-year AGI to e-file โ€” the IRS uses it to verify your identity when you submit a return electronically. You'll find it on last year's Form 1040, on the line labeled "Adjusted gross income" (it has been line 11 in recent years). If you don't have a copy of your return, you can pull your AGI from a free IRS tax transcript at irs.gov. Entering the wrong prior-year AGI is one of the most common reasons an e-filed return gets rejected, so it's worth confirming the exact figure rather than estimating it.

How to use your AGI

Once you know your AGI, you can check eligibility for credits and deductions in our 2026 tax credits and deductions guides, then estimate your actual tax with the full income tax calculator. If you're near a phase-out line, a last-minute above-the-line contribution before the filing deadline can be one of the most cost-effective tax moves available โ€” lowering your AGI just enough to qualify for a credit you'd otherwise lose.

Frequently Asked Questions

What is adjusted gross income (AGI)?

AGI is your total income minus specific above-the-line adjustments such as deductible IRA and HSA contributions, student loan interest, and half of self-employment tax. It's the basis for many credit and deduction limits.

What's the difference between AGI and MAGI?

MAGI (modified AGI) is your AGI with certain deductions added back, such as student loan interest. It's used to determine eligibility for things like Roth IRA contributions and the premium tax credit, and its exact definition varies by benefit.

Is AGI the same as taxable income?

No. Taxable income is your AGI minus your standard or itemized deduction (and the QBI deduction). Your tax brackets apply to taxable income, not AGI.

Do 401(k) contributions lower my AGI?

Traditional 401(k) contributions are already excluded from your W-2 Box 1 wages, so they effectively lower your AGI โ€” but you shouldn't subtract them a second time. Deductible IRA and HSA contributions are separate above-the-line adjustments.

Why does my AGI matter so much?

Dozens of tax benefits phase out based on AGI or MAGI. Lowering your AGI with an above-the-line contribution can qualify you for credits and deductions you'd otherwise lose.