Finance

AGI Calculator

Calculate your Adjusted Gross Income by subtracting above-the-line deductions from total income.

Income Sources

Above-the-Line Deductions

Formula:
AGI = Total Income − Above-the-Line Deductions

AGI is the most important single number on a federal return, but it's not the number you pay tax on. Standard or itemized deductions come after it; QBI comes after that; tax brackets only kick in once taxable income is fixed. Yet AGI controls roughly thirty separate phase-outs — from Roth eligibility to Medicare IRMAA — which is why intelligent tax planning is overwhelmingly AGI planning.

What AGI legally is (and isn't)

IRC §62 defines AGI as gross income minus a closed list of above-the-line deductions. Gross income (§61) is "all income from whatever source derived" — wages, interest, dividends, business income, capital gains, rents, royalties, alimony from pre-2019 divorces, unemployment compensation, etc. Above-the-line adjustments are the only deductions a non-itemizer can take. Everything else — mortgage interest, charitable giving, state and local taxes — lives below the line and requires itemizing.

The income tax ladder

Wages + Interest + Dividends + Cap Gains + Self-Employment + Other
= Gross Income
− IRA / HSA / Student Loan Interest / ½ SE Tax / SE Health / Educator / Etc.
= AGI (Line 11)
− Standard Deduction OR Itemized Deductions
− QBI Deduction (if applicable)
= Taxable Income
× Marginal Brackets = Federal Income Tax

2024 / 2025 above-the-line adjustment limits

Adjustment20242025
Traditional IRA (under 50)$7,000$7,000
Traditional IRA (50+)$8,000$8,000
HSA — individual coverage$4,150$4,300
HSA — family coverage$8,300$8,550
Student loan interest (max)$2,500$2,500
Educator expenses$300$300
SEP-IRA / solo 401(k) employer share$69,000$70,000

Critical AGI / MAGI phase-outs for 2024

  • Roth IRA contribution: Phase-out single $146K-$161K, MFJ $230K-$240K.
  • Child Tax Credit ($2,000/child): Phase-out starts $200K single / $400K MFJ at $50 per $1,000 over.
  • Student loan interest: Phase-out single $80K-$95K, MFJ $165K-$195K.
  • Lifetime Learning Credit: Same as student loan interest single, MFJ $160K-$180K.
  • Net Investment Income Tax (3.8%): Triggers at MAGI > $200K single / $250K MFJ.
  • Medicare IRMAA: First bracket starts MAGI $103K single / $206K MFJ (2024); uses MAGI from 2 years prior.

When you'll see MAGI instead

Almost every phase-out above is technically expressed in MAGI, not AGI. The difference is small for most filers — typically student loan interest deduction add-back and tax-exempt bond interest. But for filers with foreign earned income exclusion, large tax-exempt bond holdings, or excluded U.S. savings bond interest, MAGI can be materially higher than AGI. Always read the specific provision; "AGI" in casual conversation almost always means "MAGI" for purposes of a phase-out.

Five legal AGI-reduction strategies that actually work

  1. Max the HSA. Above-the-line deduction, tax-free growth, tax-free qualified withdrawals. The only triple-tax-advantaged account in the code.
  2. Front-load a SEP-IRA or solo 401(k) (self-employed). Up to 25% of compensation or $70K for 2025, whichever is less.
  3. Bunch capital losses. Realized losses offset realized gains dollar-for-dollar and reduce wage AGI by up to $3,000/year on the net.
  4. Delay or accelerate Roth conversions. Conversions increase current-year AGI. Time them in low-income years (early retirement, sabbatical, transition).
  5. Use QCDs (Qualified Charitable Distributions) at 70½+. Directly route IRA RMDs to charity — reduces AGI rather than counting as a below-the-line itemized deduction.

FAQ

Where exactly is AGI on the 1040?

Form 1040 line 11 for 2024 returns. Schedule 1 captures additional income items and the above-the-line adjustments that flow into line 10.

Does a Roth IRA contribution lower AGI?

No — Roth contributions are made with after-tax dollars and create no current-year deduction. They reduce future taxable distributions, not current AGI.

Does my AGI include my pre-tax 401(k)?

No — pre-tax 401(k) deferrals never appear in W-2 Box 1 wages. They're excluded at the source, so they're already netted out of gross income.

Is unemployment compensation in AGI?

Yes — fully taxable federally (some states exempt it). The 2020 partial exclusion was a one-time COVID-era item that has not been re-enacted.

How does AGI interact with the QBI deduction?

QBI is computed after AGI but uses taxable income (after standard or itemized deductions) for the phase-in thresholds. For 2024: single $191,950 / MFJ $383,900 phase-in begins.

Where can I find last year's AGI for e-filing?

Last year's Form 1040 line 11, or your tax-transcript "Adjusted Gross Income" line. The IRS uses prior-year AGI as one identity-verification check during e-file.

Related calculators

Sources

Educational only; not tax advice. Reviewed by Marcus Tan, CPA, on March 1, 2026.