Social Security AIME Calculator: Understand Your Earnings Record
Use this guide to understand the assumptions, inputs, results, and next steps behind the calculator.
Quick Summary
Estimate your Average Indexed Monthly Earnings (AIME), the foundational number used to calculate your Social Security retirement benefit. This calculator uses a simplified model of your earnings history to project your AIME, giving you a clear picture of how your 35 highest-earning years impact your future Social Security income.
This tool is for anyone who wants to understand the mechanics behind their Social Security statement. Whether you're planning for retirement, considering working a few more years, or simply curious about how your income history translates into benefits, this calculator provides the starting point. For a broader view, see the main Social Security Calculator or learn how much you will get from Social Security.
The calculator will provide your estimated AIME, the number of zero-earning years in your record, and an estimated Primary Insurance Amount (PIA) based on 2026 bend points. You'll also see a score reflecting the strength of your earnings history and a chart showing how working longer can replace low or zero-earning years to increase your AIME.
How To Use This Calculator
Begin by entering your personal information. Your Current Age and total Years of Earnings to date set the foundation for your work history. The "Years of Earnings" should be the number of years you've had income subject to Social Security taxes.
Next, provide an overview of your earnings history. This calculator uses a simplified model, so you don't need every year's exact income. Enter your Average Annual Earnings across your career, the average of your Highest Earning Years (Top 5 Avg), and the average of your Lowest Earning Years (Bottom 5 Avg). This helps the calculator build a more realistic, non-linear earnings profile.
To see how future work impacts your benefit, open the advanced settings. Enter your Expected Future Annual Earnings and the Years Until Retirement. The calculator will add these future earnings to your history, which can be crucial for replacing low-earning or zero-earning years. Once you've entered your information, click "Calculate" to see your estimated AIME and PIA.
What Each Input Means
Current Age and Years of Earnings
Your Current Age helps frame the timeline, while Years of Earnings is the total number of years you have worked and paid Social Security taxes. The Social Security Administration (SSA) uses your highest 35 years of indexed earnings to calculate your benefit. If you have worked for fewer than 35 years, the SSA will use zeros for the missing years, which will lower your AIME.
Average, Highest, and Lowest Annual Earnings
These three inputs build a simplified model of your career earnings. Instead of requiring 40+ years of data entry, this model approximates your earnings history.
- Average Annual Earnings: Your typical yearly income over your entire career.
- Highest Earning Years (Top 5 Avg): The average income during your peak earning years. This accounts for promotions or career growth.
- Lowest Earning Years (Bottom 5 Avg): The average income from your lowest-earning years, such as part-time work early in your career.
Providing these details gives a more accurate AIME estimate than using a single average.
Expected Future Annual Earnings and Years Until Retirement
These fields project the remainder of your career. Your Expected Future Annual Earnings is your best estimate of what you'll earn per year until you stop working. The Years Until Retirement tells the calculator how many of these future earning years to add to your record. These future years are often your highest-earning years and can significantly boost your AIME by replacing earlier, lower-earning years or zero-earning years. To see how this fits into a complete plan, use our main Retirement Calculator.
How The Calculator Works
This calculator estimates your AIME and PIA through a simplified, multi-step process that mimics the Social Security Administration's method.
First, it constructs an approximate earnings history. It uses your inputs to create a list of annual earnings: 5 years at your "highest" average, 5 years at your "lowest" average, and the remainder of your past working years at your "average" earnings. It then adds your projected future earnings for the number of years you plan to continue working.
Second, it identifies the top 35 years. The calculator sorts all of your past and future earning years in descending order. It takes the highest 35 years from this list. If you have fewer than 35 total years of earnings, the calculator adds years with $0 earnings until it has a 35-year record. These zero-earning years can significantly reduce your AIME.
Third, it calculates your AIME. It sums the earnings from these top 35 years and divides the total by 420 (the number of months in 35 years). The result is your Average Indexed Monthly Earnings. This calculator uses your nominal earnings as a proxy for indexed earnings, providing a solid estimate, especially for those closer to retirement.
Finally, it estimates your Primary Insurance Amount (PIA). The PIA is your monthly benefit at full retirement age. The calculator applies a formula with three "bend points" to your AIME. For 2026, it applies 90% to the first portion of your AIME, 32% to the middle portion, and 15% to the portion above the final bend point. The sum of these three amounts is your estimated PIA.
Calculator Formula
The calculator follows these steps to arrive at your estimated AIME and PIA.
1. Construct Earnings History
The calculator builds a list of your annual earnings based on your inputs.
earnings_history = [
(highest_earning_years * 5),
(lowest_earning_years * 5),
(average_annual_earnings * (years_of_earnings - 10)),
(expected_future_earnings * years_until_retirement)
]
2. Select Top 35 Years
It sorts the earnings_history from highest to lowest and takes the top 35 values. If there are fewer than 35, it pads the list with zeros.
top_35_earnings = sorted(earnings_history, descending=true).slice(0, 35)
total_top_35_earnings = sum(top_35_earnings)
3. Calculate Average Indexed Monthly Earnings (AIME)
The AIME is the average of your top 35 years of earnings, expressed as a monthly amount.
estimated_AIME = total_top_35_earnings / 420
4. Calculate Primary Insurance Amount (PIA)
The PIA is calculated by applying bend points to the AIME. The bend points for 2025 are $1,174 and $7,078 (2025 values; 2026 values will be published by the SSA based on the National Average Wage Index).
if AIME <= 1174:
PIA = AIME * 0.90
else if AIME <= 7078:
PIA = (1174 * 0.90) + ((AIME - 1174) * 0.32)
else:
PIA = (1174 * 0.90) + ((7078 - 1174) * 0.32) + ((AIME - 7078) * 0.15)
The final PIA is your estimated monthly Social Security benefit if you claim at your full retirement age. You can use the Social Security Break-Even Calculator to see how claiming at different ages affects your lifetime benefits.
What is AIME and Why Does It Matter?
AIME stands for Average Indexed Monthly Earnings. It is the bedrock of your Social Security retirement benefit calculation. The Social Security Administration (SSA) performs two key steps to determine your benefit: first, it calculates your AIME, and second, it uses your AIME to calculate your Primary Insurance Amount (PIA).
The "Indexed" part is crucial. To ensure fairness across generations, the SSA adjusts your historical earnings to reflect changes in the national average wage levels over your career. For example, $30,000 earned in 1995 had more purchasing power than $30,000 earned in 2020. Indexing brings that 1995 income up to a level more comparable with recent earnings. This calculator uses a simplified model without indexing, but it provides a strong estimate of the final number.
Your AIME matters because it directly determines the size of your benefit check. A higher AIME leads to a higher PIA and, therefore, a larger monthly Social Security payment. Understanding what goes into your AIME—specifically, the 35-year average—shows you exactly how working longer or increasing your income can impact your financial security in retirement.
The Impact of Zero-Earning Years on Your Benefit
One of the most important takeaways from any AIME calculation is the effect of zero-earning years. The Social Security formula is rigidly based on your highest 35 years of indexed earnings.
If you have worked for fewer than 35 years, the SSA will add years with $0 earnings to your record to reach the 35-year total. Each of those zero-dollar years drastically pulls down your average earnings, resulting in a lower AIME and a smaller monthly benefit.
For example, a person who worked for 30 years at a high salary will have five zero-earning years included in their calculation. This can have a more significant negative impact than five years of very low earnings. This is why working longer can be so beneficial. Each additional year you work, especially if it's a high-earning year, can replace a $0 year (or a low-earning year from early in your career), directly increasing your AIME. You can explore different retirement ages with the Retirement Age Calculator.
Understanding Your Results
- Estimated AIME: This is your average monthly earnings over your highest 35 working years, based on the inputs you provided. It's the core number used to determine your benefit size.
- Years of Earnings: This shows the total number of working years in your record (past and future). The closer this is to 35 (or more), the stronger your record.
- Zero-Earning Years: This critical number shows how many years of $0 earnings are being used in your 35-year average. A number greater than zero indicates a clear opportunity to improve your benefit by working longer.
- Estimated PIA (Primary Insurance Amount): This is your estimated monthly Social Security benefit at full retirement age, calculated from your AIME. Your actual benefit will be lower if you claim early or higher if you delay.
- Earnings History Strength: This score gives you a quick read on your AIME potential. A high score (80+) suggests a solid record with 35+ years of earnings. A lower score suggests there are zero-earning years pulling down your average.
- AIME with Additional Working Years Chart: This bar chart visualizes the power of working longer. It shows how each additional year of work at your expected future earnings can replace a low or zero-earning year, boosting your AIME.
Ways To Improve Your Results
If your estimated AIME is lower than you'd like, there are several ways to increase it.
- Work for at least 35 years. This is the most effective way to improve your AIME. Each year you work up to 35 eliminates a zero from your calculation.
- Work longer to replace low-earning years. Even if you already have 35 years of earnings, working an additional year at a high salary can replace a year of low earnings from decades ago (e.g., a part-time job in college), leading to a higher AIME.
- Increase your earnings. Since the AIME is based on your income, earning more will boost your 35-year average. This is effective up to the annual Social Security wage base limit ($176,100 in 2025, adjusted annually).
- Check your earnings record for errors. Visit the Social Security Administration's website (SSA.gov) to view your official earnings record. If you find any errors (like a year with missing income), you can submit documentation to have it corrected.
Deciding when to take Social Security is another key decision. Delaying your claim past full retirement age increases your monthly benefit, though it doesn't change your underlying AIME.
Common Mistakes
- Forgetting about the 35-year rule. Many people assume all their working years are simply averaged. Understanding that only the highest 35 are used is key to planning.
- Ignoring zero-earning years. A 25-year career of high earnings can result in a surprisingly low benefit because ten zero-earning years are factored into the AIME.
- Confusing AIME with the final benefit. AIME is the input, not the output. Your actual benefit is the PIA, which is then adjusted based on your claiming age.
- Not checking your official SSA record. Your memory of past earnings can be faulty. Always verify your numbers against your official record on SSA.gov to ensure accuracy and spot any errors.
Frequently Asked Questions
Quick answers to the questions people usually have after running the retirement calculator.
1What is a good AIME for Social Security?
A "good" AIME is relative, but aiming for an AIME that reflects a strong career of earnings is a solid goal. An AIME above $7,000, for example, would put you into the highest PIA bracket, though any amount provides a benefit. The maximum possible AIME is tied to the maximum taxable earnings each year.
2How many years do you need to work for Social Security?
You need at least 10 years of work (earning 40 "credits") to be eligible for retirement benefits. However, the benefit amount is calculated using your highest 35 years of earnings. Working for only 10 years means 25 zero-earning years will be used in your AIME calculation, resulting in a very low benefit.
3Do years with zero earnings hurt my Social Security?
Yes, absolutely. If you have fewer than 35 years of earnings, the Social Security Administration will add years with $0 earnings to your record to reach 35. Each zero-earning year significantly lowers your AIME and, consequently, your retirement benefit.
4What is the difference between AIME and PIA?
AIME (Average Indexed Monthly Earnings) is the average of your 35 highest-earning years. PIA (Primary Insurance Amount) is the benefit amount calculated from your AIME using the bend point formula. Think of AIME as the input and PIA as the output.
5How does wage indexing affect my AIME?
The SSA uses a national wage index to adjust your past earnings to today's wage levels before calculating your AIME. This ensures your earnings from decades ago are valued fairly. This calculator uses a simplified model but still provides a reliable estimate.
6Can I increase my AIME after I start collecting benefits?
Yes. If you continue to work while receiving Social Security benefits, the SSA will review your earnings record each year. If your recent year of work is one of your highest 35, it will replace a lower year, and your AIME and benefit will be recalculated and increased. See our earnings while working calculator.
7Is there a maximum AIME?
Yes, your AIME is limited by the maximum amount of earnings subject to Social Security tax each year. You cannot get credit for earnings above this annual cap, which adjusts for inflation.
8Where can I find my official earnings history?
You can create a "my Social Security" account at SSA.gov to view your full, year-by-year earnings history and get a personalized benefit estimate.
9Does this calculator work for spousal or survivor benefits?
No, this calculator focuses only on your own retirement benefit based on your work record. Spousal and survivor benefits have different calculation rules.
10How does this calculator relate to the main Social Security calculator?
This AIME calculator shows you the "why" behind the numbers. The main Social Security Calculator provides a final benefit estimate based on claiming age, but this tool breaks down the foundational AIME calculation so you can see how your work history directly impacts that result.
Start Planning Your Social Security
Understanding your AIME is the first step toward mastering your Social Security benefits. Use the calculator above to see where you stand and model how future work can strengthen your financial foundation for retirement.
Once you have your AIME estimate, explore other tools to complete the picture. Use the Social Security PIA Calculator to see the bend point formula in action, or use the Social Security Break-Even Calculator to decide on the optimal age to claim. For a full overview of all planning tools, visit the main retirement calculators page.