To determine your AGI from a W-2, start with the wages in Box 1 of every W-2 you received, add any other taxable income you had during the year, then subtract the above-the-line adjustments the tax code allows on Schedule 1. The result is your adjusted gross income, and it goes on Line 11 of Form 1040. Box 1 by itself is not your AGI, though for someone with one job and no side income or qualifying deductions, the two numbers can land close together.
What Box 1 Already Includes
Box 1 reports your total taxable wages, tips, and other compensation for the year.1Internal Revenue Service. General Instructions for Forms W-2 and W-3 (2026) Your employer has already backed out certain pre-tax items before printing that figure. If you contributed to a 401(k), those elective deferrals were subtracted first. Most employer-sponsored health insurance premiums and flexible spending account contributions were subtracted too. So Box 1 is not your gross salary. It’s your salary after those exclusions.
Box 12 shows those pre-tax amounts with letter codes. Code D is your 401(k) deferrals. Code W is health savings account contributions made through payroll. Code DD is the total cost of employer-sponsored health coverage, which is informational and not taxable.1Internal Revenue Service. General Instructions for Forms W-2 and W-3 (2026) Checking Box 12 matters because it tells you what has already been excluded, so you don’t accidentally deduct the same amount twice later.
Box 1 also includes taxable fringe benefits your employer added on your behalf. Group-term life insurance coverage above $50,000, commuting benefits above $340 per month, dependent care assistance above $7,500, and educational assistance above $5,250 all get folded in.2Internal Revenue Service. Employer’s Tax Guide to Fringe Benefits If you exercised nonstatutory stock options, the spread between the exercise price and market value at exercise appears there too. That’s why Box 1 sometimes looks larger than what actually hit your bank account.
If you worked more than one job, you have a W-2 from each employer. Add all Box 1 figures together to get your total wage income. Employers file copies with the IRS, so a missing W-2 tends to show up as a mismatch later.
Income to Add Beyond Your Wages
Your W-2 only captures what your employer paid you. Every other taxable income source has to be added before you calculate AGI. Common categories include:
- Self-employment income. Net profit from freelance work, gig platforms, or a side business. You must report it if your net earnings reach $400 or more.3Internal Revenue Service. Self-Employed Individuals Tax Center
- Interest and dividends, reported to you on Forms 1099-INT and 1099-DIV.
- Unemployment compensation, fully taxable at the federal level and reported on Schedule 1.4Internal Revenue Service. Schedule 1 (Form 1040) – Additional Income and Adjustments to Income
- Rental income, royalties, and partnership distributions, reported on Schedule E.
- Capital gains from selling investments, reported on Schedule D.
- Gambling winnings, cancelled debt, and prize money, treated as other income on Schedule 1.4Internal Revenue Service. Schedule 1 (Form 1040) – Additional Income and Adjustments to Income
Your total wages plus these other income sources equal your gross income for the year. That combined number goes on Line 9 of Form 1040.
Adjustments You Subtract
Certain deductions come off gross income before you arrive at AGI. They’re called above-the-line adjustments because you take them regardless of whether you later itemize or claim the standard deduction. They’re defined in federal law and reported on Part II of Schedule 1.5Office of the Law Revision Counsel. 26 US Code 62 – Adjusted Gross Income Defined
The common ones for wage earners:
- Traditional IRA contributions, up to $7,500 for 2026, or $8,600 if you’re 50 or older. If you or your spouse is covered by a workplace retirement plan, the deduction phases out at higher income. For single filers covered by a plan at work, the 2026 phase-out range is $81,000 to $91,000. For married couples filing jointly where the contributing spouse has a plan, it’s $129,000 to $149,000.6Internal Revenue Service. Retirement Topics – IRA Contribution Limits7Internal Revenue Service. 401(k) Limit Increases to $24,500 for 2026, IRA Limit Increases to $7,500
- Student loan interest, up to $2,500 per year. The deduction phases out as income rises and disappears above $100,000 for single filers.5Office of the Law Revision Counsel. 26 US Code 62 – Adjusted Gross Income Defined
- HSA contributions you made outside payroll. For 2026, the total limit is $4,400 for self-only coverage and $8,750 for family coverage. Contributions made through payroll are already excluded from Box 1 under Code W, so don’t deduct them again.8Internal Revenue Service. IRS Notice 2026-05 – HSA Contribution Limits
- Educator expenses. Qualified K-12 teachers can deduct up to $350 for 2026 in unreimbursed classroom supplies.5Office of the Law Revision Counsel. 26 US Code 62 – Adjusted Gross Income Defined
- The deductible half of self-employment tax. If you had self-employment income, you paid a combined 15.3% in Social Security and Medicare taxes and can deduct the employer-equivalent portion as an adjustment.9Internal Revenue Service. Self-Employment Tax (Social Security and Medicare Taxes)
Keep the documents supporting each adjustment. Form 1098-E from your loan servicer covers student loan interest. Year-end statements from your IRA custodian cover retirement contributions. Receipts back up classroom supplies. Adjustments you can’t document can be disallowed on audit.
Running the Calculation
The arithmetic, stripped down:
- Step 1. Add Box 1 from every W-2. This is your wage income.
- Step 2. Add every other taxable income source: interest, dividends, self-employment profit, rental income, capital gains, unemployment, and anything else that qualifies. The combined total of Steps 1 and 2 is your total income on Line 9 of Form 1040.
- Step 3. Total your qualifying adjustments on Schedule 1, Part II. The total transfers to Line 10 of Form 1040.
- Step 4. Subtract Line 10 from Line 9. That’s your AGI.
A worked example. You earned $55,000 in wages (Box 1), $1,200 in bank interest, and $500 in dividends. Gross income is $56,700. You contributed $3,000 to a traditional IRA and paid $1,800 in student loan interest, for total adjustments of $4,800. Your AGI is $51,900. That figure, not your Box 1 number, drives your tax bracket, credit eligibility, and deduction limits for the rest of the return.
Where AGI Lands on Form 1040
Your AGI goes on Line 11 of Form 1040.10Internal Revenue Service. Adjusted Gross Income The instructions say to subtract Line 10 from Line 9 and enter the result on Line 11.11Internal Revenue Service. Form 1040 – U.S. Individual Income Tax Return Form 1040-SR, the large-print version for taxpayers 65 and older, uses the same line number.
Line 11 does more than feed your tax calculation. Eligibility for the Child Tax Credit, the Earned Income Tax Credit, education credits, and the Premium Tax Credit all depend on it. So does whether you can deduct a traditional IRA contribution, how much of your Social Security income is taxable, and whether you owe the net investment income tax. Getting Line 11 right affects almost every line that follows.
If You Actually Need Last Year’s AGI
Many people looking up AGI from a W-2 are really trying to find last year’s AGI, because the IRS uses it to verify identity when you e-file. Your W-2 will not help you here. AGI is calculated on your tax return, not reported by your employer, so no box on any W-2, current or prior, contains it.12Internal Revenue Service. Validating Your Electronically Filed Tax Return
Three ways to find last year’s number:
- Pull up your filed Form 1040 and look at Line 11. If you used tax software, log back in; most services keep prior returns on file.
- Sign into your IRS Online Account at irs.gov, go to Tax Records, and pull a return transcript. Transcripts cover the current year and three prior years.13Internal Revenue Service. Transcript Services for Individuals – FAQs
- Request a transcript by phone or mail if you can’t access your account online. Delivery takes five to ten business days.
If your prior-year return is still being processed and hasn’t been accepted, enter $0 as your prior-year AGI when e-filing.12Internal Revenue Service. Validating Your Electronically Filed Tax Return First-time filers also enter $0. If you have an IRS Identity Protection PIN, your software will use that in place of the AGI to validate the return.