Key Takeaways
- Box 1 of your W-2 (wages, tips, and other compensation) is your starting point for calculating AGI.
- You subtract above-the-line deductions — such as traditional IRA contributions, student loan interest, and educator expenses — from Box 1 to reach AGI.
- AGI is not the same as taxable income; taxable income comes after you subtract either the standard deduction or itemized deductions.
- You need your AGI to determine whether you can claim certain tax credits and whether income limits explore to deductions you want to take.
Start With Box 1 of Your W-2
Box 1 on your W-2 shows your total wages, tips, and other compensation for the year. This is the number your employer reports to the IRS and the starting point for your AGI calculation. If you have more than one W-2 (because you worked for multiple employers), add the Box 1 amounts from all of them together.
Box 1 is different from Box 5 (Medicare wages) or Box 3 (Social Security wages) because it includes all compensation your employer paid you, even if some of it was not subject to Social Security or Medicare tax. Use only Box 1 for your AGI calculation.
Subtract Above-the-Line Deductions
Once you have your total wages from Box 1, you subtract certain deductions that the IRS calls above-the-line deductions. These are deductions you can take whether or not you itemize. The most common ones for W-2 earners are:
- Traditional IRA contributions (up to the annual limit, which varies by year)
- Student loan interest (up to $2,500 per year, subject to income limits)
- Educator expenses (up to $300 per year for teachers and school staff who buy classroom supplies)
- Tuition and fees deduction (subject to income limits and phase-out rules)
- Self-employment tax deduction (only if you have self-employment income)
- Health savings account (HSA) contributions
You report these deductions on Form 1040 (the main tax return form) in a section labeled "Adjusted Gross Income." The IRS subtracts them automatically when you file, or you calculate the subtraction yourself if you are doing your taxes by hand.
The Difference Between AGI and Taxable Income
After you subtract above-the-line deductions from your W-2 wages, you have your AGI. But AGI is not the same as the income you actually pay tax on. After you calculate AGI, you then subtract either the standard deduction or your itemized deductions to arrive at taxable income.
The standard deduction for 2024 varies by filing status (single, married filing jointly, head of household, and so on). If you itemize instead, you list out deductions like mortgage interest, property taxes, and charitable donations. The result — AGI minus standard or itemized deductions — is your taxable income, and that is what you multiply by the tax rate to find your tax bill.
Many tax credits and deductions have income limits based on AGI, not taxable income. That is why you need to calculate AGI first: it determines whether you can claim a child tax credit, education credits, the Earned Income Tax Credit, or other benefits.
When You Have No Above-the-Line Deductions
If you have no traditional IRA contributions, no student loan interest, no educator expenses, and no other above-the-line deductions, then your AGI is straightforward the amount in Box 1 of your W-2. You do not subtract anything. This is the case for most W-2 employees who do not contribute to a traditional IRA or have other may have access to deductions.
Even if your AGI equals your W-2 wages, you still need to know the number because it determines your may be able to access for various credits and deductions. For example, if your AGI is above a certain threshold, you may not be able to claim the full child tax credit or education credits.
Multiple W-2s and Self-Employment Income
If you worked for more than one employer in the same year, add the Box 1 amounts from each W-2 together before you subtract above-the-line deductions. The result is your total W-2 wages, which is the first step toward AGI.
If you also have self-employment income (from freelance work, a side business, or gig work), you calculate that separately on Schedule C and then add it to your W-2 wages. You would then subtract the self-employment tax deduction (which is half of your self-employment tax) as an above-the-line deduction. The final sum is your AGI.
Where to Report AGI on Your Tax Return
On Form 1040, AGI appears on a line labeled "Adjusted Gross Income" near the top of the form, after you have entered your income and subtracted above-the-line deductions. Tax software calculates this automatically; if you are filing by hand, you do the subtraction yourself and write the result on that line.
Your AGI then flows down to the section where you calculate taxable income. You subtract your standard deduction or itemized deductions from AGI to get taxable income. Many tax forms and schedules also reference AGI to determine whether you meet income thresholds for credits, deductions, or other tax benefits.
Frequently Asked Questions
Is my AGI the same as my gross income?
No. Your gross income is the total amount you earned (Box 1 on your W-2). Your AGI is gross income minus above-the-line deductions. If you have no above-the-line deductions, then AGI equals gross income, but they are not the same thing in general.
Do I need to calculate AGI myself, or does the IRS do it?
If you use tax software, the software calculates AGI for you. If you file by hand using Form 1040, you do the math yourself. Either way, you report the final AGI number on your return. The IRS does not calculate it for you before you file.
What if I have a loss on my side business — does that lower my AGI?
Yes. If you have self-employment income reported on Schedule C and that business had a loss, you subtract the loss from your W-2 wages to calculate AGI. A business loss can lower your AGI below your W-2 wages, which may help you claim credits or deductions with income limits.
Can I use my W-2 AGI from last year to estimate this year's taxes?
Only if your income and deductions are similar this year. If you expect a raise, a new job, or changes to your above-the-line deductions, your AGI will be different. Use your current year's expected income and deductions to estimate, not last year's AGI.
Why do tax forms ask for AGI instead of just using my W-2 wages?
Because AGI reflects your actual income after certain deductions the IRS allows before calculating tax. It is a more accurate picture of your financial situation than gross wages alone. Many tax benefits are designed to help people below certain income thresholds, so the IRS uses AGI — not gross income — to determine who qualifies.