During tax form entry where can I find or calculate my AGI?

I'm married filing separately.  I have two windows open, one for each of us.  Got to state taxes and its asking for spouses Fed Tax Income and AGI.  Need to find or calculate it for one of us to complete and do the other.