About this 401k Calculator
A 401(k) is one of the most powerful tools for building wealth, thanks to tax advantages and employer matching (free money). This calculator shows how small contributions today grow into a substantial nest egg over time.
How to use this calculator
- Enter your current Annual Salary.
- Input the Contribution % of your salary you save.
- Enter the Employer Match % (e.g., 3% or 6%).
- Set your expected Annual Return (7-8% is typical for stocks).
Accuracy and testing
Review formula sources, default test cases, assumptions, unit handling, rounding rules, and changelog for this calculator.
How this calculator works
Inputs explained
Your Contribution
Percentage of your gross salary deducted for the 401(k). Most experts recommend 10-15%.
Employer Match
The maximum percentage your employer will match. Always try to contribute at least enough to get the full match.
Annual Return
The average yearly growth of your investments. The S&P 500 historically averages ~10% (nominal) or ~7% (inflation-adjusted).
Understanding your results
Example scenarios
Maximize the Match
Salary $60k, You save 3%, Match 3%. Over 30 years at 7%, you have ~$364k. If you saved 0%, you'd have $0. That 3% match is crucial.
High Earner
Salary $100k, You save 10%, Match 4%. Total 14% savings rate. Over 25 years at 7%, account grows to ~$950k.
Key Features
- Employer Match Logic
- Salary Percentage Input
- Contribution Breakdown
Things to Keep in Mind
Does not account for salary increases over time or IRS contribution limit changes. Assumes constant salary and return.
Tips & Best Practices
- If you leave your job, your 401(k) goes with you. You can roll it over into an IRA or your new employer's plan.
- Don't ignore fees. High fund expense ratios (fees) can eat into your 'Annual Return'. Look for low-cost index funds.
Glossary of Terms
- Vesting
- The process of earning the right to keep your employer's matching contributions. You might need to work for 3-5 years to be 'fully vested'.
- Pre-Tax
- Traditional 401(k) contributions are deducted before taxes, lowering your taxable income today.
- Catch-Up Contribution
- Workers over age 50 can contribute extra money annually above the standard IRS limit.