How SS (Social Security) Calculates Retirement Benefits

By Alan Silverstein, Fort Collins, Colorado. Email me at ajs@frii.com.
Last updated December 19, 2025 #2

How does Social Security in the USA actually calculate monthly basic retirement benefits? The math is surprisingly complex, and was not well documented in any single place I could find, which is why I created this webpage.

But beware: "When you look into an abyss, the abyss also looks into you." -- Friedrich Nietzsche (grin, thanks Tom)

Very briefly there are two parts:

  1. Calculate AIME (Average Indexed Monthly Earnings) => PIA (Primary Insurance Amount) at FRA (Full Retirement Age).

  2. Multiply by a personal constant factor set by the timing of when you claim benefits (before, at, or after FRA), apply COLA (Cost Of Living Adjustments) every year to increase your PIA, and then adjust for Medicare premiums (in a weird way, see below).

Less briefly but still terse and fuzzy (full details later):

  1. Multiply FICA-taxed annual earnings by birth-year-specific inflation factors; add 35 resulting highest years; divide sum by 35 * 12 = 420 for AIME; truncate ("round down") to whole dollar; apply AIME to 3 brackets/tiers (90%, 40%, 15%) with "bend points" (dollar breakpoints) depending on birth year; add amounts for each tier; truncate ("round down") total to nearest dime => PIA at FRA.

  2. Multiply initial PIA at FRA by a timing factor (such as 1.0 for claiming to start in your FRA month, < 1.0 for earlier, > 1.0 for later); truncate to dime; after FRA year (whether already claiming or not), multiply PIA by COLA for each year, and again truncate to dime each year; subtract Medicare premium amount (also multiple of a dime); truncate to whole dollar; add back premium amount => gross monthly benefit (before mandatory Medicare deduction if enrolled, and any optional tax withholding).

Some context before the detailed explanation:

I found it impossible to get SS to provide me my own calculations, other than confirming my SS-taxed (FICA, Federal Insurance Contributions Act) earnings history and my PIA at FRA (also available through website). So I built my own Excel spreadsheet to model this, recreating the FRA PIA amount they gave me based on their hidden calculations (also for my wife and a few other relatives).

Unfortunately this spreadsheet is so personalized that it's hard to share -- including annual earning amounts, birth-year-specific inflation indexes and PIA bend points, FRA timing (also depends on birth year), and annual COLAs starting in the first year applicable.

Later I discovered that while I nailed the first part (PIAs), I had erroneous math on the second part (timing factor, COLAs, and Medicare premiums). I had to study further (piecemeal info from various sources) and revise the spreadsheet to exactly match actual benefits my wife (claiming ahead of me) was already receiving.


The hairy details ("once more, with feeling"):

First to get your AIME and PIA:

Now to compute your actual monthly benefit payment based on your PIA and when you start/claim: