You cannot normally find your complete adjusted gross income (AGI) on a W-2 or pay stub. A W-2 reports one employer’s annual wages and other information. AGI is calculated on your individual federal income-tax return using all relevant taxable income and allowed adjustments. The two amounts can match in a simple situation, but they are not interchangeable.

This guide explains the U.S. federal calculation and how to organize payroll records for it. Use the forms and instructions for the actual tax year; state income definitions and return line labels can differ.

What does adjusted gross income mean?

AGI is total income for federal return purposes minus permitted adjustments to income. It is calculated before the standard or itemized deduction. The IRS definition of AGI explains that taxable income from multiple sources belongs in the calculation, not just salary.

Think of the records in two groups: documents establishing income and documents supporting an adjustment. A payroll statement helps with the first group. It does not, by itself, establish whether a separate deduction is allowed.

Which W-2 amount belongs in the starting records?

For ordinary employee wages, review Box 1, labeled wages, tips, other compensation. Do not add Boxes 1, 3, and 5 together: Social Security wages and Medicare wages describe different tax bases, not additional jobs. The official W-2 instructions explain these boxes and the separately reported taxes.

Collect every applicable W-2 for the year. A second job, job change, or spouse’s employment on a joint return can add another statement. IRS Topic 401 specifically addresses including wages and withholding from all W-2s, including a spouse’s statements when filing jointly.

If Box 1 differs from payroll gross earnings, reconcile it rather than replacing it with the larger figure. Some payroll items have different income-tax treatment. Our guide to W-2 wages versus pay-stub totals covers that separate reconciliation.

How does a W-2-to-AGI calculation work?

Fictional example: assume a taxpayer has $46,000 in Box 1 from one job, $7,500 from another, and $300 of taxable bank interest. Assume an $800 student-loan-interest adjustment has already been verified as fully deductible under the applicable rules. There is no other income or adjustment.

Example using verified income and an assumed eligible adjustment
StepCalculationAmount
Wages$46,000 + $7,500$53,500
Total income$53,500 + $300 taxable interest$53,800
Allowed adjustmentSubtract the verified deductible amount−$800
AGI$53,800 − $800$53,000
Fictional calculation: $53,500 in W-2 wages plus $300 taxable interest, less an $800 allowed adjustment, equals $53,000 AGI.
Illustrative arithmetic only. The $800 adjustment is assumed eligible; it is not an automatic deduction.

The example deliberately uses two employers. Reading only the first W-2 would miss $7,500 of wages and the interest record. Adding paycheck deposits would create a different error because those deposits generally reflect deductions already taken from pay.

Which deductions should you avoid subtracting twice?

Do not subtract federal income tax withheld, Social Security tax, Medicare tax, or ordinary take-home-pay deductions from W-2 Box 1 to “find AGI.” Tax withholding is a payment toward tax, not the AGI adjustment in this calculation. Likewise, a deduction already excluded from Box 1 must not be removed again merely because it appears on the pay stub.

HSA contributions illustrate why the source matters. Eligible contributions made directly by you can receive different return treatment from employer contributions and salary reductions through a cafeteria plan. IRS Publication 969 treats the latter as employer contributions and explains reporting on Form 8889. Review the contribution’s treatment before claiming an additional deduction.

The standard deduction also comes later. Under the 2025 Form 1040 instructions, Schedule 1-A deductions flow to the deduction section after AGI. Do not confuse Schedule 1 adjustments with Schedule 1-A or assume every deduction reduces AGI. Check the applicable year’s sequence.

What records should you gather before calculating AGI?

  1. Choose the tax year and return scope. Keep documents from different years separate and identify whether you are preparing a joint return.
  2. Gather income statements. Include every W-2 and relevant interest, investment, retirement, business, or other income record.
  3. Reconcile corrections. Identify corrected statements and avoid counting both an original and its replacement as separate income.
  4. Document adjustments. Keep eligibility worksheets, contribution records, and proof supporting the amount actually allowed.
  5. Trace amounts into the return. Record each document, the figure used, and where it was entered. Review the Form 1040 preparation guide for the wider return checklist.

Use a final pay stub as a reconciliation aid, not an automatic substitute for every year-end statement. A remaining wage discrepancy should be raised with payroll. A tax-return classification question may require a qualified preparer, especially when business income or multiple adjustment rules are involved.

Where do you find a prior year’s AGI?

Use the AGI entry on the tax return for the requested year, not today’s salary or the most recent W-2. The IRS AGI page also describes using an IRS Online Account or a tax return transcript to retrieve prior-year information.

If tax software asks for prior-year AGI to validate an electronic return, follow its instructions and the IRS electronic-return validation guidance. A missing or rejected validation value is not a reason to invent an AGI from payroll deposits. Processing and identity-verification exceptions need their own instructions.

Common questions about AGI and payroll

Can AGI equal W-2 Box 1?

Yes, if the applicable return has only those taxable wages and no adjustments or other income affecting the calculation. Confirm those facts rather than assuming equality from a single document.

Is AGI the same as net pay?

No. Net pay describes an individual payroll payment after its deductions. AGI is a return-level annual calculation. See how to read a check stub to separate current pay, year-to-date figures, and deductions.

Is modified AGI always the same as AGI?

No. A benefit or tax rule can require modifications to AGI. Use that rule’s worksheet rather than assuming one universal MAGI calculation works for every purpose.

Can a pay-stub generator calculate my final AGI?

A payroll document cannot establish all the income, eligibility facts, and adjustments on your federal return. Keep the generator’s pay information separate from a complete tax calculation.