Social Security bases every retiree’s monthly benefit on a single formula input: the 35 years in which a worker earned the most, adjusted for historical wage growth across the economy. A career that runs shorter than 35 years does not simply skip the missing years in that average; the Social Security Administration fills each unworked year with a zero, which drags the entire calculation down. Because the formula recalculates automatically whenever a new year of earnings outranks an old one already on file, a worker who keeps working, even part time or later in life, can still raise a benefit that has already started.
How Social Security Builds the 35-Year Average
The Social Security Administration calls this figure the Average Indexed Monthly Earnings, or AIME, and it is the foundation for every retirement benefit the agency pays. Each year of a worker’s covered earnings history is indexed to reflect average wage growth in the national economy, so a dollar earned decades ago is scaled up before the 35 highest years are averaged together. Social Security’s own benefit calculator requires a full year-by-year earnings history to run this process, because the agency cannot produce an accurate estimate without knowing which years actually rank among a worker’s top 35.
The AIME then feeds into a separate formula, known as the Primary Insurance Amount calculation, that applies a set of percentages to different portions of that average to arrive at the benefit paid at full retirement age. The agency’s technical description of the benefit-computation process shows why a longer, steadier earnings history is rewarded: there are simply more years available to fill the 35 slots with real wages instead of zeros. A worker with 40 years of covered earnings only needs the top 35 of them to count, while a worker with 28 years has seven zeros built permanently into the average unless something changes.
Because indexing adjusts old earnings for national wage growth rather than for inflation alone, two workers who earned an identical inflation-adjusted amount in different decades can still end up with different indexed values inside the formula, which is one more reason the specific years that get counted matter as much as the raw totals a worker earned across an entire career.
Free retirement updates: Want plain-English help keeping more of your money in retirement? The free Retirement Shield newsletter covers the benefits, deadlines, and money mistakes that cost retirees, a couple times a week. Subscribe free.
What a Short or Uneven Work History Does to the Formula
A worker who spent years raising children, attending school, caring for a family member, or working in a job not covered by Social Security taxes often reaches retirement age with fewer than 35 years of covered earnings on the record. Every one of those missing years counts as a zero in the AIME average rather than being excluded from the calculation, which means the shortfall is not a rounding error but a direct, permanent reduction built into the benefit formula itself. A worker with only 25 years of covered earnings has 10 zero years averaged in alongside their real wages, pulling both the AIME and the monthly check down substantially compared with someone who worked a full 35 years.
Because the formula treats every one of the 35 slots the same way, a single additional year of covered work does not just add income; it can replace one of the existing zero years outright, raising the average by a meaningful amount rather than a token one. That is why a worker close to retirement with a gap-heavy earnings record sometimes gains far more from an extra year or two of work than a worker who already has 35 solid years and can only replace a moderately low year with a moderately higher one.
This is also why the formula rewards someone who had a rocky, mixed-earnings career far more than someone whose earnings were already high and stable throughout it. A worker replacing a genuine zero year gets the full benefit of a new year’s earnings in the average, while a worker who was already earning near the top of their own range every year has little room left for any single year to move the needle.
Why the Recalculation Keeps Running After a Worker Claims
The recalculation does not stop the day someone files for benefits. Social Security reviews the earnings record of every beneficiary who reports wages each year, and if that year’s earnings outrank one of the 35 years already used in the AIME, the agency recomputes the benefit and pays the increase retroactively to January of the following year. That means a retiree who takes a part-time job after claiming, or who simply kept working past the date they first filed, is not permanently locked into the number calculated at filing.
The effect tends to matter most for workers who claimed early in their careers, spent time out of the paid workforce, or worked in lower-wage jobs when they were younger, since those are exactly the kinds of years a single strong year of later earnings is most likely to outrank. A worker who spent a decade in a lower-paying job before moving into a better-paying trade or profession later in life may find that the years right before retirement are doing more to lift the benefit than any other stretch of their career.
None of this appears on a benefit statement in a way that flags which specific years are driving the calculation, so a worker deciding whether one more year on the job is worth it has no simple way to see the exact effect without requesting a full recalculation from Social Security. The one universal fact built into the formula is that a zero year never helps and a top-35 year always does, which is why the agency treats continued work, however modest, as a lever that keeps functioning long after a first Social Security check has already been cashed.
This article was drafted with AI assistance and edited for accuracy.
More Financial Reading