That’s the foundation the Social Security Administration uses to calculate your benefits, using a three-step process. First, Social Security adjusts your earnings for historical changes in U.S. wages, takes your 35 best-paid years and produces what it calls your average indexed monthly earnings (AIME).