How Social Security Benefits Are Calculated: Credits, AIME and PIA
Your Social Security check comes from a formula that has several steps. It counts work credits, indexes your highest 35 years of earnings, averages them into AIME and runs that through the three-tier PIA formula. This guide covers each step and how to check that your earnings record is right.
Social Security does not pay a flat pension, and it does not simply average your last few paychecks. Your retirement benefit comes out of a formula with several steps. It checks whether you qualify, adjusts your past earnings for wage growth, averages your best 35 years and runs that average through a formula that pays lower earners a higher share of their pay. Once you know the steps, it is easier to see why an extra year of work, a gap in your career or a mistake in your earnings record can change your check.
Step one: earning enough credits to qualify
Before anything is calculated, you have to be insured. For retirement benefits, that means earning enough work credits (also called quarters of coverage).
- You earn credits by working in jobs covered by Social Security, as an employee or self-employed, and paying Social Security tax on those earnings.
- You can earn up to four credits a year. The earnings needed for one credit rise each year with average wages, and Social Security publishes the new amount every year.
- Most people need 40 credits, or about ten years of work, to qualify for retirement benefits on their own record.
Credits are a yes-or-no test. Having 60 or 100 credits does not raise your benefit. Your earnings decide the amount, and that is where the formula starts.
Step two: indexing your earnings to today's wages
Your earnings record goes back decades, and a dollar earned in 1995 bought more than a dollar does now. Average pay was also lower then. To compare your years fairly, Social Security indexes most of your past earnings to wage growth across the economy.
Here is how it works. Each year's earnings are multiplied by an indexing factor based on the national average wage index, which the Social Security Administration publishes. Earnings are indexed up to the year you turn 60. Earnings from age 60 on are counted at their actual dollar amount. The result is your lifetime earnings history adjusted for wage growth, so early-career years count on the same scale as recent ones.
Not all earnings count. Each year has a taxable maximum (the contribution and benefit base). Pay above that limit is not taxed for Social Security, and it is not counted toward your benefit. The limit changes every year, and Social Security lists the current and past figures at ssa.gov.
Step three: your highest 35 years and the AIME
Once your earnings are indexed, Social Security takes your 35 highest years. It adds them up and divides by 420, the number of months in 35 years. The result, rounded down to the dollar, is your average indexed monthly earnings, or AIME.
There are two practical points here.
- Zero years count. If you have fewer than 35 years of earnings, the missing years go in as zeros. Someone with 28 years of work still has the total divided by 420 months, so seven zeros drag the average down. Time spent raising children, caring for relatives, studying or working abroad in non-covered jobs can all leave zero years.
- Late years can replace weak ones. If you keep working, a strong year can push out a zero or a low early year. Social Security reviews earnings records every year and recalculates your benefit automatically if a new year raises it. This happens even after you have started collecting.
Step four: the PIA formula and its bend points
Your AIME goes through the primary insurance amount (PIA) formula. The PIA is the monthly benefit you would get if you claimed at your full retirement age. The formula splits your AIME into three tiers using two dollar thresholds called bend points:
| Portion of your AIME | Share counted toward your PIA |
|---|---|
| Up to the first bend point | 90% |
| Between the first and second bend points | 32% |
| Above the second bend point | 15% |
The three amounts are added together to get your PIA. The bend points rise every year with the national average wage index. Your formula uses the bend points for the year you turn 62, which is when you first become eligible. Social Security publishes the bend points for each year on its PIA formula page at ssa.gov.
This structure makes the program progressive. A low earner gets back a large share of their average pay. A high earner gets back a smaller share, even though their dollar benefit is larger.
A hypothetical illustration. The numbers below are made up to show how the tiers work. They are not current or past bend points. Suppose the first bend point were $1,000, the second were $6,000, and a worker's AIME were $8,000:
- 90% of the first $1,000 = $900
- 32% of the next $5,000 (from $1,000 to $6,000) = $1,600
- 15% of the remaining $2,000 (above $6,000) = $300
- PIA = $2,800
In this example the PIA equals 35% of AIME. A worker with an AIME of $1,000 under the same made-up figures would get a PIA equal to 90% of AIME. To run the real numbers, use the calculators and your personal estimate at ssa.gov.
Step five: claiming age changes what you actually receive
The PIA is your benchmark, not always your check. If you claim before full retirement age, your monthly benefit is permanently reduced. If you claim after it, you earn delayed retirement credits up to age 70, and your benefit is higher. For workers born in 1960 or later, full retirement age is 67. The trade-offs among claiming at 62, 67 and 70 are covered in our guide to when to claim Social Security.
Your PIA also sets benefits for other people. A spouse's benefit and a survivor's benefit are both based on the worker's PIA. The rules for couples are explained in how spousal and survivor benefits work.
Step six: cost-of-living adjustments
After your PIA is set, it grows with cost-of-living adjustments (COLAs). Social Security sets the COLA each year from changes in a consumer price index, and the increase applies to benefits starting each January.
COLAs start in the year you turn 62, whether or not you have claimed. A person who waits until 67 or 70 does not lose the COLAs from the years in between. Those COLAs are already built into the PIA their benefit is based on.
A note on WEP and GPO
For decades, two rules reduced benefits for some people who also had a pension from work not covered by Social Security, such as some state and local government jobs. These were the Windfall Elimination Provision (WEP) and the Government Pension Offset (GPO). The Social Security Fairness Act, signed in January 2025, repealed both. If you thought your estimate would be cut by either rule, check your current figures with Social Security instead of relying on older statements.
Checking your earnings record and estimate
The formula can only work with the earnings on file. If a year is missing or too low, your AIME will be too low, and so will your benefit, possibly for the rest of your life. Checking takes a few minutes:
- Open a my Social Security account at ssa.gov/myaccount. It shows your full earnings history year by year and your personal benefit estimates at different claiming ages.
- Compare the record with your own documents. Look at W-2s, tax returns, Schedule SE forms if you were self-employed, and old pay stubs. Watch for years with nothing recorded, figures that look too low, and job changes, name changes or periods with more than one employer.
- Report errors with proof. Contact Social Security, explain which years are wrong and send copies of what you have. Routine corrections have time limits, though there are exceptions, so it is easier to fix an error found early.
- Read the estimate correctly. Projections usually assume you keep earning about what you earn now until you claim. If you plan to stop working early or cut back, your actual benefit may be lower than the estimate.
| What to check | Why it matters |
|---|---|
| Every year you worked appears | A missing year can become a zero in your 35 |
| Amounts match your W-2s or tax returns | Lower earnings lower your AIME |
| Self-employment income is recorded | It only counts if reported and taxed |
| Credit count is 40 or more | Below 40, you may not qualify on your own record |
Putting the pieces together
Here is the whole formula in short. You need enough credits to qualify. Your earnings are indexed for wage growth and capped at each year's taxable maximum. Your 35 best years are averaged into the AIME. The AIME is turned into a PIA with the 90/32/15 formula, using the bend points for the year you turn 62. COLAs are added from age 62, and the result is adjusted up or down depending on when you claim.
Two parts of that chain depend on you: how many strong years fill your top 35, and whether your record is accurate. The second takes only a yearly look at ssa.gov.
This article explains how Social Security benefits are calculated and is not financial, tax or legal advice. Figures such as bend points, credit thresholds and the taxable maximum change every year; confirm current details with the Social Security Administration.
Frequently asked questions
Do I need exactly 40 credits to get Social Security retirement benefits?
Most workers need 40 credits, which is about ten years of covered work, to qualify for retirement benefits on their own record. You can earn up to four credits a year, and the earnings needed for each credit rise every year. Credits only decide whether you qualify. How much you are paid depends on your earnings, not on the number of credits above 40.
What happens if I worked fewer than 35 years?
Social Security still divides by the full 35 years. Every missing year counts as a zero, so the zeros pull your average down. If you work more years later, each new year of earnings can replace a zero or a low year, and Social Security recalculates your benefit for you.
How do I fix a mistake in my Social Security earnings record?
First, compare the earnings history in your my Social Security account with your W-2s, tax returns or pay stubs. If a year is missing or too low, contact Social Security and send whatever proof you have. Routine corrections have time limits, though there are exceptions, so check your record every year rather than waiting until you are close to retirement.