How your Social Security benefits are supposed to be calculated. Social Security uses the highest 35 years of earnings going back to 1951 to compute average earnings. An inflation factor is applied to each of those 35 years to adjust the income to todayâs dollars. This calculation becomes the average indexed monthly earnings (AIME).