The short answer
Social Security generally bases a retirement benefit on the worker’s 35 highest years of wage-indexed covered earnings. If the record contains fewer than 35 earning years, zero years enter the average. A later year can increase the benefit when it replaces a zero or a lower year among the highest 35.
- Earlier covered earnings are adjusted for growth in average U.S. wages before the highest years are selected.
- SSA adds the highest 35 indexed years and divides by 420 months to calculate AIME.
- A progressive formula converts AIME into the primary insurance amount, or PIA.
- Claiming age changes the payment after the earnings record establishes the benefit base.
Good to know: Ten years of covered work is commonly enough to qualify for retirement benefits, but qualification is not the same as having 35 earning years in the benefit calculation.
Social Security does not normally calculate a retirement benefit from your final salary, your best five consecutive years, or the amount in the last pay stub before retirement. It looks across a much longer covered-earnings history.
For a typical retired worker, the calculation has three main stages:
- adjust earlier covered earnings for changes in average national wages;
- select the highest 35 indexed earning years and calculate average indexed monthly earnings, or AIME; and
- apply the progressive benefit formula to determine the primary insurance amount, or PIA.
The PIA is the monthly benefit base at full retirement age before later cost-of-living adjustments and other benefit-specific changes. Filing before or after full retirement age then reduces or increases the worker’s payment.
This distinction matters. Working longer and claiming later can both increase a monthly check, but they do so through different mechanisms. More work may improve the earnings record. Waiting to claim changes the age adjustment applied to the benefit base.
Qualification and the 35-year average are different tests
Most people need 40 Social Security credits—often about ten years of covered work—to qualify for retirement benefits on their own record. That does not mean ten years produces the same calculation as 35 years.
SSA says it bases retirement benefits on the highest 35 years of earnings. When fewer than 35 earning years are available, it uses a zero for each missing year in the calculation.
| Question | General retirement rule | Why it matters |
|---|---|---|
| Do I qualify on my own record? | Commonly 40 credits | Determines eligibility |
| How many earning years enter the average? | 35 highest indexed years | Determines the earnings base |
| What if I have only 30 earning years? | Five zeros enter the 35-year average | Lowers AIME |
| What if I worked 40 years? | The highest 35 are used | Five lower years are left out |
Credits measure whether a worker is insured for benefits. They do not determine the benefit amount by themselves. The amount depends on the earnings credited to the record, the wage-indexing process, the highest-35 selection, and the benefit formula.
Step 1: SSA wage-indexes earlier covered earnings
A salary from 1990 cannot be compared fairly with a salary from 2025 using nominal dollars alone. General wage levels changed substantially over those decades.
SSA therefore indexes earlier earnings using the national average wage index, or AWI. For retirement benefits, the indexing year is generally two years before the year the worker first becomes eligible at age 62.
For a worker who turns 62 in 2026:
- 2026 is the year of eligibility;
- the indexing benchmark is the 2024 national average wage index of $69,846.57;
- earnings before 2024 are multiplied by the applicable indexing factor; and
- earnings in 2024 and later are taken at face value.
In simplified form:
Indexing factor for an earlier year = AWI in the indexing year ÷ AWI in the earning year
Indexed earnings = covered earnings × indexing factor
SSA’s official 2026 examples show the process year by year. For a worker born in 1964, the example divides the 2024 AWI by the AWI for each earlier earning year. A factor of one applies for 2024 and later.
Wage indexing is not the same as COLA. AWI adjusts the worker’s earlier earnings before the initial benefit is calculated. COLA adjusts benefits after eligibility based on a different price index, CPI-W. Our COLA guide explains that separate process.
Which income appears on the record?
The calculation uses earnings covered by Social Security—generally wages and net self-employment income on which Social Security payroll tax applies, up to the annual taxable maximum.
The 2026 maximum amount of earnings subject to Social Security tax is $184,500. Earning above that amount in 2026 does not add more than $184,500 to the Social Security earnings record for that year.
These items generally do not count as Social Security covered earnings:
- dividends, interest, and capital gains;
- ordinary withdrawals from retirement accounts;
- most rental income that is not covered self-employment income;
- pension income; and
- wages from work not covered by Social Security.
An earnings statement may show separate columns for Social Security earnings and Medicare earnings. They can differ because Medicare tax does not use the same annual earnings cap. For this calculation, the relevant field is the Social Security earnings record.
Step 2: The highest 35 years become AIME
After indexing the record, SSA chooses the years with the highest indexed earnings. For the standard retirement calculation, it uses up to 35 years.
The process can be summarized as:
- rank the indexed annual earnings;
- keep the highest 35;
- add the selected amounts;
- divide by 420 months; and
- round down to the next lower whole dollar.
AIME = highest-35 indexed earnings total ÷ 420 months
If the worker has only 30 earning years, the divisor does not shrink to 360 months. Five zero years remain in the 420-month calculation. This is why a worker can qualify for a benefit but still have zeros reducing the average.
A zero year does not have one universal dollar cost
It is tempting to say that every zero costs a fixed amount of Social Security. That is not accurate.
Replacing a zero first changes AIME. The new AIME then moves through a progressive formula. The benefit effect depends on:
- the indexed earnings in the new year;
- whether that year actually enters the highest 35;
- which AIME formula tier the worker occupies;
- the worker’s eligibility year and bend points; and
- any subsequent claiming-age adjustment.
A high new year can replace a zero and materially improve AIME, but the benefit does not rise dollar for dollar with AIME.
Engine-backed illustration
What replacing five zero years can change
This simplified example starts with 30 years averaging $70,000 in indexed earnings. It then adds five $85,000 years. The same 2026-law estimator calculates both results.
- AIME
- $5,000
- Estimated FRA benefit
- $2,345
- AIME
- $6,011
- Estimated FRA benefit
- $2,669
The increase is smaller than the increase in AIME because Social Security applies progressive 90% / 32% / 15% formula tiers. It is not a promise that every added work year produces this result.
See the comparison as a table
| Scenario | Earning years | Zeros | AIME | FRA benefit |
|---|---|---|---|---|
| Stop with 30 earning years | 30 | 5 | $5,000 | $2,345 |
| Add five $85,000 years | 35 | 0 | $6,011 | $2,669 |
Illustration in 2026 wage-level dollars using Clear Nest Egg RuleSet 2026.7. It excludes future wage-index changes, COLAs, spouse and survivor benefits, taxes, and the earnings test.
The example above deliberately separates the earnings-record effect from the claiming decision. Both scenarios show the estimated benefit at full retirement age. It does not claim that five more years will add $324 per month for every worker.
Step 3: The PIA formula is progressive
SSA applies three percentages to portions of AIME. The dollar boundaries are called bend points.
For a worker who turns 62 in 2026, the official bend points are:
| Portion of AIME | Formula percentage |
|---|---|
| First $1,286 | 90% |
| Over $1,286 through $7,749 | 32% |
| Over $7,749 | 15% |
The resulting PIA is rounded down to the next lower dime.
These are not simply “the bend points used for every benefit paid in 2026.” The worker’s applicable bend points are generally tied to the year the worker first becomes eligible at age 62. A person who turned 62 in 2025 ordinarily keeps the 2025 eligibility-year formula, followed by applicable COLAs—not the new 2026 bend points.
The progressive structure is why an additional $1,000 of AIME does not always add the same amount to the PIA:
- $1,000 inside the first tier contributes up to $900 before rounding;
- $1,000 inside the second tier contributes up to $320; and
- $1,000 inside the third tier contributes up to $150.
This design replaces a larger share of career-average earnings for lower earners than for higher earners.
Working longer when you already have 35 years
The 35-year rule does not mean the 36th year is automatically worthless. SSA keeps the highest 35, not necessarily the first 35.
If a new covered-earnings year is higher than the lowest indexed year currently used, the new year may replace it. If the new earnings are lower than every year already in the highest 35, the new year does not enter the average and may not change the benefit base.
Consider three situations:
| Current record | New covered-earnings year | Likely highest-35 effect |
|---|---|---|
| 32 earning years and 3 zeros | Positive covered earnings | Replaces a zero |
| 35 years including a low part-time year | Higher new year | May replace the low year |
| 35 years all higher than the new year | Lower new year | Usually excluded from the highest 35 |
Taking a lower-paid job does not push a better year out of the record merely because it is newer. SSA ranks the indexed amounts and keeps the highest years.
If a person is already receiving retirement benefits, later substantial covered earnings can still lead to a recomputation. Federal regulations say SSA examines earnings records each year and automatically pays a higher amount when a recomputation is called for.
Stopping work is not the same as claiming
Four separate dates can be easy to mix together:
- the date you stop working;
- the year you turn 62 and first become eligible;
- the date you claim retirement benefits; and
- your full retirement age.
Stopping work freezes future contributions only because no new earnings are being added. It does not erase earlier years. Waiting to claim after stopping work can still improve the payment through the claiming-age adjustment, but it does not create new earning years.
Conversely, working after claiming may improve the highest-35 record if the new year replaces a lower year. Before full retirement age, current work can also trigger the separate retirement earnings test. That withholding rule is not part of the 35-year formula; see our 2026 earnings-test guide.
For people born in 1960 or later, full retirement age is 67. Starting at 62 can reduce a worker benefit by as much as 30% relative to the full-retirement-age amount. Delaying after full retirement age can earn delayed retirement credits through age 70. Use the Social Security break-even calculator to study that timing decision after estimating the earnings-record base.
Spouses, survivors, and the worker’s record
The 35-year calculation determines the worker’s own PIA. That PIA can also affect benefits payable to family members.
- A living spouse’s maximum spousal amount at full retirement age is generally based on up to 50% of the worker’s PIA, subject to eligibility and the spouse’s own benefit.
- A survivor benefit can be based on the deceased worker’s benefit record and claiming history.
- A spouse or survivor does not “inherit” the worker’s 35 earnings entries; the family benefit is derived from the worker’s benefit base under separate rules.
This is why replacing a low year for the higher earner can matter beyond the worker’s own lifetime. It may also influence a later family benefit. Our spousal-benefit guide and survivor-benefit guide cover those rules in detail.
Non-covered work and the WEP/GPO change
Work not covered by Social Security may not appear as covered earnings in the 35-year record. A pension from that work, however, no longer triggers WEP or GPO reductions for benefits payable from January 2024 onward.
The Social Security Fairness Act was signed on January 5, 2025 and repealed the Windfall Elimination Provision and Government Pension Offset. Older articles that still advise applying a reduced 40% WEP factor to current benefits are outdated.
The repeal does not convert non-covered wages into Social Security covered earnings. The worker’s covered-earnings record and qualification rules still matter.
Audit your record before modeling
A calculator is only as reliable as the earnings entered. The most useful workflow is:
- sign in to an official
my Social Securityaccount; - compare each annual Social Security earnings amount with available W-2s, tax returns, or self-employment records;
- identify missing or suspicious years;
- count the earning years that could enter the highest 35; and
- model future covered work separately from the claiming-age decision.
Do not send a Social Security number or an unredacted statement to a general calculator. Clear Nest Egg’s public estimator does not ask for an SSN. It can accept a simple year-and-earnings list or a quick career summary.
SSA says some corrections may be requested through a my Social Security account. A person can also contact SSA. Documentation such as W-2s, pay stubs, and tax returns may be important, and legal time limits can apply. Form SSA-7008 is the formal Request for Correction of Earnings Record.
A practical five-question decision check
Before deciding that another year of work is “worth it for Social Security,” ask:
-
Do I have fewer than 35 covered-earnings years?
If yes, a positive year can replace a zero. -
If I already have 35, what is my lowest indexed year?
A new year helps the average only if it enters the highest 35. -
What part of the PIA formula am I in?
The progressive formula determines how an AIME change reaches the benefit base. -
Am I changing work age, claiming age, or both?
Keep the two effects separate so the result is understandable. -
What does another work year change outside Social Security?
Salary, health insurance, retirement contributions, taxes, Medicare timing, and time are often more important than the Social Security increase alone.
The final decision should not be made from one monthly-benefit number. A household plan should compare income, savings, taxes, healthcare, and spouse or survivor protection on the same timeline.
Common misunderstandings
“SSA uses my last 35 years.”
It generally uses the highest 35 indexed years, which do not need to be consecutive.
“Once I reach 35 years, I can never increase the benefit by working.”
A higher new year may replace a lower indexed year. A lower new year may be excluded.
“A part-time job can lower my benefit.”
The new low year does not replace a higher year merely because it is recent. It may have no effect on the highest-35 average. Work can still affect current payments through the separate earnings test before full retirement age.
“My benefit is locked forever at 62.”
The eligibility year establishes important formula parameters, but later covered earnings can support a recomputation. COLAs and claiming-age rules are also separate adjustments.
“The 2026 bend points apply to everyone receiving a check in 2026.”
They apply to the PIA formula for workers whose eligibility year is 2026, generally those turning 62 that year. Earlier cohorts keep their own eligibility-year formula and receive later applicable COLAs.
Frequently asked questions
What happens if I worked only 30 years?
For the standard retirement calculation, five zero years generally enter the 35-year average. Additional covered work can replace those zeros.
Does Social Security use gross pay?
It uses earnings credited as Social Security covered earnings, up to each year’s taxable maximum. The official earnings record is more reliable than using gross household income.
Are earnings after age 60 counted?
Yes. For a worker turning 62 in 2026, earnings in 2024 and later are taken at face value rather than wage-indexed. A later year can enter the highest 35 if it is high enough.
Can working after I claim increase my benefit?
Yes, when later covered earnings support a higher PIA. SSA reviews earnings records and automatically recomputes benefits when appropriate. Before full retirement age, the retirement earnings test can separately withhold current benefits.
Can I buy missing Social Security years?
There is no general option to make a voluntary retroactive payment simply to replace a zero year. Covered wages or properly reported covered self-employment earnings create the record.
How can I estimate the effect of another year?
Start with the official earnings record, use the Social Security Estimator, and compare stopping-work assumptions. Treat it as an educational 2026-law estimate rather than an official award amount.
What to do next
Open your official earnings record and check whether the issue is missing years, low years, or only claiming timing. Then use the calculator that matches the decision:
- Estimate a worker benefit from earnings history.
- Compare claiming at 62, 67, and 70.
- Review how working before full retirement age affects current checks.
For a couple, carry the worker estimates into a household plan. Spousal and survivor rules can make the higher earner’s PIA more important than a single-person comparison suggests.
How a lifetime earnings record becomes a retirement benefit


Primary sources
- SSA: Your retirement age and when you stop working
- SSA: Social Security benefit amounts and AIME
- SSA: Indexing factors for earnings
- SSA: 2026 benefit calculation examples
- SSA: Benefit formula bend points
- SSA: Additional work can increase future benefits
- SSA: How to correct an earnings record
- SSA: 2026 COLA and program fact sheet
- Federal regulation: automatic benefit recomputations
This article is educational and uses general assumptions. Tax, healthcare, and retirement-plan rules can change. Confirm important decisions with official sources and qualified professionals.
