The dollar amount printed on your Social Security statement is not pulled from a table — it is computed from your lifetime earnings record using a formula Congress wrote into the Social Security Amendments of 1972 and refined in 1977. The formula has three mechanical steps: convert your historical earnings into today's dollars, average them across your highest 35 years, and feed that average through a progressive bend-point formula. The output is the Primary Insurance Amount, or PIA, which is the benefit you would receive if you claimed at exactly your Full Retirement Age. Everything else — early retirement reductions, delayed retirement credits, spousal and survivor benefits — hangs off this single number.
The Three-Step Formula at a Glance
Calculating PIA proceeds in a defined order. First, the Social Security Administration (SSA) takes every year of covered earnings you have on record — wages subject to FICA up to the annual taxable maximum — and indexes the older years to reflect wage growth in the broader economy. Second, it selects the 35 highest indexed years (zeros are used to fill any gaps if you worked fewer than 35 years), sums them, and divides by 420 months to produce the Average Indexed Monthly Earnings, or AIME. Third, it applies the bend-point formula — 90%, 32%, and 15% in three brackets — to the AIME, producing the PIA at age 62.
The formula is intentionally progressive. Workers with low lifetime earnings receive a much higher replacement rate than high earners, which is the principal way Social Security functions as an anti-poverty program. A worker with an AIME of $1,000 sees roughly 90% of it replaced at Full Retirement Age, while a maximum earner at the $176,100 taxable cap in 2025 receives only about 28% of AIME as benefit. The mechanics are public and deterministic, which means you can replicate the SSA's calculation to the penny with a spreadsheet and your earnings record from my Social Security.
Step 1: Building Your AIME From 35 Years of Earnings
The SSA begins with your earnings record — the same record visible in your my Social Security account under "Earnings Record." Only wages and self-employment income subject to the Social Security payroll tax count; investment income, pensions, and non-covered government earnings are excluded. Each year's earnings is capped at that year's taxable maximum, which was $168,600 in 2024 and rose to $176,100 for 2025. If you earned $250,000 in wages last year, only $176,100 enters the AIME calculation.
Once earnings are gathered, the SSA ranks every indexed year from highest to lowest and selects the top 35. This is where the "zeros matter" rule kicks in: if you worked only 25 covered years, the SSA pads your record with 10 years of zero earnings before averaging. Each zero year drags the average down meaningfully — a worker with 25 strong years and 10 zeros has a meaningfully lower AIME than one who spread the same total earnings across 35 years. The 35-year window is why career longevity, not just earnings level, drives the final benefit.
The sum of those 35 indexed years is then divided by 420 (35 years × 12 months) to produce the AIME. The figure is rounded down to the nearest dollar. This AIME is the input to the bend-point formula in step three, but before that step, every pre-60 year of earnings must be indexed to current wage levels.
Step 2: Wage Indexing in the Year You Turn 60
Indexing is the step that makes a 1985 dollar comparable to a 2024 dollar, but it does so using wage growth, not inflation. The SSA uses the National Average Wage Index (NAWI), which tracks the average amount of wages subject to FICA across all workers. In the year you turn 60, your earnings record is "frozen" in indexing terms — every prior year's earnings is multiplied by the ratio of the NAWI in your age-60 year to the NAWI in the year the earnings occurred. Earnings after age 60 are not indexed; they enter the calculation at their nominal value.
For someone turning 60 in 2024, the indexing year is 2024, with a preliminary NAWI of approximately $66,621 (the final figure is published in the fall of the following year). A year of earnings from 1990, when NAWI was $21,027, would be multiplied by roughly 3.17 to express it in 2024-equivalent dollars. This means a $30,000 salary in 1990 counts the same as about $95,000 of current earnings for PIA purposes, reflecting the fact that wages have grown more than threefold over that period.
One quirk of this system: because indexing freezes at age 60, your benefit is sensitive to the broader economy in that specific year. A recession that suppresses the NAWI in your age-60 year will lower your indexing factors and reduce your AIME, even though your actual earnings were unaffected. Conversely, a strong wage year at 60 boosts every prior year's indexed value.
Step 3: Applying the Bend Points to Get PIA
The PIA formula uses two bend points that are updated annually — also tied to the National Average Wage Index. For workers attaining age 62 in 2025, becoming eligible for benefits in that year, the first bend point is $1,226 and the second is $7,391. The formula applies three percentages to three brackets of AIME: 90% to AIME up to the first bend point, 32% to AIME between the first and second bend points, and 15% to AIME above the second bend point. The sum of these three slices is the PIA, rounded down to the nearest dime.
Consider a worker with an AIME of $5,000 in 2025. The first $1,226 is multiplied by 90%, yielding $1,103.40. The next $6,165 (from $1,226 to $7,391) — but capped at the AIME of $5,000, so only $3,774 — is multiplied by 32%, yielding $1,207.68. There is no AIME above $7,391, so the 15% bracket contributes zero. The PIA is $1,103.40 plus $1,207.68, or $2,311.10 per month at Full Retirement Age. A maximum earner with an AIME at the second bend point and above would have the 15% bracket kick in, producing the 2025 maximum PIA of roughly $3,965 at Full Retirement Age.
The progressivity is built into the percentages themselves. The 90% factor on the first bracket means low earners receive nearly a full replacement of their indexed wages; the 15% factor above the second bend point means high earners receive only a small additional benefit for each dollar of AIME above $7,391. This is why Social Security's replacement rate falls steadily as lifetime earnings rise.
How COLA Reaches Your PIA After Age 62
Once you reach age 62, the indexing stops and the Cost-of-Living Adjustment (COLA) takes over. The PIA calculated at age 62 becomes the baseline, and every annual COLA — based on the Consumer Price Index for Urban Wage Earners and Clerical Workers (CPI-W) — is applied as a percentage increase to that baseline. The 2024 COLA was 2.5%, applied to January 2025 benefits. A worker who reached age 62 in 2022 has had two COLAs layered onto their original PIA by 2024, even if they have not yet claimed benefits.
This is why delaying your claim past Full Retirement Age produces more than just delayed retirement credits. Each year of delay also captures a COLA applied to a rising baseline, so the eventual benefit compounds. Conversely, claiming early locks in a COLA-adjusted baseline reduced by the early retirement factor — up to 6.67% per year for the first three years before FRA and 5% per year beyond that. The interaction between COLA, PIA, and the claiming age adjustment is the entire engine of Social Security strategy.
The Maximum PIA and Why Almost Nobody Gets It
The maximum PIA payable at Full Retirement Age in 2025 is approximately $3,965 per month, which corresponds to a worker who earned at or above the taxable maximum in every one of the 35 years used in the calculation. To hit this number, you would have needed to earn at least the taxable maximum — $176,100 in 2025, and the equivalent inflation-adjusted figure in every prior year — for 35 years. Because the taxable maximum was far lower in earlier decades in nominal terms, this effectively requires a long career of upper-decile earnings.
The SSA publishes the maximum benefit figures each year. For 2025, the maximum at Full Retirement Age (67 for those born in 1960 or later) is $3,965; at age 70, with delayed retirement credits, it rises to approximately $4,918; at age 62, the earliest claiming age, it falls to roughly $2,831. The median retired worker benefit in early 2025 was about $2,100, illustrating just how steep the curve is between the typical earner and the maximum. To estimate your own benefit, you can pull your earnings record from the SSA and run the formula yourself, or use our Social Security calculator to project AIME, PIA, and claiming-age benefits in one pass.
For the broader decision of when to actually claim, see our Social Security claiming strategy guide. The PIA is the foundation, but the claiming age is where most retirees leave real money on the table.
Last reviewed June 24, 2026. This article is informational and does not constitute legal, tax, or financial advice. Consult a qualified professional for guidance specific to your situation.