How SS (Social Security) Calculates Retirement Benefits

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

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 (via old tax returns and/or W2 statements) and my PIA at FRA (both also available through SS 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). Note that I didn't have too complex of an earnings history, also that in some lucky years I hit the annual FICA caps (probably you can find them here as Contribution and Benefit Base) and the earnings history showed these numbers, less than my actual taxable income for that year, without highlighting this.

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. Wouldn't it be nice if there was a website or app that, given your birthdate and earnings history copied from the SS website, could replicate the personal data within, or even create, this spreadsheet for you?

In late 2025, years after my first draft of the Excel spreadsheet, 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. That's when I created this webpage.


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: