How to Calculate AIME for Social Security
Use this premium calculator to estimate your Average Indexed Monthly Earnings, the key earnings figure Social Security uses before applying bend points to calculate your retirement benefit formula.
AIME Calculator
Your AIME Estimate
Enter your earnings history and click Calculate AIME to see your estimated Average Indexed Monthly Earnings.
Expert Guide: How to Calculate AIME for Social Security
Average Indexed Monthly Earnings, usually shortened to AIME, is one of the most important numbers in the Social Security retirement system. Before the Social Security Administration calculates your Primary Insurance Amount, or PIA, it first determines your AIME. That means if you want to understand what your retirement benefit could look like, learning how to calculate AIME is a smart place to start.
At a high level, AIME converts your lifetime earnings history into a single monthly average. But it is not just a simple average of everything you ever earned. Social Security applies specific rules. It adjusts prior-year earnings for changes in average wages across the economy, selects your highest 35 years of indexed earnings, totals them, and then divides the result by the number of months in 35 years, which is 420. The final number is usually truncated down to the next lower dollar.
This process matters because workers often have long careers with earnings that rise over time. A salary of $20,000 decades ago does not mean the same thing as $20,000 today. Social Security addresses that by indexing earlier earnings to reflect overall wage growth. This is what makes AIME fairer than a plain arithmetic average of nominal wages.
What AIME actually means
AIME stands for the average amount of indexed monthly earnings Social Security credits to your record after applying the program’s calculation rules. It is not your take-home pay, not your final salary, and not your monthly Social Security check. Instead, it is the earnings base used in the next step of the formula.
Once AIME is calculated, Social Security applies yearly bend points to determine your PIA. Bend points create a progressive benefit formula, replacing a larger share of earnings for lower wage workers and a smaller share for higher wage workers. So even if two people have different AIMEs, the percentage of income replaced by Social Security will differ based on where their AIME falls relative to the bend points in the year they first become eligible.
The official AIME formula
- Gather each year of earnings subject to Social Security payroll taxes.
- Adjust eligible years of earnings for wage indexing, typically through age 60.
- Select the highest 35 years of indexed earnings.
- If fewer than 35 years exist, add zero years until you have 35 years.
- Add those 35 years together.
- Divide the total by 420 months.
- Truncate the result down to the next lower whole dollar.
That is the core process. Many people find the indexing step the hardest, which is why calculators often ask for already indexed earnings or use estimates for planning. If you are doing an exact calculation by hand, you would typically use SSA wage indexing factors and your detailed earnings history from your Social Security statement.
Step-by-step: how to calculate AIME
1. Collect your earnings history
Start with your annual earnings record. The cleanest source is your earnings history from your my Social Security account. Social Security only counts earnings that were subject to Social Security tax, and each year is limited by the taxable maximum for that year. That means if you earned more than the cap, only earnings up to the annual Social Security wage base count toward retirement benefits.
2. Understand wage indexing
Indexing adjusts older earnings to reflect changes in national wage levels. This helps compare earnings from different decades on a more equal footing. In practical terms, a year worked early in your career is not left at its raw dollar amount. Instead, it is multiplied by an indexing factor based on average wage data published by the SSA. Earnings after age 60 generally are not indexed in the same way, but they can still be included at actual value if they rank among your top 35 years.
If you are using this calculator with the setting Annual earnings are already wage-indexed, you are telling the calculator that this step has already been handled. In that case, the result is much closer to a formal AIME computation.
3. Choose the highest 35 years
Social Security does not average every year you worked. It takes the highest 35 years after applying indexing rules. This is a critical point. If you worked 40 years, the lowest five years are dropped. If you worked only 28 years, then seven zero years are inserted. Those zero years can materially reduce your AIME, which is why many workers see benefit gains by working additional years later in life.
4. Add the selected years together
Once your top 35 years are identified, add them. Suppose your indexed top 35 earnings total $2,940,000. That figure becomes the basis for the monthly average step.
5. Divide by 420 months
Thirty-five years equals 420 months. Using the example above:
$2,940,000 / 420 = $7,000
That would produce an AIME of $7,000.
6. Apply truncation
SSA generally truncates AIME to the next lower whole dollar. So if your calculation produced $6,842.97, the AIME would generally be treated as $6,842, not rounded up to $6,843. This may seem minor, but official calculations often rely on truncation rules rather than ordinary rounding.
Example AIME calculation
Imagine a worker with 35 years of already indexed earnings that average $72,000 per year. The calculation would be:
- Total indexed earnings: 35 × $72,000 = $2,520,000
- Divide by 420 months: $2,520,000 / 420 = $6,000
- Truncated AIME: $6,000
That worker’s AIME would be $6,000. Social Security would then apply the bend point formula for the eligibility year to estimate the retirement benefit.
Why fewer than 35 years can lower your benefit
One of the most common mistakes people make is assuming Social Security only counts years actually worked. In reality, the formula always uses a 35-year base. If you only have 20 years of earnings, Social Security still uses 35 years, which means 15 zeros are included. This can sharply reduce your average. For workers with interrupted careers, lower-income years, or years out of the workforce for caregiving or disability, this rule is often one of the biggest drivers of a lower AIME.
On the other hand, if you already have 35 years of solid earnings, an additional work year only helps if it replaces one of the lower years in your current top 35. This is why older workers often see smaller incremental gains from working an extra year unless that new year is higher than an existing low year.
Comparison table: Social Security taxable maximum by year
The annual taxable maximum matters because only wages up to this level count toward Social Security retirement benefits. Here are recent official Social Security wage base amounts.
| Year | Taxable Maximum | Notes |
|---|---|---|
| 2020 | $137,700 | Pre-2021 wage base |
| 2021 | $142,800 | Moderate annual increase |
| 2022 | $147,000 | Higher cap reflects wage growth |
| 2023 | $160,200 | Large step-up in covered earnings cap |
| 2024 | $168,600 | Official SSA taxable maximum |
| 2025 | $176,100 | Latest announced wage base |
If your salary exceeded those limits in the corresponding years, the amount above the cap did not count for Social Security retirement calculations. That means high earners should be careful not to overstate annual earnings when estimating AIME.
Comparison table: Recent bend points used after AIME is calculated
AIME is only the first major step. The second step is converting AIME into PIA by applying bend points. These bend points are adjusted each year for newly eligible beneficiaries.
| Eligibility Year | First Bend Point | Second Bend Point | PIA Formula Structure |
|---|---|---|---|
| 2024 | $1,174 | $7,078 | 90% / 32% / 15% |
| 2025 | $1,226 | $7,391 | 90% / 32% / 15% |
These figures show why AIME is so central. Once your AIME is known, the bend point formula determines how much of it is converted into a base retirement benefit.
Indexed earnings vs nominal earnings
A lot of online calculators ask for annual earnings but do not always explain whether they want indexed or nominal figures. Here is the difference:
- Nominal earnings are the raw dollar amounts you earned in each year.
- Indexed earnings are nominal earnings adjusted by Social Security’s wage indexing method.
If you use nominal earnings only, your result can underestimate AIME for years far back in your career because older earnings have not been adjusted upward. That is why an estimate based on indexed earnings is generally more meaningful.
When this calculator is most accurate
- You have your annual earnings from SSA.
- You know or have already calculated indexed earnings.
- You include all relevant years, not just recent wages.
- You understand that the result is an estimate unless matched directly to SSA’s detailed formula inputs.
Common mistakes when calculating AIME
- Using more than the annual taxable maximum. Earnings above the wage base do not count for Social Security benefits.
- Forgetting zero years. Fewer than 35 years means zeros are added.
- Skipping indexing. This often distorts comparisons across decades.
- Confusing AIME with monthly benefit. Your Social Security check is based on PIA and claiming age, not AIME alone.
- Assuming the latest salary is all that matters. Social Security looks across your top 35 years, not just your final years.
How AIME affects retirement planning
Understanding AIME can improve retirement decisions in several ways. First, it helps you estimate whether continuing to work might replace low or zero years in your record. Second, it allows you to compare retirement timing scenarios. Third, it gives context for your expected Social Security replacement rate relative to other retirement income sources like 401(k) withdrawals or pensions.
For example, someone with 30 years of earnings and five zero years may improve AIME significantly by working another few years. Meanwhile, someone with a full 35-year record of strong earnings may see only a modest gain from another year unless the new earnings are high enough to replace a weaker year.
Where to verify your official figures
If you want the most reliable data, use official Social Security resources:
- SSA Average Wage Index series
- SSA contribution and benefit base history
- SSA benefit estimator resources
These official tools and tables are valuable if you want to move from planning estimates to a more formal approximation of your benefit. They also help verify earnings records and identify years that may be missing or incorrect.
Bottom line
If you want to know how to calculate AIME for Social Security, remember the core rule: Social Security adjusts your prior earnings for wage growth, uses your highest 35 years, adds them up, divides by 420 months, and truncates the result. That final AIME becomes the foundation for your retirement benefit formula.
For practical planning, the most useful approach is to gather your earnings record, estimate or obtain indexed annual earnings, and model your top 35 years carefully. Even a small improvement in one or two low years can affect your average. And if you have not yet reached 35 years of covered work, understanding the zero-year rule can make future work decisions much clearer.
Use the calculator above to estimate your AIME quickly, then compare the result with official SSA resources for deeper retirement planning.