1 Select your 35 highest-earning years. 2  Add up the total amount of earnings in those 35 years, excluding any earnings for each year that were in excess of the maximum amount subject to Social Security tax. 3  Divide by 420 (the number of months in 35 years).