How the 401(k) calculator works
The calculator projects your account one year at a time until your retirement age. Each year, it takes your contribution percent of that year's salary, caps it at the 2026 limit for your age, and adds your employer's match. Deposits go in monthly, like paycheck deductions, and the balance grows at your yearly return, compounded monthly. Your salary rises by the raise you enter at the start of each new year.
The match works the way most plans describe it: your employer puts in a percent of what you contribute, on up to a set percent of your pay. A match of 50% up to 6% means that if you put in 6% or more, your employer adds 3% of your pay. Put in 4% and you get 2%.
The result is your balance before taxes on withdrawals. The today's-dollars figure divides it by inflation over the same years, so you can compare it with prices now.
The formula
Your deposit each year = min(salary × contribution %, 2026 limit for your age)
Match = salary × min(your %, matched-up-to %) × match %
Each month: balance = balance × (1 + return ÷ 12) + (deposit + match) ÷ 12
Worked example
You're 35, earn $75,000, have $25,000 saved, and put in 10% of your pay. Your employer matches 50% up to 6%. You expect 2% raises and a 6% return, and plan to retire at 65.
| First-year contribution (10% of $75,000) | $7,500.00 |
|---|---|
| First-year match (50% of 6% of $75,000) | $2,250.00 |
| Starting balance | $25,000.00 |
| Your contributions over 30 years | $304,260.59 |
| Employer match over 30 years | $91,278.18 |
| Investment growth | $742,734.65 |
| Balance at 65 | $1,163,273.42 |
With 2.5% inflation, that balance is worth about $554,582 in today's dollars. Growth makes up more than half of the total, which is why starting early matters as much as the amount you save.
What changes your result
Your contribution rate
Each extra percent of pay compounds for decades. If your plan offers automatic increases, raising your rate by 1% a year, or putting part of each raise toward savings, can lift the balance without a big drop in take-home pay.
Getting the whole match
If you contribute less than the matched-up-to percent, you leave part of the match behind. Check your plan's vesting schedule too: you may need to stay a certain number of years to keep all of the employer money.
Limits and high pay
For 2026, deferrals are capped at $24,500, with an $8,000 catch-up at 50 and older and $11,250 at ages 60 to 63. Total contributions from you and your employer have a separate, higher yearly cap, and plans can match only on pay up to an IRS limit, so very high earners may see a smaller match than this shows. Starting in 2026, people who earned more than an IRS-set amount in FICA wages the prior year must make catch-up contributions as Roth.