401(k) Retirement Calculator
See what your 401(k) is on track to be worth — and how much of it your employer paid for.
Full match assumed up to this % of salary. Contribute less than this and you are only matched on what you actually put in.
Contributions are spread through the year, so each year's money earns about half a year of growth. Returns are nominal — inflation, fees and taxes are not deducted.
How the projection works
This calculator runs your 401(k) forward one year at a time rather than applying a single compound-interest formula, because the two moving parts — your salary and your balance — grow at different rates. Each year it works out what you pay in as a percentage of that year's salary, adds what your employer matches, grows the balance you already had by the expected return, and then gives the new contributions credit for roughly half a year of growth. That half-year convention matters: money paid in through payroll deductions arrives a bit at a time, so treating it as if it had been invested on 1 January overstates the result by a few percent over a long career.
The employer match is calculated as the smaller of your contribution rate and the match cap. If your plan matches dollar for dollar up to 4% of salary and you contribute 10%, you get the full 4%. If you contribute 3%, you get 3% — not 4%. Salary then grows by your assumed raise percentage and the loop repeats until the year before your retirement age.
Worked example: 30 years old, retiring at 65
Take the defaults: 25,000 already saved, a 70,000 salary, 10% from you, a 4% employer match, 7% returns and 3% annual raises. In year one you pay in 7,000 and your employer adds 2,800, a total of 9,800. The existing 25,000 grows to 26,750 and the new 9,800 earns half a year of growth, adding 10,143. The balance ends year one at 36,893.
Year two starts with a 72,100 salary after the 3% raise, so contributions rise to 7,210 plus 2,884. The 36,893 grows to 39,475 and the 10,094 of new money contributes 10,447, ending the year at 49,923. Repeat that 35 times and the projection lands at about 2,260,700 — made up of 423,200 of your own money, 169,300 from your employer, and roughly 1,643,200 of investment growth. Nearly three quarters of the final balance is growth you never earned at work.
Worked example: the same plan started at 40
Change nothing except the starting age and the picture shrinks hard: 40 to 65 on identical assumptions produces about 981,000. Ten fewer years of contributions cost 168,000 of deposits, but they cost over a million in growth, because the earliest dollars are the ones with the most time to compound. This is the strongest argument in personal finance for contributing something now rather than the right amount later.
Fund the match before anything else
If you contributed only 3% in the example above — just below the 4% cap — the projection falls to roughly 1,121,000 and the employer total drops from 169,300 to 127,000. You gave up an instant 100% return on the money you did not contribute. Before paying extra into a mortgage, a brokerage account or even a Roth IRA, most US advisers would tell you to contribute at least up to the full match, because nothing else offers a guaranteed doubling on the way in. The one thing to check is your vesting schedule: cliff vesting can mean leaving before your third anniversary forfeits every matched dollar.
How sensitive the answer is to the return you assume
| Expected return | Balance at 65 |
|---|---|
| 5% | 1,495,000 |
| 6% | 1,831,000 |
| 7% | 2,261,000 |
| 8% | 2,810,000 |
One percentage point moves the answer by roughly 400,000 on this example. Treat any single projection as the centre of a wide range, not a promise, and re-run it with a pessimistic number before making a decision that depends on the outcome.
What this does not account for
The result is in future dollars, not today's. At 3% inflation, 2.26 million in 35 years buys what about 800,000 buys now; entering 4% instead of 7% as the return is a rough shortcut to an inflation-adjusted answer. Traditional 401(k) withdrawals are also taxed as ordinary income, so the balance is not spendable money — a Roth 401(k) shifts that tax to today instead. Fund expense ratios and plan administration fees come straight off returns, IRS deferral limits cap how much you can actually put in each year, and real markets deliver their average in a jagged sequence, which means a bad decade just before retirement hurts far more than the same decade at 30. Use the number to compare choices, not to plan a spending budget.
Sources & further reading
- IRS Retirement Plans — 401(k) contribution limits, catch-up rules and withdrawal taxation
- U.S. Department of Labor — vesting schedules, plan fees and participant rights
- Consumer Financial Protection Bureau — planning retirement income and timing benefits
- Social Security Administration — how retirement age affects your benefit amount
Frequently asked questions
How much should I have in my 401(k) by my age?
A widely used benchmark from Fidelity is one times your salary saved by 30, three times by 40, six times by 50, eight times by 60 and ten times by 67. On a 70,000 salary that means 70,000 by 30 and 420,000 by 50. These are rules of thumb, not legal targets — what you actually need depends on when you stop working and what else you have.
What does an employer match actually mean?
Most plans add 100% of what you pay in, up to a cap expressed as a percentage of your salary. With a 4% cap and a 70,000 salary, your employer puts in 2,800 a year as long as you contribute at least 4% yourself. Contribute less and the rest is forfeited, which is why matched money is the highest guaranteed return in the plan. Check the vesting schedule too — some matches only become yours after two to six years.
Why is the expected return set to 7%?
The S&P 500 has returned roughly 10% a year in nominal terms over the long run, and 7% is the conventional planning figure once you allow for a mixed stock and bond portfolio plus fund fees. It is nominal, so inflation is not subtracted: enter 4% instead if you want the answer in today's spending power. Real returns also arrive in a lumpy sequence, never as a smooth annual rate.
Does this calculator apply the IRS contribution limit?
No — it projects whatever percentage you enter. The IRS raises the employee deferral cap most years (23,500 for 2025, with an extra 7,500 catch-up from age 50), and the employer match counts towards a separate, higher combined limit. Check irs.gov for the current year before setting a rate that would exceed it.