401k Calculator

Emerging AI Skill PRO

Enter Calculation

years
years
years
%
%
Employer match
%
%
"50% up to 6%" means your employer adds 50 cents for every dollar you put in, on the first 6% of your pay.
Add a second or third match tier
%
%
%
%
Safe harbor "100% on 3% + 50% on the next 2%" = tier 1: 100% up to 3, tier 2: 50% up to 5.
Assumptions
%
%
%
years
%
%
%
The emergency exception applies if your vested balance is over $2,000.
%
years
%
years
%
%
%

Formula

By+1=By+Cy+Byr+Cyr2B_{y+1} = B_y + C_y + B_y\,r + C_y\,\dfrac{r}{2}
Show calculation steps (3)
  1. Employer match (tiers)

    M=S·∑kmk(min⁡(c,uk)−uk−1)M = S \cdot \sum_k m_k \big(\min(c, u_k) - u_{k-1}\big)

    Each tier k pays m_k on the part of your contribution rate between the previous tier's limit and its own limit u_k. If the IRS limit stops your contributions mid-year, the match is cut by the same share unless the plan does a true-up.

  2. IRS contribution limit by age

    L=24,500+{11,25060≤age≤638,000age≥500otherwiseL = 24{,}500 + \begin{cases} 11{,}250 & 60 \le \text{age} \le 63 \\ 8{,}000 & \text{age} \ge 50 \\ 0 & \text{otherwise} \end{cases}

    The 2026 elective deferral limit plus the catch-up for your age in that calendar year; later years are indexed with inflation and rounded down to the next $500.

  3. Level payout until life expectancy

    P=BNq1−(1+q)−nP = \dfrac{B_N\,q}{1 - (1+q)^{-n}}

    The final balance paid out in equal amounts over n periods at the same return q per period.

Usage stats

Advertisement

Results

Balance at retirement
$1,097,013
at age 67, after years of saving: 32

At age 67, you'd have about: $1.10M (about, in today's dollars: $498k). Your employer adds: $110k.

You already get the full employer match.

In today's dollars$497,792
Your contributions$220,512
Employer match$110,256
Investment returns$726,245
Your contribution per paycheck (year 1, 26 paychecks)$161.54
Match you're missing (year 1)$0
Age you first hit the IRS limitNever
Monthly payout until life expectancy$7,337
Annual payout until life expectancy$89,164
Balance after retirement taxes$855,670
How your balance builds up
Starting balance$40,000
Your contributions$220,512
Employer match$110,256
Investment returns$726,245
Year by year
AgeContributionMatchReturnEnd balance
36 $4,200 $2,100 2,589 $48,889
37 $4,326 $2,163 3,128 $58,506
38 $4,456 $2,228 3,711 $68,901
39 $4,589 $2,295 4,341 $80,125
40 $4,727 $2,364 5,020 $92,236
41 $4,869 $2,434 5,753 $105,293
42 $5,015 $2,508 6,543 $119,359
43 $5,165 $2,583 7,394 $134,501
44 $5,320 $2,660 8,309 $150,791
45 $5,480 $2,740 9,294 $168,305
46 $5,644 $2,822 10,352 $187,124
47 $5,814 $2,907 11,489 $207,334
48 $5,988 $2,994 12,710 $229,026
49 $6,168 $3,084 14,019 $252,297
50 $6,353 $3,176 15,424 $277,250
51 $6,543 $3,272 16,929 $303,994
52 $6,740 $3,370 18,543 $332,647
53 $6,942 $3,471 20,271 $363,331
54 $7,150 $3,575 22,122 $396,178
55 $7,365 $3,682 24,102 $431,327
56 $7,586 $3,793 26,221 $468,926
57 $7,813 $3,907 28,487 $509,133
58 $8,048 $4,024 30,910 $552,115
59 $8,289 $4,145 33,500 $598,049
60 $8,538 $4,269 36,267 $647,122
61 $8,794 $4,397 39,223 $699,536
62 $9,058 $4,529 42,380 $755,502
63 $9,329 $4,665 45,750 $815,247
64 $9,609 $4,805 49,347 $879,008
65 $9,898 $4,949 53,186 $947,040
Show the remaining years
66 $10,195 $5,097 57,281 $1,019,613
67 $10,500 $5,250 61,649 $1,097,013

Limits indexed with inflation and rounded down like the IRS does; 60–63 catch-up on.

Your starting balance and the employer match are treated as pre-tax money.

Limits not yet announced: 2027 (IRS usually announces in Oct–Nov).

Estimates for education only; not investment or tax advice. Plan rules and future IRS limits vary.

Report an error on this page

Saving 6% of a $70,000 salary with a 50% match from age 35 could grow to about $1.1 million by 67 at a 6% return. Your result depends on your match formula, raises and the 2026 IRS limit of $24,500 ($32,500 at 50+, $35,750 at 60–63).

How to use this 401k calculator

Pick what you want to work out at the top of the form. Balance at retirement projects your account year by year. Tax on a withdrawal shows what you keep after tax and the early-withdrawal penalty. 401(k) loan gives the most you can borrow and the payment. Roth vs traditional compares the two account types. How much to get the full match tells you the smallest contribution that collects every dollar your employer offers.

For the balance projection, enter your age, the age you plan to retire, your salary and how much you have saved so far. Your contribution is a percentage of pay, the same way your payroll form asks for it. Leave the expected return at 6% and inflation at 2.5% if you have no better estimate.

Your employer match is written in your plan's Summary Plan Description, usually as a sentence such as "50% of the first 6% of pay". Enter 50 as the match and 6 as the limit. Some employers use two steps, for example "100% on the first 3% and 50% on the next 2%": open the extra tiers and enter 100 up to 3, then 50 up to 5. If you want to see your take-home pay after the deduction, use the paycheck calculator. If you have a 403(b) instead, the 403(b) calculator uses the same limits.

401k contribution limits 2026

The IRS raises the limits most years. These are the figures the calculator uses for 2026.

Limit 2026 Source
Your own contributions (402(g)) $24,500 IRS IR-2025-111
Catch-up from age 50 $8,000 (total $32,500) IRS IR-2025-111
Catch-up at ages 60 to 63 $11,250 (total $35,750) IRS IR-2025-111
Total from you and your employer (415(c)) $72,000 IRS Notice 2025-67
Salary that counts toward contributions (401(a)(17)) $360,000 IRS Notice 2025-67
Prior-year FICA wages above which catch-up must be Roth $150,000 IRS Notice 2025-67

The limits apply from January 1 to December 31, 2026. The IRS usually announces the next year's numbers in October or November; the 2027 limits had not been announced when this page was last updated.

How employer matching works (and how not to leave money on the table)

A match is money your employer adds when you contribute. With "50% up to 6%", every dollar you put in, up to 6% of your pay, brings 50 cents from your employer. On a $70,000 salary that is up to $2,100 a year, but only if you contribute at least 6%. Contribute 3% and you collect half of it.

Watch out for hitting the IRS limit early in the year. Most employers match each paycheck. If you earn $300,000 and contribute 15%, you reach the $24,500 limit around July. Your contributions stop, and so does the match: the calculator shows $9,800 of match instead of $18,000, so $8,200 is lost. Plans with a true-up pay the missing match after year end. If yours does not, spread your contributions so they last all year.

Matched money may also be subject to a vesting schedule, which means you keep it only after a number of years with the employer. The calculator assumes you stay long enough to keep it.

Catch-up contributions: age 50, and the 60–63 super catch-up

From the calendar year you turn 50, you can add a catch-up contribution of $8,000 on top of the $24,500 limit. You count as 50 for the whole year even if your birthday is in December. In the years you turn 60, 61, 62 and 63, the catch-up rises to $11,250 under SECURE 2.0, so you can put in $35,750. From 64 it goes back to the regular $8,000.

From 2026, if your FICA wages from your employer in the previous year were over $150,000, your catch-up contributions must go in as Roth (after-tax) money. The calculator shows a note when this could apply to you.

How we calculate your 401k balance

The calculator works one year at a time. Each year your salary grows by the raise you entered. Your contribution is your percentage of that salary, capped at the IRS limit for your age. The match follows your employer's tiers, and when your contribution is cut off by the limit, the match is cut by the same share unless your plan does a true-up. The total from you and your employer is capped at the 415(c) limit.

Investment growth is your balance times the return, plus half a year of growth on the money you added during the year, because contributions arrive with every paycheck rather than on January 1. For years after 2026 the limits rise with inflation and are rounded down to the next $500 ($1,000 for the 415(c) total, $5,000 for the salary cap), the way the IRS rounds them. The monthly and annual payouts spread your final balance evenly until your life expectancy at the same return. This is the same math as a compound interest calculator, with contributions and limits added.

Advertisement

Example: $70,000 salary, 6% + 50% match

  • Year 1: you put in 6% × $70,000 = $4,200. Your employer matches 50% of that = $2,100.
  • Growth in year 1: $40,000 × 6% + ($6,300 × 6% ÷ 2) = $2,400 + $189 = $2,589.
  • End of year 1: $40,000 + $6,300 + $2,589 = $48,889.
  • Repeat for 32 years with 3% raises: $1,097,013 at 67, of which you contributed $220,512, your employer $110,256, and returns $726,245. In today's dollars (2.5% inflation): $497,792.

Taxes and penalties on 401k withdrawals

Money from a traditional 401(k) is taxed as income when you take it out. Before age 59½ you usually owe an extra 10% tax as well. Take out $20,000 at age 45 with a 22% federal and 5% state tax rate, and you pay $4,400 + $1,000 + $2,000 penalty: you keep $12,600.

The 10% does not apply if you leave your employer during or after the year you turn 55 and take the money from that employer's plan (the "rule of 55"). In the same example at age 56 you keep $14,600. Other exceptions include total and permanent disability, a series of substantially equal payments, payments to an ex-spouse under a court order (QDRO), up to $5,000 per child for a birth or adoption, and one emergency withdrawal of up to $1,000 a year.

When a withdrawal could be rolled over, the plan must withhold 20% for federal tax. That is a prepayment, not the final bill: you settle the difference on your tax return. Hardship withdrawals are not subject to the mandatory 20%.

401k loan vs withdrawal

A 401(k) loan is not taxed if you repay it on time. You can borrow up to 50% of your vested balance, but no more than $50,000. If you had a loan in the last 12 months, the $50,000 is reduced by the highest balance you had in that period minus what you owe today, and the new loan plus what you owe today must stay under the limit. Some plans let you borrow up to $10,000 even when that is more than half your balance.

You must repay within five years, or longer if the loan buys your main home. A $20,000 loan at 8.25% over five years costs $407.93 a month and $4,475.50 of interest, which goes back into your own account. The real cost is the growth you miss while the money is out of the market. If you leave your job, an unpaid balance can become a taxable distribution.

Roth 401k vs traditional 401k

With a traditional 401(k) you skip tax now and pay it when you withdraw. With a Roth 401(k) you pay tax now and withdraw tax-free later. The better choice depends on whether your tax rate is higher now or in retirement. Putting $10,000 of pre-tax pay a year aside for 30 years at 7%, with 24% tax now and 22% later, the traditional account ends about $1,522 ahead for each year's contribution ($59,376 against $57,853). If you expect a higher rate later, Roth wins.

For the same choice in an IRA, see Roth IRA vs traditional IRA. If you are thinking of moving money into a Roth account, check the tax on a Roth conversion first.

How much should you have in your 401k by age?

There is no single right number: it depends on your income, when you started and the other savings you have. Run your own numbers above with your real salary and balance, then compare your total savings with typical benchmarks using the retirement savings by age calculator.

Advertisement

What this calculator doesn't model

The projection uses a steady return each year, so it does not show market swings. It does not include fund fees, Social Security, required withdrawals after 73 (use the required minimum distributions (RMD) calculator for those), state penalties on early withdrawals, the after-tax basis of Roth money when you withdraw, double taxation of loan interest, a Roth employer match, unreimbursed medical expenses or the domestic abuse exception. Your starting balance and the employer match are treated as pre-tax money.

Frequently asked questions

How much can I contribute to my 401k in 2026? You can put in $24,500. From the year you turn 50 you can add $8,000 more ($32,500), and at ages 60 to 63 you can add $11,250 instead ($35,750). Your contributions and your employer's together are capped at $72,000.

When will the 2027 401k limits be announced? The IRS usually announces them in October or November. The 2026 limits were announced on November 13, 2025. We update this calculator within 48 hours of the announcement.

How does a 401k match work, e.g. "50% up to 6%"? Your employer adds 50 cents for every dollar you contribute, on the first 6% of your pay. On a $70,000 salary you need to contribute $4,200 a year to get the full $2,100 match.

How much should I have in my 401k at 30, 40 and 50? It depends on your salary, when you started and your other savings. Enter your own salary and balance above to see where you are heading, and compare with typical benchmarks in the retirement savings by age calculator.

How much tax will I pay on a 401k withdrawal? It is taxed as income, plus a 10% penalty before 59½ unless an exception applies. A $20,000 withdrawal at 45 with 22% federal and 5% state tax leaves you $12,600.

How much can I borrow from my 401k? Up to 50% of your vested balance, with a maximum of $50,000, reduced by any loan you had in the last 12 months. Some plans allow up to $10,000 even if that is more than half your balance.

Should I choose a Roth 401k or a traditional 401k? Compare your tax rate now with the rate you expect in retirement. At 24% now and 22% later, traditional ends about $1,522 ahead on $10,000 over 30 years at 7%; if you expect a higher rate later, Roth comes out ahead.

Do employer contributions count toward the $24,500 limit? They count toward a different cap. The $24,500 limit covers only your own contributions; employer money counts toward the $72,000 total limit for you and your employer together.

Sources

Drafted with AI assistance and checked against 54 test cases using the 2026 IRS limits.

Last updated:

Most popular in Financial

View all Financial calculators