AGI Calculator (Adjusted Gross Income)

AGI calculator following the IRS Form 1040 line-by-line structure.

Money IRS method Standard deduction
Rate this calculator · 4.0 (1)

Adjusted Gross Income

IRS Form 1040 method · 2024 & 2025 tax years · Standard deduction included

Instructions — AGI Calculator (Adjusted Gross Income)

1

Pick year and filing status

Tax year sets the standard deduction reference (14,600 USD single for 2024; 15,000 USD for 2025 per IRS Rev. Proc. 2023-34 and 2024-40). Filing status changes the standard deduction but not the AGI calculation itself.

2

Enter income (Form 1040 lines 1-8)

Wages from W-2 box 1, taxable interest from 1099-INT, ordinary dividends from 1099-DIV, capital gains from Schedule D, business income from Schedule C/E, and any other income (unemployment, alimony, gambling).

3

Enter adjustments (Schedule 1 Part II)

The above-the-line deductions that reduce AGI: student loan interest (max 2,500 USD), traditional IRA, HSA, half of self-employment tax, educator expenses (max 300 USD), self-employed health insurance. The calculator clamps the per-item maximums automatically.

AGI vs. taxable income: AGI is total income minus adjustments. Taxable income is AGI minus standard or itemized deduction. The calculator shows both so you can see how the standard deduction lands on top of AGI for the current year.
401(k) contributions are already out: traditional 401(k) deferrals reduce W-2 box 1 wages at the source. You do not subtract them again as an adjustment. Roth 401(k) is not an adjustment.

Formulas

The AGI calculation follows the IRS Form 1040 structure directly. Form 1040 line 9 is total income, Schedule 1 line 26 is total adjustments, and Form 1040 line 11 is AGI.

Adjusted Gross Income
$$ \text{AGI} = \text{Total Income} - \text{Above-the-line Adjustments} $$
The IRS-defined number used to determine eligibility for credits, deductions, and IRA contributions. AGI is never negative; the calculator floors at zero if adjustments exceed income.
Total Income (Form 1040 line 9)
$$ \text{Income} = W + I + D + CG + B + O $$
W = wages, I = taxable interest, D = ordinary dividends, CG = capital gains (Schedule D), B = business income (Schedule C/E), O = other income. Qualified dividends are still in this total even though they tax at preferred rates.
Total Adjustments (Schedule 1 line 26)
$$ \text{Adj} = SL + IRA + HSA + \tfrac{1}{2}SE + E + HI $$
SL = student loan interest (max 2,500 USD), IRA = traditional IRA, HSA = HSA contributions, SE = self-employment tax (deduct half), E = educator expenses (max 300 USD), HI = self-employed health insurance.
Taxable Income
$$ \text{Taxable} = \max(0, \text{AGI} - \text{Std. Ded.}) $$
After AGI, subtract the standard deduction (or itemized) to get taxable income. 2024: single 14,600 USD, MFJ 29,200 USD, HOH 21,900 USD. 2025: 15,000, 30,000, 22,500.
Where AGI matters
$$ \text{Roth IRA limit, EITC, AOTC, LLC, IRMAA, ACA PTC} $$
AGI determines eligibility and phase-outs for the Roth IRA, Earned Income Tax Credit, American Opportunity and Lifetime Learning credits, Medicare IRMAA surcharges, and Affordable Care Act premium tax credits. Some of these use Modified AGI (MAGI) which adds back specific items.
Quick check
$$ \text{AGI} = \text{Line 11 on Form 1040} $$
If you have already filed, AGI is line 11 of last year's Form 1040 (or line 8b on the 2019 form, or line 7 on pre-2018 forms). Tax-return transcripts from the IRS Get Transcript tool also show AGI directly.

Reference

2024 Standard Deduction (IRS Rev. Proc. 2023-34)
Filing status20242025
Single$14,600$15,000
Married filing jointly$29,200$30,000
Married filing separately$14,600$15,000
Head of household$21,900$22,500
65 or older / blind add-on (single)+$1,950+$2,000
65 or older / blind add-on (MFJ)+$1,550+$1,600

Above-the-line adjustments at a glance

The adjustments listed on Schedule 1 Part II. All reduce AGI directly. The calculator handles the most common items.

Always available
Item2024 cap
Student loan interest$2,500
Educator expenses$300
HSA contribution (self)$4,150
HSA contribution (family)$8,300
IRA deduction$7,000
IRA catch-up (50+)+$1,000
Self-employment
ItemRule
Half SE tax50% of SE tax
SEP-IRA25% of SE earnings
Solo 401(k)$23,000 + 25%
SE health insuranceFull premium
SIMPLE IRA$16,000

Sources: IRS Publication 17 (2024), IRS Rev. Proc. 2023-34 (2024 tax year), Rev. Proc. 2024-40 (2025 tax year), Form 1040 instructions. The educator cap rose from 250 to 300 USD in 2022 and remains at 300 USD for 2024 and 2025.

Article — AGI Calculator (Adjusted Gross Income)

AGI Calculator: How to Find Your Adjusted Gross Income

AGI is your Adjusted Gross Income, the number on line 11 of IRS Form 1040. It equals your total income minus a specific list of above-the-line adjustments. AGI is the figure the IRS uses to determine eligibility for credits, deductions, and contribution limits — not your gross wages, not your taxable income, but AGI specifically. The calculator above walks the same line-by-line structure as Form 1040 and produces both AGI and an estimated taxable income against the current standard deduction.

The AGI rules sit in Internal Revenue Code Section 62. The 2024 and 2025 standard deductions on which taxable income depends are set by IRS Revenue Procedures 2023-34 and 2024-40, both incorporating annual inflation adjustments.

What is AGI and why it matters

AGI is the single most-cited number on a US tax return. The IRS uses it for identity verification when e-filing (last year's AGI is the password). Lenders use it for income verification, often requesting a Tax Return Transcript that highlights AGI rather than gross wages. Federal student-aid forms reference it. Healthcare.gov uses a modified version (MAGI) for premium tax credits. Income-driven student loan repayment plans use it. Medicare premiums are surcharged based on AGI from two tax years earlier.

Most tax-law thresholds are written against AGI rather than gross income. AGI subtracts a curated list of adjustments Congress decided everyone with comparable circumstances should be allowed to deduct, producing a comparable income number across filers.

Did you know

AGI was introduced in 1944 as part of the Individual Income Tax Act, which simplified the wartime tax code. Before AGI, the calculation jumped straight from gross income to deductions, with no intermediate figure. The new structure let Congress write income-tested provisions against a stable, defined number that did not depend on whether a filer itemized deductions.

The AGI formula: income minus adjustments

AGI equals total income minus above-the-line adjustments. Above-the-line means above the standard or itemized deduction line on Form 1040. The list of adjustments is on Schedule 1 Part II and totals to Schedule 1 line 26, which feeds Form 1040 line 10. AGI itself is Form 1040 line 11.

The arithmetic is simple. The complication is which items belong where. Income includes wages, interest, dividends, capital gains, business, and other income. The adjustments side is shorter: student loan interest, HSA, traditional IRA, half of self-employment tax, educator expenses, self-employed health insurance, and a handful of rarer items. The calculator covers the common cases.

AGI cheat sheet
AGI = Income - Adjustments
Taxable = AGI - Std/Itemized Ded.
MAGI = AGI + add-backs (varies)
2024 Std Single = $14,600
2024 Std MFJ = $29,200

AGI income items: Form 1040 lines 1-8

Form 1040 lists income in eight numbered lines. Line 1 is wages, tips, and other compensation from W-2 box 1 — this is already net of pre-tax 401(k), HSA-through-payroll, and health insurance premiums. Line 2 is taxable interest from 1099-INT. Line 3 is dividends from 1099-DIV (line 3a is qualified, line 3b is ordinary). Line 4 is IRA distributions; line 5 is pensions and annuities; line 6 is Social Security benefits.

Line 7 is capital gains or losses from Schedule D. Line 8 sums additional income from Schedule 1 Part I: business income (Schedule C), rental and royalty (Schedule E), unemployment, gambling winnings, prizes, and other miscellaneous income.

W-2 box 1 wages are not gross wages

W-2 box 1 is already reduced by traditional 401(k) deferrals, HSA contributions made through payroll, and pre-tax health insurance premiums. Do not add these back when entering AGI income. Roth 401(k) contributions are post-tax and are NOT subtracted from box 1, so they appear in full.

AGI adjustments: Schedule 1 Part II

Schedule 1 Part II lists every allowed adjustment to gross income. The cap on each is set by statute and indexed (or not) for inflation. The student loan interest deduction is capped at 2,500 USD per year under IRC Section 221, phased out at higher MAGI. Educator expenses are capped at 300 USD as of 2022 under IRC Section 62(a)(2)(D). HSA contributions made outside payroll go here; HSA contributions through payroll already reduced W-2 box 1 and should not be entered again.

Self-employed filers have a longer list. Half of self-employment tax (Schedule SE line 13) is an adjustment — the employer half of FICA that a W-2 employee never sees gets the same treatment for SE filers. SEP-IRA, SIMPLE IRA, and Solo 401(k) contributions count, as does the full premium for self-employed health insurance.

Tip

Traditional IRA contributions are deductible only if you (and your spouse if MFJ) are not covered by a workplace retirement plan, OR if you are covered and your MAGI is below the phase-out threshold. The deduction can be partial. Roth IRA contributions never reduce AGI.

AGI vs. MAGI vs. taxable income

Three numbers, easily confused. AGI is line 11. Modified AGI (MAGI) is AGI plus specific add-backs that vary by provision: for Roth IRA eligibility, MAGI adds back traditional IRA deduction, student loan interest, foreign income exclusion, and a few others. For the ACA premium tax credit, MAGI adds back tax-exempt interest, non-taxable Social Security, and foreign income. For the Net Investment Income Tax (3.8% Medicare surcharge), MAGI is AGI plus foreign earned income exclusion.

Taxable income is the figure on Form 1040 line 15, used to look up tax owed in the tax tables. It is AGI minus the standard or itemized deduction (and minus the qualified business income deduction if applicable). AGI determines who you are; taxable income determines what you owe.

Where your AGI decides eligibility

AGI thresholds gate dozens of tax benefits. The Earned Income Tax Credit phases out at AGI levels that depend on filing status and number of children. The American Opportunity Tax Credit (up to 2,500 USD per student for the first four years of college) phases out between 80,000 and 90,000 USD AGI for single filers. The Saver's Credit for low-income retirement contributions phases out around 38,250 USD AGI single in 2024. Premium tax credits for ACA marketplace plans cap at 400% of the federal poverty line in MAGI for most years.

On the higher end, AGI determines IRMAA — the Income-Related Monthly Adjustment for Medicare Part B and Part D premiums. The 2024 tiers start above 103,000 USD AGI single, with surcharges that can add over 400 USD per month at the top tier. The IRS uses AGI from two tax years prior (2022 AGI sets 2024 IRMAA).

  • EITC max = $7,830 (2024, 3+ kids MFJ)
  • Roth IRA = phases out 146-161k (single, 2024)
  • AOTC = phases out 80-90k (single)
  • IRMAA = starts at 103k AGI (single, 2024)
  • NIIT = 3.8% above 200k MAGI (single)
  • Saver's Credit = phases out at 38.25k (single)

Common AGI mistakes

The most frequent AGI mistake is double-counting 401(k) or HSA contributions. If your W-2 box 1 wages are already net of these (which they normally are for traditional pre-tax contributions), you do not subtract them again as adjustments. Entering them on both sides understates AGI by the contribution amount and may trigger an IRS notice when their automatic matching catches the inconsistency.

The second is forgetting that the standard deduction comes after AGI, not before. AGI ignores the standard deduction. Once you have AGI, you subtract the standard deduction (or itemized deduction) to get taxable income. The two figures are different and serve different purposes.

The third is using AGI when MAGI is required. Roth IRA eligibility, ACA premium tax credits, and traditional IRA deductibility when covered by a workplace plan all use MAGI. The add-backs are small for most filers but can swing eligibility at the phase-out borders.

FAQ

AGI is Adjusted Gross Income, the IRS-defined figure on Form 1040 line 11. It equals total income (wages, interest, dividends, capital gains, business income, etc.) minus above-the-line adjustments (student loan interest, IRA, HSA, half of self-employment tax, and others). AGI determines eligibility for many credits and deductions.
Gross income is everything you earned before any deductions. AGI is gross income minus above-the-line adjustments, which are a specific list of deductions allowed before the standard or itemized deduction. The IRS uses AGI, not gross income, as the basis for most income-based eligibility tests.
AGI is income minus adjustments. Taxable income is AGI minus the standard or itemized deduction (and minus the qualified business income deduction if applicable). Taxable income is the figure used to look up tax owed; AGI is used for credit eligibility and phase-outs.
Traditional 401(k) contributions are already excluded from W-2 box 1 wages — they are pre-tax at the source, so they reduce wages before AGI is calculated. You do not subtract them again as an adjustment. Roth 401(k) contributions are post-tax and do not affect AGI.
Yes — both short-term and long-term capital gains are part of total income and feed into AGI. Long-term gains tax at preferential rates, but the gain amount still counts in AGI. Qualified dividends work the same way.
$2,500 per year as an above-the-line adjustment, per IRC Section 221. The deduction phases out at higher MAGI levels (starting at 80,000 USD single, 165,000 USD MFJ in 2024). The calculator caps the input at 2,500 USD automatically.
HSA contributions made outside payroll (deducted directly from your bank account) are above-the-line adjustments on Schedule 1. HSA contributions made through payroll are already excluded from W-2 wages, so they reduce AGI by reducing line 1 of Form 1040 rather than as an adjustment.
Three options: Form 1040 line 11 from your last filed return (line 8b on 2019, line 7 on pre-2018 forms); your IRS Tax Return Transcript via the Get Transcript online tool; or your tax software's prior-year summary. The IRS uses prior-year AGI as identity verification for e-filing this year's return.