Skip to content
Finance

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.

Your details

Affects phase-out ranges for IRA, Roth IRA, education credits, and student loan interest.
W-2 box 1 wages, salary, tips, and other employee compensation.
USD
Schedule C / Schedule F net profit after business expenses. Used to auto-estimate your SE tax deduction.
USD
Bank interest, CD interest, and bond interest that is taxable (1099-INT Box 1).
USD
Total dividend income (1099-DIV Box 1a). Qualified dividends receive preferential rates but are still included in AGI.
USD
Net capital gain or loss from Schedule D. Losses are limited to -$3,000 against ordinary income.
USD
Taxable portion of 1099-R distributions from pensions, annuities, and traditional IRA/401(k) withdrawals.
USD
Net rental income after expenses from Schedule E. Can be negative if rental expenses exceed rent received.
USD
Unemployment compensation, alimony received (pre-2019 agreements), gambling winnings, Social Security benefits, and other taxable income.
USD
Eligible K-12 educator classroom expenses, capped at $300 per teacher ($600 for joint returns with two educators).
USD
Personal (not employer) contributions to a Health Savings Account. 2026 self-only limit is $4,400; family limit is $8,750.
USD
Health, dental, and long-term care premiums paid by a self-employed individual for themselves and their family (Schedule 1 Line 17).
USD
SEP-IRA, SIMPLE IRA, or Solo 401(k) contributions made as a self-employed individual.
USD
The deductible half of self-employment tax (Schedule SE). Leave at 0 to auto-estimate from your SE income.
USD
Deductible traditional IRA contributions. Subject to phase-out if you or your spouse are covered by a workplace retirement plan.
USD
Interest paid on qualified student loans, capped at $2,500. Subject to income phase-out.
USD
Alimony paid under a divorce or separation agreement executed before December 31, 2018. Post-2018 agreements are not deductible.
USD
Penalty forfeited for early withdrawal from a bank CD or similar savings account (1099-INT Box 2). Not the 10% retirement plan penalty.
USD
Municipal bond interest and similar tax-exempt interest (Form 1040 Line 2a). Added back for PTC and Medicare IRMAA MAGI only.
USD
Income excluded under the foreign earned income exclusion (Form 2555). Added back for all MAGI variants except Medicare IRMAA.
USD
The non-taxable portion of your Social Security benefits. Added back for the Premium Tax Credit MAGI only.
USD
Interest excluded under the §135 Education Savings Bond program (Form 8815). Added back for Traditional and Roth IRA MAGI.
USD
Employer adoption assistance excluded from income under §137 (Form 8839). Added back for Traditional and Roth IRA MAGI.
USD
Roth conversion or rollover income included in your AGI. Subtracted only from Roth IRA contribution MAGI.
USD
Currency
Adjusted Gross Income (AGI)Middle income bracket
$75,000

Form 1040 Line 11: Gross Income minus all above-the-line deductions

Gross Income$75,000
Total Adjustments$0
MAGI for Traditional IRA$75,000
IRA Deduction EligibilityFull benefit
MAGI for Roth IRA$75,000
Roth IRA EligibilityFull benefit
MAGI for Education Credits$75,000
Education Credit EligibilityFull benefit
MAGI for Student Loan Interest$75,000
Student Loan Deduction EligibilityFull benefit
MAGI for Net Investment Income Tax$75,000
MAGI for Medicare IRMAA$75,000
Gross Income$75,000
Total Adjustments$0
AGI (Line 11)$75,000
MAGI - Traditional IRA$75,000
MAGI - Roth IRA$75,000
MAGI - Premium Tax Cred75000
MAGI - Medicare IRMAA$75,000

Your AGI is $75,000 (Form 1040 Line 11).

Next stepAGI is the foundation for most tax calculations. Your actual taxable income is AGI minus either the standard deduction or your itemized deductions. Use your AGI to plan IRA contributions, check ACA subsidy eligibility, and estimate quarterly estimated taxes.

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

ProvisionFiling StatusPhase-Out BeginsPhase-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 deductionMFS$0$10,000
Roth IRA contributionsSingle / HOH$153,000$168,000
Roth IRA contributionsMarried Filing Jointly$242,000$252,000
Roth IRA contributionsMFS$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 creditsMFSIneligibleIneligible
Student loan interest deductionSingle / HOH$85,000$100,000
Student loan interest deductionMarried Filing Jointly$175,000$205,000
Student loan interest deductionMFSIneligibleIneligible
Net Investment Income Tax (3.8%)Single / HOH$200,000No phase-out
Net Investment Income Tax (3.8%)Married Filing Jointly$250,000No 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.

Sources

Written by Sarah Klein, CFP Certified Financial Planner · Chicago, USA

Fifteen years translating mortgage tables and amortization schedules into decisions that actually help real borrowers.

How we build & check our calculators

This tool provides general information and education, not professional advice. For decisions about your health or finances, consult a qualified professional.

Search 3,500+ calculators

Loading search…