If you have ever looked at your Social Security statement and thought, “Okay, but how did they come up with that number,” you are not alone. The good news is: the core math is consistent and it is based on your earnings record, not guesswork.

Before Social Security applies any early-claiming reduction (like filing at 62) or delayed retirement credits (like waiting to 70), it calculates a base amount called your Primary Insurance Amount, or PIA. That PIA comes from a predictable pipeline: wage-indexing your earnings, selecting your highest 35 years, converting that history into AIME, and then applying a set of bend points to produce your PIA.

A Social Security Administration field office building exterior with the SSA sign visible near the entrance on a clear daytime street scene

Start with your earnings record

Social Security retirement benefits are based on your covered earnings, meaning wages or self-employment income where you paid Social Security payroll taxes.

Two important guardrails to know:

  • Only taxed earnings count. Income not subject to Social Security taxes generally does not build your retirement benefit.
  • There is an annual taxable maximum. Earnings above the Social Security wage base in a given year are not counted toward benefits for that year. That cap changes over time.

If you want to see the numbers Social Security has on file, create or log into your account at SSA.gov and review your earnings history. Errors are not common, but they can happen, and fixing a missing year can matter.

Step 1: Wage-index your past earnings

Social Security does not treat a dollar you earned at 25 the same as a dollar you earned at 55. To make things fairer across decades, it wage-indexes most past earnings to reflect overall wage growth in the economy.

In plain English: your older earnings are adjusted upward so the formula compares your work history using a more current wage level.

A few quick notes that keep people from getting tripped up:

  • Indexing is based on national wage data, not inflation and not your personal raises.
  • Indexing generally applies through the year you turn 60. Earnings after age 60 are typically used in their nominal (not wage-indexed) dollars, still subject to each year’s taxable maximum.
A pay stub on a desk next to a basic calculator and a pen, suggesting someone reviewing earnings

Step 2: Pick your highest 35 years

After indexing, Social Security takes your highest 35 years of earnings (indexed where applicable) and uses them to build your benefit.

This is a huge deal because it explains two common surprises:

  • If you worked fewer than 35 years, Social Security still uses 35 years. Missing years are treated as $0 in the calculation.
  • A low-earning year can be replaced. If you keep working and earn more than one of your older years, that newer higher year can bump a lower year out of your top 35.

When I was digging out of my own debt hole years ago, I learned the hard way that “averages” punish zeros. Social Security is the same. A few zero years can quietly shave your base benefit down for life.

Step 3: Convert earnings into AIME

Once Social Security has your top 35 earnings, it adds them up and converts them into a monthly average called your Average Indexed Monthly Earnings, or AIME.

The simplified version of the math looks like this:

  • Add your highest 35 indexed earnings years
  • Divide by 420 months (35 years × 12 months) to get your AIME

In the official calculation, Social Security truncates (rounds down) AIME to the next lower dime. For understanding the process, the clean monthly average is what matters.

A laptop on a kitchen table displaying a budget spreadsheet with a calculator and notepad beside it in a home finance scene

Step 4: Apply bend points to get your PIA

Here is where the formula gets its reputation for being confusing, but the concept is actually pretty consumer-friendly.

Social Security applies a progressive formula to your AIME, meaning it replaces a higher percentage of income for lower and middle earners, and a lower percentage for higher earners. It does this using bend points, which are specific dollar thresholds published each year by the SSA.

For someone whose year of eligibility is 2026 (usually the year you turn 62), the PIA formula uses these percentages:

  • 90% of AIME up to the first bend point
  • 32% of AIME between the first and second bend point
  • 15% of AIME above the second bend point

The bend point dollar amounts change each year. The percentages (90% / 32% / 15%) are the core structure.

What you should take away: even if you had very high earnings, Social Security is designed so the “first slice” of your career-average earnings counts a lot more heavily than the “top slice.”

A round-number example

Let’s use a clean example to show how the pieces fit together. We will keep it round on purpose.

Example A: 35 solid earning years

Assume after wage-indexing, your highest 35 years average out to $72,000 per year.

  • Your AIME is roughly $72,000 ÷ 12 = $6,000 per month.

Now we run $6,000 through the bend-point structure (using the 90% / 32% / 15% tiers, and the bend points for your eligibility year).

The result is your PIA, which is your base monthly benefit at full retirement age, before any claiming-age adjustments. In the official calculation, the SSA also applies rounding rules, including rounding the PIA down to the next lower dime.

Example B: Same worker, but 5 years of $0 earnings

Now assume you only worked 30 years and had 5 years with no covered earnings. Social Security still divides by 35 years (420 months).

If your 30 working years averaged the same $72,000 (indexed), your 35-year average becomes:

  • Total indexed earnings = 30 × $72,000 = $2,160,000
  • 35-year annual average = $2,160,000 ÷ 35 = $61,714
  • AIME ≈ $61,714 ÷ 12 = $5,143 per month

That is a meaningful drop in AIME, and because the bend-point formula is applied to a smaller number, your PIA drops too. This is exactly why “a few missing years” can do more damage than people expect.

My practical takeaway: If you have fewer than 35 years on your record, even a part-time year can be valuable if it replaces a $0. It does not need to be a huge salary to help the math.

A desk scene with a paper calendar open beside a calculator and a coffee mug, suggesting retirement planning timing

What this number is and is not

Your PIA is the foundation. It is the monthly benefit you would receive if you claim at full retirement age, based on your earnings record and the bend-point formula.

What it is not:

  • It is not your benefit if you claim at 62 (that is reduced).
  • It is not your benefit if you wait until 70 (that includes delayed retirement credits).
  • It is not adjusted for Medicare premiums, taxes on benefits, or other withholdings.

How COLAs fit in

One reason your projected benefit can change from year to year is that Social Security applies cost-of-living adjustments (COLAs). COLAs can increase benefits over time, and they can affect your benefit amounts even between age 62 and the year you actually claim.

Claiming at 62 vs full retirement age vs 70

Once Social Security has your PIA, it applies a separate set of rules based on when you claim:

  • Claiming early (as early as 62) permanently reduces your monthly check.
  • Claiming at full retirement age generally pays your full PIA.
  • Waiting past full retirement age (up to 70) increases your benefit with delayed retirement credits.

If you want the full breakdown of the age tradeoff and why the best choice depends on your health, savings, and household situation, read our deep dive here: When to Claim Social Security: 62 vs Full Retirement Age vs 70.

Ways to raise your base benefit

You cannot change the bend-point percentages, but you can influence what goes into your 35-year record.

  • Work enough years to eliminate zeros. Replacing even one $0 year can lift your AIME.
  • Increase earnings in lower years. If you had early-career or part-time years, higher earnings later can push those years out of the top 35.
  • Check your earnings record. Make sure all your W-2 and self-employment income was credited correctly.
  • Keep perspective. Social Security rewards consistency over time. One “monster year” helps less than many solid years because of the progressive bend-point math.

Exceptions to know about

The steps above describe the standard retirement benefit calculation, but some rules can modify benefits for certain workers. For example, the Windfall Elimination Provision (WEP) and Government Pension Offset (GPO) can affect people who also receive certain pensions from work not covered by Social Security.

FAQ

Does Social Security use my last year of work?

Not automatically. It uses your highest 35 years of earnings (with wage-indexing for years up through age 60). Your last year only matters if it is high enough to land in that top-35 set.

If I keep working after I start benefits, can my check go up?

It can. Social Security may recompute your benefit if your new earnings replace a lower year in your top 35. The claiming-age adjustment still applies, but the underlying earnings record can improve.

Do years of unemployment hurt Social Security?

They can. Years with no covered earnings may become $0 years in the 35-year record, which lowers AIME and your PIA.

Is the formula the same for everyone?

The structure is the same, but your result depends on your wage-indexed earnings history, your year of eligibility, and the bend points for that year. Some special provisions can also modify benefits in certain cases.

The simplest way to think about it

If you remember nothing else, remember this sequence:

  1. Social Security adjusts most of your past earnings for wage growth.
  2. It selects your highest 35 years (and uses zeros if you have fewer than 35).
  3. It converts that into AIME by dividing by 420 months.
  4. It applies bend points to turn AIME into your PIA, your base benefit at full retirement age.

Once you understand that, the claiming decision becomes a separate question: do you take a smaller check earlier, your base check at full retirement age, or a larger check by waiting. If you are weighing that part, head over to our claiming-age guide.