Yes exactly.
You will need the estimated monthly amount of your Social Security benefit as a spouse, widow, or widower before the effect of GPO.
And will that affect my spouse's totals?
To get a more accurate estimate you must enter the estimated "gross" monthly amount of the government pension in today's dollars you will receive for work not covered by Social Security in Step # 1 of "Calculate Your Benefits".