401(k) Calculator
Enter your annual contribution, employer match, time horizon and return to see how your 401(k) balance compounds.
What the projection shows
The calculator compounds your annual contribution plus the employer match over a chosen number of years at a chosen return, and splits the result into money you put in and money the market added. At the defaults it returns a $2,314,289 balance made from $735,000 of contributions and $1,579,289 of growth — roughly 68% of the final figure is compounding, not saving.
The 401(k) growth formula
C is your annual contribution, M the annual employer match, r the annual return as a decimal and n the number of years. The model treats the combined amount as one yearly deposit made at the end of each year, which slightly understates a plan funded evenly through payroll deductions.
The factor ((1 + r)n − 1) ÷ r is the future value of $1 a year. At 7% for 30 years it equals 94.46, so every $1 contributed annually becomes about $94 at retirement. That is why the contribution level matters less than the number of years it compounds.
Worked example at the defaults
Contribute $19,500 and receive a $5,000 match, for $24,500 a year over 30 years at 7%. The growth factor is (1.07)30 = 7.6123, so the annuity factor is (7.6123 − 1) ÷ 0.07 = 94.46.
Multiply: 24,500 × 94.46 = $2,314,289.26. Total contributions are 24,500 × 30 = $735,000, and growth is the difference, $1,579,289.26. The $19,500 contribution sits below the 2026 employee deferral limit, so there is room to raise it.
What the match is worth
$19,500 a year for 30 years at 7%, varying the match
| Annual match | Future value | Growth |
|---|---|---|
| $0 | $1,841,985 | $1,256,985 |
| $5,000 | $2,314,289 | $1,579,289 |
| $10,000 | $2,786,593 | $1,901,593 |
Each $5,000 of annual match adds about $472,000 to the final balance — more than 94 times the yearly amount, because the match compounds for the full 30 years just like your own money. A dollar of match is worth more than a dollar of contribution only because it costs you nothing.
Why the match dominates the decision
A 50% match on the first 6% of pay is an immediate 50% return before any investment gain, and a 100% match is an immediate doubling. No diversified portfolio offers that with certainty. A $5,000-a-year match over 30 years is $150,000 of free deposits before growth, and $472,000 after.
Vesting changes the arithmetic. Many plans vest the match over three to six years, so leaving early can forfeit part of it. Check the schedule before changing jobs: a match that is 60% vested after three years is worth 40% less than the table suggests if you walk away then.
Most plans express the match as a formula rather than a dollar figure, such as 50% of the first 6% of pay. On a $70,000 salary, contributing 6% is $4,200 and a 50% match adds $2,100 — well below the $5,000 default here, which assumes a more generous plan or a higher contribution rate.
Contribution limits as of 2026
| Limit | Rough 2026 figure | Notes |
|---|---|---|
| Employee deferral | $24,000–$25,000 | Your own pre-tax or Roth contributions |
| Catch-up, age 50+ | $7,500–$8,000 | Additional deferral allowed |
| Super catch-up, age 60–63 | about $11,000 | Higher catch-up introduced recently |
| Employee + employer total | $70,000–$72,000 | Includes match and after-tax |
| Compensation cap | $350,000–$360,000 | Salary above this is ignored for match |
These figures are indexed annually, so treat the ranges as approximate and confirm the current number with the plan administrator. The default $19,500 is below the employee limit, which is realistic for someone contributing 15%–20% of a mid-range salary rather than maxing out. The total cap matters mainly to high earners whose employer match is generous.
Traditional versus Roth
A traditional 401(k) defers tax: contributions reduce taxable income now and withdrawals are taxed as ordinary income later. A Roth 401(k) takes after-tax money now and withdrawals are tax-free in retirement. The break-even depends on whether your marginal rate is higher today or at withdrawal; for most people early in a career it is lower today, which favours Roth.
The calculator shows a pre-tax balance in both cases. To compare them fairly, apply your expected withdrawal rate to the traditional figure: $2,314,289 withdrawn at 22% leaves about $1.8 million, closer to the Roth balance but still ahead if the Roth contributions were taxed at a lower rate going in.
- Choose traditional if your marginal rate today is higher than you expect in retirement.
- Choose Roth if you are early in your career, in a low bracket, or expect rising rates later.
- Split contributions if you are unsure, which hedges the tax-rate bet at no extra cost.
Where people go wrong
- Stopping at the match instead of maxing out, which leaves $19,500 a year of tax-advantaged space unused.
- Ignoring fees: a 1% expense ratio cuts the default balance by roughly a quarter over 30 years.
- Cashing out after a job change, which triggers income tax plus a 10% early-withdrawal penalty before 59½.
- Assuming the balance is spendable: taxes at withdrawal reduce it by 15%–30% depending on bracket.
- Forgetting that the match may vest over several years, so a short tenure forfeits part of it.
The projection also assumes a constant 7% return, which no fund delivers year by year. A 30-year horizon smooths most of that variance, but a plan that is 100% equity at age 64 exposes the balance to a crash it cannot recover from. The contribution rate and the match are within your control; the sequence of returns is not.
Frequently asked questions
Should I contribute enough to get the full match?
Almost always yes. A 100% match is an immediate doubling of each matched dollar. On the defaults, a $5,000 annual match adds about $472,000 to the final balance over 30 years.
Is the employer match part of total contributions?
Yes. The calculator adds your contribution and the match, compounds both, and counts both in the $735,000 total at the defaults.
Are 401(k) withdrawals taxed?
Traditional balances are taxed as ordinary income when withdrawn. At a 22% rate, $2,314,289 is worth about $1.8 million after federal tax; Roth withdrawals are tax-free.
What is the 401(k) contribution limit in 2026?
Roughly $24,000–$25,000 for employee deferrals, with about $7,500–$8,000 extra for those 50 and over. The combined employee-plus-employer cap is roughly $70,000–$72,000.
How much does $19,500 a year grow to in 30 years?
At 7% with a $5,000 match it reaches $2,314,289, of which $735,000 is contributions and $1,579,289 is growth. Without the match it is $1,841,985.
How much does a 1% fee cost over 30 years?
Roughly a quarter of the balance. Dropping the return from 7% to 6% cuts the default projection from $2.31 million to about $1.75 million.
Should I choose traditional or Roth?
Choose Roth if you expect a higher tax rate in retirement than now, traditional if lower. The difference on the default balance is the tax on $2.31 million, roughly $500,000 at a 22% rate.
What happens if I leave my job?
You can roll the balance into an IRA or a new plan without tax. Cashing out triggers income tax plus a 10% penalty before 59½, which on $100,000 costs roughly $32,000 at a 22% bracket.
Does the match vest immediately?
Not always. Many plans vest over three to six years. A match that is 60% vested after three years is worth 40% less than the table shows if you leave then.
Method and sources
- Future value of an annuity: FV = (C + M)((1+r)^n − 1)/r.
For educational purposes only — not financial, tax, or legal advice. Verify figures with a qualified professional before acting.