401(k) Calculator

Future value (USD)—
Total contributions (USD)—
Growth on contributions (USD)—

How 401(k) Calculator is calculated: Future value = annual contribution × ((1 + r)^n − 1) ÷ r; Annual contribution = salary × (your % + match %)

What is a 401(k)?

A 401(k) is the main retirement savings plan for employees in the United States. The employee contributes a percentage of salary before tax, the money is invested, and it grows tax-deferred until retirement. Many employers add a matching contribution — free money that is the first thing any employee should claim. A worker earning $80,000 who contributes 10% and gets a 5% match puts $12,000 a year into the account.

To use it, enter annual salary (usd), your contribution, employer match, years to retirement, expected annual return. The calculator does the maths instantly and shows future value (usd), total contributions (usd), growth on contributions (usd). There is nothing to download and no account to create. It works in any browser, on a phone or a computer, and every number you type stays on your own device.

The power of a 401(k) is the combination of three things: the tax deferral, the employer match, and decades of compounding. Over 30 years at 7%, $12,000 a year grows to about $1,134,000 — of which $360,000 is contributions and $774,000 is growth. The growth does most of the work, which is why starting early matters more than contributing a lot.

How the 401(k) projection is calculated

The annual contribution is the salary times your contribution percentage plus the employer match percentage, divided by 100. The future value is the future value of those annual contributions, growing at the entered return for the years to retirement. Total contributions are the annual figure times the years, and the growth is the future value minus the contributions. The calculation assumes the same salary, the same percentages, and the same return every year — a simplification, but a useful one for planning.

The page opens with a salary of $80,000, a contribution of 10.0%, a match of 5.0%, 30 years to retirement, and a return of 7.0%. The annual contribution is $80,000 times 15%, which is $12,000. Total contributions over 30 years are 3,60,000. The future value at 7% is 11,33,529, of which 7,73,529 is growth.

The main figure to look at first is the future value (usd). The other rows break it down: total contributions (usd), growth on contributions (usd). Change any input and every row updates at once, so you can test a few values in seconds and see which input moves the answer most. That is the real value of a calculator like this: it turns a slow spreadsheet job into a thirty-second check.

Employer match: the free money to claim first

The employer match is the input people get wrong, because match formulas vary. A common formula is 100% of the first 3% of salary plus 50% of the next 2% — a total match of 4% when the employee contributes 5%. Another is a straight 50% match up to 6%. The calculator takes a single match percentage, so work out the effective match for your contribution level and enter that.

The match is free money in the most literal sense: it is pay the employer gives only if the employee contributes. An employee who contributes nothing gets no match, and leaves the employer's money on the table. The first rule of a 401(k) is to contribute at least enough to get the full match, before anything else — before extra loan payments, before taxable investing, before almost everything.

The contribution limit is the second figure to know. For 2025, the limit is $23,500 a year for employees under 50, plus a $7,500 catch-up for those 50 and older. The calculator does not enforce the limit, so a high salary with a high percentage may exceed it — check the limit for the year you are planning, and remember that the employer match does not count against the employee's limit.

A worked example: $100,000 salary, 12% plus 6% match

Take an employee earning $1,00,000 a year, contributing 12.0% and receiving a 6.0% employer match, with 25 years to retirement and a return of 8.0%. Here is the projection.

The annual contribution is $100,000 times 18%, which is $18,000. Total contributions over 25 years are 4,50,000. The future value at 8% is 13,15,907, of which 8,65,907 is growth. The account holds about $1.3 million at retirement.

Now consider the match alone. The employer's 6% is $6,000 a year, or $150,000 over 25 years — and with growth, that $150,000 becomes about $438,000 of the final balance. A third of the account came from the employer. That is the value of the match, and the reason contributing enough to get it is the first rule of retirement saving.

Who uses a 401(k) calculator

US employees use it to decide how much to contribute and to see what the account will be worth. The most common question is whether the current contribution is enough, and the calculator answers it by showing the future value — and the gap, if the target is higher. Raising the contribution by 1% of salary is often painless in the monthly pay and large over 30 years.

People changing jobs use it to compare offers. A job with a generous match and a lower salary can be worth more than a higher salary with no match, once the retirement benefit is counted. The calculator makes the comparison in dollars, not in percentages.

Advisers use it to show clients the power of starting early. Pair the result with a compound interest calculator to see how the growth compounds, and a retirement calculator to see whether the projected balance covers the income needed.

401(k) vs IRA: the workplace plan and the personal plan

A 401(k) is offered through an employer, with a high contribution limit — $23,500 for 2025 — and often an employer match. An IRA is opened personally, with a lower limit of $7,000 for 2025, and no match. The 401(k) is the first priority for most employees, because of the match and the higher limit; the IRA is the second, for money beyond the 401(k) or for people without a workplace plan.

The second difference is the tax treatment. A traditional 401(k) and a traditional IRA both defer tax until withdrawal. A Roth 401(k) and a Roth IRA both take tax now and withdraw tax-free later. The choice between traditional and Roth depends on whether the tax rate is expected to be higher now or in retirement — a question with no single answer.

The third is the investment choice. A 401(k) offers the funds the employer chose, which may be limited and expensive. An IRA offers almost anything. A ROI calculator helps compare the return on the two, but the match usually makes the 401(k) win regardless of the fund choice.

Common mistakes to avoid

The first mistake is not contributing enough to get the full match. The match is free money, and leaving it unclaimed is the most expensive mistake in retirement saving. The second mistake is contributing the same percentage for decades without raising it — a 1% rise each year, or with each pay rise, is barely noticed and adds up enormously.

The third mistake is using an optimistic return. A 10% return every year for 30 years is not a plan — it is a hope. Use 6 to 7% for a balanced portfolio, and test a lower return to see the range. The fourth mistake is cashing out when changing jobs: the tax and the 10% early withdrawal penalty can take 30% or more of the balance, and the lost growth is far larger.

The fifth mistake is ignoring fees. A fund charging 1% a year costs far more over 30 years than one charging 0.1%, and the difference can be tens of thousands of dollars. Choose low-cost index funds where they are available.

How to use this 401(k) calculator

Using this 401(k) calculator takes less than a minute. Enter the annual salary in dollars, your contribution percentage, and the employer match percentage. Enter the years to retirement and the expected annual return, using a conservative figure. Read the future value first, then the total contributions, and check that the contribution is enough to get the full match. The results appear as soon as you finish typing, and you can change any figure and watch the answer move. There is no sign-up and nothing is uploaded, so you can run the numbers for a real case without sharing private details with anyone.

Treat the answer as an estimate, not a final figure. The maths is exact for the numbers you type, but the result is only as good as those numbers, and real rules, rates and charges change over time. Check the current rate or rule with the official source before you act on the figure, and keep the calculator's assumptions in mind: it uses the simple standard formula for this job, not the fine print of any one contract or scheme.

Everything runs in your browser. Your salary, business figures or pension details never leave your device, and nothing is saved when you close the page. That makes it safe to try honest numbers, including the ones you would not want to type into a form on a stranger's website. If you want to keep a result, use the print or share buttons above the article.

Frequently Asked Questions

Future value equals the annual contribution times the compound growth factor for the years and return. For example, $12,000 a year for 30 years at 7% grows to about $1,134,000. The annual contribution is the salary times your percentage plus the employer match percentage. The calculator assumes the same figures every year.

The employee contribution limit is $23,500 a year for 2025 for those under 50, plus a $7,500 catch-up contribution for those 50 and older. The employer match does not count against the employee's limit. The combined limit, including employer contributions, is higher. Limits are adjusted most years, so check the current figure.

Yes, always. The match is free money from the employer, paid only if you contribute. An employee who contributes nothing receives no match. Contributing enough to get the full match is the first priority in retirement saving, before extra loan payments or taxable investing in most cases.

A common rule is to save 15% of salary for retirement, including the employer match. An employee contributing 10% with a 5% match reaches that figure. Younger workers can start lower and raise the percentage by 1% a year; older workers who started late may need 20% or more. The right figure depends on the target balance and the years left.

More free tools

More calculators and utilities from Sortrun — free, no sign-up.