MathIsimple
Finance · 2025-2026

401k Calculator

Calculate your 401k retirement savings with employer match and compound growth projections

100% FreeStep-by-Step Solutions
401k Calculator
Enter your current balance, contributions, employer match, and expected return
Enter to calculate, Esc to clear
Try These Examples
Click on any example to automatically fill the calculator
Early Saver

5,000current,5,000 current,6,000 annual, 50% match, 7% return, 40 years

currentBalance: 5000
annualContribution: 6000
employerMatchPercent: 50
annualReturn: 7
years: 40
Mid-Career

100,000current,100,000 current,15,000 annual, 100% match up to 6%, 7% return, 20 years

currentBalance: 100000
annualContribution: 15000
employerMatchPercent: 50
annualReturn: 7
years: 20
Late Starter

20,000current,20,000 current,20,000 annual, 50% match, 6% return, 15 years

currentBalance: 20000
annualContribution: 20000
employerMatchPercent: 50
annualReturn: 6
years: 15
Max Contributor

50,000current,50,000 current,23,000 annual, 100% match up to 6% ($5,000), 8% return, 25 years

currentBalance: 50000
annualContribution: 23000
employerMatchPercent: 25
annualReturn: 8
years: 25
2024-2025 Contribution Limits
IRS annual limits for 401k plans
Under Age 50
$23,000
2024 limit
Age 50+ (Catch-up)
$30,500
$23,000 + $7,500
2025 Update: The limit increases to $23,500 ($31,000 with catch-up). Ages 60-63 get a super catch-up of $11,250 extra!
Traditional vs Roth 401k
Choose the right type for your situation
FeatureTraditionalRoth
Tax on ContributionsPre-tax ✓After-tax
Tax on WithdrawalsTaxedTax-free ✓
Best ForHigher tax nowLower tax now
RMDs Required?Yes (age 73)No
Pro tip: Many advisors recommend having both for tax diversification in retirement.
The Power of Compound Growth
See how time multiplies your money
Starting with $500/month at 7% annual return:

Projection model: FV=P(1+r)n+PMT(1+r)n1rFV = P(1+r)^n + PMT \cdot \frac{(1+r)^n - 1}{r}

10 Years
$86,000
20 Years
$260,000
30 Years
$610,000
Total contributions: $180,000 over 30 years. Growth: $430,000+ from compound interest!
About 401k Plans

A 401k is an employer-sponsored retirement savings plan with significant tax advantages:

  • Pre-tax contributions reduce your current taxable income
  • Employer matching is essentially "free money"
  • Tax-deferred growth until withdrawal in retirement
  • Early withdrawal (before 59½) incurs 10% penalty + taxes
401(k) Planning Guide for 2026 Contributions
Quick answer: if you contribute enough to capture your full employer match, increase your savings rate by 1% each year, and keep a diversified allocation, your 401(k) typically becomes the core of a long-term retirement plan. This calculator lets you test how contribution amount, match rules, and return assumptions change your projected retirement balance. Use the result to compare realistic scenarios such as job changes, lower return environments, or delayed retirement. For most savers, the highest-impact move is maximizing tax-advantaged contributions before adding taxable brokerage savings.

Your projected balance combines three engines: your current account value, new annual contributions, and compounding investment growth. In a fixed annual projection, the model is:

A=P(1+r)n+PMT(1+r)n1rA = P(1+r)^n + PMT\cdot\frac{(1+r)^n-1}{r}

Here, PP is your current balance, rr is expected annual return, nnis years to retirement, and PMTPMT is your yearly contribution including employer match. The formula does not predict market timing, but it's a useful planning baseline for contribution strategy, withdrawal sequencing, and target retirement age.

Example: assume you already saved $40,000, contribute $9,000 yearly, receive a $3,000 employer match, and model a 7% long-term return. Over 25 years, your personal contributions plus match total $300,000, while compounding can add several hundred thousand more. Run this same case with 5%, 6%, and 7% return assumptions to build a range instead of a single-point forecast. Planning with a range helps you avoid overconfidence and keeps your retirement timeline resilient when markets underperform.

Common mistake #1 is ignoring vesting. Some employer match dollars are not immediately yours, so a job change can reduce the match benefit. Common mistake #2 is contributing below the match threshold; that leaves guaranteed compensation on the table. Common mistake #3 is using an unrealistically high expected return and then under-saving. A practical workflow is: capture full match, raise contribution annually, rebalance once or twice per year, and review assumptions when salary or expenses change.

Use cases where this calculator is especially useful: comparing Traditional vs Roth contribution split, testing whether an annual bonus should go to debt payoff or retirement, and evaluating the impact of retiring 3 to 5 years earlier. If you're age 50+, include catch-up contributions in your annual input. If you're evaluating a new job offer, run side-by-side scenarios with different match percentages, vesting schedules, and salary growth expectations.

This tool is educational and should support, not replace, personalized planning. Tax bracket changes, Social Security timing, pension income, and required minimum distribution rules can materially change your retirement cash flow. Confirm current contribution limits and withdrawal rules with official IRS publications and your plan administrator before making final decisions.

I Kept My 401k in a Money Market Fund for Three Years

I kept my first 401k in a money market fund for three years because "at least it won't go down." My balance grew from $7,200 to $7,340. Meanwhile, the S&P 500 returned 42% over that same stretch.

That $140 in "safe" gains cost me roughly $3,000 in missed growth — and that's just the first three years. Run the numbers out to retirement and the gap doesn't just widen. It explodes.

A 25-year-old putting $200/month into 100% bonds at ~4% average return ends up with about $228,000 by age 65. The same person in a 90/10 stock-bond split averaging ~8%? $622,000. Same paycheck. Same discipline. Nearly $400,000 apart.

The difference between "safe" and "expensive" is about $394,000 over 40 years — and you never see the bill until retirement.

Compound Interest: The Formula That Does the Heavy Lifting

$200 a month for 40 years means you contribute $96,000 total. At 8% average annual return, you end up with $622,000. Where did the other $526,000 come from?

Your money earned money. Then that money earned money. Then that money earned money. Your grandma calls it "letting money sit." Wall Street calls it compound interest.

A=P(1+rn)ntA = P\left(1 + \frac{r}{n}\right)^{nt}

In plain English: take your starting amount, grow it by the interest rate divided by how often it compounds, and repeat that for every compounding period over your time horizon. The exponent — ntnt — is where the magic hides. Time isn't just a variable. It's the variable.

$200/month: Bonds (4%) vs. Stocks (8%) over 40 years

$622k$228k$96k contributedAge 25Age 45Age 6590/10 Stocks (8%)100% Bonds (4%)

Based on historical average returns. Actual results vary. Past performance ≠ future results.

The Employer Match: Free Money You're Probably Leaving Behind

According to the Bureau of Labor Statistics, about 1 in 4 employees with access to a 401k match don't contribute enough to get the full match. That's like your boss handing you a $100 bill and you saying "nah, I'm good."

A typical match: 50% of your contribution up to 6% of salary. If you earn $60,000 and contribute 6% ($3,600/year), your employer adds $1,800. That's a 50% instant return before the market does anything.

Not contributing up to the match is the single most expensive financial mistake a young worker can make. It's not even close.

Target-Date Funds: The "Set It and Forget It" Option

If picking between stocks and bonds sounds overwhelming, target-date funds exist for exactly this reason. You pick the fund closest to your retirement year — say, a 2060 fund if you're 25 — and it automatically shifts from aggressive (mostly stocks) to conservative (mostly bonds) as you age.

The expense ratio matters, though. A fund charging 0.75% annually eats into your returns more than you'd think. Over 40 years, the difference between a 0.05% index fund and a 0.75% managed fund on a $622,000 portfolio is roughly $80,000. That's the cost of not reading the fine print.

Vanguard, Fidelity, and Schwab all offer target-date funds with expense ratios under 0.15%. If your 401k plan doesn't include low-cost options, that's worth a conversation with HR.

Roth vs. Traditional: The Tax Question

Traditional 401k: you contribute pre-tax dollars now, pay taxes when you withdraw in retirement. Roth 401k: you contribute after-tax dollars now, withdraw tax-free later.

The math depends on whether you think your tax rate will be higher or lower in retirement. If you're 25 and earning $50,000, your marginal rate is probably lower now than it will be at peak earnings. Roth makes sense. If you're 55 and in your highest-earning years, traditional might save you more.

The percentage change in your tax bracket over time is the real variable here — the same kind of percentage math that governs investment returns also governs your tax bill.

The Real Cost of Waiting

Starting at 25 instead of 35 with the same $200/month at 8% means the difference between $622,000 and $283,000. Ten years of delay costs you $339,000 — and you only contributed an extra $24,000 by starting earlier.

Start AgeTotal ContributedBalance at 65Interest Earned
25$96,000$622,000$526,000
30$84,000$430,000$346,000
35$72,000$283,000$211,000
40$60,000$177,000$117,000

The person who starts at 25 contributes only $24,000 more than the person who starts at 35 — but ends up with $339,000 more. That's compound interest doing what it does best: rewarding patience.

The same time-value-of-money principle applies to mortgage payoff strategies — except there, time works against you instead of for you.

Frequently Asked Questions

What should I invest my 401k in?

For most people under 40, a low-cost target-date fund or a simple three-fund portfolio (US stocks, international stocks, bonds) works well. The key factors: low expense ratios (under 0.20%), broad diversification, and an allocation that matches your risk tolerance and timeline. Avoid keeping everything in money market or stable value funds if you're decades from retirement.

How much should I contribute to my 401k?

At minimum, contribute enough to get your full employer match — anything less is leaving free money on the table. The common target is 15% of gross income (including employer match). If that's not feasible now, start with the match and increase by 1% each year. The 2025 contribution limit is $23,500 ($31,000 if you're 50+).

How does employer match work?

Your employer contributes additional money based on how much you put in. A "50% match up to 6%" means if you contribute 6% of your salary, your employer adds 3%. That's a 50% instant return. Match formulas vary by company — check your plan documents or ask HR for the specific terms.

See What Your 401k Could Be Worth

Plug in your age, contribution, and expected return. The gap between "safe" and "invested" might surprise you.

*Projections use constant returns for illustration. Real markets fluctuate — but the principle holds.

Frequently Asked Questions

How much should I contribute to my 401k?
Contribute at least enough to get the full employer match (typically 3-6% of salary). Ideal: max out the IRS limit ($23,500 in 2025, or $31,000 if 50+). If you can't max out, contribute at least 10-15% of gross income.
What is employer matching and how does it work?
Employer match is free money added to your 401k. Common formula: employer matches 50% of your contributions up to 6% of salary. If you earn $100k and contribute 6% ($6k), employer adds $3k. Always contribute enough to get the full match.
What is a good rate of return for 401k investments?
Historical average: 7-10% annually. Conservative estimate: 5-7%. Aggressive growth: 8-10%. Returns vary by asset allocation (stocks vs. bonds). Use 7% for moderate planning.
When can I withdraw from my 401k without penalty?
Penalty-free withdrawals start at age 59½. Early withdrawal incurs 10% penalty plus income tax, except for hardship withdrawals. Required Minimum Distributions (RMDs) start at age 73.
Should I choose Traditional or Roth 401k?
Traditional 401k: tax deduction now, pay taxes in retirement. Best if you expect lower tax bracket later. Roth 401k: pay taxes now, tax-free withdrawals in retirement. Best if young or expect higher future taxes.
Advertisement

Disclaimer: This calculator is for general educational purposes only and is not financial, investment, tax, or legal advice. Results are estimates; consult a qualified professional before making financial decisions.