How to Calculate Your Adjusted Gross Income From a W-2

To calculate your adjusted gross income from a W-2, start with the wages in Box 1, add any other taxable income you received during the year, then subtract the above-the-line adjustments listed on Schedule 1. The result lands on Line 11 of Form 1040 and drives which credits and deductions you can claim.1Internal Revenue Service. Adjusted Gross Income

Start With Box 1 of Your W-2

Box 1 shows your wages, tips, and other compensation subject to federal income tax. It is your starting number, not your gross salary. Your employer has already stripped out several pre-tax items before printing that figure, so Box 1 is usually smaller than what you actually earned.2Office of the Law Revision Counsel. 26 USC 61 – Gross Income Defined

Amounts your employer typically removed before reporting Box 1:

  • Pre-tax deferrals to a 401(k), 403(b), or similar workplace retirement plan.
  • Health insurance premiums paid through a cafeteria plan.
  • Contributions to healthcare or dependent care flexible spending accounts.

Because those items are already excluded, do not subtract them again later. If you worked more than one job during the year, add the Box 1 amounts from every W-2 together. Each employer only reports the wages it paid you.

Use Box 12 as a Sanity Check

Box 12 uses letter codes to describe specific compensation. Some codes flag amounts already included in Box 1, such as Code V for income from exercising nonstatutory stock options. Others confirm exclusions, like Code D for 401(k) deferrals or Code DD for the cost of employer-sponsored health coverage, which is informational and not taxable.3Internal Revenue Service. 2026 General Instructions for Forms W-2 and W-3 Skimming Box 12 helps you confirm your Box 1 number reflects the right pre-tax reductions.

Add Other Taxable Income

Federal tax law defines gross income broadly. It includes income from any source unless a rule specifically excludes it.2Office of the Law Revision Counsel. 26 USC 61 – Gross Income Defined If you had money coming in from anywhere besides your paycheck, add it to your W-2 wages. Most of these items flow through Schedule 1, Part I, and land on Line 8 of Form 1040, where they combine with your wages on Line 9.

  • Taxable interest of $10 or more, reported by banks on Form 1099-INT, and dividends reported on Form 1099-DIV.4Internal Revenue Service. Topic No. 403, Interest Received
  • Capital gains from selling stocks, mutual funds, or real estate, reported on Schedule D.
  • Net profit from self-employment or freelance work, reported on Schedule C.
  • Net rental income (rent collected minus deductible expenses), reported on Schedule E.
  • Unemployment compensation, which is fully taxable.
  • Gambling winnings, taxable whether or not you receive a Form W-2G.

Social Security benefits use a separate rule. If your combined income (AGI plus nontaxable interest plus half your benefits) stays below $25,000 for single filers or $32,000 for joint filers, none of your benefits are taxable. Above those thresholds, up to 85 percent of your benefits can be pulled into taxable income.

Subtract Above-the-Line Adjustments

Once you have your total income, you can subtract certain deductions, often called above-the-line adjustments, to reach AGI. They appear on Part II of Schedule 1 and come off your income before you pick between the standard deduction and itemizing.5Office of the Law Revision Counsel. 26 USC 62 – Adjusted Gross Income Defined A lower AGI generally unlocks more credits and deductions downstream.

Adjustments most W-2 filers should look at:

  • Educator expenses. Eligible K–12 teachers can deduct up to $300 in unreimbursed classroom costs such as books, supplies, and computer equipment.6Internal Revenue Service. Topic No. 458, Educator Expense Deduction
  • Student loan interest. Deduct up to $2,500 in interest paid on qualified education loans. For 2026, the deduction phases out between $85,000 and $100,000 of modified AGI for single filers, and between $175,000 and $205,000 for joint filers.7Internal Revenue Service. Revenue Procedure 2025-32
  • Traditional IRA contributions. You can contribute and deduct up to $7,500 in 2026, or $8,600 if you are 50 or older. The deduction may be reduced or eliminated if you or your spouse is covered by a workplace retirement plan and your income exceeds certain thresholds.8Internal Revenue Service. Retirement Topics – IRA Contribution Limits
  • Health Savings Account contributions made with after-tax dollars, deductible up to $4,400 for self-only coverage or $8,750 for family coverage in 2026.9Internal Revenue Service. IRS Notice 2026-05
  • Early withdrawal penalties charged by a bank for breaking a CD early. The amount usually shows on Form 1099-INT.

Alimony is a special case. If your divorce or separation agreement was executed before 2019, the paying spouse deducts alimony and the receiving spouse reports it as income. For agreements executed after 2018, alimony is neither deductible by the payer nor taxable to the recipient.10Internal Revenue Service. Topic No. 452, Alimony and Separate Maintenance

Do the Math on Form 1040

The mechanics are simple once your documents are in front of you:

  • Add Box 1 from every W-2 and put the total on Line 1 of Form 1040.
  • Report interest, dividends, capital gains, and other taxable income on the appropriate lines. Additional income from Schedule 1 lands on Line 8.
  • Add Lines 1 through 8 to get your total income on Line 9.1Internal Revenue Service. Adjusted Gross Income
  • Total your above-the-line deductions on Schedule 1, Part II. That total flows to Line 10.
  • Subtract Line 10 from Line 9. The number on Line 11 is your adjusted gross income.1Internal Revenue Service. Adjusted Gross Income

Say you earned $50,000 in W-2 wages, $12,000 in rental income, $8,500 from a part-time job, and $500 in bond interest. Total income is $71,000. If your only adjustments are $300 for educator expenses and $2,500 for student loan interest, your AGI is $71,000 minus $2,800, or $68,200.11Internal Revenue Service. Definition of Adjusted Gross Income

AGI is not the number your tax is calculated on. After AGI, you still subtract either the standard deduction or your itemized deductions to reach taxable income. But AGI is the gatekeeper. It sets your eligibility for credits and controls how much of each one you can claim.

AGI Is Not the Same as MAGI

Many credits do not use AGI directly. They use modified adjusted gross income, which starts with AGI and adds back specific excluded items. Which items get added back depends on the credit you are calculating.12Internal Revenue Service. Modified Adjusted Gross Income Common add-backs include foreign earned income you excluded, tax-exempt interest, and nontaxable Social Security benefits.

MAGI drives eligibility for the Child Tax Credit (fully available up to $200,000 of MAGI, or $400,000 for joint filers, before phasing down),13Internal Revenue Service. Child Tax Credit the American Opportunity and Lifetime Learning education credits, the Premium Tax Credit for marketplace health coverage, and Roth IRA contribution limits. For most W-2 employees without foreign income or tax-exempt interest, MAGI and AGI end up identical. If you have those items, check the instructions for each credit to see which add-backs apply.

Finding Your Prior-Year AGI for E-Filing

When you e-file, the IRS uses your prior-year AGI to verify your identity. Enter it wrong and your return gets rejected.14Internal Revenue Service. Validating Your Electronically Filed Tax Return You can find it in several places:

  • Line 11 of last year’s Form 1040. If a preparer filed for you, they should have a copy.
  • Your IRS Online Account at IRS.gov, under the Tax Records tab.
  • A tax return transcript, requested online or by calling 800-908-9946. Mailed copies take 5 to 10 days.15Internal Revenue Service. Avoid the Rush: Get a Tax Transcript Online

First-time filers over 16 enter $0. If your prior-year return is still being processed when you file the current one, enter $0 so the IRS accepts your e-file.14Internal Revenue Service. Validating Your Electronically Filed Tax Return