What Is a 401(k) Calculator?
A 401(k) calculator projects the future value of your employer-sponsored retirement account by modeling your ongoing contributions, your employer's matching contribution, expected investment returns, and salary growth over your remaining working years. It answers the question every 401(k) participant eventually asks: "If I keep contributing at this rate, how much will I actually have by the time I retire?"
A 401(k) is an employer-sponsored, tax-advantaged retirement savings plan named after the section of the U.S. Internal Revenue Code that created it. It is one of the most powerful wealth-building tools available to American workers — combining automatic payroll contributions, potential free money from employer matching, and tax-advantaged compound growth over decades.
CalcAccurate's free 401(k) calculator models the complete picture:
- Your own contributions — as a percentage of salary or a fixed dollar amount
- Employer matching contributions — the "free money" component that dramatically accelerates growth
- Expected annual investment return — based on your fund allocation
- Annual salary growth — since most people contribute a percentage of salary, and salaries typically rise over a career
- Compound growth over your remaining working years — the core engine of long-term retirement wealth
- IRS contribution limits — ensuring your projection reflects realistic, legally permissible contribution amounts
Use this calculator to:
- Project your total 401(k) balance at retirement age
- See exactly how much of that balance comes from your contributions vs. employer match vs. investment growth
- Understand the true cost of not capturing your full employer match
- Compare the impact of increasing your contribution percentage
- Model different retirement ages and time horizons
How a 401(k) Works — Key Concepts Explained
Before diving into the math, it helps to understand the mechanics and rules that govern a 401(k) account.
Traditional 401(k) vs. Roth 401(k)
| Feature | Traditional 401(k) | Roth 401(k) |
|---|---|---|
| Contributions | Pre-tax (reduces taxable income today) | After-tax (no upfront tax deduction) |
| Growth | Tax-deferred (no tax while invested) | Tax-free (no tax while invested) |
| Withdrawals in retirement | Taxed as ordinary income | Tax-free (if qualified distribution) |
| Best for | Those expecting a lower tax bracket in retirement than today | Those expecting the same or higher tax bracket in retirement, or wanting tax diversification |
| Required Minimum Distributions (RMDs) | Required starting at age 73 (as of current IRS rules) | Not required for the original account owner as of 2024 rule changes |
Many employers offer both options within the same plan, and some savers choose to split contributions between the two for tax diversification in retirement.
Employer Matching — Understanding "Free Money"
Many employers match a portion of employee contributions as an incentive to participate. Common matching formulas include:
- 100% match up to 3%: The employer contributes $1 for every $1 you contribute, up to 3% of your salary.
- 50% match up to 6%: The employer contributes $0.50 for every $1 you contribute, up to 6% of your salary (effectively a 3% maximum employer contribution).
- Tiered match: A combination formula, e.g., 100% match on the first 3% and 50% match on the next 2%.
Critical principle: Not contributing enough to capture your full employer match means leaving guaranteed, risk-free compensation on the table — it is effectively an immediate 50%–100% return on that portion of your contribution, a return no investment strategy can reliably match elsewhere.
2024 IRS Contribution Limits
| Limit Type | 2024 Amount |
|---|---|
| Employee elective deferral limit (under 50) | $23,000 |
| Catch-up contribution (age 50+) | +$7,500 (total $30,500) |
| Combined employee + employer limit (under 50) | $69,000 |
| Combined employee + employer limit (50+) | $76,500 |
Note: IRS contribution limits are adjusted periodically for inflation. Always verify current-year limits directly with the IRS or your plan administrator.
Vesting Schedules
While your own contributions are always 100% yours immediately, employer matching contributions are often subject to a vesting schedule — a timeline you must work to fully "own" the matched funds:
- Immediate vesting: Employer contributions are 100% yours from day one.
- Cliff vesting: You own 0% until a specific milestone (e.g., 3 years), then 100% at once.
- Graded vesting: You own an increasing percentage each year (e.g., 20% per year over 5 years) until fully vested.
Understanding your plan's vesting schedule matters significantly if you are considering changing jobs — unvested employer contributions are typically forfeited upon departure.
401(k) Growth Formulas — Complete Mathematical Breakdown
This calculator combines compound interest mathematics with realistic salary growth and employer matching logic. Here is the complete formula set.
1. Future Value of Current 401(k) Balance
FV₁ = P × (1 + r)ᵗ
- FV₁ = Future value of your existing 401(k) balance at retirement
- P = Current 401(k) balance
- r = Expected annual investment return (as a decimal)
- t = Years until retirement
Example: Current balance = $45,000 | Return = 7% | Years to retirement = 30
FV₁ = $45,000 × (1.07)^30 = $45,000 × 7.6123 ≈ $342,554
2. Annual Contribution Amount (Employee + Employer)
Employee Annual Contribution = Salary × Employee Contribution %
Employer Match Contribution = Salary × min(Employee %, Match Cap %) × Match Rate
- Salary = Your current annual salary
- Employee Contribution % = The percentage of salary you elect to contribute
- Match Cap % = The maximum percentage of salary your employer will match against
- Match Rate = The percentage your employer contributes per dollar you contribute (e.g., 0.5 for a 50% match, 1.0 for a 100%/dollar-for-dollar match)
Example: Salary = $80,000 | Employee contributes 6% | Employer matches 50% up to 6%
Employee Contribution = $80,000 × 0.06 = $4,800/year
Employer Match = $80,000 × min(6%, 6%) × 0.5 = $80,000 × 0.06 × 0.5 = $2,400/year
Total Annual Contribution = $4,800 + $2,400 = $7,200/year
3. Salary Growth Over Time
Since contributions are typically a percentage of salary, and salaries generally rise over a career (through raises, promotions, and cost-of-living adjustments), contribution amounts also grow year over year:
Salary in Year N = Current Salary × (1 + g)ᴺ
- g = Assumed annual salary growth rate (as a decimal, commonly 2%–4% reflecting typical raises and promotions)
- N = Number of years from now
Example: Current salary = $80,000 | Growth rate = 3%/year
Salary in Year 10 = $80,000 × (1.03)^10 = $80,000 × 1.3439 ≈ $107,514
4. Future Value of Contributions With Salary Growth (Growing Annuity)
Because contributions grow alongside salary, the standard fixed-payment annuity formula is adjusted to a growing annuity formula:
FV₂ = C × [((1 + r)ᵗ − (1 + g)ᵗ) / (r − g)]
- FV₂ = Future value of all contributions (employee + employer) over the full time horizon
- C = First year's total annual contribution (employee + employer)
- r = Annual investment return (as a decimal)
- g = Annual salary/contribution growth rate (as a decimal)
- t = Years until retirement
Example: C = $7,200 | r = 7% | g = 3% | t = 30 years
(1.07)^30 = 7.6123 | (1.03)^30 = 2.4273
FV₂ = $7,200 × [(7.6123 − 2.4273) / (0.07 − 0.03)]
FV₂ = $7,200 × [5.185 / 0.04]
FV₂ = $7,200 × 129.625 ≈ $933,300
Simplified alternative (no salary growth assumed): If you prefer to model with flat, non-growing contributions, use the standard annuity formula instead: FV₂ = C × [((1+r)ᵗ − 1) / r]
5. Total Projected 401(k) Balance at Retirement
Total Balance = FV₁ + FV₂
Continuing the example:
Total Balance = $342,554 + $933,300 = $1,275,854
6. Breaking Down the Balance by Source
Understanding how much of your final balance comes from each source helps illustrate the true value of employer matching and compound growth:
Total Employee Contributions (undiscounted) = Σ (Salary in Year N × Employee %) for N = 0 to t−1
Total Employer Contributions (undiscounted) = Σ (Salary in Year N × Match % × Match Rate) for N = 0 to t−1
Total Investment Growth = Total Balance − Total Contributions (employee + employer, undiscounted) − Starting Balance
Illustrative breakdown for the example above (30 years):
Total Employee Contributions (nominal, growing with salary) ≈ $228,700
Total Employer Contributions (nominal, growing with salary) ≈ $114,350
Total Investment Growth ≈ $1,275,854 − $342,554(start) − $228,700 − $114,350...
[Roughly 60-70% of the final balance in a long-horizon scenario like this typically comes from investment growth alone — illustrating the power of compounding over employee/employer contributions themselves.]
How Our 401(k) Calculator Works
Here is exactly what happens from your input to your projected retirement balance:
- Time Horizon Calculation: Years until retirement = Planned Retirement Age − Current Age, establishing the compounding period for all growth formulas.
- Current Balance Growth Projection: Your existing 401(k) balance is compounded forward at your expected investment return rate using FV₁ = P × (1+r)ᵗ.
- Annual Contribution Calculation: Your contribution percentage is applied to your current salary to determine your annual employee contribution; your employer's matching formula is applied to determine the employer contribution.
- Salary Growth Application: If a salary growth rate is provided, the calculator projects your salary — and therefore your percentage-based contributions — growing year over year throughout your remaining career.
- Contribution Growth Projection: The combined employee + employer contribution stream is compounded forward using the growing annuity formula, accounting for both investment returns and the year-over-year growth in contribution amounts.
- Contribution Limit Checking: The calculator checks your projected contribution amounts against current IRS annual limits, capping contributions where they would otherwise exceed legal maximums.
- Total Balance Assembly: The future value of your current balance and the future value of all contributions are summed to produce your total projected 401(k) balance at retirement.
- Source Breakdown: The calculator separates the final balance into its component sources — your contributions, employer match, and investment growth — so you can see exactly where your retirement wealth comes from.
- Results Display: Your total projected balance, source breakdown, and key milestones are displayed together for a complete picture of your 401(k)'s trajectory.
Input Fields Explained
Current Age & Planned Retirement Age
These two fields establish your investment time horizon — the number of years your contributions and existing balance have to compound. This is the single most powerful lever in the entire calculation due to the exponential nature of compound growth; even a few additional years can dramatically change your projected outcome.
Current 401(k) Balance
The total amount currently in your 401(k) account(s) — including any rollovers from previous employers' plans. This becomes the starting principal that compounds independently of your ongoing contributions.
Current Annual Salary
Your gross annual salary before taxes. Since most 401(k) contributions are set as a percentage of salary, this figure directly determines your dollar contribution amount and (combined with the salary growth rate) how that contribution evolves over your career.
Employee Contribution Percentage
The percentage of your salary you elect to contribute to your 401(k) each pay period. Common starting points are 6%–10%, though many financial planners recommend working toward 15% (including employer match) over time. At minimum, most experts recommend contributing enough to capture your full employer match.
Employer Match Rate & Match Cap
Enter your employer's specific matching formula — the rate (e.g., 50% or 100%) and the cap (the maximum percentage of salary the employer will match against). Check your plan documents or HR portal for your exact match formula, as these vary significantly between employers.
Expected Annual Return (%)
The annual rate of return you expect your 401(k) investments to earn, based on your fund allocation (target-date fund, index funds, bond funds, etc.).
| Allocation Style | Typical Long-Term Return Assumption |
|---|---|
| Conservative (bond-heavy) | 3%–5% |
| Balanced (60/40 stocks/bonds) | 6%–7% |
| Growth (80%+ stocks / target-date fund, younger investor) | 7%–9% |
Caution: Use conservative, historically-grounded assumptions. Overly optimistic return assumptions (10%+ sustained over decades) will significantly overstate your likely outcome.
Annual Salary Growth Rate (%)
The assumed rate at which your salary will grow each year through raises, promotions, and cost-of-living adjustments. A commonly used range is 2%–4% per year. This directly affects how much your percentage-based contributions grow over time — omitting this factor (assuming flat contributions) will understate your realistic projected balance for most career trajectories.
How to Calculate Your 401(k) Growth Manually — Step-by-Step
Follow this complete worked example to understand exactly how the calculator arrives at its projection.
Scenario: Early-Career Saver
Given: Current Age = 28 | Retirement Age = 65 (37 years) | Current Balance = $15,000 | Salary = $65,000 | Employee Contribution = 8% | Employer Match = 50% up to 6% | Expected Return = 7% | Salary Growth = 3%
-
Step 1 — Calculate time horizon:
t = 65 − 28 = 37 years -
Step 2 — Project growth of current balance:
FV₁ = $15,000 × (1.07)^37 = $15,000 × 13.0012 ≈ $195,018 -
Step 3 — Calculate first-year contribution:
Employee = $65,000 × 8% = $5,200
Employer Match = $65,000 × min(8%, 6%) × 0.5 = $65,000 × 6% × 0.5 = $1,950
Total first-year contribution (C) = $5,200 + $1,950 = $7,150 -
Step 4 — Apply the growing annuity formula:
(1.07)^37 ≈ 13.0012 | (1.03)^37 ≈ 2.9852
FV₂ = $7,150 × [(13.0012 − 2.9852) / (0.07 − 0.03)]
FV₂ = $7,150 × [10.016 / 0.04]
FV₂ = $7,150 × 250.4 ≈ $1,790,360 -
Step 5 — Calculate total projected balance:
Total = $195,018 + $1,790,360 = $1,985,378
This early-career saver, contributing consistently from age 28 and capturing their full employer match, is projected to accumulate nearly $2 million by retirement age — a powerful illustration of what starting early and capturing the full match can achieve.
Comparison: The Cost of NOT Capturing the Full Match
Same scenario, but Employee Contribution reduced to 4% (below the 6% match cap):
-
First-year contribution:
Employee = $65,000 × 4% = $2,600
Employer Match = $65,000 × min(4%, 6%) × 0.5 = $65,000 × 4% × 0.5 = $1,300
Total = $2,600 + $1,300 = $3,900 (vs. $7,150 in the full scenario) - FV₂ = $3,900 × 250.4 ≈ $976,560
- Total = $195,018 + $976,560 = $1,171,578
By contributing only 4% instead of the full 8% (still capturing the match, but at a lower base), this saver ends up with approximately $813,800 less at retirement — nearly $814,000 in lost wealth from a 4-percentage-point difference in contribution rate, compounded over 37 years. This dramatically illustrates why increasing your contribution rate — even gradually — has an outsized long-term impact.
The True Value of Your Employer Match — Why It's "Free Money"
Financial advisors consistently emphasize capturing the full employer match before directing savings elsewhere — and the math explains why.
| Scenario | Your Contribution | Employer Match | Immediate "Return" on Your Dollar |
|---|---|---|---|
| 100% match up to 3% | $3,000 (on $100k salary) | $3,000 | 100% instant return |
| 50% match up to 6% | $6,000 (on $100k salary) | $3,000 | 50% instant return (on the matched portion) |
| Not contributing enough to get full match | $2,000 (below 6% threshold) | $1,000 (proportional) | Still 50%, but smaller absolute dollar amount forfeited |
No investment vehicle — index funds, real estate, cryptocurrency, or otherwise — can reliably guarantee a 50%–100% instant return. Employer matching is the closest thing to a guaranteed return available in personal finance, which is why virtually every financial advisor recommends contributing at least enough to capture 100% of your available match before allocating savings to other goals (except perhaps high-interest debt payoff, which offers a comparably powerful guaranteed return).
Common 401(k) Mistakes to Avoid
- Not contributing enough to capture the full employer match. As shown above, this is essentially declining free, guaranteed compensation.
- Cashing out a 401(k) when changing jobs. Early withdrawal (before age 59½) typically triggers ordinary income tax plus a 10% early withdrawal penalty — and permanently forfeits decades of potential compound growth. Rolling over to a new employer's plan or an IRA preserves the tax-advantaged status.
- Leaving contributions on "auto-pilot" at the default rate. Many employers auto-enroll new employees at a low default rate (often just 3%). Actively reviewing and increasing your rate — especially with each raise — meaningfully accelerates your long-term outcome.
- Ignoring fund fees (expense ratios). A 1% difference in annual fund fees, compounded over 30+ years, can reduce your final balance by 20–30%. Compare expense ratios across your plan's available fund options and favor low-cost index funds where available.
- Being too conservative too early. A 25-year-old with 40 years until retirement generally has time to ride out short-term market volatility; an overly conservative (bond/cash-heavy) allocation at a young age can significantly limit long-term growth potential.
- Not increasing contributions with raises. A simple, effective strategy is to increase your contribution percentage by 1% each time you receive a raise — you never "feel" the increase in take-home pay, but it dramatically boosts your long-term savings rate.
- Forgetting to update your beneficiary designations. Life changes (marriage, divorce, children) should always trigger a review of your 401(k) beneficiary designations, which typically supersede instructions in a will.
Frequently Asked Questions (FAQ)
How much should I contribute to my 401(k)?
A common guideline is to contribute at least enough to capture your full employer match, then work toward saving 15% of your income (including the employer match) for retirement over time. Younger savers with lower current expenses may aim higher; those closer to retirement with a shortfall may need to contribute more aggressively, potentially using catch-up contributions if age 50+.
What is the difference between a Traditional and Roth 401(k)?
A Traditional 401(k) uses pre-tax contributions, reducing your taxable income today, with withdrawals taxed as ordinary income in retirement. A Roth 401(k) uses after-tax contributions (no upfront deduction), but qualified withdrawals in retirement are entirely tax-free. The better choice generally depends on whether you expect to be in a higher or lower tax bracket in retirement compared to today.
What happens to my 401(k) if I change jobs?
You generally have several options: leave the funds in your former employer's plan (if permitted), roll it over into your new employer's 401(k), roll it over into an IRA, or cash it out (generally not recommended due to taxes and penalties for those under 59½). Rolling over to preserve tax-advantaged status is typically the most financially sound choice for most people.
What are the 2024 401(k) contribution limits?
For 2024, the employee elective deferral limit is $23,000 (or $30,500 for those age 50+, including the $7,500 catch-up contribution). The combined employee + employer contribution limit is $69,000 (or $76,500 for those 50+). These limits are adjusted periodically for inflation — always verify current limits with the IRS or your plan administrator.
How is my employer match calculated?
Employer match formulas vary by company but commonly follow patterns like "100% match up to 3% of salary" (dollar-for-dollar) or "50% match up to 6% of salary." Check your plan documents or HR portal for your specific employer's exact formula, as it directly determines how much additional "free" contribution you receive.
Is it bad to have all my 401(k) in stocks?
For younger investors with a long time horizon until retirement, a stock-heavy allocation is generally consistent with common financial planning guidance, since there is more time to recover from short-term market downturns. As retirement approaches, gradually shifting toward a more balanced or conservative allocation (often called a "glide path," which target-date funds automate) is a widely used strategy to reduce risk as the time horizon shortens. Individual risk tolerance and circumstances should guide the specific allocation.
Can I lose money in my 401(k)?
Yes — 401(k) balances are typically invested in mutual funds, index funds, or target-date funds that fluctuate in value with financial markets. Short-term declines are common and expected as part of normal market cycles. Historically, diversified portfolios have trended upward over long time horizons (10+ years), but past performance does not guarantee future results, and there is no guarantee against loss at any point in time.
Is this 401(k) calculator free?
Yes — completely free, with no sign-up required, no usage limits, and no data sent to any server. All calculations run locally in your browser and work on any device.
Conclusion
A 401(k) is one of the most powerful wealth-building tools available to American workers — combining automatic savings discipline, potential employer matching, and decades of tax-advantaged compound growth. But its true long-term impact is easy to underestimate from a single pay-stub deduction. Projecting the full trajectory — accounting for your contributions, employer match, investment growth, and salary progression — reveals just how significant that impact can be.
CalcAccurate's free 401(k) calculator gives you that complete projection instantly, showing not just your final balance but exactly how much comes from your own contributions, your employer's match, and pure investment growth. Use it to find the contribution rate that captures your full match, to see the long-term cost of under-saving, and to understand how starting early dramatically amplifies your results.
Run the numbers today, and run them again after every raise or plan change. Bookmark this page and explore our related calculators below to build out your complete retirement and financial plan.