Adjusted Gross Income (AGI) Calculator
Enter your income sources and above-the-line deductions to calculate your Adjusted Gross Income (AGI), the key figure on Line 11 of Form 1040. The calculator also shows your Gross Income, total adjustments, and seven Modified AGI (MAGI) variants used to determine eligibility for Traditional IRA deductions, Roth IRA contributions, the Premium Tax Credit, education credits, the student loan interest deduction, the Net Investment Income Tax, and Medicare IRMAA brackets. Supports both 2025 and 2026 tax years with current IRS phase-out thresholds.
What is Adjusted Gross Income (AGI)?
Adjusted Gross Income is the IRS's standard measure of your income after a specific set of "above-the-line" deductions are subtracted from your total gross income. It appears on Line 11 of Form 1040 and is the launching point for nearly every other tax calculation: the standard deduction, itemized deduction limits, the child tax credit phase-out, the retirement savers' credit, Roth IRA eligibility, ACA marketplace subsidies, and many more. Because it is computed before the standard or itemized deduction, it reflects your economic income more fully than taxable income, which is why lenders, financial aid offices, and the IRS itself use AGI as the primary measure of your financial capacity.
How AGI is Calculated
The formula is simple: AGI = Gross Income minus Above-the-Line Deductions (IRC §62). Gross income includes wages and salaries, net self-employment income, taxable interest, ordinary dividends, net capital gains or losses (limited to -$3,000 if negative), taxable pension and IRA distributions, net rental income, unemployment compensation, and the taxable portion of Social Security benefits. The above-the-line deductions you subtract include: educator expenses (capped at $300), Health Savings Account (HSA) contributions, self-employed health insurance premiums, self-employed retirement plan contributions (SEP-IRA, SIMPLE IRA, Solo 401k), the deductible portion of self-employment tax (roughly half), deductible traditional IRA contributions, student loan interest (capped at $2,500), early withdrawal penalties on savings accounts, and alimony paid under pre-2019 agreements. These deductions are called "above-the-line" because they are claimed on Schedule 1 before you reach the standard-or-itemized-deduction line, meaning you get them whether you itemize or not.
AGI vs. MAGI: Why the Difference Matters
Modified Adjusted Gross Income (MAGI) starts from your AGI and adds back specific items that were excluded or deducted. The tricky part is that there is no single MAGI definition: each tax benefit has its own add-back formula under a different IRC section. The seven most important are: (1) Traditional IRA deduction eligibility (adds back IRA and student loan deductions, foreign exclusions, savings bond interest, and adoption benefits); (2) Roth IRA contribution eligibility (same as IRA MAGI but subtracts Roth conversion income); (3) Premium Tax Credit for ACA marketplace insurance (adds back tax-exempt interest, foreign exclusions, and non-taxable Social Security); (4) American Opportunity and Lifetime Learning education credits (adds back foreign exclusions); (5) Student loan interest deduction phase-out (adds back the deduction itself plus foreign exclusions); (6) Net Investment Income Tax (adds back foreign exclusions to see if you owe the 3.8% surcharge); and (7) Medicare IRMAA premium brackets (adds back tax-exempt interest only, using income from two years prior). This calculator computes all seven in one pass.
Planning Strategies to Reduce Your AGI
Because AGI gates so many credits and deductions, reducing it has an amplified impact. The most powerful levers are: maximizing contributions to pre-tax workplace retirement plans (401k, 403b, 457), which reduce gross income before it even reaches Form 1040; contributing to an HSA if you have a high-deductible health plan (triple tax advantage: deductible, grows tax-free, withdrawals tax-free for qualified expenses); contributing to a SEP-IRA or Solo 401k if self-employed (contribution limits are much higher than a personal IRA); harvesting capital losses to offset gains (net losses reduce AGI up to $3,000 per year, with excess carried forward); and, for retirees, using Qualified Charitable Distributions (QCDs) directly from an IRA to satisfy required minimum distributions without those amounts entering AGI at all. Every dollar you lower your AGI can cascade into larger credits, lower tax brackets, reduced Medicare premiums, and preserved phase-in eligibility for benefits.
2026 Phase-Out Ranges for Common MAGI Limits
| Provision | Filing Status | Phase-Out Begins | Phase-Out Ends |
|---|---|---|---|
| Traditional IRA deduction (covered by workplace plan) | Single / HOH | $81,000 | $91,000 |
| Traditional IRA deduction (covered by workplace plan) | Married Filing Jointly | $129,000 | $149,000 |
| Traditional IRA deduction (spouse covered, you not) | Married Filing Jointly | $242,000 | $252,000 |
| Traditional IRA deduction | MFS | $0 | $10,000 |
| Roth IRA contributions | Single / HOH | $153,000 | $168,000 |
| Roth IRA contributions | Married Filing Jointly | $242,000 | $252,000 |
| Roth IRA contributions | MFS | $0 | $10,000 |
| Education credits (AOTC / LLC) | Single / HOH | $80,000 | $90,000 |
| Education credits (AOTC / LLC) | Married Filing Jointly | $160,000 | $180,000 |
| Education credits | MFS | Ineligible | Ineligible |
| Student loan interest deduction | Single / HOH | $85,000 | $100,000 |
| Student loan interest deduction | Married Filing Jointly | $175,000 | $205,000 |
| Student loan interest deduction | MFS | Ineligible | Ineligible |
| Net Investment Income Tax (3.8%) | Single / HOH | $200,000 | No phase-out |
| Net Investment Income Tax (3.8%) | Married Filing Jointly | $250,000 | No phase-out |
IRS-published thresholds (IRS Notice 2025-67; Rev. Proc. 2025-32). MFS = Married Filing Separately.
Frequently asked questions
What is the difference between AGI and taxable income?
AGI (Form 1040 Line 11) is your gross income minus above-the-line deductions only. Taxable income (Line 15) is AGI minus either the standard deduction or your itemized deductions, and minus the qualified business income deduction if applicable. Taxable income is what your tax bracket is applied to. AGI is the intermediate step used to calculate phase-outs and determine eligibility for dozens of credits and deductions.
Can my AGI be zero or negative?
Yes. If your above-the-line deductions exceed your gross income, for example a large business loss from Schedule C or a rental loss combined with significant IRA contributions, your AGI can be zero or even negative. A negative AGI is called a net operating loss (NOL) and can be carried forward to offset income in future years. However, most credits and phase-outs treat a negative AGI as zero.
Does Social Security income count in AGI?
Partially. Depending on your other income, between 0% and 85% of your Social Security benefits are taxable and included in gross income. The taxable portion is added to your AGI. The non-taxable portion (up to 50-85%) does not count in regular AGI but is added back to calculate the Premium Tax Credit (ACA) MAGI.
How does the educator expense deduction work?
Eligible K-12 teachers, instructors, counselors, principals, and aides can deduct unreimbursed classroom expenses up to $300 per person ($600 for joint returns where both spouses are eligible educators). Qualified expenses include books, supplies, computer equipment, software, and professional development courses. This deduction is claimed on Schedule 1 and reduces your AGI directly without needing to itemize.
Why are there seven different MAGI definitions?
Congress wrote each tax benefit under a separate IRC section and defined the income limit differently for each, usually by specifying which exclusions to add back. This reflects different policy goals: the IRA MAGI adds back investment-related exclusions to ensure the deduction targets earners who lack workplace coverage; the ACA Premium Tax Credit MAGI adds back non-taxable Social Security to capture total available income; and so on. There is no universal MAGI, so you must compute the specific one for each benefit you are planning around.
What is the backdoor Roth IRA and when does my AGI make it relevant?
If your Roth IRA MAGI exceeds the phase-out ceiling ($168,000 single / $252,000 MFJ in 2026), you cannot contribute directly to a Roth IRA. The backdoor Roth is a two-step workaround: contribute to a non-deductible traditional IRA (no income limit for contributions, only deductibility is phased out), then immediately convert that IRA to a Roth. If you have no pre-tax IRA balances, the conversion is tax-free. The pro-rata rule can create a tax bill if you have other traditional IRA balances, so consult a tax advisor if that is your situation.
Does my AGI affect my Medicare premiums?
Yes, through the Income-Related Monthly Adjustment Amount (IRMAA). Medicare uses your MAGI from two years prior (so your 2024 MAGI determines 2026 Part B and Part D premiums). The IRMAA MAGI is your AGI plus tax-exempt interest. If that figure exceeds the base bracket ($106,000 single / $212,000 MFJ in 2026), you pay a monthly surcharge on top of the standard Medicare Part B premium. You can appeal an IRMAA determination if your income has dropped significantly since the reference year.