401(k) Calculator

Project your 401(k) balance with your contributions, your employer’s match and salary growth, capped at the 2026 IRS limits for your age. Then compare a traditional and a Roth 401(k) after tax, using your tax rate now and in retirement.

Calculator Finance Updated Oct 4, 2026
Learn how this works
How to Use
  1. Enter your age, the age you plan to retire and what is already in your 401(k).
  2. Enter your salary, the percent you contribute and how fast your pay grows each year.
  3. Enter your employer’s match: the percent it matches (50% is common) and the percent of salary it matches up to (often 6%).
  4. Set the expected return, then your tax rate now and the rate you expect in retirement to compare traditional and Roth.
  5. Read the balance, the match you collect and both after-tax values. Rows that hit the 2026 IRS limit are highlighted in the year-by-year table.
Your 401(k)
years
years
$
$ / yr
% of pay
% / yr
% of yours
% of pay
% / yr
%
%

2026 IRS limits used for each year by your age: $24,500; $32,500 from 50; $35,750 at 60–63 (IRS IR-2025-111).

Presets
Balance and After-Tax Value
Balance at retirement
—
Employer match added
—
Traditional after tax
—
Roth after tax
—

Worked Example

Taking the full match. You are 30, earn $60,000 and have $10,000 in your 401(k). You contribute 6% ($3,600) and your employer matches 50% up to 6% ($1,800). With 3% raises and a 7% return, compounded monthly, you have $16,300 after one year and $1,483,225 at 67: $238,227 from you, $119,114 from your employer and $1,115,884 of growth.

Traditional or Roth. You pay 22% tax now and expect 12% in retirement. Withdrawn from a traditional 401(k), the balance is worth $1,483,225 × (1 − 12%) = $1,305,238. A Roth contribution that costs the same take-home pay grows to $1,215,176 after tax, so traditional wins by $90,062. Swap the rates and Roth would win.

The common mistake: contributing less than the match limit. Putting in 4% instead of 6% saves $1,200 of pay in the first year but gives up $600 of match. By 67 the balance is $1,032,916 instead of $1,483,225: $450,309 less, of which $39,705 is match you never collected. Always contribute at least up to the match limit.

Show Work

Enter your details to see the step-by-step working.

Formulas

Your contribution
D = min(c × S, limit for your age)
Contribution percent c times salary S, capped at $24,500, $32,500 from 50, or $35,750 at 60–63 (2026)
Employer match
M = m × min(D, cap × S)
The match rate m on your contribution, counting only up to the match cap (percent of salary)
One year of growth
B′ = B(1 + i)12 + (D + M)/12 × ((1 + i)12 − 1)/i
Monthly contributions at i = annual return ÷ 12
Traditional after tax
T = B × (1 − tlater)
Everything is taxed as income when you withdraw it
Roth after tax
R = Byou(1 − tnow) + Bmatch(1 − tlater)
Same take-home cost: your part is taxed on the way in, the match on the way out
The deciding rule
R − T = Byou × (tlater − tnow)
Roth wins when your tax rate in retirement is higher than now

From a Tax-Code Paragraph to America’s Main Retirement Plan

The 401(k) is named after the paragraph of the Internal Revenue Code that created it, added by the Revenue Act of 1978. The section was meant for a narrow kind of deferred pay, but in 1980 benefits consultant Ted Benna saw that it could let ordinary employees save part of their salary before tax, with the employer adding a match, and set up the first plan built that way.

The Roth 401(k), where you pay tax now and withdraw tax-free, followed in 2006. The SECURE 2.0 Act of 2022 added the higher catch-up for workers aged 60 to 63 and made the IRA catch-up rise with inflation.

The IRS adjusts the limits most years. For 2026 the employee limit is $24,500 (up from $23,500), the age-50 catch-up $8,000 (up from $7,500) and the age 60–63 catch-up stays $11,250. Source: IRS news release IR-2025-111, November 13, 2025, and Notice 2025-67.

About This Tool

This calculator follows a 401(k) one year at a time. Your pay grows, your contribution is capped at the 2026 IRS limit for your age that year, your employer’s match is worked out from what you actually put in, and everything grows monthly. It then compares a traditional and a Roth 401(k) at the same cost to your take-home pay, so the only difference is when you pay the tax. Limits are held at 2026 levels and the match is treated as pre-tax money. Plan rules such as vesting schedules and the overall cap on employer plus employee money are not modelled.

Everything runs in your browser; nothing you enter is sent anywhere. Estimates for planning and education — not financial, tax or legal advice.

Related tools: Retirement Calculator, Roth IRA Calculator, and Compound Interest Calculator.

Frequently Asked Questions

What is the 401(k) contribution limit for 2026?

You can defer up to $24,500 of your pay in 2026, up from $23,500 in 2025. From age 50 you can add an $8,000 catch-up, for $32,500 in total, and under SECURE 2.0 workers aged 60, 61, 62 and 63 get a higher catch-up of $11,250 instead, for $35,750. The same limits apply to 403(b), governmental 457 plans and the Thrift Savings Plan (IRS news release IR-2025-111).

How does an employer match work?

A “50% up to 6%” match adds 50 cents for every dollar you put in, on up to 6% of your salary. On a $60,000 salary, contributing 6% ($3,600) brings in $1,800 from your employer. Contributing 4% ($2,400) brings in only $1,200, so the last 2% of pay you hold back costs you $600 of employer money a year.

Should I choose a traditional or a Roth 401(k)?

Compare them at the same cost to your paycheck: it comes down to your tax rate now against your tax rate when you withdraw. A 22-year-old paying 12% now who expects 22% later ends up $236,162 better off with Roth; someone paying 22% now who expects 12% later ends up $90,062 better off with traditional. With equal rates they come out exactly the same.

What happens when I hit the limit?

Your contributions stop at the IRS limit for that year and the rest of your percentage goes to your paycheck. At 50 on $200,000, 20% would be $40,000, but only $32,500 can go in; from 60 to 63 the limit rises to $35,750. The employer match does not count toward your $24,500 limit. At the limit a Roth holds more, because each dollar inside it has already been taxed.

How much could my 401(k) be worth?

A 30-year-old earning $60,000 with $10,000 saved, putting in 6% with a 50% match up to 6%, 3% raises and a 7% return, reaches $1,483,225 by 67. Only $238,227 of that is their own money and $119,114 is the match; $1,115,884 is investment growth, which is why starting early matters so much.

How do I use the 401(k) Calculator?

Just type your numbers. The answer shows up right away — there is no button to press. Change anything and it updates by itself.

Is it free? Does it work without internet?

Yes to both. It is free with no sign-up, and once the page has loaded it keeps working even with no internet.

Where does my data go?

Nowhere — every calculation runs on your own device. Nothing you enter is uploaded, logged, or stored.

Common Use Cases

Capturing the full match

On $60,000 with a 50% match up to 6%, raising your contribution from 4% to 6% lifts the balance at 67 from $1,032,916 to $1,483,225.

Choosing Roth or traditional

At 12% tax now and 22% later, a Roth 401(k) leaves a first-job saver $2,630,849 after tax against $2,394,686 for traditional.

Maxing out after 50

At 50 on $200,000, the limit is $32,500 a year, rising to $35,750 from 60 to 63: $500,500 of contributions in 15 years.

Catching up late

Starting at 55 with $150,000 and contributing the maximum every year, the balance reaches $946,413 by 67 at a 6% return.

Open enrollment

Check a 15% contribution with a 100% match up to 4% on $100,000: $2,813,761 by 67, of which $162,839 is the match.

Last updated: