Social Security benefits are based on your lifetime earnings. Your actual earnings are adjusted or “indexed” to account for changes in average wages since the year the earnings were received. Then Social Security calculates your average indexed monthly earnings during the 35 years in which you earned the most.