A step-by-step guide to how Social Security benefits are calculated, from work credits and your 35 highest-earning years to bend points, claiming age and inflation adjustments
Social Security bases a retirement benefit on the 35 years in which a worker's indexed earnings were highest. Any year short of 35 enters the calculation as a zero. Those zeros pull the average down and shrink the eventual monthly payment.
The 35 years do not have to be consecutive. They do not have to fall at the start or the end of a career. The Social Security Administration looks across the full earnings record and selects the 35 highest years.
The ranking happens after indexing, not before. A modest paycheck from decades ago can outrank a larger-looking one from a later year once both are measured on the same scale.
Zero years come from any stretch with no covered earnings. Time in school, raising children, caring for a relative, unemployment or a job outside the system can all leave gaps. A worker with 30 years of earnings has five empty slots in the count. Those five zeros sit in the average alongside the 30 real years.
Social Security counts earnings only up to a yearly ceiling called the taxable maximum, which is $176,100 in 2025. Pay above that line is not taxed for Social Security and adds nothing to the record used to calculate benefits.
The cap works on both sides of the program at once. The same dollar limit that stops payroll tax withholding also stops benefit credit. A worker who earns $176,100 in 2025 and a worker who earns several times that amount end the year with the same figure posted to their earnings records.
For employees, the Social Security portion of payroll tax is 6.2% of covered wages. Employers pay a matching 6.2%. At the 2025 cap, the most an employee can have withheld for Social Security in the year is $10,918.20. Self-employed workers pay both halves, a combined 12.4%, on net earnings from self-employment up to the same ceiling.
The primary insurance amount, or PIA, is the monthly benefit a worker receives at full retirement age. For workers who turn 62 in 2025, it equals 90% of average indexed monthly earnings up to $1,226. It adds 32% of those earnings between $1,226 and $7,391, plus 15% of anything above $7,391.
Those two dollar thresholds are called bend points. Each one marks the spot where the replacement rate drops to the next tier. The formula uses average indexed monthly earnings, known as AIME, as its only earnings input. It splits that figure across the three tiers and adds the results.
The first tier carries the highest rate. Each dollar of AIME up to $1,226 is replaced at nine-tenths of its value. A worker whose AIME reaches that first bend point gets $1,103.40 of PIA from this tier alone under the 2025 formula. That is 90% of $1,226.
A worker can start Social Security retirement benefits at 62, but each month claimed before full retirement age lowers the monthly check. For someone whose full retirement age is 67, claiming at 62 pays 70% of the primary insurance amount, which is a 30% cut.
The reduction uses two monthly rates rather than one flat penalty. Each of the first 36 months before full retirement age costs 5/9 of 1% of the primary insurance amount. Each month beyond those 36 costs a smaller 5/12 of 1%.
Those fractions are easier to compare as yearly rates. Twelve months at 5/9 of 1% add up to 6 2/3% a year. Twelve months at 5/12 of 1% add up to 5% a year. The three years closest to full retirement age carry the steeper rate.
The 70% figure comes straight from that math. A worker with a full retirement age of 67 who claims at 62 is 60 months early. The first 36 months remove 20%, which is 36 times 5/9 of 1%. The remaining 24 months remove another 10%, which is 24 times 5/12 of 1%. Together that is 30%, leaving 70% of the base benefit.
Social Security benefits rise each year through a cost-of-living adjustment, or COLA, that tracks the Consumer Price Index for Urban Wage Earners and Clerical Workers (CPI-W). The 2025 COLA was 2.5%. A separate earnings test withholds part of the benefit from people who work before full retirement age.
The COLA calculation compares averages rather than a single month's prices. The Social Security Administration takes the average CPI-W for the third quarter of the year, which covers July, August and September. It then compares that figure with the third-quarter average from the year before. The percentage change between the two averages becomes the adjustment.
The CPI-W is narrower than the consumer price index often cited in headline inflation reports. That broader measure, the CPI-U, covers all urban consumers. The CPI-W is built around the spending of urban wage earners and clerical workers.
A Social Security retirement check is not a discretionary number. It is the output of a published formula that the Social Security Administration applies the same way to every worker. Most of its inputs trace back to two things: an earnings record and a birth date. Knowing how Social Security benefits are calculated turns a figure on a benefit statement into one a worker can anticipate, check and, within limits, influence.
The calculation moves in a fixed order. Qualifying comes first. A worker needs enough work credits to be eligible at all. The agency then assembles a lifetime earnings history. It adjusts older wages for growth in the national average wage index, counts each year only up to the taxable maximum and keeps the 35 highest years. Those years are then condensed into a single monthly figure called average indexed monthly earnings.
That average feeds the Social Security benefit formula, which produces the primary insurance amount. This is the monthly benefit payable at full retirement age. The formula is progressive. It replaces a larger share of average earnings at the low end than at the high end, using earnings thresholds known as bend points.
The primary insurance amount is a starting point rather than the final payment. Claiming age moves the monthly benefit down or up for life. Starting benefits before full retirement age, as early as 62, brings a permanent reduction. Waiting past full retirement age earns delayed retirement credits until age 70. Once payments begin, annual cost-of-living adjustments tied to the Consumer Price Index for Urban Wage Earners and Clerical Workers can raise them. For people who keep working before full retirement age, an earnings test can withhold part of the benefit.
The 10 steps below follow that sequence. Each one covers a single part of the calculation: what it measures, how it works and where it changes the result. Several steps rely on dollar thresholds that the agency updates every year. The figures cited here are 2025 values. The earnings cap, the bend points and the earnings test limits can differ in other years. The structure of the calculation, and the order of its steps, is what carries over from one year to the next.
A worker needs 40 Social Security credits, about 10 years of covered work, to qualify for retirement benefits. Credits build up at a maximum of four per year. In 2025, each credit requires $1,810 in covered earnings.
Credits decide eligibility. They are not part of the payment formula. They answer one question: can this person collect a retirement benefit on their own work record? Once a worker reaches 40 credits, the count no longer changes anything. A worker with 60 or 80 credits does not receive a larger check because of the extra credits. The size of the benefit comes from the worker's earnings history, not from the number of credits on the record.
The Social Security Administration also calls these units quarters of coverage. The name dates from a period when credits were tied to earnings in each calendar quarter. Credits are now based on total earnings for the year.
The timing of earnings within a year does not affect credits. Four credits in 2025 require $7,240 in covered earnings, which is four times the $1,810 threshold. A worker who earns that amount by March has all four credits for 2025, even without further work through December. A worker who earns far more still stops at four credits for the year.
The per-credit threshold changes. The Social Security Administration raises it each year in line with growth in the national average wage index. The $1,810 figure applies only to 2025 earnings.
Covered earnings are wages and self-employment income subject to Social Security payroll tax. Self-employed people earn credits on their net earnings from self-employment. Some jobs fall outside the system, including positions with certain state and local government employers that do not participate. Earnings from those jobs do not produce credits.
Credits stay on a worker's record once earned. Someone who leaves the workforce for several years keeps the credits already banked and can add to them after returning to work. A worker who stops short of 40 credits does not qualify for a retirement benefit on their own record. That worker may still be eligible for benefits through a spouse's record.
Additional years of work fill those slots. Each new year of earnings replaces a zero until the record reaches 35 years. After that, a new year counts only if its indexed earnings exceed the lowest year already in the top 35. In that case, it pushes the weakest year out of the calculation. A new year with lower pay than every year already counted changes nothing.
This replacement continues after benefits begin. The Social Security Administration reviews earnings records each year. If a beneficiary who is still working posts a year that ranks among the top 35, the agency recalculates the benefit and raises it.
The same rule separates workers with similar pay but different career lengths. Two people can earn identical indexed amounts in every year they worked and still receive different benefits. If one of them worked fewer than 35 years, that worker's average includes zeros, and the resulting benefit is lower.
Workers can see which years are on file by reviewing the earnings history in a my Social Security account at ssa.gov. A missing or understated year that reflects real work can be corrected with proof of earnings, such as W-2 forms or pay records.
Social Security does not count old paychecks at their original dollar amounts. It scales each year of pay before age 60 up to match how much wages across the U.S. economy have grown since then. The tool for this is the national average wage index. It lets pay from decades ago carry comparable weight to pay from recent years.
The adjustment exists because a salary from the 1990s and a salary from the 2020s sit on different scales. Average pay rises over time. Without indexing, early-career earnings would shrink in value next to later ones. The benefit would then understate where a worker stood relative to other earners across a full career.
The Social Security Administration calculates the national average wage index each year from wage data that employers report. Each year on a worker's record gets its own indexing factor. That factor is the index value for the year the worker turns 60, divided by the index value for the year the money was earned. The earnings for that year are then multiplied by the factor.
Age 60 is the anchor point. Every year of earnings before that age is brought forward to the wage level of the year the worker turns 60. Earnings from age 60 onward are not indexed at all. They enter the calculation at face value — the same dollar amount that appears on the earnings record.
The index for any given year is published after that year ends. Anchoring the calculation at age 60 means the needed index value is available by the time a worker first becomes eligible to claim at 62.
Those later, unindexed years still count. A strong year at 61 or 65 can rank among the highest years the formula keeps, entered at its nominal amount. Indexing happens first. The top years are then chosen from the indexed figures.
The benchmark here is wage growth, not price growth. That separates this step from the adjustments applied after benefits begin, which follow a consumer price measure. Tying the record to wages means a new retiree's starting benefit reflects pay levels in the economy near retirement, rather than only changes in what goods cost.
The effect is largest for workers whose earnings peaked early. Pay earned in their 30s or 40s is counted at the wage level of the year they turn 60. It is not counted in the smaller dollars they actually received at the time.
Medicare works differently. Its hospital insurance tax has no wage cap. Earnings above $176,100 in 2025 still owe Medicare tax after Social Security withholding stops. A high earner's pay stubs can show the Social Security deduction ending partway through the year while the Medicare deduction continues.
Workers with more than one employer can run into overwithholding. Each employer withholds Social Security tax up to the cap without regard to wages paid elsewhere. If combined withholding from two or more employers exceeds the annual maximum, the employee can claim the excess as a credit on the federal income tax return. That refund does not change the benefit record, which still stops at the cap.
The ceiling is not fixed. It is adjusted automatically in line with growth in the national average wage index, and it has risen over time. Each year in an earnings record is capped at that year's own limit, not at the current one.
For benefit purposes, the capped figure is what moves on to the next steps. A year of earnings above the limit enters the calculation at the cap. It is then indexed alongside the worker's other years and becomes part of the average that feeds the benefit formula. The cap therefore sets an upper bound on how large a retirement benefit can grow from earnings alone. Workers who earn at or above the maximum in each of their 35 highest years reach the largest benefit the formula can produce for their claiming age.
Average indexed monthly earnings, or AIME, is the single number that sums up a worker's career for Social Security. The Social Security Administration adds together the 35 highest years of indexed earnings, divides the total by 420 months and rounds the result down to the next lower dollar.
The divisor of 420 is 35 years multiplied by 12 months. It stays the same no matter how long someone actually worked. A person with 40 years of earnings and a person with 25 years of earnings are both divided by 420. For the shorter career, the 10 missing years enter the sum as zeros. Those zeros pull the average down.
The conversion to a monthly figure exists because the benefit formula works in monthly terms. The bend points that set the primary insurance amount are monthly dollar thresholds. A lifetime earnings record has to be expressed in that same unit before the formula can apply to it.
A hypothetical case shows the arithmetic. Suppose a worker's 35 best years of indexed earnings add up to $1,850,000. Dividing $1,850,000 by 420 gives about $4,404.76. The agency rounds that down to the next lower dollar, so the AIME is $4,404. The 76 cents are dropped, not rounded up.
The amounts in that total are not raw paycheck figures. Each year counts only up to that year's taxable maximum. Earnings before age 60 are also scaled for national wage growth, which is the indexing in the name. An AIME therefore reflects a career's earnings relative to average wages rather than the nominal dollars on old pay records.
The number 35 comes from the structure of the retirement calculation. The law counts the years after a worker turns 21 and before the year the worker turns 62. That span covers 40 years. Five of the lowest years are then dropped, which leaves 35.
AIME is an intermediate step. No check is paid on it directly. It serves as the input to the primary insurance amount formula, which turns this monthly average into the base benefit payable at full retirement age.
The second tier covers a span of $6,165 in the 2025 formula. That is the distance between the two bend points, or $7,391 minus $1,226. At 32%, a worker whose AIME fills the entire band adds $1,972.80 from it. Any AIME above $7,391 is replaced at 15 cents on the dollar.
The falling rates are what make the formula progressive. In 2025, a worker whose AIME sits exactly at the first bend point gets a PIA equal to 90% of that average. A worker whose AIME sits exactly at the second bend point gets a PIA of $3,076.20 under the 2025 formula. That is $1,103.40 plus $1,972.80, or about 41.6% of $7,391. A higher AIME still produces a larger PIA. Each added dollar simply counts for less once it crosses a bend point.
The bend points that apply are set by the year a worker turns 62. Someone who reaches 62 in 2025 uses $1,226 and $7,391, even if that person waits years to file. Workers who turn 62 in a different year use the pair of bend points assigned to that year instead.
After the three tiers are added together, the total is rounded down to the next lower dime. That figure is the PIA. It serves as the base amount from which any reduction for early claiming or credit for delayed claiming is calculated.
Full retirement age is 67 for anyone born in 1960 or later. It is 66 for people born from 1943 to 1954. For birth years 1955 through 1959, it climbs in two-month steps between those two ages.
This is the age at which a worker collects the full primary insurance amount, with no reduction and no increase. Every claiming decision is measured against it. A benefit that starts earlier is cut from that base. A benefit that starts later is raised from it.
The transition years follow a fixed pattern. Someone born in 1955 reaches full retirement age at 66 and two months. A 1956 birth year moves it to 66 and four months. For 1957 it is 66 and six months. For 1958 it is 66 and eight months. For 1959 it is 66 and 10 months. The 1960 cohort is the first to land on 67 exactly.
The schedule comes from the Social Security Amendments of 1983. That law raised the age for unreduced benefits from 65 to 67 in stages rather than all at once. People born in 1937 or earlier kept a full retirement age of 65. Birth years 1938 through 1942 moved up in two-month steps toward 66. Federal law calls this threshold the normal retirement age.
The Social Security Administration also applies a birthday rule. A person born on Jan. 1 is treated as if born in the previous year. That person follows the earlier year's schedule. Someone born on Jan. 1, 1960, for example, has the full retirement age of the 1959 cohort, which is 66 and 10 months.
Birth year also sets the length of the early claiming window. Retirement benefits can begin at 62. For someone born in 1960 or later, that leaves five years, or 60 months, before full retirement age. For someone whose full retirement age is 66, the gap is four years, or 48 months.
Survivor benefits follow their own schedule. A widow or widower born from 1945 through 1956 has a survivor full retirement age of 66. For those born in 1962 or later, it is 67.
Full retirement age is separate from Medicare eligibility. Medicare coverage begins at 65 for most people, whatever age they claim Social Security.
The same steps give a different result for workers with an earlier full retirement age. Someone whose full retirement age is 66 and who claims at 62 is 48 months early. The first 36 months again remove 20%. The remaining 12 months remove 5%. That worker collects 75% of the primary insurance amount, a 25% cut.
The difference between those two outcomes comes from the later full retirement age alone. Twelve extra early months at the lower rate add five percentage points to the reduction.
Claiming partway between 62 and full retirement age produces a partial cut. A worker who files 12 months early loses 12 times 5/9 of 1%, or 6 2/3%. That worker collects 93 1/3% of the base amount.
The rates apply to the primary insurance amount itself. They set only the share of that base figure paid each month.
Social Security raises a retirement benefit by 2/3 of 1% for each month a worker waits past full retirement age. For anyone born in 1943 or later, that works out to 8% a year, and the credits stop accruing at age 70.
The credits are figured as a percentage of the primary insurance amount, the base benefit the formula sets for a claim made exactly at full retirement age. A worker who waits adds a fixed share of that base for every month of delay. At 2/3 of 1% a month, 12 months add up to the 8% annual figure.
For anyone born in 1960 or later, full retirement age is 67. Waiting from 67 to 70 covers 36 months. At 2/3 of 1% per month, those 36 months add 24%. A claim at 70 therefore pays 124% of the primary insurance amount.
Workers with an earlier full retirement age have more months to earn credits before the cutoff. Someone born between 1943 and 1954 reaches full retirement age at 66. That leaves 48 months before 70, which adds 32% and brings the benefit to 132% of the primary insurance amount.
For birth years from 1955 to 1959, full retirement age falls between 66 and 67 in two-month steps. A worker born in 1957, for example, reaches full retirement age at 66 and six months. Waiting until 70 adds 42 months of credits, for an increase of 28% and a benefit of 128% of the primary insurance amount.
The credits grow in a straight line. Each month adds the same 2/3 of 1% of the base benefit, not a percentage of an amount that has already grown. Three years of delay produce 24%, not a compounded figure.
Age 70 is a hard ceiling. A worker who postpones a claim past that birthday earns no further credits. The increase stays at the level reached at 70. Waiting longer does not make the monthly check any larger.
The adjustment is a percentage increase applied to the benefit itself. At the same rate, a larger monthly check gains more in dollar terms than a smaller one. Each year's COLA builds on the previous year's adjusted amount. Over a long retirement, those increases compound.
The earnings test applies to beneficiaries who are still working and have not reached full retirement age. In 2025, the Social Security Administration withholds $1 in benefits for every $2 earned above $23,400.
A different rule covers the calendar year in which a person reaches full retirement age. For that year, the 2025 threshold rises to $62,160. The withholding rate also eases, to $1 for every $3 earned above that limit. This withholding applies only until the month of the full retirement age birthday.
Withheld benefits are not permanently lost. Once a beneficiary reaches full retirement age, the Social Security Administration recalculates the monthly amount to account for the months in which benefits were withheld. The result is a higher monthly payment from that point on.
The test looks only at earnings from work. Wages and net self-employment income count toward the limits. Pensions, investment income, interest and capital gains do not.
From full retirement age onward, the earnings test no longer applies. A beneficiary at or past that age can keep working with no benefits withheld under this rule.
