What Earnings Are Used to Calculate Social Security Benefits?
Use this premium estimator to see which earnings count toward Social Security, how the 35-year rule works, how the taxable maximum affects high earners, and how those earnings translate into estimated monthly retirement benefits.
Enter the average yearly earnings that were subject to Social Security payroll tax.
Social Security uses your highest 35 years. Fewer than 35 years means zero years are included.
Used for bend points and the annual taxable maximum in this estimate.
This estimator assumes a full retirement age of 67 for adjustment purposes.
Optional. Use this if part of your earnings came from work not covered by Social Security, such as certain public pensions or exempt employment.
How Social Security decides what earnings count
If you have ever wondered what earnings are used to calculate Social Security benefits, the short answer is this: the Social Security Administration generally uses your highest 35 years of earnings that were covered by Social Security payroll taxes. Those earnings are first adjusted through a wage-indexing process in most cases, then averaged to create your Average Indexed Monthly Earnings, commonly called AIME. From there, Social Security applies a progressive formula to determine your Primary Insurance Amount, or PIA, which is the base monthly benefit payable at full retirement age.
That simple overview hides some important details. Not all income counts. Wages from jobs that were not covered by Social Security usually do not count toward the retirement benefit formula. In addition, even covered earnings only count up to the annual taxable maximum. If you earn more than that maximum in a given year, the amount above the cap is not used in the Social Security benefit formula.
What types of earnings are included?
For most workers, the earnings used to calculate Social Security benefits include wages and self-employment income that were subject to the Social Security portion of FICA or SECA taxes. In plain English, if Social Security tax was paid on that income, it is generally part of your record.
Earnings that usually count
- W-2 wages from covered employment
- Net earnings from self-employment when Social Security self-employment tax was paid
- Deferred compensation and other wage items that remain subject to Social Security tax
- Military service earnings in situations recognized by the Social Security Administration
Earnings that may not count or may count only partially
- Income above the annual Social Security taxable maximum
- Earnings from certain state or local government jobs not covered by Social Security
- Certain railroad employment, which may be covered under a separate system
- Investment income such as interest, dividends, and capital gains
- Pension income, rental income, and withdrawals from retirement accounts
This is why two people with the same total lifetime income can have very different Social Security benefits. One may have earned almost everything in covered wages, while the other may have earned a large share through investment income, pensions, or non-covered public employment.
The 35-year rule explained
The 35-year rule is one of the most important ideas to understand. Social Security looks across your full earnings record and picks the highest 35 years after indexing. If you worked fewer than 35 years in covered employment, the missing years are filled with zeros. Those zero years can materially reduce your average and lower your benefit.
For example, suppose Worker A had 35 years of covered earnings averaging $70,000. Worker B had 25 years of covered earnings averaging $70,000 but stopped working early. Worker B will not be treated as having 25 years only. Instead, Social Security still divides by a 35-year base, meaning 10 years of zeros are included. That pulls down the average indexed monthly earnings and leads to a lower retirement benefit.
Why extra years can still help late in your career
Even after 35 years of work, another year of earnings can still increase your future benefit if it replaces one of your lower years in the top-35 calculation. This is especially relevant for people whose early-career earnings were low or who had time out of the workforce.
How the taxable maximum affects the calculation
Each year, Social Security sets a maximum amount of earnings that are subject to the Social Security payroll tax. Earnings above that cap are not taxed for Social Security and are also not used in the retirement benefit formula. This matters most for high earners.
| Year | Social Security taxable maximum | Implication for benefit calculation |
|---|---|---|
| 2022 | $147,000 | Only earnings up to $147,000 are counted for Social Security tax and benefit purposes. |
| 2023 | $160,200 | Earnings above $160,200 do not increase Social Security retirement benefits. |
| 2024 | $168,600 | Covered earnings are capped at $168,600 in the Social Security formula. |
| 2025 | $176,100 | Any covered earnings above $176,100 are excluded from Social Security retirement calculations. |
These annual caps are published by the Social Security Administration and are among the most important real-world limits in benefit planning. If you earn $250,000 in a year when the taxable maximum is $176,100, only $176,100 counts for Social Security retirement benefit purposes.
Average Indexed Monthly Earnings, or AIME
After Social Security identifies your covered earnings record, it usually indexes prior years to account for changes in wage levels over time. This protects workers from being penalized simply because wages were lower decades ago. Once indexed, the administration takes the highest 35 years, totals them, and divides by the number of months in 35 years, which is 420 months. The result is your AIME.
- Gather covered earnings history
- Apply annual taxable maximum limits
- Index eligible years for wage growth
- Select the highest 35 years
- Divide by 420 months to calculate AIME
The calculator above provides a simplified estimate and does not replicate the full wage-indexing methodology the SSA uses on a year-by-year basis. However, it correctly demonstrates the core mechanics: covered earnings, 35 years, annual caps, and the monthly averaging process.
How AIME turns into your monthly benefit
Social Security uses a progressive formula with bend points. This means lower portions of your AIME are replaced at higher rates than upper portions. In practical terms, the formula is designed to replace a higher share of earnings for lower-wage workers than for high-wage workers.
| Formula year | First bend point | Second bend point | PIA formula |
|---|---|---|---|
| 2024 | $1,174 | $7,078 | 90% of first $1,174, 32% of next $5,904, 15% above $7,078 |
| 2025 | $1,226 | $7,391 | 90% of first $1,226, 32% of next $6,165, 15% above $7,391 |
This formula produces your Primary Insurance Amount at full retirement age. If you claim early, your monthly benefit is reduced. If you delay beyond full retirement age, your monthly benefit rises through delayed retirement credits until age 70.
What does not count as earnings for Social Security benefits?
A common misconception is that all income helps increase retirement benefits. That is not true. Social Security is based on covered earnings, not total wealth or total taxable income. The following income sources generally do not count toward the retirement formula:
- 401(k) withdrawals
- IRA withdrawals
- Capital gains from selling investments
- Interest from bank accounts or bonds
- Dividends from stocks or mutual funds
- Rental income in many common situations
- Pension income after retirement
This distinction matters when planning retirement income. A household may be financially secure due to investment assets but still receive a modest Social Security benefit if covered wage earnings were limited or interrupted.
How non-covered work can change the picture
Some workers spend part or all of their careers in jobs not covered by Social Security, especially in certain state and local government systems. In those cases, earnings from that employment may not appear in the Social Security retirement formula. If the worker also has a pension from non-covered employment, additional coordination rules may apply, such as the Windfall Elimination Provision for some beneficiaries, depending on the worker’s status and applicable law.
That is why it is useful to separate covered earnings from non-covered earnings. The calculator above includes an optional field for non-covered earnings to help illustrate how much annual income may be excluded from Social Security benefit calculations.
Real statistics that put the formula in context
Understanding what earnings count is easier when you compare the formula with actual Social Security statistics. According to the Social Security Administration, the maximum taxable earnings base has increased meaningfully in recent years, and the average monthly retirement benefit for retired workers has remained far below the maximum possible benefit. That gap exists because few workers consistently earn at or above the taxable maximum for 35 years.
- The 2024 Social Security taxable maximum is $168,600.
- The 2025 Social Security taxable maximum is $176,100.
- The 2024 average retired worker benefit was roughly around the high $1,900s per month depending on the month reported by SSA updates.
- The maximum possible retirement benefit at age 70 is far higher, but requires a long history of earnings at or above the taxable maximum and delayed claiming.
In other words, most people do not receive the maximum benefit because most people do not have 35 years of earnings at the taxable maximum. Benefit outcomes are strongly tied to the level, consistency, and Social Security coverage status of earnings over a full career.
Common mistakes people make when estimating benefits
1. Assuming all income counts
As noted above, investment income and retirement account withdrawals do not increase your Social Security retirement benefit.
2. Ignoring the 35-year averaging period
Stopping work after 25 or 30 years may leave several zero years in the formula unless you already have 35 counted years.
3. Forgetting the annual taxable maximum
Very high earnings can improve benefits, but only up to the annual Social Security wage cap.
4. Overlooking claiming age adjustments
Your earnings record determines the base amount, but your claim age still affects the monthly check you actually receive.
5. Not checking your official earnings record
An incorrect earnings record can lead to an incorrect benefit amount. It is smart to review your personal Social Security statement regularly.
How to verify your own earnings record
The most reliable way to see what earnings the government has on file is through your personal Social Security account. The SSA allows workers to review annual earnings histories, estimated retirement benefits, disability coverage, and survivor benefit information online. If you see a missing year or a suspiciously low amount, you can contact the SSA and provide documentation such as W-2 forms or tax records.
Helpful official resources include:
- Social Security Administration: my Social Security account
- Social Security Administration: Contribution and Benefit Base
- Social Security Administration: Retirement benefit planning tools
- Boston College Center for Retirement Research
Bottom line: what earnings are used to calculate Social Security benefits?
The earnings used to calculate Social Security benefits are generally your highest 35 years of covered earnings, after applying Social Security rules such as annual taxable maximum limits and wage indexing. If you have fewer than 35 covered years, zeros are included. If you earned above the taxable maximum, the excess does not count. If some of your career was in non-covered work, those wages may not be included at all.
That means the most important drivers of your Social Security retirement benefit are:
- How many years you worked in covered employment
- How high your covered earnings were in those years
- Whether those earnings reached or exceeded the taxable maximum
- Whether you had zero or low-earning years that remain in the top-35 average
- Your age when you claim benefits
If you want the most accurate estimate possible, compare the calculator results on this page with your official SSA earnings statement. The official record is what ultimately determines your benefit. Still, this calculator is a strong planning tool because it helps you see the exact economic logic behind the benefit formula: covered earnings in, monthly retirement benefit out.