AGI calculation formula — which line am I supposed to use for e-file?
Trying to finish a prior-year return this fall and the software keeps asking for last year's AGI to sign in. I have no idea where that number comes from. Is there an AGI calculation formula I'm supposed to run myself, or is it just printed on last year's return somewhere? I changed jobs mid-year and my old paperwork is a mess, so I'm not sure I even have the right copy anymore.
63 comments

StarStrider
Which year's return are you looking at? AGI is a line on the return itself, so it isn't something you work out separately. If you still have the filed copy it's printed on the first page of the 1040. If you don't, the IRS gives transcripts at no charge, and the fastest way to get one is the IRS Online Account. A tax return transcript shows the figures as originally filed, which is usually what e-file software wants.
0 coins
Fatima Al-Qasimi
AuthorLast year's, tax year 2025, the one I filed in the spring. I'll check whether I can still sign in to the online account.
0 coins
Dylan Campbell
A return transcript shows the AGI as filed, yes. An account transcript has the later changes, so those two can differ if anything was adjusted afterward.
0 coins
Sofia Torres
If you had a W-2 plus a few side gigs, you add up the income and then subtract adjustments to get to AGI. That's the formula people usually mean. But I wouldn't redo it by hand just to e-file, because the software and the IRS want the number from the actual return.
0 coins
Fatima Al-Qasimi
AuthorSo the number I need is the one the IRS has on file, not one I recalculate. That makes it simpler.
0 coins
Dmitry Sokolov
Right, a recalculated number can easily be off by a few dollars and the e-file just rejects. Ask me how I know.
0 coins
Sofia Torres
Fair point on the rejection. I should have said to pull it off the filed return rather than rebuild it.
0 coins
Ava Martinez
On the e-file I did in September for a prior year, Where's My Refund showed nothing past the receipt, and the AGI I typed in had been accepted weeks before. The return's status on my account looked fine, but I couldn't tell whether anything was actually moving. I had Claimyr (claimyr.com) sit on hold with the IRS line for me, and then an IRS representative picked up and I asked what my return was showing. They read me the status on my own account and the date it was received, and said the return was still being processed. Claimyr's video on reaching a live person at the IRS: https://youtu.be/_kiP6q8DX5c
0 coins
Fatima Al-Qasimi
AuthorWhat did you have in front of you when the representative picked up? I'd want to be ready.
0 coins
Ava Martinez
The return I was asking about, my SSN, and last year's return too. They asked about the prior-year one before anything else.
0 coins
Miguel Ramos
That matches what the IRS lists as what to have ready for a call: SSNs, filing status, the prior-year return and any letter.
0 coins
QuantumQuasar
Two hundred dollars off on my AGI once and the whole e-file bounced. Total pain. Does anyone know if you get unlimited tries before it locks you out?
0 coins
StarStrider
I can't say how many attempts any software allows. If the e-file keeps rejecting, the options are a corrected AGI from a transcript or mailing the return on paper.
0 coins
QuantumQuasar
Okay. Paper is the last resort then, ugh.
0 coins
Zainab Omar
Is the AGI on a W-2 the same as the AGI on the return? Someone told me it's right on the W-2 box 1.
0 coins
Dylan Campbell
No. Box 1 is wages, one input to the return. AGI sits on the 1040 itself.
0 coins
Zainab Omar
Ok that is what confused me. I treated Box 1 as the AGI.
0 coins
Connor Gallagher
Mine came off a wage and income transcript, I thought, but that one only lists the W-2s and 1099s the IRS received. Is that the wrong type for AGI?
0 coins
StarStrider
Yes, wrong one for this. The wage and income transcript shows what employers and payers reported, not your AGI. You want the return transcript or the account transcript.
0 coins
Connor Gallagher
Got it. I'll pull the return transcript instead.
0 coins
Yara Sayegh
The old 'last year's AGI' prompt still got me even after I found it. Eleven months on and my login for the account wasn't working. What does the IRS Online Account need to get in?
0 coins
StarStrider
You sign in with ID.me or Login.gov. I can't walk through the steps of either, so check their own pages for how to recover access.
0 coins
Yara Sayegh
Alright, I'll try recovering the ID.me side first.
0 coins
Dmitry Sokolov
Changed jobs in July and ended up with two W-2s. The AGI on my 2025 return was higher than I guessed. Anyone else's number surprise them?
0 coins
Sofia Torres
Two jobs adds up, yes. That's your wages from both, so it's expected to land higher than one paycheck suggested.
0 coins
Dmitry Sokolov
Makes sense. I just never added them together.
0 coins
Keisha Johnson
A letter said the IRS needed a document, and I had no idea whether they'd even received my reply by the date on it. The reply or document on record was the one thing I needed confirmed. I had Claimyr wait on hold on the IRS's line, and the representative who picked up read me what was on my account: my reply had been received, with the date. They didn't say anything about what would happen next beyond that.
0 coins
Fatima Al-Qasimi
AuthorWas that a letter about this kind of AGI mismatch, or something else entirely?
0 coins
Keisha Johnson
Something else. It was a separate letter asking for a document, not the e-file AGI thing.
0 coins
Paolo Longo
So the representative only confirmed the date on record. Makes sense that they wouldn't go further.
0 coins
CosmicCowboy
Could a prior-year AGI I typed in correctly still get rejected because the IRS has a different number on file? I've seen people mention that.
0 coins
Dylan Campbell
It can, if the return was amended or adjusted after filing. Then the number on file differs from what you remember. A transcript shows what the IRS has.
0 coins
CosmicCowboy
That would explain mine, I did amend that year. Thanks.
0 coins
Paolo Longo
My first-time filer cousin asked me this exact question. I said use the line on the 1040, but she can't find her copy. Does the IRS mail one?
0 coins
StarStrider
Get Transcript by Mail takes 5 to 10 calendar days to the address the IRS has on file. The online account is faster if she can sign in.
0 coins
Paolo Longo
I'll tell her to try the online account first, then mail if it doesn't work.
0 coins
Connor Gallagher
Everything I've read says AGI is on the front of the return and that's it. Why do some tax sites make it sound like a whole formula you have to compute?
0 coins
Sofia Torres
Because the software computes it from your income and adjustments, so it feels like a formula. For this purpose though it's just the printed line.
0 coins
Connor Gallagher
Ok, so the formula is something the software already did for me.
0 coins
QuantumQuasar
IRS phone lines being what they are, I'd rather not wait for an answer on something I can find in a transcript. Please tell me the transcript route is actually fast.
0 coins
StarStrider
Online it's the fastest way the IRS offers. By mail it's 5 to 10 days. The phone line for transcripts is automated.
0 coins
QuantumQuasar
Fine, I'll do online. No more phone hold music for me.
0 coins
Dylan Campbell
A letter asking for AGI proof should give a number on it to call about that specific letter. Use that number, not the general line, if that's your case.
0 coins
Fatima Al-Qasimi
AuthorNo letter in my case. I'm just trying to e-file. But good to know.
0 coins
Zainab Omar
Do I need last year's AGI if I'm filing a return for a much older year? I'm two years behind and the software keeps asking.
0 coins
StarStrider
The IRS says to file all returns that are due, even if you can't pay, so catching up is the right idea. For the AGI prompt, I'd pull a transcript for the year it asks about.
0 coins
Zainab Omar
Okay. A transcript for each year then.
0 coins
Dmitry Sokolov
Wage and income transcript for the old years too, that's how I found my W-2 numbers when my employer closed.
0 coins
Miguel Ramos
The refund on my account showed an adjustment I never expected. I had Claimyr wait on hold on the IRS line, and the representative who picked up told me what the adjustment on my account was and its date. I used what they said to match it against the notice the IRS mailed me afterward.
0 coins
Fatima Al-Qasimi
AuthorDid the adjustment affect your AGI, or was that separate?
0 coins
Miguel Ramos
The representative didn't say. I read the notice that came in the mail for the reason.
0 coins
Sofia Torres
Ours came out as a little wrong the first time too. Where was your mistake, a line you skipped or just a typo?
0 coins
Dmitry Sokolov
Plain typo. Transposed two digits and the whole thing rejected.
0 coins
Fatima Al-Qasimi
AuthorThat one I can believe, I'm worried I'll do the same thing.
0 coins
Paolo Longo
Last thing I'd say is keep a copy of the return you e-file. Next year's login will ask for it and you'll be glad it's in a folder.
0 coins
Fatima Al-Qasimi
AuthorStarting that folder today. Wish I'd done it last year.
0 coins
CosmicCowboy
The payment I sent for a balance was supposed to post by the due date on my notice, and the account didn't show it. I had Claimyr sit on hold on the IRS's line for me, and when the representative picked up I asked about that payment. They read me the date it posted to my account and that was the date I needed.
0 coins
Fatima Al-Qasimi
AuthorDifferent problem from mine but good to know the date is on the account.
0 coins
Yara Sayegh
Which date did you check against, the due date on the notice?
0 coins
CosmicCowboy
Yes, the due date printed on the notice I'd gotten.
0 coins
Fatima Al-Qasimi
Update: pulled the return transcript from the online account and the AGI is a few hundred off from what I remembered. Typed the transcript number in and the e-file went through on the first try. Thanks to all of you.
0 coins
StarStrider
Glad that sorted it. Keep that transcript with your records for next year.
0 coins
Dylan Campbell
A few hundred off from memory is normal. The transcript number is the one the IRS wants.
0 coins