What Is AGI (Adjusted Gross Income)? How to Calculate It
Adjusted gross income is the most consequential number on your tax return — and most taxpayers have no idea how it works. Your AGI isn't just an intermediate calculation. It determines whether you can deduct IRA contributions, how much of your Social Security is taxable, whether you qualify for the earned income credit, and what percentage of your medical bills you can deduct. Get it wrong and you'll either overpay taxes or trigger an audit.
Key Takeaways
- ▸AGI appears on Line 11 of Form 1040. It equals total gross income minus Schedule 1 above-the-line adjustments.
- ▸Above-the-line deductions reduce AGI even if you take the standard deduction — they are among the most valuable deductions in the tax code.
- ▸A lower AGI expands eligibility for the Roth IRA, child tax credit, earned income credit, education credits, medical deductions, and more.
- ▸MAGI (modified AGI) adds back specific deductions and is used for different eligibility tests — it is not interchangeable with AGI.
- ▸The 2026 student loan interest deduction cap is $2,500; HSA contribution limits are $4,300 (self-only) and $8,550 (family).
The Number That Controls Everything Else on Your Return
Start with a concrete scenario. Sarah is a 38-year-old software engineer in Austin, Texas. Her W-2 shows $110,000 in wages. She also freelanced for $12,000 and earned $3,400 in dividends. Her gross income is $125,400. But that isn't her AGI. Before the IRS touches that number, Sarah gets to subtract her above-the-line deductions — the adjustments listed on Schedule 1, Part II of Form 1040.
Sarah contributes $7,000 to a traditional IRA, pays $1,800 in student loan interest, contributes $4,300 to an HSA, and deducts half of her $1,696 self-employment tax. Her total adjustments: $14,948. Her AGI: $110,452. That lower number — not her gross income of $125,400 — is what the IRS uses to test her eligibility for child tax credits, to set the floor for medical deductions, and to determine whether her IRA deduction is phased out.
Per the IRS definition in Publication 17, AGI is your gross income reduced by the adjustments listed on Schedule 1. It appears on Line 11 of Form 1040. The standard or itemized deduction is then subtracted from AGI to arrive at taxable income (Line 15). AGI is the midpoint of the return — after income is counted, before the big deduction choice is made.
The AGI Formula
Gross Income − Above-the-Line Deductions = AGI
AGI − Standard or Itemized Deduction = Taxable Income
Example:
W-2 wages: $110,000
+ Freelance income: $12,000
+ Dividends: $3,400
= Gross income: $125,400
− IRA contribution: $7,000
− Student loan interest: $1,800
− HSA contribution: $4,300
− ½ SE tax: $1,848
= AGI: $110,452
Every Above-the-Line Deduction Available in 2026
The term "above-the-line" refers to these adjustments appearing above the AGI line on Form 1040. The practical significance: you can claim all of them even if you take the standard deduction. They are not limited to itemizers. That makes them structurally more valuable than Schedule A itemized deductions for most taxpayers.
| Deduction | 2026 Limit | Schedule 1 Line | Key Restriction |
|---|---|---|---|
| Traditional IRA contribution | $7,000 ($8,000 age 50+) | Line 20 | Phased out if covered by workplace plan |
| Student loan interest | $2,500 | Line 21 | Phase-out begins at $80K AGI (single) |
| HSA contribution (self-only) | $4,300 | Line 13 | Must be enrolled in HDHP |
| HSA contribution (family) | $8,550 | Line 13 | Must be enrolled in HDHP |
| Educator expenses | $300 ($600 MFJ) | Line 11 | K–12 teachers, instructors, counselors only |
| ½ self-employment tax | No cap | Line 15 | Calculated on Schedule SE |
| Self-employed health insurance | Actual premiums | Line 17 | Cannot exceed net self-employment income |
| Self-employed SEP/SIMPLE/qualified plan | $70,000 (SEP, 2026) | Line 16 | Must be self-employed or small business owner |
| Alimony paid (pre-2019 divorces) | Actual amount paid | Line 19a | Divorce/separation instrument before 2019 only |
| Moving expenses (military) | Actual expenses | Line 14 | Active-duty military only, per IRS Publication 521 |
| Charitable contributions (new 2026) | $1,000 ($2,000 MFJ) | New line (OBBBA) | Cash only; available even with standard deduction |
Two of these deserve special attention in 2026. First, the new above-the-line charitable deduction: under the One Big Beautiful Bill Act, taxpayers who take the standard deduction can now deduct up to $1,000 ($2,000 for married filing jointly) in cash charitable contributions as an above-the-line adjustment. This is new for 2026 and represents a significant change from the post-TCJA period when the charitable deduction was only available to itemizers.
Second, the SEP-IRA contribution limit: self-employed individuals can contribute up to 25% of net self-employment income, up to $70,000 in 2026. A freelancer earning $150,000 in net self-employment income could contribute $37,500 to a SEP-IRA — reducing AGI by $37,500 in a single move and potentially dropping from the 32% bracket to the 24% bracket entirely.
Use our income tax calculator to see how each adjustment changes your AGI and your resulting tax liability.
What Counts as Gross Income Before AGI?
Before you can calculate AGI, you need an accurate gross income figure. The IRS defines gross income under IRC Section 61 as "all income from whatever source derived." In practice, these are the income types that flow into the top of Form 1040:
- Wages, salaries, and tips — Box 1 of your W-2; includes bonuses, commissions, and vacation payouts
- Business income — net profit from Schedule C (self-employment) or Schedule F (farming)
- Investment income — ordinary dividends, interest, short-term capital gains (Schedule D)
- Long-term capital gains and qualified dividends — taxed at preferential rates but still included in gross income
- IRA and retirement distributions — taxable amounts from 1099-R; does not include Roth qualified distributions
- Social Security benefits — up to 85% may be included depending on AGI (more on this below)
- Rental income — gross rents before expenses; losses are limited by passive activity rules
- Alimony received — for pre-2019 divorce instruments only (TCJA changed this for 2019+)
- Gambling winnings — required to be reported on Line 8; losses are deductible only as itemized deductions on Schedule A
- Taxable scholarships and fellowships — amounts not used for tuition and required fees
According to the IRS Statistics of Income Division, the preliminary data for Tax Year 2024 showed approximately 160 million individual income tax returns filed. The median AGI across all filers was approximately $47,000, while the mean AGI was pulled significantly higher — to roughly $105,000 — by high-income earners in the top brackets. The top 1% of filers had an AGI threshold of approximately $680,000.
Why a Lower AGI Is Worth Real Money: 8 Credits and Deductions It Controls
The phrase "AGI-sensitive provisions" appears throughout the IRS code. Here is a practical guide to exactly what a $10,000 reduction in AGI can unlock or protect:
1. Roth IRA Contribution Eligibility
Roth IRA eligibility phases out based on MAGI (which generally equals AGI for most filers). For 2026: single filers phase out from $150,000 to $165,000; married joint filers from $236,000 to $246,000. Someone at $170,000 in MAGI is completely phased out; at $163,000, they can contribute approximately $3,000 of the $7,000 limit. Reducing MAGI by $15,000 through HSA and IRA contributions could restore full Roth eligibility.
2. Medical Expense Deduction Floor
Schedule A allows you to deduct unreimbursed medical expenses that exceed 7.5% of AGI. If your AGI is $100,000, only medical expenses above $7,500 are deductible. If you reduce AGI to $85,000 through above-the-line deductions, the floor drops to $6,375 — $1,125 more in potential medical deductions. Per the IRS Statistics of Income Bulletin, roughly 4.5 million taxpayers claimed the medical expense deduction in 2024, with a mean deduction of $12,500.
3. Child Tax Credit Phase-Out
The 2026 child tax credit of $2,200 per qualifying child begins phasing out at $200,000 AGI for single filers and $400,000 for married joint filers. Each $2,500 above the threshold reduces the credit by $50. A couple at $410,000 AGI loses $200 of credit; at $420,000, $400. Contributing $10,000 more to a 401(k) could preserve the full credit.
4. IRA Deductibility Phase-Out
If you or your spouse are covered by a workplace retirement plan, the deductibility of a traditional IRA contribution phases out by MAGI. For 2026, the phase-out is $79,000 to $89,000 (single) and $126,000 to $146,000 (married filing jointly, covered by plan). Reducing AGI below these thresholds can restore the IRA deduction and create a double benefit: lower AGI today plus tax-deferred growth.
5. Social Security Taxation Threshold
Social Security benefits become taxable when your "combined income" — defined as AGI + nontaxable interest + ½ of Social Security benefits — exceeds $25,000 (single) or $32,000 (married). Above $34,000 single or $44,000 joint, up to 85% of benefits are taxable. A $5,000 increase in AGI can push retirees from the 50% inclusion zone into the 85% zone, effectively taxing an extra $2,500 of Social Security at ordinary income rates.
6. Earned Income Tax Credit (EITC)
EITC eligibility and the credit amount depend on both earned income and AGI (whichever is lower is used to calculate the credit). For 2026, a married couple with two children can receive a maximum EITC of approximately $6,960, but the credit begins phasing out well before most people expect. Per IRS data, approximately 23 million taxpayers claimed the EITC in Tax Year 2024, with an average credit of $2,480.
7. American Opportunity and Lifetime Learning Credits
The American Opportunity Credit (up to $2,500 per eligible student) phases out from $80,000 to $90,000 MAGI (single) and $160,000 to $180,000 (married). The Lifetime Learning Credit (up to $2,000) has the same phase-out range. These education credits can be worth thousands per year and are entirely MAGI-dependent.
8. Medicare IRMAA Surcharges
Medicare Part B and Part D premiums increase at specific MAGI thresholds. In 2026, a single person with MAGI above $106,000 pays a surcharge on top of the standard Part B premium. The IRMAA is calculated on MAGI from two years prior — meaning 2026 premiums are based on 2024 MAGI. Reducing 2024 AGI through retirement contributions can directly lower 2026 Medicare costs.
AGI vs. MAGI: They Are Not the Same Number
Modified Adjusted Gross Income (MAGI) adds back specific deductions that were subtracted to get AGI. The IRS uses different MAGI definitions depending on which provision you're testing — there is no single universal MAGI formula. The most common MAGI calculations add back:
- Student loan interest deduction
- Traditional IRA deduction
- Tuition and fees deduction (when applicable)
- Excluded foreign earned income
- Tax-exempt interest income
- Social Security benefits not included in gross income
For the Roth IRA, MAGI starts with AGI and adds back the traditional IRA deduction, student loan interest, and excluded foreign income. For ACA premium tax credits, MAGI adds tax-exempt interest and excluded Social Security. For the Net Investment Income Tax (NIIT), MAGI is different still.
The practical implication: for most taxpayers who don't live abroad and don't have significant tax-exempt interest, MAGI approximately equals AGI. But for those who do — especially expats or investors with large municipal bond portfolios — MAGI can be materially higher than AGI.
| Provision | MAGI Adds Back | Phase-Out Range (Single, 2026) |
|---|---|---|
| Roth IRA eligibility | IRA deduction, student loan interest, foreign income | $150,000 – $165,000 |
| Traditional IRA deductibility (workplace plan) | Student loan interest, foreign income | $79,000 – $89,000 |
| ACA premium tax credit | Tax-exempt interest, Social Security | 100% – 400% FPL |
| American Opportunity Credit | IRA deduction, student loan interest | $80,000 – $90,000 |
| Medicare IRMAA | Tax-exempt interest | Above $106,000 |
Proven Strategies to Reduce Your AGI Before You File
AGI reduction is the highest-leverage tax planning move available to most taxpayers — it doesn't just lower your tax directly, it unlocks other deductions and credits simultaneously.
Maximize Pre-Tax Retirement Contributions
Traditional 401(k) contributions don't reduce AGI — they are excluded from W-2 Box 1 wages entirely. But SEP-IRA, SIMPLE IRA, and traditional IRA contributions do reduce AGI directly on Schedule 1. A self-employed freelancer maxing a SEP-IRA at $70,000 reduces AGI by $70,000 in a single move. An employee contributing $7,000 to a traditional IRA (if deductible) reduces AGI by $7,000. These are above-the-line — they work regardless of whether you itemize.
Contribute to an HSA
Health Savings Accounts offer a triple tax benefit: contributions reduce AGI, growth is tax-free, and withdrawals for qualified medical expenses are tax-free. For 2026, the IRS (per Rev. Proc. 2025-19) set HSA contribution limits at $4,300 for self-only and $8,550 for family coverage. A family that maxes HSA contributions reduces AGI by $8,550 — potentially dropping a phase-out threshold and unlocking an additional credit.
Harvest Capital Losses Strategically
Net capital losses of up to $3,000 per year ($1,500 married filing separately) can offset ordinary income, reducing AGI. Unused losses carry forward indefinitely. According to the Tax Foundation, tax-loss harvesting is one of the most underutilized tax strategies for individual investors, particularly in volatile markets where unrealized losses accumulate in taxable accounts. See our tax-loss harvesting guide for implementation details.
Deduct Self-Employment Business Expenses
For self-employed individuals, Schedule C business deductions reduce net self-employment income, which reduces both AGI and self-employment tax. Every $1 of legitimate business deduction reduces AGI by $1 and reduces SE tax by approximately $0.14 (14.13% SE rate, though the deductible portion is half). Home office deductions, vehicle expenses, and equipment under Section 179 all flow through Schedule C to reduce AGI.
Defer Income Into Next Year
Cash-basis self-employed taxpayers can reduce current-year AGI by delaying year-end invoices until January. A freelancer who invoices $20,000 of work in late December versus early January shifts $20,000 of AGI to the following tax year. This is especially valuable if you expect lower income next year (due to a career break, retirement, or other reason) or if you're near a phase-out threshold.
Where to Find Your AGI on Past Returns
The IRS sometimes requires your prior-year AGI to authenticate your identity when e-filing. Your 2025 AGI (needed to e-file your 2026 return) appears on Line 11 of your 2025 Form 1040. If you used tax software, the program typically pre-fills this automatically.
If you can't find a prior return, the IRS provides AGI data through the Get Transcript tool at irs.gov, which allows you to access tax return transcripts going back three years. Transcripts show all income, adjustments, and computed values from your filed return. You can also call the IRS at 1-800-829-1040 to request a transcript by mail.
First-time filers who had no prior-year AGI should enter $0 in the AGI field when e-filing for the first time.
Frequently Asked Questions
What is AGI in simple terms?
AGI is your total income from all sources — wages, freelance, investments, Social Security — minus specific deductions the IRS allows you to take before the standard or itemized deduction. It's the number on Line 11 of Form 1040 that the IRS uses to calculate many phase-outs and eligibility thresholds. Think of it as your "adjusted" income after the IRS gives you credit for retirement contributions, student loan interest, and a few other items.
Is AGI the same as taxable income?
No — AGI and taxable income are different numbers. AGI (Line 11) is calculated first by subtracting above-the-line deductions from gross income. Taxable income (Line 15) is calculated by subtracting either the standard deduction or itemized deductions from AGI. The tax brackets apply to taxable income, not AGI. Most people's taxable income is significantly lower than their AGI because of the standard deduction.
Does a 401(k) contribution reduce AGI?
Traditional 401(k) contributions reduce your W-2 Box 1 wages (federal taxable wages) but are technically excluded from gross income at the payroll level, not subtracted on Schedule 1. The practical result is the same — your AGI is lower. Traditional IRA contributions, by contrast, are explicitly subtracted on Schedule 1 Line 20 and directly reduce AGI. Roth IRA and Roth 401(k) contributions are made with after-tax dollars and do not reduce AGI at all.
What is a good AGI?
There's no universally "good" AGI — the right level depends on your income, family situation, and tax goals. A lower AGI is generally better because it expands eligibility for credits and deductions. The key thresholds to be aware of in 2026: $79,000 single (IRA deductibility), $150,000 single (Roth IRA phase-out begins), $200,000 single (child tax credit phase-out), $106,000 (Medicare IRMAA), and $200,000/$250,000 (NIIT threshold).
Can I reduce my AGI after December 31?
Yes — traditional IRA and HSA contributions can be made after December 31 and still count for the prior tax year, as long as they're made by the tax filing deadline (typically April 15). For 2026 taxes, you can make IRA contributions up to April 15, 2027 (or the extended deadline if you file an extension). SEP-IRA contributions for self-employed individuals can be made even later — up to the extended filing deadline in October.
How does AGI affect the medical expense deduction?
Schedule A allows you to deduct unreimbursed medical expenses exceeding 7.5% of AGI. If your AGI is $80,000, only medical expenses above $6,000 are deductible. If you have $9,000 in medical expenses and a $80,000 AGI, you can deduct $3,000. Reducing AGI to $70,000 would lower the floor to $5,250 and increase your deduction to $3,750 — a $750 improvement from a $10,000 AGI reduction.
Do Social Security benefits count toward AGI?
Possibly. Whether Social Security counts in AGI depends on your total income. Up to 85% of your Social Security benefit may be included in gross income (and thus AGI) if your combined income — AGI + tax-exempt interest + half of Social Security — exceeds $34,000 (single) or $44,000 (joint). Below $25,000/$32,000, none of it is taxable. This "torpedo" effect catches many retirees off guard when pension or IRA distributions push them into the taxable zone.
Calculate Your AGI and Tax Liability
Enter your income and deductions to see your estimated AGI, taxable income, and 2026 federal tax bill.